Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,397 Members 48,629 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][CWR ZIP] AOSP Lockscreen!

Tip us?
 
thecubed
Old
(Last edited by thecubed; 12th July 2011 at 07:32 AM.)
#1  
thecubed's Avatar
Senior Member - OP
Thanks Meter 4221
Posts: 866
Join Date: Aug 2008
Location: Austin, TX

 
DONATE TO ME
Default [MOD][CWR ZIP] AOSP Lockscreen!

Here it is! My #1 aggravation with this phone: the lockscreen.

Quote:
What is this?
This is a Clockwork-installable ZIP that will remove the junk LG Lockscreen, and switch to the AOSP style sliding tab lockscreen.
Quote:
How do I install this?
1. Put this zip file on your external SD card (do not extract it!)
2. Reboot into Clockwork
3. Select "Install ZIP from SDCard"
4. Find the "revo-aosp-lockscreen.zip" and select it. Hit install!
5. Wipe the dalvik-cache.
Your phone will take a while to boot back up after this mod, it's normal!
Quote:
Downloads
You must be running either Decrapped 1.0 or 1.1 for these files to work!
Install: http://goo-inside.me/private/iomonst...lockscreen.zip

Revert to stock lockscreen: http://goo-inside.me/private/iomonst...een-revert.zip
Quote:
Pictures!


Please note: the "Emergency Calls Only" string appears to be a bug, I'll fix it here shortly. You can still make/receive calls just fine
Quote:
Technical Information

LG's lockscreen is defined in /system/framework/android.policy.jar as AndyLockscreen.
In LockPatternKeyguardView.smali method createLockScreen (line 1947), change line 1952, and remove "Andy_" from the string.
Line 1964, remove "Andy_" also.
Quote:
Donation Information
I love to develop. I don't do this for money, I do it just for the "thanks".
If you feel this ROM is the best thing since, well, whatever, feel free to donate something to show your appreciation.

Please don't feel obligated to donate, but if you feel like it, you can click the button below to donate any amount you wish to me.


If you don't want to donate, just click the "Thanks" button under this post, I sure appreciate it!
Quote:
Contact Me!
Got an issue with this release? Post here!
Want to contact me privately? PM me on XDA or Rootzwiki
Twitter your thing? Follow me, @tylerfixer on Twitter

Join the official LG Revolution dev IRC channel at freenode on #lgrevolution
I'm IOMonster on IRC!
The Following 14 Users Say Thank You to thecubed For This Useful Post: [ Click to Expand ]
 
njKeever
Old
#2  
Member
Thanks Meter 3
Posts: 62
Join Date: Jun 2011
Can't wait for this download! I thought you might have put it on Rootwiki first but I guess I'll just have to be patient. :) Thank you though, other than my random shutdowns the lockscreen is the only annoying thing about this phone I haven't been able to change!
 
thecubed
Old
#3  
thecubed's Avatar
Senior Member - OP
Thanks Meter 4221
Posts: 866
Join Date: Aug 2008
Location: Austin, TX

 
DONATE TO ME
Quote:
Originally Posted by njKeever View Post
Can't wait for this download! I thought you might have put it on Rootwiki first but I guess I'll just have to be patient. :) Thank you though, other than my random shutdowns the lockscreen is the only annoying thing about this phone I haven't been able to change!
I haven't posted the download yet only because I didn't have the right update-binary...

Download coming, ETA 30 mins...
 
thecubed
Old
#4  
thecubed's Avatar
Senior Member - OP
Thanks Meter 4221
Posts: 866
Join Date: Aug 2008
Location: Austin, TX

 
DONATE TO ME
ZIPs posted!
 
Squiz0329
Old
#5  
Squiz0329's Avatar
Member
Thanks Meter 2
Posts: 53
Join Date: Mar 2011
I dig it! Right on man!

Sent from my VS910 4G using XDA Premium App
 
njKeever
Old
#6  
Member
Thanks Meter 3
Posts: 62
Join Date: Jun 2011
Looks and works great, thank you!
 
AndroidCraig
Old
#7  
Senior Member
Thanks Meter 14
Posts: 198
Join Date: Jun 2011
Thanks. Pretty cool.

So now that you've had an hour's rest, When are you doing a port of Gingerbread? ;) Shouldn't take you more than what a week?

Seriously if I want to contribute for your efforts do I just do one contribution or one for each thing you've done? Also since I'm new to this, what kind of donation is typical?
 
nfederic
Old
#8  
nfederic's Avatar
Senior Member
Thanks Meter 32
Posts: 102
Join Date: May 2011
What did you use to accomplish the changes you outlined in the technical portion. Thanks, I'm having issues with that part.
 
thecubed
Old
#9  
thecubed's Avatar
Senior Member - OP
Thanks Meter 4221
Posts: 866
Join Date: Aug 2008
Location: Austin, TX

 
DONATE TO ME
Quote:
Originally Posted by AndroidCraig View Post
Thanks. Pretty cool.

So now that you've had an hour's rest, When are you doing a port of Gingerbread? ;) Shouldn't take you more than what a week?

Seriously if I want to contribute for your efforts do I just do one contribution or one for each thing you've done? Also since I'm new to this, what kind of donation is typical?
Gingerbread is coming soooon I'm working hard on it, I've even got a test build going, but it doesn't recognize 4g and it seems to put the phone in a weird state. I'll put out screenshots as a tease here soon

As far as donations, anything is fine. Like I say in every post that I put a donation button on-- I'm not in this for the donations, I'm in it for fun

Quote:
Originally Posted by nfederic View Post
What did you use to accomplish the changes you outlined in the technical portion. Thanks, I'm having issues with that part.
Changes were accomplished using baksmali to decompile the archive (rename android.policy.jar to android.policy.zip and extract the classes.dex file, then feed it to baksmali). Once I changed the files, I used smali to re-generate the classes.dex file, and updated the zip file with WinRAR to include the new dex file.

To help me understand what was going on in the actual code, since smali is incomprehensible, I used dex2jar to turn the android.policy.jar into a bunch of .class files which were readable via JD-GUI. Once I had the gist of what was going on, the appropriate changes were made in the smali files (since JD-GUI files aren't re-compilable)

All in all, the changes took about 2 hours to do (mostly figuring out where the lockscreen was created and other miscellaneous digging comparing the decompiled source to the AOSP code)
 
nfederic
Old
#10  
nfederic's Avatar
Senior Member
Thanks Meter 32
Posts: 102
Join Date: May 2011
Do I need to make those changes myself, or does your program do that? I ask because I downloaded the file and installed it using cwm as your instructions state, but I still have the stock lock screen.
thanks!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes