APK Compression and 7Zip? - EVO 4G Q&A, Help & Troubleshooting

So maybe I'm slow, but I'm just now figuring out that 7zip can unpack/repack .apk files.
I do notice that the filesize is different after recompressing, and a search turns up some people saying that it's ok. Does anyone have experience repacking with 7zip and have any recommendations on how to do so optimally?
Thanks!
MDM

Well, one thing I've ascertained is that simply telling it to make an .apk isn't the right method. It will do it, but size is wrong, and the resultant file does not work within the phone. :S

Why is this here and not in q&a
from my phone duh

CheesyNutz said:
Why is this here and not in q&a
from my phone duh
Click to expand...
Click to collapse
why is your comment here? more annoying then the OP.
Sent from my PC36100 using XDA App

Check link in my sig.
All the tools you need to compress as you like.

Thanks man, and THANKS!

Related

[Q] How do you open backup .img files?

NOTE: I searched the forum and couldn't find the info.... hence the question. Thanks in advance.
I came to my Evo from the Moment, and when you did a backup from recovery it compressed everything to .zip files. However, these recovery backups are compressed into .img files. Anyone have a good idea on how to access them?
I have tried 7zip and it won't - even tried renaming them to .zip to see. No dice.
Thanks guys.
I haven't tried this myself, but I'm pretty sure I saw a program for unpacking img files in Avaboxv2.
Search the developers forum for it.
Sent from my PC36100 using XDA App
nukedukem said:
I haven't tried this myself, but I'm pretty sure I saw a program for unpacking img files in Avaboxv2.
Search the developers forum for it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Yeah - checking that.... Will see what I find. all I found on a search was unpacking and repacking boot and recovery images.... I am wanting to extract the data images....
jerdog said:
Yeah - checking that.... Will see what I find. all I found on a search was unpacking and repacking boot and recovery images.... I am wanting to extract the data images....
Click to expand...
Click to collapse
doesn't look like it'll do the trick....

[Q] new DSP manager with bass boost???

i downloaded CM7-EX.l33t by magnus the other day and. im a big music player, and i just got new dre beats headphones, so i was psyched to see that the new DSP manager had a bass boost option in it. i love this rom, but i use mikfroyo too and i was wondering if someone could make a flashable zip of it? and i know it looks like im new and all, but im not lol. i've been modding my evo and such for a while now so im not a noob, at least i dont think.
Well I don't [or know] of a flashable zip of it...but I have the raw apk where you can put on your sd card and install via es file manager, ecy, if that helps.
teh roxxorz said:
Well I don't [or know] of a flashable zip of it...but I have the raw apk where you can put on your sd card and install via es file manager, ecy, if that helps.
Click to expand...
Click to collapse
If you could host that on dropbox or something, I'd greatly appreciate it man.
cawkblocker said:
If you could host that on dropbox or something, I'd greatly appreciate it man.
Click to expand...
Click to collapse
Sure, gimme a minute, I will attach it here.
By the way, what's the easiest way to host it on dropbox?
Tada. Apk inside the zip, extract, transfer, install.
teh roxxorz said:
Tada. Apk inside the zip, extract, transfer, install.
Click to expand...
Click to collapse
You're the man! thanks dude
teh roxxorz said:
Sure, gimme a minute, I will attach it here.
By the way, what's the easiest way to host it on dropbox?
Click to expand...
Click to collapse
Just download the app from your phone and uploaded it when is done, press down on the file and go down to share, and choose copy a link and it would be the file and thanks for the apk
Sent from my PC36100 using Tapatalk
cawkblocker said:
You're the man! thanks dude
Click to expand...
Click to collapse
Anytime, glad I could help.
jgalan14 said:
Just download the app from your phone and uploaded it when is done, press down on the file and go down to share, and choose copy a link and it would be the file and thanks for the apk
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Well I have files uploaded to my personal dropbox. Though when I click an option, it doesn't give an option to share. I have sharing folders, but it doesn't give me the link option.
Edit..ahh figured it out. Seems to work if I do it from the Public Folder. Thanks man.
Mm yeah idk online neitheir I always use the app
Sent from my PC36100 using Tapatalk
jgalan14 said:
Mm yeah idk online neitheir I always use the app
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Well now you know how to do it online xD. I normally use the app as well. I just use it so I can put files on my phone if I'm on the go and and just drop them in there. Actually quite helpful for assignments and things.
teh roxxorz said:
Well now you know how to do it online xD. I normally use the app as well. I just use it so I can put files on my phone if I'm on the go and and just drop them in there. Actually quite helpful for assignments and things.
Click to expand...
Click to collapse
Yeah I hear you man usually my boss sent me PDF files and always hate to look at them on my email so I just drop them in drop box and access them from wtv laptop or PC I'm using
Sent from my PC36100 using Tapatalk
teh roxxorz said:
Tada. Apk inside the zip, extract, transfer, install.
Click to expand...
Click to collapse
Doesn't work on Froyo since not compiled for Froyo.
DSP needs to have a couple of other files to work, I think soundflinger.so and maybe one or two others.
teh roxxorz said:
Tada. Apk inside the zip, extract, transfer, install.
Click to expand...
Click to collapse
When i go to install the app it says something along the lines of can't parse package
I get the error can't parse package too. I think it's because of the firmware 2.2. Could you guys find a way on how to put DSP manager on 2.2 with the bass boost?
Thanks

Boot animation

http://www.youtube.com/watch?v=ThIx_X7KL-E&playnext=1&list=PLB51E246983769403
Anyone know where i can find this exact Boot animation? and do i install it same way as i would a custom rom.
1. Put in root
2. Boot to recovery
3. Flash it
and thats it? this will be first time i download just a boot animation. i normally use the one that come with the rom.
and i left a youtube comment but the creator hasn't posted a message in over a month
Thanks.
Joey_UFC said:
http://www.youtube.com/watch?v=ThIx_X7KL-E&playnext=1&list=PLB51E246983769403
Anyone know where i can find this exact Boot animation? and do i install it same way as i would a custom rom.
1. Put in root
2. Boot to recovery
3. Flash it
and thats it? this will be first time i download just a boot animation. i normally use the one that come with the rom.
and i left a youtube comment but the creator hasn't posted a message in over a month
Thanks.
Click to expand...
Click to collapse
I'm not sure where to find it, but it depends on how its packaged, on how you install it. If its a flashable zip, then yes you do exactly as you said. If its just the bootanimation.zip, and isn't flashable, then you can use root explorer to put the file where it belongs. If you're on a sense rom, it goes in /system/customize/resource. If you're on aosp, it goes in /system/media. Just put it in the right folder, set permissions, and reboot.
Sent from my PC36100 using XDA App
thanks. hopefully this files out there somewhere
Joey_UFC said:
thanks. hopefully this files out there somewhere
Click to expand...
Click to collapse
Your welcome. I'm sure its on xda somewhere. I'd check and search in the themes and apps section, or use Google to search it.
Sent from my PC36100 using XDA App
k2buckley said:
Your welcome. I'm sure its on xda somewhere. I'd check and search in the themes and apps section, or use Google to search it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I Did a XDA search and it pretty much people like me asking for a Transformers boot animation but it wasn't the specific one i was asking for.
Google is my next stop
got a youtube message back from the guy with the boot and he gave me this file
http://forum.xda-developers.com/showthread.php?t=747987
its the right one but the links are dead.
anything we can do?
Joey_UFC said:
got a youtube message back from the guy with the boot and he gave me this file
http://forum.xda-developers.com/showthread.php?t=747987
its the right one but the links are dead.
anything we can do?
Click to expand...
Click to collapse
Damn, you're right. The mp3 file (for the boot sound) will download it seems, but the actual boot animation links me to 4shared and says 'the file link is no longer valid', or something like that. Maybe look thru that thread and see if there are any mirror's posted in it? I got nothing to do, I'll take a gander for ya in a sec.
EDIT: I found it. Check out post #40 in that thread. I just downloaded it. The download works fine. If you want the sound, the link in the OP looks like it works, if not, I saw two other mirrors for the MP3 sound somewhere between post 10 and 40.
BTW, that download is not flashable. you'll need to put the file where it goes. It's easy, especially if you know a little adb, it'll take 20 seconds. If not, using root explorer or ES file explorer can get the job done.
EDIT2: attatched the animation for you.
i'll take a look as well, don't want you to be having all the fun
Its in there, page 4 or 5
damn it its not flashable.
gotta learn how to do it the other way now
Root explorer works great-sweet find!
k2buckley said:
Damn, you're right. The mp3 file (for the boot sound) will download it seems, but the actual boot animation links me to 4shared and says 'the file link is no longer valid', or something like that. Maybe look thru that thread and see if there are any mirror's posted in it? I got nothing to do, I'll take a gander for ya in a sec.
EDIT: I found it. Check out post #40 in that thread. I just downloaded it. The download works fine. If you want the sound, the link in the OP looks like it works, if not, I saw two other mirrors for the MP3 sound somewhere between post 10 and 40.
BTW, that download is not flashable. you'll need to put the file where it goes. It's easy, especially if you know a little adb, it'll take 20 seconds. If not, using root explorer or ES file explorer can get the job done.
EDIT2: attatched the animation for you.
Click to expand...
Click to collapse
Thanks man, im pretty excited.
is there a thread on how to install it the proper way, im only good at flashing things ahaha
Joey_UFC said:
Thanks man, im pretty excited.
is there a thread on how to install it the proper way, im only good at flashing things ahaha
Click to expand...
Click to collapse
Couple quick questions to help me help you get it installed.
1) What rom are you currently on
2) Do you have a root level file explorer such as Root Explorer, or ES File explorer?
3) Do you have adb set up to use on your computer?
4) If you're on a sense rom, I might be able to make a flashable zip for you, let me know.
k2buckley said:
Couple quick questions to help me help you get it installed.
1) What rom are you currently on
2) Do you have a root level file explorer such as Root Explorer, or ES File explorer?
3) Do you have adb set up to use on your computer?
4) If you're on a sense rom, I might be able to make a flashable zip for you, let me know.
Click to expand...
Click to collapse
Yes all i use is sense. if you could i would really appreciate it and i know so would others. maybe we can make a thread and get this boot back out their.
but to answer your questions anyway
1. http://forum.xda-developers.com/showthread.php?t=1035107 SMOOTH n SEXY
2. yes i got Astro
3. i don't know what ADB is so no lol
Joey_UFC said:
Yes all i use is sense. if you could i would really appreciate it and i know so would others. maybe we can make a thread and get this boot back out their.
but to answer your questions anyway
1. http://forum.xda-developers.com/showthread.php?t=1035107 SMOOTH n SEXY
2. yes i got Astro
3. i don't know what ADB is so no lol
Click to expand...
Click to collapse
Try flashing this. It should work. Make a nandroid backup first, just in case. Unless you already have a current one.
yeah it worked but no sound?
edit: that was fastest bootloader i have ever had lol 6 or 7 seconds tops
Joey_UFC said:
yeah it worked but no sound?
edit: that was fastest bootloader i have ever had lol 6 or 7 seconds tops
Click to expand...
Click to collapse
Ooops. I forgot to edit the sound file. Sorry. I can edit and re upload it, or all you'd need to do is open up the zip you downloaded. Click the folder that says system. then click customize. then click resource. then you'll see the bootanimation.zip and the mp3 file. rename the mp3 file to SPC_animation_final. Or it might be spc_animation_final. I forget if the spc is capitals or not. It's one or the other. Then reflash it.
Edit> and what do you mean that was the fastest bootloader? The fastest it's ever booted up you mean? confused.
k done. do i just reboot my phone to see if it works or do i gotta flash again
Joey_UFC said:
k done. do i just reboot my phone to see if it works or do i gotta flash again
Click to expand...
Click to collapse
Once you edited it, flash it again. And also, as I said, I don't remember if it's spc_animation_final or if it's SPC_animation_final. And I may have not been clear, but make sure that when you renamed it, you left the .mp3 extension on the file. It needs to be there.
yeah i know. flashing now. 1 min bud

