[MOD][GUIDE] ICS Lockscreen on Samsung Stock Rom XXLPH

Search This thread

_JKay_

Retired Recognized Developer
Aug 12, 2010
5,495
14,689
Hi... I don't know if this already has been posted but here it goes...

How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:

1) Decompile android.policy.jar
2) Edit the file called: LockPatternKeyguardView.smali
3) change the line:

iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z

to

iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z

it's in the beginning of the init contructor (about line 152)

What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.

4) Compile the android.policy.jar again and you are done.

I have included the odexed and the deodexed CWM files ready to flash.

Have fun...

Please NOTE: Menu key will unlock your phone unless you edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
 

Attachments

  • XXLPH_ICS_Lockscreen_odexed.zip
    338.4 KB · Views: 1,944
  • XXLPH_ICS_Lockscreen_deodexed.zip
    325.6 KB · Views: 2,004
Last edited:

_JKay_

Retired Recognized Developer
Aug 12, 2010
5,495
14,689
Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...

Thanks! Yeah it's not perfect.... yet.... In my upcoming JKay Deluxe I will included this ICS lockscreen.... but modded to fix this and included music widgets, live wallpaper etc, etc...

What you need to do is this:
Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
 
Last edited:

FabricioGS

Senior Member
Nov 18, 2010
513
68
São Paulo
Moto X4
Xiaomi Mi Mix 2S
Thanks a million JKay!!!!


Work in Resurrection Remix ics v9.6?

Yes it does!!!!! Attached!

screenshot2012030919142.png
 
Last edited:

remorema

Senior Member
Mar 12, 2009
1,583
673
Lisbon
great job mate.

now all we need is jkay deluxe to allow modding it. like for example select from2 / 4 or 8 unlock options and manual attrib an app to each one.
 

coldflid

Senior Member
Dec 27, 2010
1,586
782
Really nice to have aosp lockscreen.
Now i just want an official ics build


Sent from my iPad using Tapatalk
 

0MeR

Senior Member
Jan 23, 2012
61
3
Amazing JKay, like always. I have no words. Simply remarkable, thank you alot.
 

SergioA

Senior Member
May 12, 2010
518
164
Many Thanks JKay, working fine on Wanam 9.1 ;)

And the "unlock via menu" is quite fine for me: you still have to press home button ant then menu to unlock the phone, so there is no risk of any unwanted unlock...

Finally I get rid of the horrible "Trascina il dito sullo schermo per sbloccare" that plagued the original unlock screen :eek:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    Hi... I don't know if this already has been posted but here it goes...

    How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:

    1) Decompile android.policy.jar
    2) Edit the file called: LockPatternKeyguardView.smali
    3) change the line:

    iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z

    to

    iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z

    it's in the beginning of the init contructor (about line 152)

    What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.

    4) Compile the android.policy.jar again and you are done.

    I have included the odexed and the deodexed CWM files ready to flash.

    Have fun...

    Please NOTE: Menu key will unlock your phone unless you edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
    6
    Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...

    Thanks! Yeah it's not perfect.... yet.... In my upcoming JKay Deluxe I will included this ICS lockscreen.... but modded to fix this and included music widgets, live wallpaper etc, etc...

    What you need to do is this:
    Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
    5
    ODEXED XXLPQ version
    backup before flashing
    3
    +1..hope to have a mod (flashable):D for LP3 as well...using intratech's unbranded odexed.


    Try and see if it works
    backup before flashing.
    3
    Thanks a million JKay!!!!


    Work in Resurrection Remix ics v9.6?

    Yes it does!!!!! Attached!

    screenshot2012030919142.png