[REQ] CRT off animation for screen off

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

  1. ambar_hitman

    May 26, 2012
    24
    0
    11
    Male
    Hi, I absolutely love the CRT off animation for turning screen off in ICS. Can we use it for MIUIv4 2.5.25?
     
  2. I also love the crt effect. Please integrate it!
     
    James Walsh likes this.
  3. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    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
     
  4. ambar_hitman

    May 26, 2012
    24
    0
    11
    Male
    I already have it set to 1x. No way to use it on S2?
     
  5. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    It's disabled by default in framework-res.apk in bools.xml.


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

    Feb 29, 2012
    98
    18
    18
    Male
    Is there anyway to re-enable it ???
     
  7. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    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
     
  8. jenkem110

    jenkem110Members

    May 18, 2012
    4
    0
    11
    it looks like the bools.xml isnt in the framework-res.apk anymore
     
  9. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    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
     
  10. King_Rat

    King_RatMembers

    Jan 23, 2012
    68
    8
    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.
  11. rattled

    rattledMembers

    Apr 22, 2012
    22
    0
    11
    Male
    yeah I miss it as well on my sg2, come on....
     
  12. blackwing182

    Sep 14, 2011
    66
    1
    28
    Male
    pilot of gundam wing ZERO
    Naranjito, United States, United States
    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
     
  13. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    743
    245
    Male
    Ok.. but can you compile it back with changes?
     
  14. blackwing182

    Sep 14, 2011
    66
    1
    28
    Male
    pilot of gundam wing ZERO
    Naranjito, United States, United States
  15. Stephen Brace

    Feb 29, 2012
    98
    18
    18
    Male
    Can you post it???? Pls!!!! :D
     
  16. blackwing182

    Sep 14, 2011
    66
    1
    28
    Male
    pilot of gundam wing ZERO
    Naranjito, United States, United States
    i tested it but it doesent work, the animation gets killed when you set a custom speed for animation in developer options
     
  17. cile381

    cile381Members

    Jun 12, 2011
    2
    1
    13
    kartonick likes this.
  18. hazri

    hazriMembers

    Jul 8, 2012
    41
    1
    18
    Male
    Is it compatible with S3?...tq

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

    Feb 29, 2012
    98
    18
    18
    Male
  20. cile381

    cile381Members

    Jun 12, 2011
    2
    1
    13
    Of course it does, and will work... :D
     
  21. hazri

    hazriMembers

    Jul 8, 2012
    41
    1
    18
    Male
    But not on S3 lol....sigh

    Sent from my GT-I9300 using Tapatalk 2
     
  22. hazri

    hazriMembers

    Jul 8, 2012
    41
    1
    18
    Male
    Anybody got it working on S3?....tq

    Sent from my GT-I9300 using Tapatalk 2
     
  23. boxcarracer81

    Mar 20, 2012
    551
    63
    75
    Male
    the Netherlands
    This is pretty neat :D
     
  24. stranzer

    stranzerMembers

    Jul 19, 2012
    38
    1
    18
    Male
    its not working properly for my s2...there is delay while my screen is ON and while OFF i get this double screen off....
     
  25. Iyenk Vines

    Jun 16, 2012
    3
    0
    21
    Male

Share Our Site