[REQ] stock theme framework/juggernaut 5.0

Is it possible for somebody to create a completely stock framework (status bar, pulldown, etc) for juggernaut 5.0? I always thought the green battery really stood out when everything else was at an understated grey color. i wish i knew how to do this myself
but i turn to the experts on here for some love. hopefully i am not the only one who wants this and there is an actual demand for this type of theme
if anybody takes on this task, i thank them greatly
All you gotta do is search for empty zip file to flash theme. Then take out framework, twframework and systemUI from original Jug. Make folder called framework put both framework in there. another folder called app and put systemui. Then without extracting the zip file/use 7zip to put both this folder in it and then flash that zip. That's all!
doubled227 said:
Is it possible for somebody to create a completely stock framework (status bar, pulldown, etc) for juggernaut 5.0? I always thought the green battery really stood out when everything else was at an understated grey color. i wish i knew how to do this myself
but i turn to the experts on here for some love. hopefully i am not the only one who wants this and there is an actual demand for this type of theme
if anybody takes on this task, i thank them greatly
Click to expand...
Click to collapse
Oh... When I meant stock, I meant stock out of the box..not stock juggernaut. Sorry for the misunderstanding. And by any chance, do you know where I can get a totally stock Tmobile sgs2 ROM? The roms I have seen on here are on multiupload.com and that site seems to be down
appdroid said:
All you gotta do is search for empty zip file to flash theme. Then take out framework, twframework and systemUI from original Jug. Make folder called framework put both framework in there. another folder called app and put systemui. Then without extracting the zip file/use 7zip to put both this folder in it and then flash that zip. That's all!
Click to expand...
Click to collapse
Sent from my SGH-T989 using XDA
Mr.X has dedoxed stock rom in Dev section! Just download it and make sure you flash radio with it because it does not come with!
doubled227 said:
Oh... When I meant stock, I meant stock out of the box..not stock juggernaut. Sorry for the misunderstanding. And by any chance, do you know where I can get a totally stock Tmobile sgs2 ROM? The roms I have seen on here are on multiupload.com and that site seems to be down
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
Thanks, man.. I'm gonna check that out in the morning. I'm super tired right now
appdroid said:
Mr.X has dedoxed stock rom in Dev section! Just download it and make sure you flash radio with it because it does not come with!
Click to expand...
Click to collapse
Sent from my SGH-T989 using XDA
By the way they have thnx button so instead of saying it make sure you hit that button! I shows your appreciation!
doubled227 said:
Thanks, man.. I'm gonna check that out in the morning. I'm super tired right now
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
i didnt realize that they reposted it in the end of the thread for the stock rom.... i was only checking the first page. and i think i did hit the thanks button. it was on my phone through the app and that is kinda laggy for me sometimes. did your meter go up by 3?
appdroid said:
By the way they have thnx button so instead of saying it make sure you hit that button! I shows your appreciation!
Click to expand...
Click to collapse
last question... lol
do i put both the apk and jar files in the zip or just the apk?
appdroid said:
All you gotta do is search for empty zip file to flash theme. Then take out framework, twframework and systemUI from original Jug. Make folder called framework put both framework in there. another folder called app and put systemui. Then without extracting the zip file/use 7zip to put both this folder in it and then flash that zip. That's all!
Click to expand...
Click to collapse
were there any other files i was supposed to add with the zip file? i added all the files you mentioned and when i tried to flash it, it just said installation aborted.
appdroid said:
By the way they have thnx button so instead of saying it make sure you hit that button! I shows your appreciation!
Click to expand...
Click to collapse
doubled227 said:
were there any other files i was supposed to add with the zip file? i added all the files you mentioned and when i tried to flash it, it just said installation aborted.
Click to expand...
Click to collapse
Did you "sign" the zip file?
Sent from my SGH-T989 using XDA
Damn... I never felt so much like a "noob" till right now... Lol. How do you sign it?
G1ForFun said:
Did you "sign" the zip file?
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
Sent from my SGH-T989 using XDA
doubled227 said:
Is it possible for somebody to create a completely stock framework (status bar, pulldown, etc) for juggernaut 5.0? I always thought the green battery really stood out when everything else was at an understated grey color. i wish i knew how to do this myself
but i turn to the experts on here for some love. hopefully i am not the only one who wants this and there is an actual demand for this type of theme
if anybody takes on this task, i thank them greatly
Click to expand...
Click to collapse
For what it's worth, I always wanted a stock sgs2 theme for juggernaut as well. If you get it working, let us know.
Sent from my SGH-T989 using xda premium
doubled227 said:
Damn... I never felt so much like a "noob" till right now... Lol. How do you sign it?
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
You don't need to sign it.
Sent from my SGH-T989 using xda premium
dillym34 said:
You don't need to sign it.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
oh okay... thats cool. i actually learned how to sign things so that's a plus for learning new things. lol.
but it stops as soon as i try to flash it when it gets up an update part... i'm going to attach the zips that i have and maybe somebody can tell me what i am doing wrong because i really wanna fix this now
doubled227 said:
oh okay... thats cool. i actually learned how to sign things so that's a plus for learning new things. lol.
but it stops as soon as i try to flash it when it gets up an update part... i'm going to attach the zips that i have and maybe somebody can tell me what i am doing wrong because i really wanna fix this now
Click to expand...
Click to collapse
If you have Root explorer or something similar, you could probably copy and late the appropriate files in the correct spots and then reboot. Then you wouldn't need to sign or flash.
Sent from my SGH-T989 using xda premium
i thought that would have worked before too... but as soon as i pasted the new framework apk, everything force closes and i had to load up a prior backup
Genesis206 said:
If you have Root explorer or something similar, you could probably copy and late the appropriate files in the correct spots and then reboot. Then you wouldn't need to sign or flash.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
doubled227 said:
oh okay... thats cool. i actually learned how to sign things so that's a plus for learning new things. lol.
but it stops as soon as i try to flash it when it gets up an update part... i'm going to attach the zips that i have and maybe somebody can tell me what i am doing wrong because i really wanna fix this now
Click to expand...
Click to collapse
Are these the exact same zips you are trying to flash? if so they are not set up right for CWM to be able to apply them. Here is a CMW flash for you. Open it with 7 zip or an appropriate progam, i recomend 7zip its great. You will see the app folder and the framework folder. Place your modfied app.apks in the app folder and any modified framwork.res files in the framework folder. Dont try to mess with too much at first just framework.res twframework.res and systemui.apk make sure when you transfer images you are taking them from stock and adding them to Juggs files or you will get a force close. dont just try and take stock .res files or .apks and flash them.
hahahahahaha.... i wish i saw this sooner. i actually went ahead and pushed the stock images over the modified images i wanted into the systemui.apk within the juggernaut zip file and then reflashed it. that would have saved me loads of time configuring everything all over again. but thanks though... if this doesn't help me now, it should help me later. and it probably helps other people looking to do their own thing as well.
dillym34 said:
Are these the exact same zips you are trying to flash? if so they are not set up right for CWM to be able to apply them. Here is a CMW flash for you. Open it with 7 zip or an appropriate progam, i recomend 7zip its great. You will see the app folder and the framework folder. Place your modfied app.apks in the app folder and any modified framwork.res files in the framework folder. Dont try to mess with too much at first just framework.res twframework.res and systemui.apk make sure when you transfer images you are taking them from stock and adding them to Juggs files or you will get a force close. dont just try and take stock .res files or .apks and flash them.
Click to expand...
Click to collapse
finally fixed
here's an end result of how i finally got it to come out if anybody is interested. it's the subtle differences with the system bar, the dock and the weather widget that make the difference. haha... thanks everybody for the help

