[REQ] CRT off animation for screen off

Discussion in 'MIUI Mods' started by ambar_hitman, May 29, 2012.

  1. ambar_hitman

    ambar_hitman Members

    Trophy Points:
    1
    Hi, I absolutely love the CRT off animation for turning screen off in ICS. Can we use it for MIUIv4 2.5.25?
  2. Google Adsense

  3. Riddeck07

    Riddeck07 Members

    Trophy Points:
    11
    I also love the crt effect. Please integrate it!
    James Walsh likes this.
  4. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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
  5. ambar_hitman

    ambar_hitman Members

    Trophy Points:
    1
    I already have it set to 1x. No way to use it on S2?
  6. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    It's disabled by default in framework-res.apk in bools.xml.


    Wysyłane z mojego Nexus S za pomocą Tapatalk 2
  7. Stephen Brace

    Stephen Brace Members

    Trophy Points:
    18
    Is there anyway to re-enable it ???
  8. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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
  9. jenkem110

    jenkem110 Members

    Trophy Points:
    11
    it looks like the bools.xml isnt in the framework-res.apk anymore
  10. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    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
  11. King_Rat

    King_Rat Members

    Trophy Points:
    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:
    jenkem110 likes this.
  12. rattled

    rattled Members

    Trophy Points:
    11
    yeah I miss it as well on my sg2, come on....
  13. blackwing182

    blackwing182 Members

    Trophy Points:
    28
    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
  14. Acid

    Acid Scripting Ninja Staff Member

    Trophy Points:
    245
    Ok.. but can you compile it back with changes?
  15. blackwing182

    blackwing182 Members

    Trophy Points:
    28
  16. Stephen Brace

    Stephen Brace Members

    Trophy Points:
    18
    Can you post it???? Pls!!!! :D
  17. blackwing182

    blackwing182 Members

    Trophy Points:
    28
    i tested it but it doesent work, the animation gets killed when you set a custom speed for animation in developer options
  18. cile381

    cile381 Members

    Trophy Points:
    13
    kartonick likes this.
  19. hazri

    hazri Members

    Trophy Points:
    8
    Is it compatible with S3?...tq

    Sent from my GT-I9300 using Tapatalk 2
  20. Stephen Brace

    Stephen Brace Members

    Trophy Points:
    18
  21. cile381

    cile381 Members

    Trophy Points:
    13
    Of course it does, and will work... :D

Share Our Site