XDA LG Development Challenge Winners

Almost 3months ago, we set out with LGto findtwo amazing apps that developers could put together … more

Wearable Apps w/ Andreas Göransson – XDA:DevCon 2014

XDA:DevCon 2014 in Manchester, UK featured quite a few interesting topics as … more

Browse Your Files with Ease using MK Explorer

Google has made quite an effort in perfecting the powerful and multi-faceted OS that we know as … more

How to Fix the Nexus Available Storage Bug – XDA TV

Is your Nexus device only showing half of the available storage as it should? Many … more

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

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

OP Yash98

3rd January 2013, 04:29 PM   |  #1  
Yash98's Avatar
OP Senior Member
Flag XDA-Developers
Thanks Meter: 607
 
448 posts
Join Date:Joined: Aug 2012
More
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 20 Users Say Thank You to Yash98 For This Useful Post: [ View ]
3rd January 2013, 06:52 PM   |  #2  
Hpsgill's Avatar
Senior Member
Flag Earth
Thanks Meter: 1,618
 
2,099 posts
Join Date:Joined: Aug 2012
More
Thanks nice guide and animations

Sent from my HTC Explorer A310e using xda premium
3rd January 2013, 07:53 PM   |  #3  
Senior Member
Flag Ho Chi Minh City
Thanks Meter: 7
 
137 posts
Join Date:Joined: Aug 2012
More
Thanks a lot

Sent from my GT-S5830 using Tapatalk 2
17th January 2013, 03:25 PM   |  #4  
RicAndroid's Avatar
Senior Member
Thanks Meter: 288
 
452 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Good work. This is being used on my custom rom called ICS Redux for the Sidekick 4G!
17th January 2013, 08:09 PM   |  #5  
Spatinator's Avatar
Senior Member
Thanks Meter: 41
 
371 posts
Join Date:Joined: Aug 2012
More
AW: [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE
Does that also work for gingerbread ??
18th January 2013, 12:48 AM   |  #6  
KageBeast's Avatar
Senior Member
Thanks Meter: 24
 
129 posts
Join Date:Joined: Jan 2013
More
I scratch that. I keep getting an error when recompiling.
Last edited by KageBeast; 18th January 2013 at 02:36 AM.
18th January 2013, 09:16 AM   |  #7  
Spex's Avatar
Recognized Contributor / Recognized Themer
Flag Zagreb
Thanks Meter: 2,420
 
2,227 posts
Join Date:Joined: Oct 2011
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, 11:11 AM   |  #8  
KageBeast's Avatar
Senior Member
Thanks Meter: 24
 
129 posts
Join Date:Joined: Jan 2013
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, 02:07 PM   |  #9  
Spex's Avatar
Recognized Contributor / Recognized Themer
Flag Zagreb
Thanks Meter: 2,420
 
2,227 posts
Join Date:Joined: Oct 2011
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, 05:42 PM   |  #10  
Recognized Contributor / Themer
Flag Wichita
Thanks Meter: 4,606
 
3,223 posts
Join Date:Joined: Jun 2012
More
hey OP have u taken the original modders permissions to port here ?

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

Advanced Search
Display Modes