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

Root Crt on animation

exile1975

Well-Known Member
Do any roms have the crt on animation enabled? I've been trying to get this working on the stock Rom and following two different guides I've had no luck. Any help would be great
 
Do any roms have the crt on animation enabled? I've been trying to get this working on the stock Rom and following two different guides I've had no luck. Any help would be great

Its pretty easy m8, just takes some doing. :)


oh! and Mind the disclaimer.....Im not responsible for blah blah blah...bricked...blah....devices...blah. ;)

MAKE A BACKUP FIRST!!!

You'll need:
ADB
Notepad++ ( Notepad++ v6.1.4 - Current Version )
APK manager ( AdF.ly - shrink your URLs and get paid! )
Install them.

1) First, open your build.prop (located in /system/). Its easiest to do it in root explorer, since such a small mod is required. just right click build.prop and choose "open in text editor".
2) Look for "debug.sf.hw=1"
3) Put a # behind it
Code:
#debug.sf.hw=1
4) Save and exit.
Next.
5) Pull framework-res.apk (use root explorer to copy and paste it to your SDcard, then mount ur phone and copy the framework to your APK manager directory.) (Alternately, if you have adb installed as a system path, or if a copy of adb is in your apk manager directory, you can use APK manager to pull framework-res.apk, thus skipping the next 2 steps.)

6) Put framework-res.apk in the folder labelled "place here for modding"
7) Then run "Script.bat" to start APK manager.
8) Press "9" to decompile the APK.
9) Once decompiled, goto the "projects" folder.
10) Navigate to /framework-res.apk/res/values/bools.xml
11) Look for the string "<bool name="config_animateScreenLights">true</bool>"
12) Change value to false.
Code:
<bool name="config_animateScreenLights">false</bool>
13) Save and close
14) Go back to APK manager and hit 11 to recompile
15) Choose yes to question "is this a system file?"
16) Choose yes to the second question as well.
It will tell you to goto the keep folder and delete anything you've modified.
SO
17) Goto the "Keep" folder in the APK manager folder.
18) Delete "Resources.arsc"
19) Go back to APK manager and hit any key to continue.
20) Once recompiled, go to the "place here for modding" folder.
21) Take "unsignedframework-res.apk" and place it on your SDcard.
22) Rename it to "framework-res.apk"
23) Next, open up a command prompt, navigate to your adb installation, and type the following:
*note: make sure your phone screen is on to accept superuser access from shell if you havent already.

Code:
adb shell
su
stop
mount -o remount rw /system
cat /sdcard/framework-res.apk > /system/framework/framework-res.apk
chmod 0644 /system/framework/framework-res.apk
mount -o remount ro /system
reboot

Your phone will reboot, and hopefully will not gurgle and grumble! :)

Hope that helps.
 
i already did the bools edit, all that does is enable the crt off effect....

as for CM 7.2, does that have the crt on animation? or only the crt off?
 
i already did the bools edit, all that does is enable the crt off effect....

as for CM 7.2, does that have the crt on animation? or only the crt off?

Ahh, CRT on. My apologies, I misread. ;)

Being as the guides out there are for different phones, certain dalvik code differs slightly from phone to phone - thus the reason it would necessarily work. It would need some tweaking (going from what I've read in relation to our smali files that need editing.).
I'll add it to the list of things to look into. ;)
 
It doesn't have the on animation.

look at the post before you make a comment kthx
In all fairness, I made the same mistake..

Cool, thanks. I'm still playing with it also, and IF I get it I'll be sure to share

You've peeked my interest in this m8 (despite solving issues with my newest ROM build. lol Damn you!!! j/k ;) )..
After some code fiddling, I've managed to get 'CRT on' working, but our 'screen-on' delay is too long, and it is obstructing the animation.
Working on a fix.

Will keep you posted.

~Cheers
 
The more I read on CRT ON issues, the more I realize that there is a notorious delay issue on wake with a lot of samsung phones. It is kernel related, therefor there would be no easy fix unfortunately. I'll keep you up to date of any new findings.
 
spz0... like you i saw the animation once, but it was very lagged and dim if i remember right. unlike you i am not yet very well versed in android developement. i can follow directions, and get propper results..... but i am just now starting to actually learn what i am doing. thank you all for your help in this endevor.
 
How do I change my SD card to READ/WRITE? When I edit my build.prop it wont save...

I'm stuck!

You should just be editing build.prop from its native directory (/system/)
Using Root Explorer, its as easy as navigating to the directory, then clicking the "Mount r/w" button in the top right corner of the screen, then longpress the build.prop and "open in text editor".

Cheers.
 
OK, got it. ( rom toolbox pro's root browser)

Apk manager is saying I don't have Java Installed... (Jdk? If so, what version do I need?)
 
Back
Top Bottom