Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Android 4.0][GUIDE]Port ICS transition animations on EVERY ROM & EVERY PHONE

OP capez

11th November 2011, 03:03 PM   |  #1  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
159 posts
Join Date:Joined: Aug 2010
Because some people asked me, I wrote this tutorial that explains how to port ICS transition animations on EVERY ROM & especially on EVERY PHONE!!!.

1) First of all, you need to download and install APK MANAGER:

http://forum.xda-developers.com/showthread.php?t=695701

2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.

3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".

4) In the apk manager folder, double click on the file "Script". A cmd window will open.

5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.

6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.

7) Download this:

http://www.mediafire.com/?1qjwtotg1r8umm1

8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.

9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":

<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>


Save.

10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.

11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".

12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".

13) Now you can create a flashable zip or you can simply push it to your system (but you have to sign the apk).

CONGRATRULATIONS!!! YOU ARE DONE!!!

And if you think this tutorial is useful, CLICK THANKS!!!

Now I'm satisfied and i can continue studying phylosophy for tomorrow test...

P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post and also give credit to me!!!

Video of this mod working:

http://www.youtube.com/watch?v=vf1U_30Ngfk
Last edited by capez; 14th November 2011 at 04:24 PM.
The Following 304 Users Say Thank You to capez For This Useful Post: [ View ]
11th November 2011, 03:58 PM   |  #2  
nmeuret's Avatar
Senior Member
Flag 75013
Thanks Meter: 792
 
1,188 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by capez

Work in progress

WHAAOOON, that's great, that's the post I was looking for mate !

This is what we should expect on this forum : knowledge sharing ! Work sharing and ROM/THEME/APPS sharing is great but knowledge is even better.

If I can test something ...
The Following User Says Thank You to nmeuret For This Useful Post: [ View ]
11th November 2011, 04:14 PM   |  #3  
DaXmax's Avatar
Recognized Themer
Flag Singapore
Thanks Meter: 10,034
 
10,693 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by capez

Work in progress

Will this work with every devices ?? Wow... Cant wait to do this!!!

Sent from my Nexus One using Tapatalk
The Following 2 Users Say Thank You to DaXmax For This Useful Post: [ View ]
11th November 2011, 05:28 PM   |  #4  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
159 posts
Join Date:Joined: Aug 2010
Finally DONE!!!
The Following 6 Users Say Thank You to capez For This Useful Post: [ View ]
11th November 2011, 06:19 PM   |  #5  
Senior Member
Thanks Meter: 31
 
239 posts
Join Date:Joined: Aug 2010
More
cool animations, thanks!!!
11th November 2011, 06:22 PM   |  #6  
nmeuret's Avatar
Senior Member
Flag 75013
Thanks Meter: 792
 
1,188 posts
Join Date:Joined: Aug 2010
(Replaced)
Last edited by nmeuret; 11th November 2011 at 06:50 PM.
11th November 2011, 06:30 PM   |  #7  
Senior Member
Flag bangalore
Thanks Meter: 110
 
761 posts
Join Date:Joined: Jan 2011
More
got bootloops on my desire hd.. running glanet ics..
11th November 2011, 06:34 PM   |  #8  
richiebm's Avatar
Senior Member
Thanks Meter: 26
 
102 posts
Join Date:Joined: Sep 2010
Rotation animations??
I already installed the CM7 transition animation zip from your other thread.. So, thank you in case I haven't appreciated your work

Does this one have screen rotation animation too?
11th November 2011, 06:35 PM   |  #9  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
159 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by digkong

got bootloops on my desire hd.. running glanet ics..

Did you pushed the modded framework-res.apk directly into the phone?
The Following User Says Thank You to capez For This Useful Post: [ View ]
11th November 2011, 06:40 PM   |  #10  
Member
Thanks Meter: 6
 
70 posts
Join Date:Joined: Apr 2009
More
Do you think [Android 4.0 ICS] should be in the title in this form? It's a little misleading.

The Following User Says Thank You to iScream^ For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes