Arthur Schopenhauer said :

"A man can do what he wants, but not want what he wants"







Saturday, October 20, 2012

screen locker


an example how to work with .dex files :

this phone has 2 different screen lockers  ( ! ) how to change between them ?

well, take android.policy.jar from the phone and unpack classes.dex (read previous post)

look inside classout folder and open LockPatternKeyguardView.smali open it

I use Notepad++ now search for method  method createLockScreen (line 1475)

inside the code are defined 2 screen lockers to be used on the phone

- JrdLockScreen

- TMOLockScreen

then a code to switch between them ( line 1548 )

so change this

.packed-switch 0x0
    :pswitch_1e
    :pswitch_2e


to this code ( change order )

.packed-switch 0x0
   :pswitch_2e
   :pswitch_1e


save the file compile and put it back on the phone ( read previous post )

reboot and remember that :  first boot can take longer - to rebuild Dalvik-cache

on Robinson ROM after changing the code it should look like this ( yes it works for Move ROM too)




No comments:

Post a Comment