[Transition Animation] [StarBurst] MotoBlur - Samsung Epic 4G Touch

These are the transition animations from MotoBlur.
I was unable at this point to find where the screen rotation animations are but I'll keep investigating.
the framework-res file is for PhantomHacker's Starburst ROM v1.3
You can just push the file via adb or Root Explorer (?).
I have also attached the transition animations stand-alone. They need to be injected in framework-res.apk/res/anim and they are compatible with all ROM releases.

Hi
Where do we push the framework-res file to?

mandie7312 said:
Where do we push the framework-res file to?
Click to expand...
Click to collapse
/system/framework/

Thanks
krazyflipj said:
/system/framework/
Click to expand...
Click to collapse
Thanks so much

how would i go about injecting this into another rom. any instructions anywhere?

jok3sta said:
how would i go about injecting this into another rom. any instructions anywhere?
Click to expand...
Click to collapse
Go to system/framework and look for you Framework-res.apk and send it to your pc with bluetooth (Thats what I do) then open your framework-res.apk with winrar or 7zip (I use winrar) with framwork-res.apk open navigate to "res" folder open it then look for "anim" folder and open it now from the anim folder that you downloaded from OP open it then drag and drop it to the "anim" folder that you have previously open in Winrar its going to ask you to overwrite the files click ok or yes then close winrar, then send it back to the phone tru bluetooth, now with root explores copy it to system/framework reboot and you are done, you will get FC's but reboot and everythin will be ok.
Hope it helps.

lokko21 said:
Go to system/framework and look for you Framework-res.apk and send it to your pc with bluetooth (Thats what I do) then open your framework-res.apk with winrar or 7zip (I use winrar) with framwork-res.apk open navigate to "res" folder open it then look for "anim" folder and open it now from the anim folder that you downloaded from OP open it then drag and drop it to the "anim" folder that you have previously open in Winrar its going to ask you to overwrite the files click ok or yes then close winrar, then send it back to the phone tru bluetooth, now with root explores copy it to system/framework reboot and you are done, you will get FC's but reboot and everythin will be ok.
Hope it helps.
Click to expand...
Click to collapse
I read somewhere that whe modifying an apk i will have to sign it.. Is that the case here as well?
Tapatalkin' it from my Epic Touch 3g

jok3sta said:
I read somewhere that whe modifying an apk i will have to sign it.. Is that the case here as well?
Tapatalkin' it from my Epic Touch 3g
Click to expand...
Click to collapse
You don't sign system apk's.
Just push it to system/framework and reboot.

Bah, double post.

AvatarOfFrost said:
You don't sign system apk's.
Just push it to system/framework and reboot.
Click to expand...
Click to collapse
Kool thanks
Tapatalkin' it from my Epic Touch 3g

Thanks, looking forward to trying this out in a bit!

You can't just open an .apk. It has to be de-compiled, edited, then re-compiled. Just fyi so you don't get an FC fest
Sent from my SPH-D710 using xda premium

SAShady said:
You can't just open an .apk. It has to be de-compiled, edited, then re-compiled. Just fyi so you don't get an FC fest
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....

Vegasden said:
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....
Click to expand...
Click to collapse
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium

works like a charm, thanks OP. (used 7zip to replace res/anim with anim.zip)
cant wait til you get your hands on those rotation animations. maybe this could help but i bet youve already seen this:
http://hotfile.com/dl/122984343/f518479/motoblurframework.zip.html
couldnt find anything to point to the xml that covers rotation animations

Vegasden said:
Depends on what you're doing. I've opened system .apks such framework, settings, systemui, etc. for graphic changes for years with no issues.
.....
Click to expand...
Click to collapse
+1000000
Sent from my SPH-D710 using xda premium

squshy 7 said:
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I haven't looked but on htc's it was a folder that could be replaced and I've done it several times with 7zip and had no issues.
Sent from my SPH-D710 using xda premium

Tiffany84 said:
I haven't looked but on htc's it was a folder that could be replaced and I've done it several times with 7zip and had no issues.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
it is the same i did it on one of my batt mods the closed the .zip and flashed and all was ok

squshy 7 said:
In assuming the anim.zip is an xml, which does need a decompile/compile method. Dropping pngs into an apk is one thing, not so with xmls. The are other xmls in the apk that need to populate based on things in the apk, including other xmls.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You don't need to decompile and recompile unless you are modifying the CONTENTS of the xml. In this case you are simply replacing them.

I believe the transition animations are in blur-res.apk or moto-res.apk.
Sent from my SPH-D710 using xda premium

Related

Editing apk files

I have been trying to edit an apk file, basically change some pngs. But after iam done I can't install it anymore. Why is that?
I used 7z to open the apk archive and replaced a few pngs. I put the apk on the sdcard, open to install, goes thru installing then fails. Any help would be appreciated.
Sent from my PC36100 using Tapatalk
dont you have to sign it again or something.. did you keep the same file names for the pngs?
I kept the same file names and sizes. Do I need to sign them?
jasongthang said:
dont you have to sign it again or something.. did you keep the same file names for the pngs?
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
just delete all the stuff in the META-INF folder, make edits, rezip, and resign. easy
What's the easiest way to sign an apk?
dkdude36 said:
just delete all the stuff in the META-INF folder, make edits, rezip, and resign. easy
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
soulassasin187 said:
What's the easiest way to sign an apk?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
You need an apk signing tool. Basically, you put the modified apk, in the signer folder, without the meta-inf folder, and run a quick command, your signed apk is then spit out. I'll attach the one I use when I get back to my laptop.
Hey... I think this thing makes phone calls too!
Here is the APK Signing Tool that I use.
Just unzip it somewhere, put the apk in the auto sign folder, open a command prompt to the folder, and run sign.bat, it should run you through it. There's a read me file in there, read it in case I forgot something.
Also, when editing market apps, they need to be resigned, but if ur editing built in app from the system, they do not. The HTC signature needs to remain intact on those.
Worked perfectly. Thank you.
JTNiggle said:
Here is the APK Signing Tool that I use.
Just unzip it somewhere, put the apk in the auto sign folder, open a command prompt to the folder, and run sign.bat, it should run you through it. There's a read me file in there, read it in case I forgot something.
Also, when editing market apps, they need to be resigned, but if ur editing built in app from the system, they do not. The HTC signature needs to remain intact on those.
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk

Customizing graphics (maybe noobish question)

Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
tajimura said:
Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
Click to expand...
Click to collapse
Good question! I'm also interested in this.
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
ckpv5 said:
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
Click to expand...
Click to collapse
Got it. One more question - which tool do you use for signing?
Sent from nowhere
tajimura said:
Got it. One more question - which tool do you use for signing?
Sent from nowhere
Click to expand...
Click to collapse
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
ckpv5 said:
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
Click to expand...
Click to collapse
Thanks for the answers, now going to try that all
Sent from nowhere
Search for "apk tool" here on xda and you'll have what you need for theming and signing and more.
via xda app
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
rootSU said:
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Umm, I thought that I have to sign it with "platform" key...
BTW, which PNG is responsible for statusbar background? The closest one I found is "statusbar_bg_tile", 1x1 black image. I want to use gradient background, and have created one full background image and one 9-patch, but dunno what to do - simply replace statusbar_bg_tile with statusbar_bg/statusbar_bg.9 or also modify some xml? In statusbar.xml I can't find any reference to statusbar_bg_tile PNG.
Sent from nowhere

Recompile apks

Everywhere i look redirects to apkmanager.. Which is not working for me.. Can someone tell me the manual way to recompile an apk.. Or an alternative to apk manager...
Sent from my SPH-D710 using XDA Premium App
What apps are you trying to mod?
What OS?
agat63 said:
What apps are you trying to mod?
What OS?
Click to expand...
Click to collapse
I got it figured out, was trying to mod Blend ICS apps.. need de-odexed ones..
Ok new question.. This is obviously my first time figuring out how to put these back together... heres my issue: Im using the multi-tool the app im adjusting is mms.apk.. after I extract and edit the images in the res folder I choose option 3 to zip it up and then 5 to zip align and then it creates the new unsigned apk, which I then rename to Mms.apk ... when I dump it onto my phone it doesnt have the icon in astro, it looks like the white icon with the gear on it.. when i try to install it gives a parsing error... I assume its because its a system file and I need to adb it onto the phone.. but why isnt it showing up with the original mms icon? and then secondly.. I cant get multitool to adb push to my galaxy s2 it just says waiting on device.. is there something I need to do besides usb debugging and connect it to the computer? sorry for all the noobness.. gotta start somewhere right?
Oh also Im using fireworks to edit the png's and exporting them back and i noticed when i sent it back out it was like 29kb so I image export and optimized down to 2kb does that even matter?
You can't dump unsigned app into your phone.
I never workred with tool you mentioned but I think you should have sign option there.
Or you just drug modified images and xml files from that unsigned app into your original one.
It has the option to have signed or unsigned ... both ways result in the same issue...
As I said try to drag modded files and png's into original app and try to flash that.
agat63 said:
As I said try to drag modded files and png's into original app and try to flash that.
Click to expand...
Click to collapse
Ok trying..
Worked like a charm.. Makes me wonder what the point of apk manager is at all? Just 7zip unzip.. Edit and rezip...
Sent from my SPH-D710 using XDA Premium App
You can't edit xml files if you just unzip them. You have to decompile them in order to be able to edit them.

bootloop trying to replace framework-res.apk

I've been getting this bootloop for the last 18hours of trying
I'm on stock ROM, with Gin2Ics V1.0 theme, and using Overdose1986 Notification toggle, but I change the wifi icon of Overdose1986 using ApkChanger and it works..
and then I want to change the battery icon of FlorinXstyle (Gin2Ics V1.0) to something like this http://forum.xda-developers.com/showthread.php?t=1472766 so I tried decompile the framework-res (should be from Gin2Ics theme) then put some new battery icon from http://forum.xda-developers.com/showthread.php?p=19938404 , then re-compile and i got bootloop..
Am i missing something or doing wrong here? well actually I just read some of the post here on how to decompile/recompile framework-res but mine always ends up in bootloop.. can somene help me thanks
I think just to replace the battery icons you don't need to decompile, just open the framework apk with 7 zip or winrar, and paste the images in, checking the names match. There might bee more or less, but so long as the names match, shouldn't be a prob.
When done, install as you have been.
Sent from my metalliArc S
Metallijim said:
I think just to replace the battery icons you don't need to decompile, just open the framework apk with 7 zip or winrar, and paste the images in, checking the names match. There might bee more or less, but so long as the names match, shouldn't be a prob.
When done, install as you have been.
Sent from my metalliArc S
Click to expand...
Click to collapse
thanks for reply, after I put the images in, what should I do next? how can I make it again to an apk file without compiling it and how should I install it?
EDIT#1: I still got a bootloop
asderth8000 said:
thanks for reply, after I put the images in, what should I do next? how can I make it again to an apk file without compiling it and how should I install it?
EDIT#1: I still got a bootloop
Click to expand...
Click to collapse
To replace images use WinRAR, rename .pngs you have the same as they are in drawable-hdpi (stat_sys_battery_0-100, stat_sys_battery_charge_0-100 stat_sys_battery_charge_full, stat_sys_battery_full, stat_sys_battery_unknown) if they aren't already renamed. So open framework-res.apk with Winrar, go to drawable-hdpi, click Add button, choose all the icons you want, click ok, choose Store compression method and OK. Then you shouldn't have a bootloop.
It won't change from apk to any other file.
n3n00 said:
To replace images use WinRAR, rename .pngs you have the same as they are in drawable-hdpi (stat_sys_battery_0-100, stat_sys_battery_charge_0-100 stat_sys_battery_charge_full, stat_sys_battery_full, stat_sys_battery_unknown) if they aren't already renamed. So open framework-res.apk with Winrar, go to drawable-hdpi, click Add button, choose all the icons you want, click ok, choose Store compression method and OK. Then you shouldn't have a bootloop.
It won't change from apk to any other file.
Click to expand...
Click to collapse
I did what you said but no luck, or maybe I'm using incompatible files but all I do is change the png files, and they have the same name already, I'll call it a night maybe try something tomorrow thanks
http://forum.xda-developers.com/showthread.php?t=1374394
Are you changing permissions when you put the framework-res back in the framework folder?
yes I'm changing permissions, rw-r--r--, but always ends up in bootloop, I read somewhere post that after changemjg permission and move to framework folder, if phone reboot itself then there must be wrong in what i' m doing, cause thats what happen after I move the framework-res to framework folder, after finish replacing the one in the folder, phone shutdown and start to bootloop..
Sent from my LT18i using xda app-developers app
Do you have .odex files in system/app? Also which battery mod are you trying to add?
n3n00 said:
Do you have .odex files in system/app? Also which battery mod are you trying to add?
Click to expand...
Click to collapse
i dont know actually about odex files i'll check them later,btw what about odex files?
its jamesgary's battery mod
Sent from my LT18i using xda app-developers app
i think i dont have .odex files in my system/app folders
Sent from my LT18i using xda app-developers app

