Only for Sony Official 4.0.4
With Build No. 4.1.B.0.431/.587
Instructions
Tested with NXT lock screen also
Make Backup first
If you liked my work, just click on Thanks button.
With Build No. 4.1.B.0.431/.587
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
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 [COLOR="red"]v1[/COLOR], 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 [COLOR="red"]v2[/COLOR], 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: