[REQ] CRT off animation for screen off


ambar_hitman

Members
May 26, 2012
24
11
Hi, I absolutely love the CRT off animation for turning screen off in ICS. Can we use it for MIUIv4 2.5.25?
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,728
247
The crt animations are present in Miui v4 from beginning except Samsung Galaxy S II.

Just set the window animation to 1x in developer options.

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,728
247
It's disabled by default in framework-res.apk in bools.xml.


Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,728
247
Yes but it causes glitches with lock screen animation so that is why it's disabled.

You have to decompile framework-res.apk, change the right value in bools.xml from false to true. Then compile and build apk.

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,728
247
Strange. It was few weeks ago. I tested it with my friend who owns SGS2. But you didn't miss much because it was causing glitches on lockscreen.

Wysyłane z mojego Nexus S za pomocą Tapatalk 2
 

King_Rat

Members
Jan 23, 2012
68
18
CRT-OFF shouldn't cause lock screen glitch ^^ it's CRT-ON that does it (glitch present in CM7.2 also)

Give us back CRT-OFF :waahaa:
 
  • Like
Reactions: jenkem110

blackwing182

Members
Sep 14, 2011
66
28
Strange. It was few weeks ago. I tested it with my friend who owns SGS2. But you didn't miss much because it was causing glitches on lockscreen.

Wysyłane z mojego Nexus S za pomocą Tapatalk 2

if you decompile with apktool its there :)

when you change framework-res.apk to framework-res.zip and browse it with winrar or 7zip youll se a resources.ars or something, when that files is decompiled, you will se under, framework/res/values/bools.xml
 

Acid

Scripting Ninja
Staff member
Aug 20, 2011
2,728
247
Ok.. but can you compile it back with changes?
 

blackwing182

Members
Sep 14, 2011
66
28
i tested it but it doesent work, the animation gets killed when you set a custom speed for animation in developer options
 

stranzer

Members
Jul 19, 2012
37
18
its not working properly for my s2...there is delay while my screen is ON and while OFF i get this double screen off....