5,593,293 Members 32,550 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][UPDATED] Port Jelly Bean transitions animations for Gingerbread

Tip us?
 
Dinhodroid
Old
(Last edited by Dinhodroid; 19th May 2013 at 12:44 AM.)
#1  
Dinhodroid's Avatar
Member - OP
Thanks Meter 164
Posts: 90
Join Date: Jun 2012
Smile [GUIDE][UPDATED] Port Jelly Bean transitions animations for Gingerbread

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\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/?9pf469gjjtpz9qf

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.

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 demonstration:

http://www.youtube.com/watch?v=6Jy13o4miME
The Following 50 Users Say Thank You to Dinhodroid For This Useful Post: [ Click to Expand ]
 
devilsking
Old
#2  
devilsking's Avatar
Recognized Themer
Thanks Meter 955
Posts: 1,007
Join Date: Sep 2010
Location: Hanoi

 
DONATE TO ME
Nice guide
♬ Developer/Themer @ The Myth Team ♬

www.TheMythTeam.com

Supported Devices: Galaxy Ace, Galaxy GIO, Galaxy SII, Nexus 7, Atrix HD
The Following User Says Thank You to devilsking For This Useful Post: [ Click to Expand ]
 
adhi89
Old
#3  
adhi89's Avatar
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Feb 2012
Location: ლ(ಠ益ಠლ) Y U WANT MY LOCATION?
nice tuts,, will try it soon.
The Following User Says Thank You to adhi89 For This Useful Post: [ Click to Expand ]
 
Infinityyy
Old
#4  
Infinityyy's Avatar
Senior Member
Thanks Meter 16
Posts: 104
Join Date: Jul 2011
Could someone please upload it for the latest CM nightly? I really want to try it, but I'm not at home. So if someone happens to do it, please upload.
 
Prawesome
Old
#5  
Prawesome's Avatar
Senior Member
Thanks Meter 1703
Posts: 9,023
Join Date: Sep 2011
Location: Error 404- Not found
Nice guide

Insert witty sentence here
"Thanks button is just to avoid "thanks" posts in threads. Nothing more than that. Don't ask in signature or post for it and defeat the purpose why it was introduced"
The Following User Says Thank You to Prawesome For This Useful Post: [ Click to Expand ]
 
dragonnn
Old
#6  
dragonnn's Avatar
Senior Member
Thanks Meter 767
Posts: 973
Join Date: Oct 2011
https://dl.dropbox.com/u/1664131/framework-res.apk for latest CM 7.2 nightly 20120923. Works great, thanks for the guide .

Sorry for my bad English.
The Following 3 Users Say Thank You to dragonnn For This Useful Post: [ Click to Expand ]
 
dxppxd
Old
#7  
Senior Member
Thanks Meter 173
Posts: 510
Join Date: Feb 2012
Holy fing sht! This is great! Thank you very much.
 
Dinhodroid
Old
#8  
Dinhodroid's Avatar
Member - OP
Thanks Meter 164
Posts: 90
Join Date: Jun 2012
Videodemonstration add in OP
The Following User Says Thank You to Dinhodroid For This Useful Post: [ Click to Expand ]
 
Dinhodroid
Old
#9  
Dinhodroid's Avatar
Member - OP
Thanks Meter 164
Posts: 90
Join Date: Jun 2012
Some moderator can move this topic to this area http://forum.xda-developers.com/forumdisplay.php?f=565
I think that is the most appropriate place!
The Following User Says Thank You to Dinhodroid For This Useful Post: [ Click to Expand ]
 
xarive
Old
#10  
xarive's Avatar
Senior Member
Thanks Meter 107
Posts: 479
Join Date: Dec 2011
Location: Georgetown, Ayer Itam
tried on CMX. works great. thanks bud.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes