Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,247 Members 51,398 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
capez
Old
(Last edited by capez; 14th November 2011 at 03:24 PM.)
#1  
capez's Avatar
Senior Member - OP
Thanks Meter 943
Posts: 159
Join Date: Aug 2010
Location: Rovigo, Castelnovo B. - Italy
Angry [Android 4.0][GUIDE]Port ICS transition animations on EVERY ROM & EVERY PHONE

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
The Following 304 Users Say Thank You to capez For This Useful Post: [ Click to Expand ]
 
nmeuret
Old
#2  
nmeuret's Avatar
Senior Member
Thanks Meter 700
Posts: 1,123
Join Date: Aug 2010
Location: 75013
Quote:
Originally Posted by capez View Post
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: [ Click to Expand ]
 
DaXmax
Old
#3  
DaXmax's Avatar
Recognized Themer
Thanks Meter 10026
Posts: 10,691
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by capez View Post
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: [ Click to Expand ]
 
capez
Old
#4  
capez's Avatar
Senior Member - OP
Thanks Meter 943
Posts: 159
Join Date: Aug 2010
Location: Rovigo, Castelnovo B. - Italy
Finally DONE!!!
The Following 6 Users Say Thank You to capez For This Useful Post: [ Click to Expand ]
 
awia
Old
#5  
Senior Member
Thanks Meter 31
Posts: 239
Join Date: Aug 2010
cool animations, thanks!!!

----------------------------------------------------------------------------
Miembro de la plataforma O.C.R.F.'s (Obsessive Compulsive ROM Flashers)
 
nmeuret
Old
(Last edited by nmeuret; 11th November 2011 at 05:50 PM.)
#6  
nmeuret's Avatar
Senior Member
Thanks Meter 700
Posts: 1,123
Join Date: Aug 2010
Location: 75013
(Replaced)
 
digkong
Old
#7  
Senior Member
Thanks Meter 99
Posts: 711
Join Date: Jan 2011
Location: bangalore
got bootloops on my desire hd.. running glanet ics..
[SIGPIC]
 
richiebm
Old
#8  
richiebm's Avatar
Senior Member
Thanks Meter 26
Posts: 102
Join Date: Sep 2010
Default 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?
 
capez
Old
#9  
capez's Avatar
Senior Member - OP
Thanks Meter 943
Posts: 159
Join Date: Aug 2010
Location: Rovigo, Castelnovo B. - Italy
Quote:
Originally Posted by digkong View Post
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: [ Click to Expand ]
 
iScream^
Old
#10  
Member
Thanks Meter 6
Posts: 70
Join Date: Apr 2009
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes