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

Root Okay what just happened?

I was trying to install the CRT-OFF Animation from the sticky, my phone reset itself and I can't get past the metro pcs screen. Did I replace the wrong thing? I replaced Framework-res.apk under /system/framework with the one from the sticky. Did I brick?
 
I think that one was based on firmware c i remember doing the same thing and it bricked my phone thas y i did my own, what firmware were u on ?
 
UPDATE: Phone is unbricked, back to stock. Thanks guys! And tsmallz your method reset my phone but was still stuck on the metro screen. Guess it doesn't work when you replace framework.res.apk
 
This is what you do if you want to get the CTR OFF animation, of course you could always use apk multi tool instead of apktooll as it makes things much easier
1. Open a command prompt in windows (Start-->type cmd in search).
2. Type: adb devices (to check if your phone is hooked up)
3. Type: cd c:/sdk/platform-tools (this changes directory to platformtools)
4. Type: adb pull /system/framework/framework-res.apk (this pulls framework-res.apk off your phone into your platform-tools folder)
5. Type: apktool d framework-res.apk (this decompiles the framework to a folder called "framework-res" in your platformtools directory.)
6. Open the folder "framework-res" and navigate to /res/values then right click the file bools.xml and open it in notepad ++)
7. Search for "animateScreenLights" and change its value from true to false, then hit save and close the file.
8. Back to the command prompt, type: apktool b framework-res (note: don't add .apk to the end of this command. Once you run the command wait till it says "building apk file..")
9. Open the "framework-res" folder again. then go to /build/apk and right click and copy "resources.arsc"
10. Go to the framework-res.apk file in your platformtools and right click and open with 7zip.
11. Delete the "resources.arsc" file, then paste the one you copied from the framework res folder, then close the file.
12. Now push it to the root of your sdcard, type:
adb push framework-res.apk /sdcard/ (Note: you can try to push it through adb right to /system/framework using this command:
adb push framework-res.apk /system/framework/framework-res.apk but I couldn't mount as rw so i said **** it and did it using root explorer.)
13. Almost done. unplug your phone, open root explorer and go to the sd card.
14. Long press on framework-res.apk and select move.
15. Navigate to /system, mount as R/O, and paste it here. (Note: Why don't you just paste it right into /system/framework? Because you'll boot loop your phone dumb ass, Don't ****ing argue, just paste it in /system.)
16. Long press the framework-res.apk you just pasted in /system, go to permissions and change it to rw-r-r, that is, check all the reads and check the first write, then hit ok.
17. Long press the file again and select move. Now go to /system/framework and paste it here, when asked do you want to overwrite, hit yes. Then reboot the phone.
18. Hang in there last 2 steps. Open root explorer again and go to /system, mount as R/O. Long press build.prop, scroll down and select "Open in text editor".
19. Find the line "debug.sf.hw=1" and put a # sign in front of it, like this "#debug.sf.hw=1" don't input the quotations, duh. Save and exit.
20. Reboot the phone, you're done. Make sure you go to android settings/display settings/animation and check "All animations." (Note: if you have "spare parts" app installed make sure your "Window animations" are set to normal speed.)
 
UPDATE: Phone is unbricked, back to stock. Thanks guys! And tsmallz your method reset my phone but was still stuck on the metro screen. Guess it doesn't work when you replace framework.res.apk

Any boot loops because of files messed up in /system can only be fixed by unbricking.

Boot loops because of files messed up in /data can be fixed only by a factory reset, even if you try unbricking, you would have to factory reset.
 
Back
Top Bottom