[Tutorial] How to add CRT TV off effect:

tweezit

Inactive Recognized Developer
Aug 6, 2010
549
200
0
Louisville
First off this is for people that know how to decompile/compile apk's..

What this is = Watch here

1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...

~~~~~~~~~~~~~~~~~~

How to change the statusbar color:

1: Decompile SystemUI.apk
2: Edit the file \smali\com\android\systemui\statusbar\Clock.smali
3: Search for the line with ->setTextColor comment it and the line above out with a # infront of the two lines.
4: Compile the SystemUI.apk
5: Decompile framework-res.apk and edit the file \res\values\styles.xml
6: Find the style name 'TextAppearance.StatusBar' and change the textColor item to the color you want
7: Compile framework-res.apk
8: Profit More.

These guides will work with about any 2.3 rom out. Thanks to various sources for help on finding these..
(Will add more to this later)
 
Last edited:

dubntz

Senior Member
Jun 25, 2010
85
97
0
Yeah, I just extracted and did not decompile it. Now that I did it right I see the file. Thanks for the help! Much appreciated!
 

taylorhome11

Senior Member
May 6, 2011
120
10
0
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...
What would you suggest to look into if the setting is already set to false?
 

tweezit

Inactive Recognized Developer
Aug 6, 2010
549
200
0
Louisville
I'm a little curious. Chris mentioned they left the screen-off animation disabled because of issues they were having. Have you experienced any issues at all?
Yes on some roms you will get wake lag bad & others it will work fine.. On the 2.3 leak it will go to a black screen for a while. (that's due to 2.2.2 drivers though from what I can tell.)
 

LeoMar75

Retired Recognized Developer / Retired Forum Moder
Apr 20, 2011
3,102
6,252
0
45
Pescara
Is it possible to clarify what framework-res.apk is referred this tutorial?

I read these posts and seems like it has not mentioned so far. However, in my case (i am running MoDaCo Fr16 CR) after decompiling framework-res.apk i cannot see that config inside res->values->bool.xml.

Maybe i'm missing something :confused:

Thanks in advance.
 

crazythunder

Senior Member
Apr 2, 2007
856
83
0
52
buffalo,ny
i'm no expert at decompiling etc. just figured it out today lol. i'm pretty positive i did it correctly using apktool. however, after copying the compiled apk back to phone, it just hangs at a black screen on reboot. maybe i did it right and it's just not compatible with bionix? i did read on the apktool site that it won't be signed after recompiling. is this why it won't work? anybody successful here?