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

[TUT] How to mod your own framework-res.apk to include the CRT screen off animation

Search This thread

im_iceman

Senior Member
Apr 7, 2010
2,199
130
Alsager
First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..

Also thanks to the devs who created the util's needed to do this mod.

Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..

Adding the CRT animation to your phone.


  • You'll need root access
  • You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.

1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. Go into projects\framework-res\res\values\bools.xml [EDIT]
4. Make config_animateScreenLights to false [SAVE and EXIT]

5. Go back to script and select compile option 11.
6. Say y [System app]
7. Say n [don't need to retain anything else]

8. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
9. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
.......... open the apk files using 7 zip or similar. Do not extract them..
.......... Copy and paste from inside the original apk to inside the new one.

10. You'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
10a. RENAME IT to framework-res.apk
11. Copy the new framework-res.apk onto your phone in the SYSTEM folder
12. Change the permissions to RW-R--R--
13. Move the file into the FRAMEWORK folder.

Reboot...
Done..:D

Tested and works on my arc. (Finally!)

Video of the animation...

[EDIT - Added the apktool here as the original link is now dead.]
 

Attachments

  • apktool.zip
    1 MB · Views: 2,660
Last edited:

animboo

Senior Member
Feb 9, 2011
195
16
Quezon city
First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..

Also thanks to the devs who created the util's needed to do this mod.

Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..

Adding the CRT animation to your phone.


  • You'll need root access
  • You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.

1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. [NOT REQUIRED?] Drag twframework-res.apk into the script.
4. Go into projects\framework-res\res\values\bool.xml [EDIT]
5. Make config_animateScreenLights to false [SAVE and EXIT]
6. Go back to script and select compile option 11.
7. Say y [System app]
8. Say n [don't need to retain anything else]
9. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
10. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
11. U'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
12. Copy the unsignedframework-res.apk onto your phone in the SYSTEM folder
13. Change the permissions to RW-R--R--
14. Move the file into the FRAMEWORK folder.

Reboot...
Done..:D

Tested and works on my arc. (Finally!)

Video of the animation...

[EDIT - Added the apktool here as the original link is now dead.]

noobish question here mate, hope you can help me.
First: After compiling the framework-res.apk, how do you edit and overwrite meta.inf and androidmanifest.xml? and when you use the apk manager, their is no meta.inf folder when decompiling framework-res.apk
2nd: Do you need to rename your unsignedframework-res.apk to framework-res.apk?
 

im_iceman

Senior Member
Apr 7, 2010
2,199
130
Alsager
just copy and paste the androidmanifest and meta.inf files from your original framework-res.apk into the new one..

and yes - rename it to framework-res.apk
 

im_iceman

Senior Member
Apr 7, 2010
2,199
130
Alsager
No..open the apk files using 7 zip or similar. Do not extract them..

Copy and paste from inside the original apk to inside the new one.

Sent from The arc using XDA premium..
 
  • Like
Reactions: animboo

kondejm

Senior Member
Sep 9, 2010
96
1
Manchester
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
 

Attachments

  • log.txt
    2 KB · Views: 41

depulle87

Senior Member
Nov 25, 2010
674
117
"4. Go into projects\framework-res\res\values\bool.xml [EDIT]" should be bools, am I right ?

works like a charm thanks mate, its not that hard when you know what to do thanks again
 
Last edited:
  • Like
Reactions: im_iceman

im_iceman

Senior Member
Apr 7, 2010
2,199
130
Alsager
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
Looks like your trying to mod your phonebook.apk...

Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/signedPhonebook.apk.
Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedPhonebook.apk.
 

im_iceman

Senior Member
Apr 7, 2010
2,199
130
Alsager
I've just amended the first post...

you need to rename the unsignedframework-res.apk to framework-res.apk (ie the name of the original file)..

I thought that would have been obvious.. but perhaps not.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..

    Also thanks to the devs who created the util's needed to do this mod.

    Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..

    Adding the CRT animation to your phone.


    • You'll need root access
    • You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.

    1. Get your framework-res.apk from your phone and put it in the "modding" folder
    2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
    3. Go into projects\framework-res\res\values\bools.xml [EDIT]
    4. Make config_animateScreenLights to false [SAVE and EXIT]

    5. Go back to script and select compile option 11.
    6. Say y [System app]
    7. Say n [don't need to retain anything else]

    8. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
    9. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
    .......... open the apk files using 7 zip or similar. Do not extract them..
    .......... Copy and paste from inside the original apk to inside the new one.

    10. You'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
    10a. RENAME IT to framework-res.apk
    11. Copy the new framework-res.apk onto your phone in the SYSTEM folder
    12. Change the permissions to RW-R--R--
    13. Move the file into the FRAMEWORK folder.

    Reboot...
    Done..:D

    Tested and works on my arc. (Finally!)

    Video of the animation...

    [EDIT - Added the apktool here as the original link is now dead.]
    1
    1
    No..open the apk files using 7 zip or similar. Do not extract them..

    Copy and paste from inside the original apk to inside the new one.

    Sent from The arc using XDA premium..
    1
    "4. Go into projects\framework-res\res\values\bool.xml [EDIT]" should be bools, am I right ?

    works like a charm thanks mate, its not that hard when you know what to do thanks again
    1
    Should do yes..

    Sent from The arc using XDA premium..