[Q] N E way to remove/replace transitions from a rom ZIP. - EVO 4G Q&A, Help & Troubleshooting

I'm trying to remove some transitions from a rom ZIP and perhaps replace them with some taken out of another. Does anyone know where they are located in the .ZIP or some other way to remove/replace them? A little help would be greatly appreciated.

crimeslunk said:
I'm trying to remove some transitions from a rom ZIP and perhaps replace them with some taken out of another. Does anyone know where they are located in the .ZIP or some other way to remove/replace them? A little help would be greatly appreciated.
Click to expand...
Click to collapse
Use 7zip. You need to pull the framework-res.apk from the phone and put it on your computer. Open with 7zip. You'll see a folder called 'res'. Open it. The first folder you see is then 'anim'. That folder contains your animations/transitions. So you would take the animations folder you want, and copy them to the anim folder in your framework-res.apk (replacing the existing). Then push your framework-res.apk to /system/app . That should give you your new animations. That's how I do it, and Myn posted up on how to do that in his thread, teaching us how to do that. Cool.
Sent from my PC36100 using XDA App

Or you can do it with astro file manager. Just copy the apk and take it out of a zip and swap the files. Then copy the updated apk where it would go in the zip.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!

Thanks alot guys I really appreciate it. I'm wondering if I use winrar can I just insert the transitions over the old ones the completely reflash the rom?
Edit: Ok if have found the framework-res.apk but I'm not exactly sure how to open it and look "inside" I'm using Winrar I'm thinking this is the same as 7zip for the purposes of searching through the zip but I'm not seeing compatibility with the .apk.

crimeslunk said:
Thanks alot guys I really appreciate it. I'm wondering if I use winrar can I just insert the transitions over the old ones the completely reflash the rom?
Edit: Ok if have found the framework-res.apk but I'm not exactly sure how to open it and look "inside" I'm using Winrar I'm thinking this is the same as 7zip for the purposes of searching through the zip but I'm not seeing compatibility with the .apk.
Click to expand...
Click to collapse
I can't say, because I don't use winrar. However, I know it works with 7zip, I change animations all the time. I can never decide if I like the flip or the fold animations. Anyways, try 7zip, I don't have a download link, but Google should take care of ya. 7zip allows you to open the .apk, so you can navigate to the 'res' folder, and then find the 'anim' folder. Good luck.

Yeah it worked great thanks. Stupid amon was giving me problems at first about it being signed but I just turned off verification. Btw how do you go about signing something?

Related

[HELP] Creating a wallpaper.apk

Alright, so, I've made a large number of themed HD wallpapers I'd like package up and put on the market.
Problem is, I have no idea how to lol.
Any help at all on how to do this is greatly appreciated!
Sent from my Incredible using XDA App
Anybody?
Sent from my Incredible using XDA App
You should probably apply to be a Google App Inventor.
Wow what s great response
I am also looking to put together an .APK, so that I can keep my wall paper together and not just in a file on my SD.
I was looking at some of the APK's that are in cooked versions (CM6.1) and the file looks like a renamed .ZIP
I tried to add images to an existing file, then create a new .zip, then change the name to .apk.
When I tried to install, I got an error that the installer could not parse the file.
I don't even know what that means.
Good luck,
CharlesG70 said:
I am also looking to put together an .APK, so that I can keep my wall paper together and not just in a file on my SD.
I was looking at some of the APK's that are in cooked versions (CM6.1) and the file looks like a renamed .ZIP
I tried to add images to an existing file, then create a new .zip, then change the name to .apk.
When I tried to install, I got an error that the installer could not parse the file.
I don't even know what that means.
Good luck,
Click to expand...
Click to collapse
Use 7zip, it's the business when it comes to that. Let's say I am looking to replace icons in framework-res.apk. I would just right click and say Open Archive, browse to the res\drawable-hdpi folder where the icons are, and just drag the icons in there.
As long as what you are replacing has the same name as existing files, you shouldn't have an issue. If you are trying to put something in that doesn't have that filename, it won't work. You don't have to worry about resigning the apk or change it to a zip to unzip it.

could someone help me make a zip file

i want to make a morph and usually i download someone else's zip and just use that. i can make the xml file and what not. but i downloaded a morph thats a zip file and wevery time i try to delete the folders out of the moroph i dont want included, such as browser, it just says winzip is not responding and wont allow me to delete anything from the already zipped file. so how do i take my morph that is just a standard folder and make it a zip so i can use it as a morph. i have winzip. i dont need to sign the zip for a morph do i?
You don't need a zipped folder to use as metamorph. Just place it in AndroidThemes on your sdcard( folder that metamorph makes automatically). After that just chose pick existing theme and apply.
Sent from my HTC Vision using Tapatalk
Second: use 7-zip instead of winzip. Better compression, faster, and most importantly its free.
Sent from my T-Mobile G2 running Cyanogenmod.
xl DIGITAL lx said:
You don't need a zipped folder to use as metamorph. Just place it in AndroidThemes on your sdcard( folder that metamorph makes automatically). After that just chose pick existing theme and apply.
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
(smack my freakin head) i cant believe i didnt think of that thanks man. hey i got another question i cant seem to get my morphs to work on cm. ive only tried to edit the framework-res.apk so far but nothing i try to change works. it just says mm has been granted su and stays at the loading screen. i have noticed all the themes in the vision forum for cm have been flashable zips. is this a better route for cm.

Unzipping and zipping apk files?

I unzipped a apk file to change some of the images in the drawable-hdpi folder, how do I zip it back into an apk file to reinstall it on my phone. Or can I flash the zip file? I dunno how that would work...
Sent from my HTC Vision using XDA App
Can you get another copy of the apk?
If you can then the best thing to do is use winRAR or 7zip to open/explore the apk just like with a .zip file. That way you never unzip it and don't run into that issue. Using those allows you to delete and add files. You can also do the same thing on your phone using root explorer or something similar.
As far as correcting what you've done already (assuming you can't get a copy of that apk) I've completely forgotten since I never have to do it. I know if you look on the android sdk's site you can find the answer though.
adamtheindien said:
I unzipped a apk file to change some of the images in the drawable-hdpi folder, how do I zip it back into an apk file to reinstall it on my phone. Or can I flash the zip file? I dunno how that would work...
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
An apk is just a zip file with the apk extension, once you zip it up change it from a .zip to a .apk
Sent from my T-Mobile G2 using XDA App
i changed what i wanted and rezipped, changed the extension, tried to install it, says problem parsing the package?
adamtheindien said:
i changed what i wanted and rezipped, changed the extension, tried to install it, says problem parsing the package?
Click to expand...
Click to collapse
It can also depend on which APK (system vs non-system) and which images (.9 images can be tricky to replace if you don't know what you are doing). Sometimes, you also need to re-sign the APK, depending on what you modified (there are tools to re-sign in the SDK or you can use something like APK Manager).
You should try the opening the APK directly in WinRAR/7-zip and replacing the images method. In my experience, if you are just replacing simple images, you usually don't have to re-sign when doing this (it leaves the existing signature intact).
ok i mainly just replaced images and and edited a couple. i dont know how to use all that adbsdkwhatever stuff.... -_- i know i should but im too lazy. so i dunno how to re sign it...
all im trying to do is edit the quick search bar images. maybe i dont have to do this if there is somewhere to find themed search bars?
If you can then the best thing to do is use winRAR or 7zip to open/explore the apk just like with a .zip file.
Click to expand...
Click to collapse
If your using winRAR click and drag stuff works if its one or two files.
If its a lot of images or a large file like framework-res.apk (I'm thinking your search bar might be in there if I'm not mistaken) then you'll want to make a new ZIP archive with "store" compression (uncompressed pretty much).
(also you shouldn't need to resign the framework-res.apk)
I haven't tested 7zips click and drag but the same principals apply. If its bigger files being recompiled Winrar tends to compress it a bit and sometimes it causes bootloops.
That being said, don't forget to nandroid
82_Z28 said:
If your using winRAR click and drag stuff works if its one or two files.
If its a lot of images or a large file like framework-res.apk (I'm thinking your search bar might be in there if I'm not mistaken) then you'll want to make a new ZIP archive with "store" compression (uncompressed pretty much).
(also you shouldn't need to resign the framework-res.apk)
I haven't tested 7zips click and drag but the same principals apply. If its bigger files being recompiled Winrar tends to compress it a bit and sometimes it causes bootloops.
That being said, don't forget to nandroid
Click to expand...
Click to collapse
Well from my experience, 7zip handles the task like a champ. I've taken every image out and put others back in with no issues. The downside is that some apps set certain dependencies in the .xml files so if you delete the wrong things it won't install and if it does, all you get is a fc all day. In that case it helps to know how to convert the xml binary to something readable (unless you're a king a hex editing).

[Q] Problems with theming Framework

Hi everyone,
I'm having a few questions regarding the theming of framework-res.apk on Android Revolution (No-Sense/Sense)..
After I pull the .apk, and decompile it, I edit the images so that the .9.png files stay intact. Then after that I compile the entire .apk and use WinRar to only push the images to the origional framework-res.apk..
But everytime I flash it I get bootloops and it won't boot into Android, any idea what I do wrong in the proces?
Thanks in advance!
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
leith51 said:
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
Click to expand...
Click to collapse
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
deanr1977 said:
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
Click to expand...
Click to collapse
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
apaquette420 said:
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
Click to expand...
Click to collapse
I find it much easyer this way. Can i ask you a question if you know abit about framework modding can you see were i have gone wrong here - http://forum.xda-developers.com/showthread.php?t=1195549
I can live with it but i would rather change it to a light gray or a different color? Any help would be very nice & not had a reply about this yet? Can you help?
i had the same issue and i found it easier to update the old framework and overwrite existing files. once you have completed compiling your new framework APK extract the contents and copy into the old framework... and that seems to work fine

7-zip cant modify files

I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.

Categories

Resources