• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

CRT Animation [WORKING]

Search This thread

religi0n

Senior Member
Jun 6, 2011
69
23
For those of you who don't know exactly what the CRT animation is, it is the animation that Gingerbread uses when you press the power button and the screen gives a neat power off effect.

Well I wanted this. A lot. So I went out and did it. Just enabled it, and it looks gorgeous on my phone.

Please note, that you must be rooted in order to use this, and on Gingerbread.

It is a straightforward process.
PLEASE NOTE THIS REQUIRES ADB AND JAVA TO BE INSTALLED

A good idea to nandroid before this, as if something goes wrong it can screw up a lot of things.


Installation 1:
Download DX2-CRT-Animation.zip
Copy to sdcard
Flash in CWR

BIG THANKS TO p3droid FOR PACKAGING AS A ZIP

Installation 2 (the complicated, make you feel cooler, hardcore, original way):
This is modifying your framework-res so some themes may not work any longer.
Instructions:
[]Have phone plugged into computer, and in Charge Mode.

[]Download DX2-CRT-Animation.apk

[]Open Command Prompt (or Terminal) window in DX2-CRT-Animation.apk's location. (This can be accomplished by shift clicking on the folder where this resides, and clicking open command prompt here).

[]Push files onto the phone
Code:
adb push DX2-CRT-Animation.apk /data/local/tmp/framework-res.apk

[]Get shell access
Code:
adb shell
su
---When you enter this, make sure your phone is awake, as a Super User access allow/deny will pop up. Allow it.
In command prompt, you should now have a #.

[]Remove and copy files to proper location, reboot
Code:
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot


Whats next:
-Reverse CRT animation (hopefully!!!)


Any input is appreciated.
I am new to this. Give me your input, and help me get better.
 

Attachments

  • DX2-CRT-Animation.apk
    2.7 MB · Views: 372
  • DX2_CRT_Animation.zip
    2.7 MB · Views: 792
Last edited:

fbm111

Senior Member
Oct 15, 2010
161
9
Works great! Thanks!

I think everything is working as it should with crt animation working.

Directions worked well, I just had to change how I got into adb.

Great job.
 

mistawolfe

Senior Member
Nov 21, 2010
1,573
200
This is awesome, however I'm a little confused. I'm no beginner by any means, but this looks to be outside the realm of what I've done.

When I go into the terminal, am I doing this from my computer? Or my phone (via Terminal Emulator)?

Here is what I'm thinking, and please tell me if I'm wrong:

Download apk

Enter terminal emulator

Type in all of your commands

Voila?

Sorry for all the newbness on this, but I'm dying for some CRT.

Thanks man!
 

mistawolfe

Senior Member
Nov 21, 2010
1,573
200
I downloaded the necessary files. I can't get the first part to work.

"Open Command Prompt (or Terminal) window in DX2-CRT Animation.apk's location.

Can you explain this step more? I tried right-clicking...
 

fbm111

Senior Member
Oct 15, 2010
161
9
People set up there adb differently. Important thing is to copy file to the directory of where your adb tools are. In my case its

/sdk/platform-tools

Hope this helps

Sent from my DROID X2 using XDA Premium App
 

mistawolfe

Senior Member
Nov 21, 2010
1,573
200
Couldn't get it to work. Even had the IT guy from my work try to get it going. We couldn't get the terminal to find swt.jar

Is it possible for me to do this through root explorer, all through my phone? Change permissions and push it into the correct folder?

That would be awesome.
 

religi0n

Senior Member
Jun 6, 2011
69
23
I am out of town but when I get back I will try to package a zip to flash.

Are you on linux?

If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!

Sent from my DROID X2 using XDA Premium App
 

mistawolfe

Senior Member
Nov 21, 2010
1,573
200
I am out of town but when I get back I will try to package a zip to flash.

Are you on linux?

If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!

Sent from my DROID X2 using XDA Premium App

Haha, it doesn't help. I'm clueless man. A zip file, or instructions on how to do it SOLELY from my phone (using root explorer) would be all I know.

Dying for this
 

rancifer

