FORUMS

Analysis & Opinion

Top Forum Discussions

Try to get AOSP lockscreen

146 posts
Thanks Meter: 99
 
By fromnowon, Senior Member on 22nd April 2012, 05:26 PM
Post Reply Subscribe to Thread Email Thread
Hi,
since I don't really like the Glass lockscreen on YP-G1,I wanna change it to AOSP style.
However,UOT kitchen can't make it though I've tried many times uploading files

So,I searched for way to mod these files manually in forum.Like:
http://forum.xda-developers.com/showthread.php?t=969354

Stuck ROM's is fully odexed,so I got android.policy.jar and android.policy.odex.After decompiling android.policy.odex(340KB),editing codes,recompiling,I got a dex file(296KB).It was smaller than before,making me confused...

Then I renamed it to 'classes.dex' putting into android.policy.jar,and made a CWM zip and flashed it as usual.

Reboot,ah,just got a bootloop

Anyone could give me a hand?This stuff almost made me mad...
Last edited by fromnowon; 22nd April 2012 at 05:56 PM.
 
 
23rd April 2012, 03:21 AM |#2  
fromnowon's Avatar
OP Senior Member
Thanks Meter: 99
 
More
If AOSP lockscreen's codes were not exist in firmware,then what I've done was just in vain...

But Klin has succeed in changing lock style via UOT.So there should be sth wrong in editing these codes for me.

Keep working on it.
23rd April 2012, 04:23 AM |#3  
klin1344's Avatar
Recognized Contributor
Flag Cerritos, CA
Thanks Meter: 5,537
 
Donate to Me
More
Quote:
Originally Posted by fromnowon

If AOSP lockscreen's codes were not exist in firmware,then what I've done was just in vain...

But Klin has succeed in changing lock style via UOT.So there should be sth wrong in editing these codes for me.

Keep working on it.

You have to change a method in android.policy.jar. I think it was in class lockpatternkeyguardview.

Sent using Tapatalk
The Following User Says Thank You to klin1344 For This Useful Post: [ View ]
23rd April 2012, 10:27 AM |#4  
fromnowon's Avatar
OP Senior Member
Thanks Meter: 99
 
More
Quote:
Originally Posted by klin1344

You have to change a method in android.policy.jar. I think it was in class lockpatternkeyguardview.

Sent using Tapatalk

Hi,Klin.
Could you please send me your android.policy.jar and android.policy.odex?I downloaded your custom ROM R5,but couldn't be unpacked by UltraISO,even failed to mount the rfs file in Linux

Thax!
23rd April 2012, 02:27 PM |#5  
klin1344's Avatar
Recognized Contributor
Flag Cerritos, CA
Thanks Meter: 5,537
 
Donate to Me
More
Ok, I'll give it to you when I get home this afternoon. But my rom is deodexed, so it doesn't have android.policy.jar.odex.
And also, the reason you can't mount the factoryfs.rfs is because it is an extremely image in an Odin flashable format. If you want it sooner, you could download r4 and mount it and take the file you need.

Sent using Tapatalk
The Following User Says Thank You to klin1344 For This Useful Post: [ View ]
23rd April 2012, 03:50 PM |#6  
fromnowon's Avatar
OP Senior Member
Thanks Meter: 99
 
More
Quote:
Originally Posted by klin1344

Ok, I'll give it to you when I get home this afternoon. But my rom is deodexed, so it doesn't have android.policy.jar.odex.
And also, the reason you can't mount the factoryfs.rfs is because it is an extremely image in an Odin flashable format. If you want it sooner, you could download r4 and mount it and take the file you need.

Sent using Tapatalk

Thank you~
Starting to learn Android,I'm interested in everything about it.
23rd April 2012, 11:54 PM |#7  
klin1344's Avatar
Recognized Contributor
Flag Cerritos, CA
Thanks Meter: 5,537
 
Donate to Me
More
Sorry for the delay, but here ya go.
There is no odex version because it is already deodexed.
Attached Files
File Type: jar android.policy.jar - [Click for QR Code] (274.7 KB, 8 views)
The Following User Says Thank You to klin1344 For This Useful Post: [ View ]
24th April 2012, 01:17 AM |#8  
iJimaniac's Avatar
Senior Member
Thanks Meter: 424
 
More
So, would using a deodexed android.policy.jar on a stock odexed rom not work?

Sent using Tapatalk
24th April 2012, 02:08 AM |#9  
klin1344's Avatar
Recognized Contributor
Flag Cerritos, CA
Thanks Meter: 5,537
 
Donate to Me
More
Quote:
Originally Posted by iJimaniac

So, would using a deodexed android.policy.jar on a stock odexed rom not work?

Sent using Tapatalk

Probably not. But you could try it if you want, and if it boot loops just adb push the original one to your phone. But if your rom is a different framework other than 2.3.6 than this definitely won't work.

Sent using Tapatalk
24th April 2012, 02:27 AM |#10  
fromnowon's Avatar
OP Senior Member
Thanks Meter: 99
 
More
Quote:
Originally Posted by klin1344

Sorry for the delay, but here ya go.
There is no odex version because it is already deodexed.

Thx.
In fact I got lots of bootloop while testing such things,haha
I would investigate this file and hope to find sth.
Thx again!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes