Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Enabling Gingerbread ScreenOff Animation

$
0
0
The CRT style screen off / lock animation that comes with Gingerbread is disabled by default. This tutorial (partially copied and edited) will help you to Enable this.

First, you should root your device.

[SCH-i509] Gingerbread ScreenOff Animation

What you need:
- Root Explorer
- APK Manager from APK Multi-Toolkits | APK Multi-Tool
- Notepad
- 7Zip

1. Using Root Explorer, take the framework-res.apk (you can copy it from system/framework to /sdcard, and load it to your pc)


2. Copy from /sdcard to your PC. Paste it at "place-apk-here-for-modding" at the APK Manager folder.


3. For the first time you run APK Manager, please run setup.bat, and then choose option number 3. Please wait untill the progress done. Run Script.bat from the APK Manager folder. Press any key, choose 9 (decompile) and wait.


4. When it finishes go to \APK_Manager\projects\framework-res.apk\res\values.
5. Open up the file called bools.xml in Notepad (Right click and open with Notepad)
Quote:

Look for a line that says "<bool name="config_animateScreenLights">true</bool>"
Change true in that line to false so it should read
"<bool name="config_animateScreenLights">false</bool>"


6. Go back to the apkmanager script.bat. Open it, or if you still have it open you want to type 11 (Compile the apk) and then press "y"
When you see the picture like below, dont press any key too fast.


Theres a new folder in the apk manager directory called 'keep'. Before you hit enter to finish the process... go to that 'keep' folder and find a file called resource.arsc. Delete that file.


Go back to the apk manager and hit enter. It will start copying a bunch of files and it will be done. Close the script.bat window when it finishes.

7. Navigate to that folder that you put your framework-res.apk in initially and you'll see a new unsigned .apk. Open it in 7-zip and pull out the resource.arsc file inside of it (drag and drop it like on your desktop...do not unarchive/unzip). Using 7-zip open your framework-res.apk that you initially used for this mod (from your flashable .zip) and delete the old resource.arsc file thats in it...and drag and drop your new one in.
Code:

http://static.pbsrc.com/flash/onSiteVideo.swf?file=http://vid124.photobucket.com/albums/p32/lucubrb/SCH-i509/part07.mp4&t=1350846756&os=1&ap=1
8. Copy your new framework-res.apk to /sdcard. And then move it to /system. Do not copy the file to \system\framework at this point or you will cause the system to bootloop. Change the file permissions to rw-r--r--. Graphically it would look something like this:


9. Move framework-res.apk from \system to \system\framework, letting it overwrite the original. Completely power down your device, then power it back.

10. Last, using Root Explorer, goto /system/build.prop. Find "debug.composition.type=mdp" and change "debug.composition.type=gpu"

11. Restart your phone, and see the different :D

Tested at my SCH-i509. Do it with your own risk and good luck :)

Sources from here before i do some modif :D

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>