Post Reply

Angry [GUIDE] [ICS] Use Lock screen and Security Lock at the Same Time [All Xperia 2011]

OP Pranav Pandey

8th May 2013, 11:20 PM   |  #1  
Pranav Pandey's Avatar
OP Recognized Developer / Recognized Themer
Flag New Delhi
Thanks Meter: 3,759
 
390 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Only for Sony Official 4.0.4
With Build No. 4.1.B.0.431/.587


Quote:

Hello friends,

I don't know if anyone has posted it yet. So, I am just sharing my experience.

You all know that in ICS we can't use lock screen and security lock at the same time. By using this mod we can use both at the same time like in gingerbread. I am not posting modded file as all the ROMs has different files. So, by this guide you can implement it in your ROM yourself.


Instructions
Tested with NXT lock screen also
Make Backup first

Quote:

Decompile you android.policy.jar and then, go to out\com\android\internal\policy\impl\ and open...

LockPatternKeyguardView.smali and search for this...

Code:
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
then, change it to...

Note that there are two lines of the same code, you have to change only the first one [at line 157 or somewhere around], don't change the other one.

Code:
iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
done, now recompile and push it to your system/framework/ folder with correct permissions (rw-r--r--) and reboot.




If you liked my work, just click on Thanks button.
Last edited by Pranav Pandey; 9th May 2013 at 11:07 AM.
The Following 21 Users Say Thank You to Pranav Pandey For This Useful Post: [ View ]
8th May 2013, 11:54 PM   |  #2  
nice and small guide
i will test it

---------- Post added at 03:24 AM ---------- Previous post was at 03:00 AM ----------

thanks its worked for :
pattern
pin
password
faceunlock
Last edited by yamin8000; 9th May 2013 at 12:06 AM.
The Following 2 Users Say Thank You to yamin8000 For This Useful Post: [ View ]
7th October 2013, 02:12 AM   |  #3  
TheRisingDragon's Avatar
Senior Member
Flag Negombo
Thanks Meter: 59
 
394 posts
Join Date:Joined: Jul 2012
More
this mod causes Z small apps forces close when launching a floating app, any fixes?
7th October 2013, 02:48 AM   |  #4  
Pranav Pandey's Avatar
OP Recognized Developer / Recognized Themer
Flag New Delhi
Thanks Meter: 3,759
 
390 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by TheRisingDragon

this mod causes Z small apps forces close when launching a floating app, any fixes?

I am already using it with multiple small apps MOD (xNXT™ 11.1). Error is not in this, may be in your android.policy.jar or SmallAppManagerService.apk.
7th October 2013, 03:19 PM   |  #5  
TheRisingDragon's Avatar
Senior Member
Flag Negombo
Thanks Meter: 59
 
394 posts
Join Date:Joined: Jul 2012
More
Quote:
Originally Posted by Pranav Pandey

I am already using it with multiple small apps MOD (xNXT 11.1). Error is not in this, may be in your android.policy.jar or SmallAppManagerService.apk.

when I use only multi small app mod, it works well, when I use lock screen mod then it works too (but z small apps forces close), dunno why, maybe a rom issue of mine
8th October 2013, 01:49 PM   |  #6  
Akshay Anand's Avatar
Senior Member
Flag new delhi
Thanks Meter: 254
 
321 posts
Join Date:Joined: Sep 2012
More
Can u upload ur apk and androidpoliy iam using xnxt 11.1@pranav

Sent from my WT19i using xda app-developers app
8th October 2013, 01:54 PM   |  #7  
Pranav Pandey's Avatar
OP Recognized Developer / Recognized Themer
Flag New Delhi
Thanks Meter: 3,759
 
390 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by Akshay Anand

Can u upload ur apk and androidpoliy iam using xnxt 11.1@pranav

Sent from my WT19i using xda app-developers app

No apk is required, only android.policy.jar. BTW it is already in xNXT™ 11.1. Go to AROMA -> xNXT™ Extras and then, select Security lock screen MOD, install and reboot. Then, set any security pattern or password and the lock screen will come up before the security lock.
9th October 2013, 02:00 PM   |  #8  
Akshay Anand's Avatar
Senior Member
Flag new delhi
Thanks Meter: 254
 
321 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Pranav Pandey

No apk is required, only android.policy.jar. BTW it is already in xNXT 11.1. Go to AROMA -> xNXT Extras and then, select Security lock screen MOD, install and reboot. Then, set any security pattern or password and the lock screen will come up before the security lock.

Apk for multiple small app mod

Sent from my WT19i using xda app-developers app
30th March 2014, 11:36 AM   |  #9  
Member
Thanks Meter: 0
 
39 posts
Join Date:Joined: Sep 2013
Why i get android is upgrading after so many reboots?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Mini, Mini Pro, Xperia Pro, Active, Ray, Live with Walkman Themes and Apps by ThreadRank