My custom camera icon is not showing.

So, I'm trying to customize my camera icon through the res and ect.. I got one of the apks to flash but, then I noticed it was very jagged and not clean at all so I decided to fix it up and now I can't get it to flash. When I do flash it the icon disappears and there is no camera app to be found. I have a feeling that my sizes or resolution of the picture of the (not working icon) are off or something. I will attach the not working and working camera apk below. If someone could tell me where I went wrong I would be very thankful.
Not working apk: https://dl.dropbox.com/u/37484095/(Not_Working)HTCCamera.apk
Working apk: https://dl.dropbox.com/u/37484095/(Working)HTCCamera.apk
Is the Rom odex? If it is, then you have to deodex the HTCCamera.apk
Sent from my PC36100 using xda app-developers app
bennyboy78 said:
Is the Rom odex? If it is, then you have to deodex the HTCCamera.apk
Sent from my PC36100 using xda app-developers app
Click to expand...
Click to collapse
I believe it is considering the file on the side of it is .odex. I apologize for not being the most knowledgeable on the subject. Would I deodex it in a kitchen? Like a rom kitchen of course.
I'm confused why one apk worked and the other didn't though?
EDIT: How would I go about deodexing??? I've been researching and tried using baksmali but, I keep getting error messages. I'm pretty lost right now.
Not really sure as to why it would just disappear like that if you only modified some images in the res folder... Did you mess with baksmali ? Possibly modifying something in there would cause it to dissapear.
As for deodex, get dsixdas kitchen, set it up, then just making a working folder out of the Rom you want to modify. After that's done, go to advanced options and select deodex a file or something. It should give you the option of the whole Rom or just a single apk. It's the long way, but its easier than baksmali, imo.
Sent from my PC36100 using xda app-developers app
I tried baksmali I'm not completely sure if I did it right but it gave me an out folder and then I used smali to make it into a classes.dex I'm not really sure what to do with that file. I assume you're supposed to zip it with the apk...but, when I do that I get a parse error.
My process for changing the images in res is I decompile the apk with apktool. I then go into the res folder switch out the ic launcher icon for the one I made. I then rebuild the apk with apk tool. From there I'm not sure if you're supposed to flash it in a zip or I can just adb push it....
Sent from my PC36100 using xda app-developers app
You need to take META-INF folder, and maybe the Manifest.xml from the original apk and place it in your modified one. Then push via adb or move to system with a root file manager.
Also fix permission, 644 (rw-r-r)
An enviousOG
I'll try once I get home. Thank you.
Sent from my PC36100 using xda app-developers app
Robobob1221 said:
You need to take META-INF folder, and maybe the Manifest.xml from the original apk and place it in your modified one. Then push via adb or move to system with a root file manager.
Also fix permission, 644 (rw-r-r)
An enviousOG
Click to expand...
Click to collapse
Alright, so how do I do the last command "fix permission 644 (rw-r-r)?"
steam374 said:
Alright, so how do I do the last command "fix permission 644 (rw-r-r)?"
Click to expand...
Click to collapse
If you use a root file manager (es explorer etc)
long press the apk and select permissions, then change to look like the image attached
If you're using adb:
Code:
adb shell chmod 644 /system/app/nameofapk.apk
Big thank you to both of you! Especially bennyboy78 I deodexed the apk in the rom kitchen like he said and just threw my customized icon in the apk and it worked! Thank you so much!

Categories

Resources