• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root CRT Screen Off

I was trying to figure this out too, apparently it is easier to do with Gingerbread. ICS has different folders and the xml file named different... haven't found it yet.
 
Someone was able to do it for the Motion. I currently have it for that phone. That's what made me think of this because I felt that something was missing from the Spirit and couldn't put my finger on it until I hit the power button to turn off the screen and it just went black instead of doing the animation. I wonder if the framework of the two phones are similar at all.
 
Someone was able to do it for the Motion. I currently have it for that phone. That's what made me think of this because I felt that something was missing from the Spirit and couldn't put my finger on it until I hit the power button to turn off the screen and it just went black instead of doing the animation. I wonder if the framework of the two phones are similar at all.

Gingerbread? not really, it's very simple otherwise, i searched for a while the other day trying to find it but couldn't. Maybe a dev will chime in and shed some light, I couldn't find it. I think there's a lock screen app that will simulate it but I haven't tried it.
 
I was trying to figure this out too, apparently it is easier to do with Gingerbread. ICS has different folders and the xml file named different... haven't found it yet.
I found it the other day when I was making changes to framework... Here it is:

---You got to go to /system/framework folder and pull framework-res.apk
---Decompile framework-res.apk
---Then navigate to res/values and open bools.xml
---Search for <bool name="config_animateScreenLights">true</bool> and change its value to false (make sure you use notepad++ to edit so it wont corrupt)
---Lastly recompile when done.

If you want to take the easy way out... Here you go:

Android CRT Animation - YouTube

https://play.google.com/store/apps/details?id=com.katecca.screenofflockdonate
 
Gingerbread? not really, it's very simple otherwise, i searched for a while the other day trying to find it but couldn't. Maybe a dev will chime in and shed some light, I couldn't find it. I think there's a lock screen app that will simulate it but I haven't tried it.

The Motion runs ICS.


I usually use that app but for whatever reason the Old Style TV animation option doesn't work very well with the Spirit.
 
If the app doesn't work, then the only other way would be to follow the directions I posted above to edit the bools.xml

If anyone attempts this, I recommend installing your framework to apktool, so you don't get decompile errors.
 
I couldn't find the values folder in framework. Res folder is there... no values folder but I'll look again.
 
I couldn't find the values folder in framework. Res folder is there... no values folder but I'll look again.
LOL Of course it's there... I told you, you have to decompile the framework-res.apk. If you don't decompile you will not see this folder.
 
I used 7-zip and didn't see it. I'll decompile and change this. It should look nice with the fold animations I installed. ;)
 
LOL Of course it's there... I told you, you have to decompile the framework-res.apk. If you don't decompile you will not see this folder.

Decompiled, edited, recompiled, signed, but now the file size is MUCH smaller... doesn't seem right. 6517KB vs the newly edited file at 5694KB
 
Decompiled, edited, recompiled, signed, but now the file size is MUCH smaller... doesn't seem right. 6517KB vs the newly edited file at 5694KB
No need to sign. :thumb:

After you recompile take the Resources.arsc and drag it to the old framework-res.apk and use the old apk.

If you're not sure let me know.
 
No need to sign. :thumb:

After you recompile take the Resources.arsc and drag it to the old framework-res.apk and use the old apk.

If you're not sure let me know.

Compiled again without signing...
First attempt at coding and compiling, so bare with me here...

Why am I moving resources.arsc from the new apk to the old one? I thought the change was made in the res folder? Shouldn't I be moving that instead?
 
Compiled again without signing...
First attempt at coding and compiling, so bare with me here...

Why am I moving resources.arsc from the new apk to the old one? I thought the change was made in the res folder? Shouldn't I be moving that instead?
You should have 2 copies of framework-res.apk.
In the first one, you change xml's then when you're done with xml editing, you copy the resources.arsc. After copying resources.arsc, you don't need the first framework-res.apk anymore. Now you replace resources.arsc, in the second framework-res.apk and if you need to make png changes, you can.

The resources.arsc holds all the changes made to xml's, so that is all you need after editing xml. This method avoids having to sign and possible file corruption.

I just did the CRT animation mod to my framework... It looks awesome. :D

If you need help, let me know.
 
Thanks for explaining all that. I've already started to theme so i have custom pngs and such. Since i use 7zip, i never had to compile or mess with xml's.
 
Back
Top Bottom