[GUIDE][ZTE DEVICES]Aosp lock screen

Search This thread

Fissleboot

Senior Member
May 1, 2014
87
26
Hi today im going to show u how to get AOSP lockscreen on most if not all ZTE devices :)

This guide assumes u know how to decompile and compile apk files!!!

"What you will need..."
1. Apktool or equivalent GUI
2. Notepad++ or another XML/hex editor
3. Java
4. SDK/adb
5. A brain
6. Patience...

Step 1: Decompile framework-res.apk

Step 2: Go to res/values and open strings.xml

Step 3: Search for: "<string name="config_lockscreen_classname">"

Step 4: Change "com.android.internal.policy.impl.xxxxxxxx" to "com.android.internal.policy.impl.LockScreen"

Step 5: Recompile framework-res.apk and dont forget to resign :)

Step 6: Push apk to device and enjoy AOSP lockscreen!!!!

Note: Layout may need to be fixed depending on device eg: lock ring to low etc...

Sent from my N800 using Tapatalk
 

joses444

Member
Jul 23, 2013
28
1
Does not work on zte blade c2 jelly bean 4.2.2 can not find the line Step 3: Search for: "<string name="config_lockscreen_classname">"
 

Fissleboot

Senior Member
May 1, 2014
87
26
I have also enabled this through policy too, framework method is easier

Sent from my N800 using Tapatalk
 

Fissleboot

Senior Member
May 1, 2014
87
26
can u post a screen of ur lockscreen?? is it a long press?? u are correct string does not exist in ur frame
 

Fissleboot

Senior Member
May 1, 2014
87
26
gaju8ate.jpg


This is aosp minus my mods lol

Sent from my N800 using Tapatalk
 

Fissleboot

Senior Member
May 1, 2014
87
26
If ur lock is long press upload ur android.policy.jar:)

Sent from my N800 using Tapatalk
 

Fissleboot

Senior Member
May 1, 2014
87
26
Hmm... Ur policy is setup completely different than mine, not sure how to go about getting it to work as i dont have ur device to test