[HOW TO] change date color on JB lockscreen (4.1.2) & AccuWeatherWidget

jackq

Senior Member
Mar 1, 2012
785
709
0
B-B
I searched on XDA and doesn't find a guide how to change date color on JB 4.1.2 lockscreen.
So i decided share a method how i do it.
Decompile framework-res.apk
go to:
framework\layout-hdpi\keyguard_circlelock_clockwidget.xml
framework\layout-hdpi\keyguard_circlelock_clockwidget_land.xml
framework\layout-sw320dp-hdpi\keyguard_circlelock_clockwidget_sub.xml

search f6f7c9 color in this layouts and replace it to desired color (all values 3x in each file).

The same in AccuWeatherWidget.apk
Decompile AccuWeatherWidget.apk
go to:
res/values/colors.xml
and replace <color name="date_zone_text">#fff6f7c9</color> to desired color.

It works on LSJ, LS8, LSD, MS1. All Samsung JB based ROM for GS2.

Happy changing :D
 
Last edited:

jackq

Senior Member
Mar 1, 2012
785
709
0
B-B
If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
 

Rene_ajax

Senior Member
Jun 17, 2012
1,048
153
0
23
Amsterdam
only solution?

If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
Could u plz try it, maybe it then work?
You have ONLY to change date color in: ff33b5e5
CLICK

---------- Post added at 01:16 PM ---------- Previous post was at 12:58 PM ----------

Edit: problem soled:laugh:
solution: google and found this VERY useful tip: http://forum.xda-developers.com/showthread.php?t=1806602
 

jackq

Senior Member
Mar 1, 2012
785
709
0
B-B
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.

Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.

Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
 
  • Like
Reactions: carloshdez

Rene_ajax

Senior Member
Jun 17, 2012
1,048
153
0
23
Amsterdam
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.

Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.

Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
I dont use apk multitools always get errors, or am I doing sth wrong? Instead, I use this: http://forum.xda-developers.com/showthread.php?t=1989533
But now I wanna change icons of apps, market apps. Its very hard everytime I wanna install my new apk it says: app not installed. Pushing to system/app doesnt help :(

Help plzz!!
 
Last edited: