FORUMS

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more
Post Reply Subscribe to Thread Email Thread

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

11th November 2011, 02:03 PM |#1  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
More
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 03:24 PM.
The Following 304 Users Say Thank You to capez For This Useful Post: [ View ]
 
 
11th November 2011, 02:58 PM |#2  
nmeuret's Avatar
Senior Member
Flag 75013
Thanks Meter: 844
 
More
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, 03:14 PM |#3  
DaXmax's Avatar
Recognized Themer
Flag Singapore
Thanks Meter: 10,036
 
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, 04:28 PM |#4  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
More
Finally DONE!!!
The Following 6 Users Say Thank You to capez For This Useful Post: [ View ]
11th November 2011, 05:19 PM |#5  
Senior Member
Thanks Meter: 31
 
More
cool animations, thanks!!!
11th November 2011, 05:22 PM |#6  
nmeuret's Avatar
Senior Member
Flag 75013
Thanks Meter: 844
 
More
(Replaced)
Last edited by nmeuret; 11th November 2011 at 05:50 PM.
11th November 2011, 05:30 PM |#7  
Senior Member
Flag bangalore
Thanks Meter: 148
 
More
got bootloops on my desire hd.. running glanet ics..
11th November 2011, 05:34 PM |#8  
richiebm's Avatar
Senior Member
Thanks Meter: 26
 
More
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, 05:35 PM |#9  
capez's Avatar
OP Senior Member
Flag Rovigo, Castelnovo B. - Italy
Thanks Meter: 943
 
More
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, 05:40 PM |#10  
Member
Thanks Meter: 6
 
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