This is the guie for How to add real ICS transition animation in your framework.
1.Get your framework-res.apk from your system/framework/here.
2.put it in your sdcard.
3.connect your phone to PC and copy the framework-res.apk that you get in any folder of Drive in PC.example:I put apk in C:/apk/here
4.Go to apktool folder and open command prompt here By pressing shift and right click.
5.And decompile your framework-res.apk by typing apktool d C:/apk/framework-res.apk
It will like this>> C:/apktool_apktool d C:/apk/framework-res.apk
6.Then go to apktool folder/framework-res/res/anim/
7.Download this>>Download
8.Extract it and copy the files from "anims" to apktool folder/framework-res/res/anim/here ,copy and replace..Also copy files from "other files" to apktool folder/framework-res/res/anim/here ..
9.Now,go to apktool folder/framework-res/res/values and edit the file integers.xml with NOTE++ and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
And save and exit.
10.Now recompile your apk by typing apktool b framework-res framework-res.apk
All needed files.zip
Its done...
Example for DXLF1 deodex>>>Sample.zip Flash via CWM.Don't forget to Mount System.
Credit>>capez
I remember this features have in U-O-T Kitchen.
But nice guide, tks!
Simple Guide:
Decompile framework-res.apk of your rom.
Copy the contents of the downloaded file in anim folder.
Go to values/integers.xml and edit the lines mentioned.
Compile and use it.
Isn't it simple...
Ganesh Arivoli said:
Simple Guide:
Decompile framework-res.apk of your rom.
Copy the contents of the downloaded file in anim folder.
Go to values/strings.xml and edit the lines mentioned.
Compile and use it.
Isn't it simple...
Click to expand...
Click to collapse
lol bro not strings.xml intergers.xml
CRT screen off animation and ICS transition animation now got by editing sevice.jar,framework-res.apk,Settings.apk and build.prop :good::good:
hacker0377 said:
CRT screen off animation and ICS transition animation now got by editing sevice.jar,framework-res.apk,Settings.apk and build.prop :good::good:
Click to expand...
Click to collapse
How to add crt effect?
Sent from my GT-S6102 using xda premium
Nice guide
thanks for share
Nice and simple MOd...
thanks.....:good::fingers-crossed:
hacker0377 said:
CRT screen off animation and ICS transition animation now got by editing sevice.jar,framework-res.apk,Settings.apk and build.prop :good::good:
Click to expand...
Click to collapse
Tuts please
Spoiler
LESSON #99: never ask for ETA's or the mod-wannabe-guy will report it
hacker0377 said:
This is the guie for How to add real ICS transition animation in your framework.
1.Get your framework-res.apk from your system/framework/here.
2.put it in your sdcard.
3.connect your phone to PC and copy the framework-res.apk that you get in any folder of Drive in PC.example:I put apk in C:/apk/here
4.Go to apktool folder and open command prompt here By pressing shift and right click.
5.And decompile your framework-res.apk by typing apktool d C:/apk/framework-res.apk
It will like this>> C:/apktool_apktool d C:/apk/framework-res.apk
6.Then go to apktool folder/framework-res/res/anim/
7.Download this>>Download
8.Extract it and copy the files from "anims" to apktool folder/framework-res/res/anim/here ,copy and replace..Also copy files from "other files" to apktool folder/framework-res/res/anim/here ..
9.Now,go to apktool folder/framework-res/res/values and edit the file integers.xml with NOTE++ and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
And save and exit.
10.Now recompile your apk by typing apktool b framework-res framework-res.apk
All needed files.zip
Its done...
Example for DXLF1 deodex>>>Sample.zip Flash via CWM.Don't forget to Mount System.
Credit>>capez
Click to expand...
Click to collapse
cn u shw yhe ss(screen shots plz)
Wew nice mod bro... waiting for your next tut on crt effect...
I understand that you cannot give sample or some proof on your work... coz effects (i think) cannot be shown thru ss i guess.. lol..
Pls crt tut bro
Sent from my GT-S5360 using xda premium
Waiting for your tut on crt anim bro...
To add it to my Xperia Lockscreen:
guys can u explain wat tis effect does??????????????????plzzzz
npx123 said:
guys can u explain wat tis effect does??????????????????plzzzz
Click to expand...
Click to collapse
If you have done all as in my tutorial...
Check the box in settings/display/animation/All windows animation are shown...//now you can see ICS animation
hacker0377 said:
If you have done all as in my tutorial...
Check the box in settings/display/animation/All windows animation are shown...//now you can see ICS animation
Click to expand...
Click to collapse
i tried it but in settings the device got real slow....so i removed the feature....can u tell y it happend?
Is crt affect working well? If yes, then you proved yourself as a HACKER!
up haha
link off
the link here :
http://www.mediafire.com/error.php?errno=320
off , please ! link on .
sorry my english !
hacker0377 said:
CRT screen off animation and ICS transition animation now got by editing sevice.jar,framework-res.apk,Settings.apk and build.prop :good::good:
Click to expand...
Click to collapse
does it really work? if so, TUTORIAL!
Does Auto-rotation gets ICS Transition Animation???
Sent from my GT-S5830i using xda app-developers app
Related
Hey Everyone, The SK4G is known to have to have good graphics though you might have noticed that stock samsung window animations arent the smoothest, luckily I found a nice mod/tweak for that. Just Replace the "Anim" folder to your framwork-res.apk in the res folder and reboot. Enjoy!
http://www.mediafire.com/?dxaelds38d9r6es
John_2k2 said:
Hey Everyone, The SK4G is known to have to have good graphics though you might have noticed that stock samsung window animations arent the smoothest, luckily I found a nice mod/tweak for that. Just Replace the "Anim" folder to your framwork-res.apk in the res folder and reboot. Enjoy!
http://www.mediafire.com/?dxaelds38d9r6es
Click to expand...
Click to collapse
can i get more details on what this will do?
Yeah your windows transitions are much smoother and fluid
Sent from my SGH-T839 using XDA App
John_2k2 said:
Hey Everyone, The SK4G is known to have to have good graphics though you might have noticed that stock samsung window animations arent the smoothest, luckily I found a nice mod/tweak for that. Just Replace the "Anim" folder to your framwork-res.apk in the res folder and reboot. Enjoy!
http://www.mediafire.com/?dxaelds38d9r6es
Click to expand...
Click to collapse
Do you have a link for the stock SK4G anim folder? I would like to try them on a different device.
uhm..
can I get a guide on how to install this? and idk if this has to do with the animations but my web browser is uber sluggish when changing pages...?
turphed said:
can I get a guide on how to install this? and idk if this has to do with the animations but my web browser is uber sluggish when changing pages...?
Click to expand...
Click to collapse
not sure why this is in development and not themes. But you have to open your framework-res.apk (use 7zip or something similar) and delete the anim folder in /res/ . then drag this anim folder in, close it. then push the apk to system/framework on your phone and reboot
ayoteddy said:
not sure why this is in development and not themes. But you have to open your framework-res.apk (use 7zip or something similar) and delete the anim folder in /res/ . then drag this anim folder in, close it. then push the apk to system/framework on your phone and reboot
Click to expand...
Click to collapse
am i doing this from my pc into my phones /system or something on the sd card? sorry I'm a noob to the sidekick 4G
Use your PC, your phone can't open apks like zips.
sduvick said:
Use your PC, your phone can't open apks like zips.
Click to expand...
Click to collapse
soo... where am I putting the anim file on the sd card or the /system of the phone?
pull /system/framework/framework-res.apk from your phone onto your PC
open the framework-res.apk as a zip using 7zip or winRAR
place anim folder in /res/, overwriting the anim folder that's there
place framework-res.apk back into /system/framework.
ayoteddy said:
not sure why this is in development and not themes. But you have to open your framework-res.apk (use 7zip or something similar) and delete the anim folder in /res/ . then drag this anim folder in, close it. then push the apk to system/framework on your phone and reboot
Click to expand...
Click to collapse
take the framework-res.apk from system/framework and place it on your SD or use adb.
then from your PC open the framework-res and delete the anim folder in res/ . then drag the anim folder from here into there. then close it and push it back to system/framework
edit: Sduvick got me this time haha
sduvick said:
pull /system/framework/framework-res.apk from your phone onto your PC
open the framework-res.apk as a zip using 7zip or winRAR
place anim folder in /res/, overwriting the anim folder that's there
place framework-res.apk back into /system/framework.
Click to expand...
Click to collapse
thanks, I see a bit of a difference now
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
capez said:
Work in progress
Click to expand...
Click to collapse
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 ...
capez said:
Work in progress
Click to expand...
Click to collapse
Will this work with every devices ?? Wow... Cant wait to do this!!!
Sent from my Nexus One using Tapatalk
Finally DONE!!!
cool animations, thanks!!!
(Replaced)
got bootloops on my desire hd.. running glanet ics..
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?
digkong said:
got bootloops on my desire hd.. running glanet ics..
Click to expand...
Click to collapse
Did you pushed the modded framework-res.apk directly into the phone?
Do you think [Android 4.0 ICS] should be in the title in this form? It's a little misleading.
Hmm...It started FC. Removing my links for now. Gonna see why.
Works great
Great guide. It worked for me.
Oddly though, I replaced my framework-res.apk through root explorer, set all the correct permissions, and when I rebooted, my google accounts were deleted, along with my contacts and google music library.
Not a problem though, Ill just have to relogin to them.
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
6. 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.
7. 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.
8. Patch the anim files in it, and edit the xml,
9. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
10. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
capez said:
Did you pushed the modded framework-res.apk directly into the phone?
Click to expand...
Click to collapse
i used root explorer..
hmmm.. it maybe beacause i did not set permissions right...
great it worked after i set the permissions.. thanks for ur work will post this guide in dhd forum too..
nmeuret said:
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Patch the anim files in it, and edit the xml,
6. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
7. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
Click to expand...
Click to collapse
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Update done for CM7 Nightly 176 (latest) :
http://www.multiupload.com/J88VTO2SU6
---------- Post added at 07:01 PM ---------- Previous post was at 06:59 PM ----------
capez said:
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Click to expand...
Click to collapse
Well, in the APK MANAGER post they say :
>Optimize pngs (ignores .9.pngs)
So it should work better !! (but as I'm lazy, I still use APKTOOL one click solution )
I got instant bootloops! How? Can u patch for me??
Sent from my Nexus One using Tapatalk
nmeuret said:
Update done for CM7 Nightly 176 (latest) :
Click to expand...
Click to collapse
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
this does not have the rotation animation..
anyway to get that..
dawgpound6985 said:
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
Click to expand...
Click to collapse
OOpppsss, thanks, fixed here :
http://www.multiupload.com/J88VTO2SU6
hello again, this time I have a question and a problem, editing the framework of a rom-res cm7.2 to change the default wallpaper, use apktool and apkmanager to decompile and compile the file, enter the new zip, sign and flash the rom, it installs correctly, but when bootanimation appears after a few seconds the device freezes and restarts and so again and again (I think it is called bootloop), I do not know which tool to use to compile and decompile the apk and the rom starts without error, use apktool and apk manager but without any good result ... I'm doing something wrong? I hope someone can help me, I read other entries that talk about something like this and recommend apktool but I use to run, again thanks!
sorry for my English
Use winrar den extract drawable-ldpi. Chnge default wallpaper. Den delete d drawable-ldpi in framework-res.apk and replace it wid ur modified drawable-ldpi. Apkmanager shd nly be used if v edit xml's or smali's
Sent from my GT-S5670 using xda premium
oh! that simple? thanks bro I will try
thanks bro! I worked great! thank you very much!
I tried to change an image in systemui.apk. First I decompiled it with apkmanager,the I changed the image,I compiled and signed it.Then, with android commander I pushed systemui.apk. Now , my status bar doesn't appear. What is the problem ? Please help me.
s3bytzzu said:
I tried to change an image in systemui.apk. First I decompiled it with apkmanager,the I changed the image,I compiled and signed it.Then, with android commander I pushed systemui.apk. Now , my status bar doesn't appear. What is the problem ? Please help me.
Click to expand...
Click to collapse
Use winrar for theming. Apkmanager is nly for .xml editing or smali editing.
Sent from my GT-S5670 using xda premium
Feras.Rehman said:
Use winrar for theming. Apkmanager is nly for .xml editing or smali editing.
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
if we use winrar then how to go back to .zip to .apk ...
is renaming the file from .zip to .apk works out ??
ahh don't do that way! -_-
just open the apk directly using winrar..then open the folder wer you want to change the .png images..just drag and drop the images in the winrar window and the rest will be done the winrar itself..you don't even need to extract all those files and recomplie them again!
thanks ! it's working !
Ravi H Basawa said:
if we use winrar then how to go back to .zip to .apk ...
is renaming the file from .zip to .apk works out ??
Click to expand...
Click to collapse
there is no need of winrar all u need are the images photo resizing software
Guide to decompile android application
REQUIREMENT
Apktool [ http://www.mediafire.com/?ooaflvs6nvo5xvq ][Thanks to brut.all for this apktool]
Java JDK/JRE 32 bit [please google it guy's]
Little knowledge on cmd
__________________________________________________ __________________________________________________ _____________________
Preparation before WORKING
Process :-
1)now install the java in your pc/lappy
then copy the apktool.zip & goto directory C:/
make a folder name apktool (u can name it by watever u like)
now goto that folder & paste the zip
extract that zip there...
2) now copy the .apk or jar file which u wnt to decompile
& paste it on apktool folder.....
also copy the framework-res.apk of that rom &
paste it on that folder..
Decompiling application
3) now open cmd
Your cmd will probly look like this..
C:\users\yourname>
so type in
cd.. (yes include the '..' and press enter after you type each command)
this will get you to back directory so now you will see
C:\users>
so type again
cd..
you should now see this:
C:\>
now type
cd apktool (and you are in the apktool directory)
4)Installing Framework
Now that you are in directory we need to install the device's framework to your system for it to compile correctly so type this:
apktool if framework-res.apk
this will install the devices framework to your system (need to do this)
5)now to decompile the apk you want to edit.. type this:
apktool d music.apk mod
music.apk is the apk your decompiling
mod is the folder you're creating for the decompiled apk
do whatever you want to do with your apk...
NOW RECOMPILING
6)now to recompile your new apk type this:
apktool b mod music-new.apk
mod is the folder with your edited files
music-new.apk is your new apk file
Now we are NOT done... we cannot use the new apk's...
now make two separate folder a & b
copy-paste the original music.apk in 'a'
& music-new.apk in 'b'
use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "new-edited" apk and copy them into Original apk
now add to archive ...the origanl apk in zip format
& at the end of the file name .apk ( i mean give the file format name as .apk insted of .zip)
Now you are almost done..... :good: :good:
IF it is a system app then don't sign it....otherwise u have to sign that app....
That's all
don't forget to hit thanks or comment.... :good: :good:
Quick info: It doesn't work for chineese roms
lozohcum said:
Quick info: It doesn't work for chineese roms
Click to expand...
Click to collapse
is sony roms r chinese?!
Sent from my GT-S5360 using xda app-developers app
No but you can't use it for MIUI/Lewa porting, just saying
lozohcum said:
No but you can't use it for MIUI/Lewa porting, just saying
Click to expand...
Click to collapse
hmm its for gb,ics and jb based roms.. and its very simle guide :good:
ASK
Sorry Bro.. I am trying this method to decompile and recompile *.apk in system, but it say needed "twframework-res.apk" / 2.apk .. where i can get this file..? because there is nothing twframework-res.apk file in my phone...
thanks..
Java_Indo said:
twframework-res.apk
Click to expand...
Click to collapse
It is in system/framework
But be very careful
Because it may cause your handy not to boot
Regards
Naney said:
It is in system/framework
But be very careful
Because it may cause your handy not to boot
Regards
Click to expand...
Click to collapse
sorry , twframework-res.apk cannot found in framework folder,
btw do you have twframework-res.apk for tipo?
if ya, would u like to share with me...
thanks for your explanation.
Java_Indo said:
do you have twframework-res.apk for tipo?
Click to expand...
Click to collapse
Which ROM are you using?
Naney said:
Which ROM are you using?
Click to expand...
Click to collapse
sorry .. usually iam using JB ROM Cyanogen, but for now iam using MIUI v5 . ..
Java_Indo said:
do you have twframework-res.apk for tipo?
Click to expand...
Click to collapse
Here you are...