FORUMS

Analysis & Opinion

Top Forum Discussions

[GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE

459 posts
Thanks Meter: 658
 
By Yash98, Senior Member on 3rd January 2013, 03:29 PM
Post Reply Subscribe to Thread Email Thread
I wrote this tutorial that explains how to port Jelly Bean transition animations on EVERY ROM & especially on EVERY PHONE!!!.

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

http://apkmultitool.com/?q=node/5

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\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/download.php?8u5y88ais0awj1r

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

9) Now go to your apk manager folder, go to projects\framework-res\res\values\. Edit the file integers.xml.

Modify the values in those lines:

Code:
<integer name="config_shortAnimTime">150</integer>
<integer name="config_mediumAnimTime">300</integer>
<integer name="config_longAnimTime">400</integer>
to:

Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
and add these just below:

Code:
<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 "n" and enter.

12) Go to the folder "place-apk-here-for-modding" delete the file "unsignedframework-res.apk", click with the right mouse button on "framework-res.apk" and select "7zip > Open file", delete the folder "res" and "resource.arsc", go to the folder "projects\framework-res\build\apk\" select the folder "res" and the "resource.arsc", drag to zip and close.

13) Ready, now just replace.

CONGRATRULATIONS!!! YOU ARE DONE!!!

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

P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post

Credits: Dinhodroid
The Following 21 Users Say Thank You to Yash98 For This Useful Post: [ View ]
 
 
3rd January 2013, 05:52 PM |#2  
Hpsgill's Avatar
Senior Member
Flag Earth
Thanks Meter: 1,637
 
More
Thanks nice guide and animations

Sent from my HTC Explorer A310e using xda premium
3rd January 2013, 06:53 PM |#3  
Senior Member
Flag Ho Chi Minh City
Thanks Meter: 7
 
More
Thanks a lot

Sent from my GT-S5830 using Tapatalk 2
17th January 2013, 02:25 PM |#4  
RicAndroid's Avatar
Senior Member
Thanks Meter: 289
 
Donate to Me
More
Good work. This is being used on my custom rom called ICS Redux for the Sidekick 4G!
17th January 2013, 07:09 PM |#5  
Spatinator's Avatar
Senior Member
Thanks Meter: 42
 
More
AW: [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE
Does that also work for gingerbread ??
17th January 2013, 11:48 PM |#6  
KageBeast's Avatar
Senior Member
Thanks Meter: 33
 
More
I scratch that. I keep getting an error when recompiling.
Last edited by KageBeast; 18th January 2013 at 01:36 AM.
18th January 2013, 08:16 AM |#7  
Spex's Avatar
Recognized Contributor / Recognized Themer
Flag Zagreb
Thanks Meter: 2,420
 
Donate to Me
More
Quote:
Originally Posted by KageBeast

I scratch that. I keep getting an error when recompiling.

that has nothing to do with this.
18th January 2013, 10:11 AM |#8  
KageBeast's Avatar
Senior Member
Thanks Meter: 33
 
More
Quote:
Originally Posted by mv_style

that has nothing to do with this.

So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.
18th January 2013, 01:07 PM |#9  
Spex's Avatar
Recognized Contributor / Recognized Themer
Flag Zagreb
Thanks Meter: 2,420
 
Donate to Me
More
Quote:
Originally Posted by KageBeast

So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.

Can u compile and recompile other apps?
18th January 2013, 04:42 PM |#10  
Recognized Contributor / Themer
Flag Wichita
Thanks Meter: 4,649
 
More
hey OP have u taken the original modders permissions to port here ?
18th January 2013, 11:00 PM |#11  
KageBeast's Avatar
Senior Member
Thanks Meter: 33
 
More
Quote:
Originally Posted by mv_style

Can u compile and recompile other apps?

Yeah I can but i got this work. I had issues compiling the first time because i was also editing another xml but it worked the 2nd time.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes