[Guide][Easy][MM]Xperia X Animation Inside The Framework - Sony Cross-Device Development Themes and Apps

Hello people !
Many people asked, how i can get Xperia X animation on my
Xperia device running on MM, Well Here is the guide howto modify
it to get that pretty fluid and nice animation.
What it do:
When you locked your phone, and you unlock it
with the lockscreen, the animation goes not up but
from right to the left and your homescreen get opened.
What you need:
Apktool
Framework-res.apk
7zip
Brains
Howto do it:
Decompile your Framework-res.apk
Download the attachment
Open the zip with 7zip
Open Res/Anim
Select all the files
Open your decompiled Framework-res.apk
Go to Res/Anim
Copy the selected files from my zip
Into your Anim folder
Replace? Yes
Copy integers.xml from my zip
Into Res/values folder
Replace ? Yes
Compile and sign
Make A Flashable zip
Flash it
Done
** Note: Don`t forgot to credit and thank me !!​

Review !

could you help me, please?

Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.

Pandemic said:
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Click to expand...
Click to collapse
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....

Metall Boy said:
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Click to expand...
Click to collapse
Oke well i am honest people get lazier and lazier around here on xda for sure ><"

I missed something in the TUT will be fixed asap

Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !

Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
i actually tryed doing it again when you update the OP and it worked! but thanks anyway for your effort

Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You

chawlasrijan said:
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
Click to expand...
Click to collapse
My framework is from z3c from latest. 291 firmware

Metall Boy said:
My framework is from z3c from latest. 291 firmware
Click to expand...
Click to collapse
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291

chawlasrijan said:
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
Click to expand...
Click to collapse
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.

sorry to bother you again @Pandemic I've just noticed all animations are very smoooth,but i found a small bug with the three-dot-menu animation...this animation is slow. I attached a screenshot so you will know which animation im talking about

maple_mak said:
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
Click to expand...
Click to collapse
Value is the folder name in Res folder ><"

Pandemic said:
Value is the folder name in Res folder ><"
Click to expand...
Click to collapse
If I found I already no need to say it before...

i do this but now my phone is bootlp

alinolaw71 said:
i do this but now my phone is bootlp
Click to expand...
Click to collapse
Same for me
Any suggestions @Pandemic

For those who have issues, do this(Especially for Z5 users)
1.Take the final compiled apk and install it as framework
2.Recompile and push to phone
Click thanks if i helped

Excellent work as ever, @Pandemic! :good:

Related

[TUT] ICS transition animation for SGA

Original thread here: (thank to capez
http://forum.xda-developers.com/showthread.php?t=1342117
Click to expand...
Click to collapse
I think this tut is for advance users. But others can try
1. Get your "framework-res.apk" in /system/framework
2. Use apktool to decomplie that file. (I recommend apktool becoz I often use it )
- Command to decomplie: apktool d framework-res.apk framework-res
3. Download source file here:
http://www.mediafire.com/?4u6y6udecy60dei
Click to expand...
Click to collapse
4. In extracted folder which u get from "framework-res.apk", find "anim" folder in \res
5. Extract source file in step 3, u will get 2 folder:
- anims
- other_files
6. Copy files from both folders in step 5 into "anim" folder in step 4
7. Open "integers.xml" in /res/value and find this line:
<integer name="config_shortAnimTime">150</integer>
Click to expand...
Click to collapse
then add the following lines after it:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Click to expand...
Click to collapse
8. Complie your "framework-res.apk" with command: apktool b framework-res new.apk
9. You will get a file "new.apk" but dont use it. Open extracted folder which u get in step 2, u will find a folder "build" and a file is "resource.arsc" inside
10. Now you need to use 7zip. Right click on that resource file, choose 7zip > add to archive and select original framework-res.apk with type is zip.
11. Open "new.apk" in step 8 and original "framework-res.apk" with 7zip. Drag and drop "anim" and xml folders in "new.apk" to "framework-res.apk"
12. It's finished. U can use the file "framework-res.apk" now and see the transition.
Have fun! If u have question, just ask and I will answer
Example of ICS transition:
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
I'm writing tut for stock samsung roms
devilsking said:
I'm writing tut for stock samsung roms
Click to expand...
Click to collapse
Good, i have whole stack patchers for other phones
-LG Optimus One
-Nexus One
-Desire
-Galaxy S2
-Nexus S
And many many more! Works on MIUI, Cyanogen and Stock HTC Roms... Havent tested on Samsung Stocks...
Sent from my Nexus One using Tapatalk
"java" is not recognised . :/
Edit: Fixed my problem
EmoBoiix3 said:
"java" is not recognised . :/
Click to expand...
Click to collapse
Have u install Java??
Sent from my Nexus One using Tapatalk
DaxElectro said:
Have u install Java??
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
he solved )
It's done, working perfectly
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Aadigoku13 said:
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Click to expand...
Click to collapse
Yes, framework???
Sent from my Nexus One using Tapatalk
could someone do this mod with my framework.apk? I tried few times and always bootloops, FCs or nothing changed.
here's my framework:
http://www.megaupload.com/?d=9DD6XC30
I didnt manage to install the apktool
Can someone help telling me how to install it and get it working?
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Click to expand...
Click to collapse
Worked fine for me by using your tool, thanks.
Got a bootloop when I install the patcher from recovery :/, already tried two times
alcachofita said:
Got a bootloop when I install the patcher from recovery :/, already tried two times
Click to expand...
Click to collapse
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Im stucked in the step of signning the apk
DaxElectro said:
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Click to expand...
Click to collapse
Thank you sir! (Pressed thanks button too)
The patch is working.
not working for me :/
@ alchaforta, killmyself
Last try, one of them already claim its working...
Sent from my Nexus One using Tapatalk
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
thanks, working well on nims's sonygenmod.

How to compile and decompile apk

Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
apk tool is ur frnd.. GOOGLE FOR INSTALLATION
do.a.search on xda about apktool
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
Try APK MANAGER... Its lot more easier....
emjimadhu said:
Try APK MANAGER... Its lot more easier....
Click to expand...
Click to collapse
help me.quick tutorial apk manager for me decompile&recompile then place in system/app how to apk work..thank
expample: mms.apk..i mod it then i replace it in system/app but not working
You have to sign it with the same signature keys as the phone's framework.
bumslayer said:
You have to sign it with the same signature keys as the phone's framework.
Click to expand...
Click to collapse
more explain to me plz
I think you need this
http://youtu.be/oLQynXg8noM
dude go ahead and do some search
anyways just press thanks
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
kurotsugi said:
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
Click to expand...
Click to collapse
hey thanks man i will try for it...

lost statusbar after modifying

Hi all, first i'm sorry for my poor english and thanks to anyone can help me After long time of searching how to modify an apk, i decided to modify systemui.apk to change notification pulldown background. i was very happy when i decompile, modified and re-compile in success. And i put modified apk to phone and waiting for good result.But i lost my statusbar and home button was in wrong position ( plz look at attached image ) So i tried 2 way to sign modifid apk : use winrar add META IFF folder straight to new apk and in other way i put back resource.arc file to the new apk after extracted from it. Hmm the resut was not like i hope. So any one here can tell me which step i was wrong or something like it and how to fix to get better result
Again thank in advance to everyone :good:
It's probably the image that's wrong.
You try to flash the rom or use the Backup and then set the lock screen by the member Xda post
XperienceD said:
It's probably the image that's wrong.
Click to expand...
Click to collapse
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Oohhlala said:
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Click to expand...
Click to collapse
What have you edited?
Sent from my CM9'd Arc
XperienceD said:
What have you edited?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
deleting a line in .xml file and put an image.png into drawable-hdpi
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
XperienceD said:
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Oohhlala said:
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Click to expand...
Click to collapse
What tool, what guide???
Sent from my CM9'd Arc
XperienceD said:
What tool, what guide???
Sent from my CM9'd Arc
Click to expand...
Click to collapse
tool from here : http://forum.xda-developers.com/showthread.php?t=1374394
guide from here : http://forum.xda-developers.com/showthread.php?t=1803813
Upload the unmodified apk and I'll take a look when I get home.
Sent from my CM9'd Arc
Delete the public.xml and recompile and report back.
XperienceD said:
Delete the public.xml and recompile and report back.
Click to expand...
Click to collapse
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Oohhlala said:
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Click to expand...
Click to collapse
And did it work? I'm on CM9 so can't test it.
XperienceD said:
And did it work? I'm on CM9 so can't test it.
Click to expand...
Click to collapse
no, it didn't work, the statusbar still disappeared

[MOD][MANUAL]Big photo when calling.[final release]

Hi all!​
Let's start.
1. Decompile Contacts.apk and Phone.apk
2. With Phone.apk: Relace existing call_card_person_info.xml in \res\layout-mdpi-finger with the new one
Click for download call_card_person_info.txt
3. With Contacts.apk: Go to res\value-mdpi and Change value in dimens.xml from 96.0px to 320.0px
4. Compile both apks and test
Manual is correcting by me.​
Dude U Have To Make This Clearer! Its Hard To Understand What U Mean ... !
Either Way Its A Great Mod, And A Needed One +1
Make it more clearly:laugh:
Okk.
A bit later guys.
Nice tips
I can't understand the method,please can somebody explain this in a easier way?
Yamizzolo said:
I can't understand the method,please can somebody explain this in a easier way?
Click to expand...
Click to collapse
It's easy U can understand as follow:
1. Decompile Contacts.apk and Phone.apk
2. With Phone.apk: Relace existing call_card_person_info.xml in \res\layout-mdpi-finger with the new one (PAROVOZ! gave link above)
3. With Contacts.apk: Go to res\value-mdpi and Change value in dimens.xml from 96.0px to 320.0px
4. Compile both apks and test
That's all
P/s: @PAROVOZ!: If my instruction is easier for users, u can quote it Of course credits still are yours. It's just for helping others
Awesome post!
devilsking said:
It's easy U can understand as follow:
1. Decompile Contacts.apk and Phone.apk
2. With Phone.apk: Relace existing call_card_person_info.xml in \res\layout-mdpi-finger with the new one (PAROVOZ! gave link above)
3. With Contacts.apk: Go to res\value-mdpi and Change value in dimens.xml from 96.0px to 320.0px
4. Compile both apks and test
That's all
P/s: @PAROVOZ!: If my instruction is easier for users, u can quote it Of course credits still are yours. It's just for helping others
Click to expand...
Click to collapse
2. With Phone.apk: Relace existing call_card_person_info.xml in \res\layout-mdpi-finger with the new one (PAROVOZ! gave link above)
\res\layout needs to be edited too !
..................................................................................................................
I tryed booth ways but still no success.
Only in Contacts i have big picture, but in call screen, no !
Damn, i will try, maybe untill tomorrow i will succeed !
Thanks to devilsking
Manual was corrected by his method
its fully clear thank y man !!
Sent from my GT-S5830 using Tapatalk 2
Cryss said:
2. With Phone.apk: Relace existing call_card_person_info.xml in \res\layout-mdpi-finger with the new one (PAROVOZ! gave link above)
\res\layout needs to be edited too !
..................................................................................................................
I tryed booth ways but still no success.
Only in Contacts i have big picture, but in call screen, no !
Damn, i will try, maybe untill tomorrow i will succeed !
Click to expand...
Click to collapse
i have call screen big picture, but in contacts force close error.
i m using SGSII v9 based on ddkq8
phone.apk in cm7.2 roms have dimens.xml but in another folder and haven't 96.0px!
help please...
I couldn't compile my Phone.apk even if I hadn't modified anything in that.
What could be the problem?
if someone succeeded plz can you make a CWM flashable zip..
thanks in advance.
rahuldang1989 said:
if someone succeeded plz can you make a CWM flashable zip..
thanks in advance.
Click to expand...
Click to collapse
+1
Guys.
Manual hasn't any mistake...
Follow guide clearly!
Pleas!
My Rom: CM 7.2-APOCALYPSE 17:06:12 (S5830 XWKTM)
Mog does not work with pictures please help!:crying::crying::crying:
dodo69
Dude!
Apocalypse is CM7...
This mod is only for stock rom base.
amrish1984 said:
i have call screen big picture, but in contacts force close error.
i m using SGSII v9 based on ddkq8
Click to expand...
Click to collapse
Yes, i did it
see my screen shots
i m attaching coded and decoded XML files just for your information i don't know if it works on your phone or not.i m using SGSII v9 based on ddkq8
u can try at your own risk.
thanks to owner of the thread PAROVOZ! :good:
just open phone.apk with 7z and paste coded XML as per their path and check...
NOTE:- attachment has only xml files no full apk
for decoded
Contacts\res\values-mdpi\dimens.xml
for copy and paste \resources.arsc in contacts.apk from contacts\coded folder
for decoded
phone\res\layout-mdpi-finger\call_card.xml
phone\res\layout-mdpi-finger\call_card_person_info.xml
phone\res\layout-mdpi-finger\incall_screen.xlm
phone\res\layout-mdpi-finger\incall_touch_ui.xml
for copy and paste in phone.apk from phone\coded folder
phone\res\layout-mdpi-finger\call_card.xml
phone\res\layout-mdpi-finger\call_card_person_info.xml
phone\res\layout-mdpi-finger\incall_screen.xlm
phone\res\layout-mdpi-finger\incall_touch_ui.xml

[REQ] Modification of systemUI.apk

Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
fabulous69 said:
Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
Click to expand...
Click to collapse
What line(s) in statusbar.xml need changed?
its the one with clock, only one line has the word "clock"
thx for help !
fabulous69 said:
its the one with clock, only one line has the word "clock"
thx for help !
Click to expand...
Click to collapse
I just deleted the lines for the clock in that xml. I obviously didn't test it, so make sure you know how to recover if it doesn't work. The .zip that is attached is NOT flashable. I also put a working 4.2.x apktool in there with instructions for you to do it yourself if you want to in the future. It's pretty easy to do if you have a working apktool (I compiled this one from paulobrein's github since he edited the source to be compatible with 4.2).
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
The size change might just because the zip is compressed more or less. It doesn't always mean anything is wrong. You can decompile it again and compare the contents with the original to make sure everything is there. Do you know how that mod is usually made? Is deleting the lines the correct way?
Sent from my Galaxy Nexus using Tapatalk 2
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
Have tried the edit myself,with SystemUI, dont sign it, open the original and copy META-INF and androidmanifest.xml over to your new file,let me know if it worked.
Just rename to SystemUI.apk and push to system/app and reboot

Categories

Resources