what do you use on your computer to zip stuff? + bonus question

I got to thinking on your computer what do you use to zip? I like to keep a couple of backups ziped (like different roms) in case I wana play around.... I dunno why I zip them i just do to keep things tidy..
Do you use win war? win zip? or 7 zip. Then on top of that... Then on top of what program you use? .zip ? .war or .7 or what
Is there anything to watch out with with ziping backups? can it mess with the format? Im curious havn't seen a post like this so thought I would try it out see what you all say.
Thanks for info
/side question. does the phone charge no matter what if its plugged into the usb Like will it charge while im in recovery mode? Im at 22percent and had to recover so I did but I was worried because if it doesn't charge its just eating up battery got me to thinking. Thanks guys
xxsicknessxx said:
I got to thinking on your computer what do you use to zip? I like to keep a couple of backups ziped (like different roms) in case I wana play around.... I dunno why I zip them i just do to keep things tidy..
Do you use win war? win zip? or 7 zip. Then on top of that... Then on top of what program you use? .zip ? .war or .7 or what
Is there anything to watch out with with ziping backups? can it mess with the format? Im curious havn't seen a post like this so thought I would try it out see what you all say.
Thanks for info
/side question. does the phone charge no matter what if its plugged into the usb Like will it charge while im in recovery mode? Im at 22percent and had to recover so I did but I was worried because if it doesn't charge its just eating up battery got me to thinking. Thanks guys
Click to expand...
Click to collapse
I use WinRAR to zip files.
TWRP will charge while plugged in adding a + beside your charge. CWR will not.
Sent from my SGH-I747 using xda app-developers app
KorGuy123 said:
I use WinRAR to zip files.
TWRP will charge while plugged in adding a + beside your charge. CWR will not.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Yeah, WinRAR is a good choice. Been using it for years, never fails
laserlight959 said:
Yeah, WinRAR is a good choice. Been using it for years, never fails
Click to expand...
Click to collapse
7 zip is a better option too
Bleh, winrar.
7zip is all you need. Right click and add to zip archive. Zip format has the most compatibility but 7zip can possibly have better compression ratios.
Sent from my SGH-I747 using xda premium
Plus isn't 7zip free and Winrar paid?
y0yerrj0sh said:
Plus isn't 7zip free and Winrar paid?
Click to expand...
Click to collapse
There's a never ending evaluation copy.
They're both good, it mostly depends on what you wanna do with it. I personally use both but for ROM/apk, I use 7zip.
BWolf56 said:
There's a never ending evaluation copy.
They're both good, it mostly depends on what you wanna do with it. I personally use both but for ROM/apk, I use 7zip.
Click to expand...
Click to collapse
+1
7-zip.... FTW!
7zip on windows. Linux uses gzip natively.

Categories

Resources