(Mod)(Theme)Lockscreen - Panel Color/Image

mart56

Member
Jan 28, 2011
13
13
43
I am currently on 38R. When i flash a zip from the OP (f.i. dark grey keyguard) then my phone pops up with "cyanogen lockscreen has stopped working" .
am I forgetting something?
 

Spannaa

Recognized Contributor / Themer
Sep 13, 2010
7,026
15,702
268
Cardiff
spannaa.com
how do you compiled it after editing? im getting some errors when i try to compile after i edted. so i read through the apktool thread and the developer said i could just put the values folder after editing with winrar into the keyguard.apk. i tried it but the color still dont change
thank you very much

regards
You have to recompile the apks using the same apktool that you decompiled it with.

Just dropping the values folder into the compiled apk won't work.

Sent from my OnePlus One...
 

blax123

Senior Member
Apr 4, 2010
379
46
0
You have to recompile the apks using the same apktool that you decompiled it with.

Just dropping the values folder into the compiled apk won't work.

Sent from my OnePlus One...
Sure, but like I said I got an error during the recompiling process..


Sent from my OnePlus One
 

blax123

Senior Member
Apr 4, 2010
379
46
0
It works fine for me...

I assume you installed framework-res.apk before decompiling
now i followed this guide exept the last step of sign/zipalign http://forum.xda-developers.com/showthread.php?t=1805408
(and yes, i installed the framework)
and i was able to recompile the apk, but if i replace the old (1,9megabytes) keyguard with the "new"(1,5megabytes:confused:) one i have no lockscreen anymore.. really confusing things :laugh:
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,213
3,352
253
Beijing
now i followed this guide exept the last step of sign/zipalign http://forum.xda-developers.com/showthread.php?t=1805408
(and yes, i installed the framework)
and i was able to recompile the apk, but if i replace the old (1,9megabytes) keyguard with the "new"(1,5megabytes:confused:) one i have no lockscreen anymore.. really confusing things :laugh:
You can't just directly replace the old APK with the new one... I remember that you should replace resources.arsc in the old APK with the one in the new APK, and then use this "old" one.

Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
 

blax123

Senior Member
Apr 4, 2010
379
46
0
You can't just directly replace the old APK with the new one... I remember that you should replace resources.arsc in the old APK with the one in the new APK, and then use this "old" one.

Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
Thanks:), used an other decompiler/compiler Application and it worked without problems

Thanks every other Person for helping :)
 

secretkloud

Senior Member
Oct 7, 2013
124
49
28
In an effort to customize my keyguard a little bit, I created a mod to edit the panel in the stock One+ lockscreen to better match my case (brown Nilkin) and theme. Previously there was a mod to change the color...but I took it a step further and changed the color to an image. I thought I would share a few that I have done...and will soon post a tutorial on how I did it.






Stock 33r Keyguard Flashable Zip Needed to revert before 38r OTA Update
38r Compatible
Stock 38r Mod

Update Files - compatible with the OTA update
Download Mint Keyguard
Download Black Keyguard
Download Brushed Metal Keyguard
Download Brushed Metal with OnePlus Logo Keyguard
Download Dark Gray Keyguard
Download Dark Wood Keyguard
Download Gradient Keyguard
Download Gradient w/OnePlusLogo Keyguard
Download Green Keyguard
Download Orange Keyguard
Download Red Keyguard
Download Red w/OnePlusLogo Keyguard
Download Wood Keyguard
Download Stock Keyguard

Downloads for preOTA update version...
Download Bamboo Keyguard
Download Gradient Keyguard
Download Circuit Keyguard
Download Brushed Metal Keyguard
Download Orange Keyguard
Download Green Keyguard
Download Red OnePlus Keyguard
Download Stock Keyguard




Download and flash using custom recovery. Works with the stock OPO CM11s.

Thanks to bp328i for the zip I used to package this mod and ATMOSF3AR for the spiffy psd to display them in.

And...if you have any requests. I have this set up where I can do fairly quickly. Just let me know. I can edit the bg, icon, and text colors. Looking for cool ideas.

Hey, could you please do a 38R Mod with the OnePlus Logo? Like the gradient with logo you have? It's what I'm using right now and it doesn't always unlock for some reason. When you have time, please. Thanks

I actually tried doing it myself. No luck. I await your generosity. Thanks...
 
Last edited:

bluflight

Senior Member
Nov 23, 2008
569
835
0
Try changing the hex colour code for default_text_palette_highlight in \res\values\colors.xml to the colour you want instead of the default blue.
To change colour of text i found here in your post, but to use a custom image as wallpaper what png i have to change? I searched around thread but not found, maybe i miss to see

EDIT: i decompiled apk and see kgbg.png inside res\drawable-xxhdpi, but for sure i think there is a modified xml with some string point to this png, because in original apk i not see this image
 
Last edited:

hammerhead44

New member
Oct 20, 2014
1
0
0
I'm lost, any help please?

Hello all,

Just to be clear. I didnt have the lockscreen mod before I updated to 38R. I updated to 38R with the modded update with a sideload.

I tried a couple things to install this Keyguard mod and just keep getting Keyguard failing to load. I flashed back to 38R with a 33R Stock KG and then tried to update to 38RKG and it happens again. I'm a little lost.

Can someone just tell me how to do this right? Much appreciated.
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,213
3,352
253
Beijing
Um, sorry to bother, but decompilation still fail with error.
Does this mean I'll have to install OnePlus One's framework, or a regular CM11 framework will do? Or is there something else that's the culprit?

EDIT: NVM, tried installing a framework from a CM11 build at hand, worked nicely.

EDIT2: Compared stock keyguard's extracted contents to a modified one... Unfortunately there are too many differences for me to know what they do. I just want to be able to adapt this panel image mod for all CM11 devices. @NunHugger if you don't have time for that, can you tell me what you did to achieve these mods, so that I can attempt to apply them on the universal mod I mentioned before?
 
Last edited:

AndyYan

Recognized Contributor
Jan 30, 2012
4,213
3,352
253
Beijing
does this will work on phones that use Oneplus one lockscreen port
Quite simply, no. Force applying this will make your device lose its lockscreen.
Which is why I asked @NunHugger if he can take a look at the port, and whether he can share how to do the mod so that I can apply it to the port. No answers for now.

Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
 
  • Like
Reactions: skyzo97