Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
_JKay_
Old
(Last edited by _JKay_; 9th March 2012 at 09:40 PM.)
#1  
_JKay_'s Avatar
Recognized Developer - OP
Thanks Meter 13634
Posts: 5,031
Join Date: Aug 2010

 
DONATE TO ME
Default [MOD][GUIDE] ICS Lockscreen on Samsung Stock Rom XXLPH

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
Attached Files
File Type: zip XXLPH_ICS_Lockscreen_odexed.zip - [Click for QR Code] (338.4 KB, 1491 views)
File Type: zip XXLPH_ICS_Lockscreen_deodexed.zip - [Click for QR Code] (325.6 KB, 1636 views)
JKay Deluxe SGS2 - How Samsung should have made it! - JKay Deluxe SGS3
The Following 66 Users Say Thank You to _JKay_ For This Useful Post: [ Click to Expand ]
 
Mr.Greg
Old
#2  
Mr.Greg's Avatar
Recognized Contributor
Thanks Meter 5402
Posts: 6,374
Join Date: Sep 2010

 
DONATE TO ME
Thanks for sharing, man. Like always you are first
 
BigBangHD
Old
#3  
BigBangHD's Avatar
Senior Member
Thanks Meter 594
Posts: 237
Join Date: Aug 2011
Location: Italy

 
DONATE TO ME
Very great work mate!

Best regards,
Big!


If you like and want to support my hard work, consider a donation to me!
Will be really appreciated!
NOTE: If you want you can also become beta-tester!

 
sachs
Old
#4  
sachs's Avatar
Senior Member
Thanks Meter 166
Posts: 833
Join Date: Dec 2011
Location: Porto Alegre
Work in Resurrection Remix ics v9.6?
The Following User Says Thank You to sachs For This Useful Post: [ Click to Expand ]
 
Michael2207
Old
#5  
Michael2207's Avatar
Senior Member
Thanks Meter 25
Posts: 106
Join Date: Dec 2010
Location: Tilburg
Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...
Rom+kernel: F1 GalaxyNexus | Android 4.0.4 AOSP - Add-ons: Beats Audiolib Ultra Mod + Latest GApps

ALWAYS MAKE A BACKUP BEFORE SCREWING AROUND WITH MODS!
 
_JKay_
Old
(Last edited by _JKay_; 9th March 2012 at 09:49 PM.)
#6  
_JKay_'s Avatar
Recognized Developer - OP
Thanks Meter 13634
Posts: 5,031
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by Michael2207 View Post
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
JKay Deluxe SGS2 - How Samsung should have made it! - JKay Deluxe SGS3
The Following 6 Users Say Thank You to _JKay_ For This Useful Post: [ Click to Expand ]
 
FabricioGS
Old
(Last edited by FabricioGS; 9th March 2012 at 10:24 PM.)
#7  
FabricioGS's Avatar
Senior Member
Thanks Meter 51
Posts: 422
Join Date: Nov 2010
Location: São Paulo
Thanks a million JKay!!!!


Quote:
Originally Posted by sachs View Post
Work in Resurrection Remix ics v9.6?
Yes it does!!!!! Attached!

Current device:
- Samsung Galaxy Nexus GSM

Past devices:
- Asus Eee Pad Transformer - Sold
- Samsung Galaxy SII - Sold
- Motorola Atrix 4G - Sold
- Sony Xperia arc
- Sony Xperia X10
The Following 2 Users Say Thank You to FabricioGS For This Useful Post: [ Click to Expand ]
 
Ciervo_anonimo
Old
#8  
Ciervo_anonimo's Avatar
Member
Thanks Meter 12
Posts: 89
Join Date: Aug 2011
Location: Madrid
Thx Jkay your work is wonderful
 
Vertumus
Old
#9  
Vertumus's Avatar
Recognized Themer
Thanks Meter 9400
Posts: 3,898
Join Date: Sep 2010
Location: Belgrade

 
DONATE TO ME
Who else

Bravo JKAY!
MY OFFICIAL WEB-SITE: VERTUMUS WORLD
HIGH DEFINITION ICON PACKS, SOUL BOUND, INSTANT UPDATES AND MORE





IF YOU LIKE MY WORK, PLEASE CONSIDER A DONATION



INTERACT WITH ME ON SOCIAL NETWORKS. LETS HANGOUT TOGETHER!!!
The Following User Says Thank You to Vertumus For This Useful Post: [ Click to Expand ]
 
ziboman
Old
#10  
ziboman's Avatar
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Jan 2009
Thanks!!!very good!!!

Sent from my GT-I9100 using xda premium

 
Post Reply+
Tags
jkay
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...