Senior Member
Jul 4, 2011
65
4
Nice work man! I'm on my way home to hook this up. This is a good excuse for me to get the Android SDK set up on my home machine.

Sent from my DROID X2 using XDA Premium App
 

hobby31

Senior Member
Feb 14, 2010
170
37
Well, I tried both download links in the original post and each time it would successfully boot up but no CRT animation. I finally got it figured out as I have the X2 spare parts installed and had to turn off fancy input animations and now it works. Thanks for posting this.

EDIT: I take that back. I had to put the speed of transition animations to normal and can have fancy input animations enabled. For some reason this won't work when "fast" is checked.
 
Last edited:

rancifer

Senior Member
Jul 4, 2011
65
4
Handing out cleveland steamers for a flashable zip file...

Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.

Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.

Sent from my DROID X2 using XDA Premium App
 

mistawolfe

Senior Member
Nov 21, 2010
1,573
200
Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.

Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.

Sent from my DROID X2 using XDA Premium App

Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...
 

rancifer

Senior Member
Jul 4, 2011
65
4
Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...

Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools

http://www.megaupload.com/?d=RTEY0Q97

Then do the steps from beginning and test to confirm your device is recognized

Then proceed and follow the steps.

Sent from my DROID X2 using XDA Premium App
 

juhde

Senior Member
Mar 30, 2010
337
39
Carlsbad, NM
www.twitter.com
Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools

http://www.megaupload.com/?d=RTEY0Q97

Then do the steps from beginning and test to confirm your device is recognized

Then proceed and follow the steps.

Sent from my DROID X2 using XDA Premium App

Why link to mega upload when all you need to do is launch the sdk manager and add the platform tools package? I'd rather get my software from the distro than some megaupload. No offense.

Sent from my DROID X2 using XDA Premium App
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    For those of you who don't know exactly what the CRT animation is, it is the animation that Gingerbread uses when you press the power button and the screen gives a neat power off effect.

    Well I wanted this. A lot. So I went out and did it. Just enabled it, and it looks gorgeous on my phone.

    Please note, that you must be rooted in order to use this, and on Gingerbread.

    It is a straightforward process.
    PLEASE NOTE THIS REQUIRES ADB AND JAVA TO BE INSTALLED

    A good idea to nandroid before this, as if something goes wrong it can screw up a lot of things.


    Installation 1:
    Download DX2-CRT-Animation.zip
    Copy to sdcard
    Flash in CWR

    BIG THANKS TO p3droid FOR PACKAGING AS A ZIP

    Installation 2 (the complicated, make you feel cooler, hardcore, original way):
    This is modifying your framework-res so some themes may not work any longer.
    Instructions:
    []Have phone plugged into computer, and in Charge Mode.

    []Download DX2-CRT-Animation.apk

    []Open Command Prompt (or Terminal) window in DX2-CRT-Animation.apk's location. (This can be accomplished by shift clicking on the folder where this resides, and clicking open command prompt here).

    []Push files onto the phone
    Code:
    adb push DX2-CRT-Animation.apk /data/local/tmp/framework-res.apk

    []Get shell access
    Code:
    adb shell
    su
    ---When you enter this, make sure your phone is awake, as a Super User access allow/deny will pop up. Allow it.
    In command prompt, you should now have a #.

    []Remove and copy files to proper location, reboot
    Code:
    mount -o rw,remount /dev/block/stl9 /system
    stop
    rm /system/framework/framework-res.apk
    cp /data/local/tmp/framework-res.apk /system/framework/
    rm /data/local/tmp/framework-res.apk
    reboot


    Whats next:
    -Reverse CRT animation (hopefully!!!)


    Any input is appreciated.
    I am new to this. Give me your input, and help me get better.
    1
    I'm sure you can find some around. In fact, all this is a simple bools.xml edit in framework-res. You could even do it yourself if needed.

    On the topic of CRT, I have been working on an ON/OFF CRT animation, but this is a lot more than xml edits. This relies on services.jar, and implementation and editing of different values and methods. It doesn't cause bootloop but I am puzzled as to why I am getting no animation (no crt or fade animation, instant off). Automatic brightness still works, but I don't know...I will try a few more things.

    Just a quick update on whats happening next.