Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,588 Members 45,615 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Yash98
Old
#1  
Yash98's Avatar
Senior Member - OP
Thanks Meter 585
Posts: 416
Join Date: Aug 2012
Location: XDA-Developers
Angry [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE

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
TusFiles (free) mega features:
 
  • 1TB Storage
  • Unlimited Bandwith
  • No Ads option
  • Hotlink 1B-5MB file
  • FTP/Remote/Flash Upload
  • Personal URL Shrinker
The Following 20 Users Say Thank You to Yash98 For This Useful Post: [ Click to Expand ]
 
Hpsgill
Old
#2  
Hpsgill's Avatar
Senior Member
Thanks Meter 1,597
Posts: 2,097
Join Date: Aug 2012
Location: Earth
Thanks nice guide and animations

Sent from my HTC Explorer A310e using xda premium
My work
Sense 5 EX
 
tegieng92
Old
#3  
Senior Member
Thanks Meter 7
Posts: 137
Join Date: Aug 2012
Location: Ho Chi Minh City
Thanks a lot

Sent from my GT-S5830 using Tapatalk 2
 
RicAndroid
Old
#4  
RicAndroid's Avatar
Senior Member
Thanks Meter 288
Posts: 452
Join Date: Aug 2012

 
DONATE TO ME
Good work. This is being used on my custom rom called ICS Redux for the Sidekick 4G!
 
Spatinator
Old
#5  
Spatinator's Avatar
Senior Member
Thanks Meter 41
Posts: 371
Join Date: Aug 2012
Default AW: [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE

Does that also work for gingerbread ??
 
KageBeast
Old
(Last edited by KageBeast; 18th January 2013 at 01:36 AM.)
#6  
KageBeast's Avatar
Senior Member
Thanks Meter 18
Posts: 105
Join Date: Jan 2013
I scratch that. I keep getting an error when recompiling.
 
Spex
Old
#7  
Spex's Avatar
Recognized Contributor / Recognized Themer
Thanks Meter 2,414
Posts: 2,227
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Quote:
Originally Posted by KageBeast View Post
I scratch that. I keep getting an error when recompiling.
that has nothing to do with this.
 
KageBeast
Old
#8  
KageBeast's Avatar
Senior Member
Thanks Meter 18
Posts: 105
Join Date: Jan 2013
Quote:
Originally Posted by mv_style View Post
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.
 
Spex
Old
#9  
Spex's Avatar
Recognized Contributor / Recognized Themer
Thanks Meter 2,414
Posts: 2,227
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Quote:
Originally Posted by KageBeast View Post
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?
 
A_U
Old
#10  
Recognized Contributor / Themer
Thanks Meter 4,579
Posts: 3,223
Join Date: Jun 2012
hey OP have u taken the original modders permissions to port here ?
Samsung Galaxy Note 2 (GT-N7100)
Baseband : NG4
ROM : Dr. Ketan V9

 




My Facebook page | My XDA Contributions



Previous Devices -

Pandigital Supernova Tablet
Samsung Galaxy Ace
Samsung Galaxy Mini

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Real-World Battery Saving Tips for Android – XDA Developer TV

You need Real-World Battery Saving Tips for your Android device. Our … more

Android L Will Have Data Encryption Turned On by Default

Android L, once it is eventually released, will featuredata encryption turned on by … more

Lock Apps and Functions Easily with Droid Protector

Access and security are some of the key issues facingmobile technology. Whether … more

ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more