Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,967 Members 47,814 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Pranav Pandey
Old
(Last edited by Pranav Pandey; 9th May 2013 at 11:07 AM.)
#1  
Pranav Pandey's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 3710
Posts: 380
Join Date: Apr 2011
Location: New Delhi

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

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.
The Following 21 Users Say Thank You to Pranav Pandey For This Useful Post: [ Click to Expand ]
 
yamin8000
Old
(Last edited by yamin8000; 9th May 2013 at 12:06 AM.)
#2  
yamin8000's Avatar
Senior Member
Thanks Meter 192
Posts: 449
Join Date: May 2012
Location: Gorgan
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
The Following 2 Users Say Thank You to yamin8000 For This Useful Post: [ Click to Expand ]
 
TheRisingDragon
Old
#3  
TheRisingDragon's Avatar
Senior Member
Thanks Meter 59
Posts: 394
Join Date: Jul 2012
Location: Negombo
this mod causes Z small apps forces close when launching a floating app, any fixes?
 
Pranav Pandey
Old
#4  
Pranav Pandey's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 3710
Posts: 380
Join Date: Apr 2011
Location: New Delhi

 
DONATE TO ME
Quote:
Originally Posted by TheRisingDragon View Post
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.
 
TheRisingDragon
Old
#5  
TheRisingDragon's Avatar
Senior Member
Thanks Meter 59
Posts: 394
Join Date: Jul 2012
Location: Negombo
Quote:
Originally Posted by Pranav Pandey View Post
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
 
Akshay Anand
Old
#6  
Akshay Anand's Avatar
Senior Member
Thanks Meter 254
Posts: 315
Join Date: Sep 2012
Location: new delhi
Can u upload ur apk and androidpoliy iam using xnxt 11.1@pranav

Sent from my WT19i using xda app-developers app
My Devices
Xperia Live with Walkman
Xperia Tipo(single sim)
 
Pranav Pandey
Old
#7  
Pranav Pandey's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 3710
Posts: 380
Join Date: Apr 2011
Location: New Delhi

 
DONATE TO ME
Quote:
Originally Posted by Akshay Anand View Post
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.
 
Akshay Anand
Old
#8  
Akshay Anand's Avatar
Senior Member
Thanks Meter 254
Posts: 315
Join Date: Sep 2012
Location: new delhi
Quote:
Originally Posted by Pranav Pandey View Post
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
My Devices
Xperia Live with Walkman
Xperia Tipo(single sim)
 
GorJessSpazzer
Old
#9  
Member
Thanks Meter 0
Posts: 34
Join Date: Sep 2013
Why i get android is upgrading after so many reboots?
Xperia Mini Pro
Locked Bootloader

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes