[Q] Deleting apks from zip files - Epic 4G Q&A, Help & Troubleshooting

If I wanted to delete some APKS from srf 1.2 zip file so they don't re install when I flash can I just go into the file delete those apks. Or will that cause problems in other places I am thinking not but am just wondering?

Seegy24 said:
If I wanted to delete some APKS from srf 1.2 zip file so they don't re install when I flash can I just go into the file delete those apks. Or will that cause problems in other places I am thinking not but am just wondering?
Click to expand...
Click to collapse
I do it all the time.
Sent from shane6374's Epic via Tapatalk

As long as its not important .apk's like."tw-framework.apk"
Sent from my SPH-D700 using xda premium

Yeah I wasnt going to do anything important just stuff like galaxy s tuner and kies air and other stuff I have never used

yup, i generally do that with all roms i download.. go through and pull out stuff i don't want/need before flashing..

Thanks for the fast response I just did it so hopefully next time I flash it is a little cleaner I made a copy of the original in case I did something wrong I can always install it the way it has always worked in the past.

Related

Removing ROM zip files

Once I install a ROM, is it safe to remove it's original zip file? Does out still depend on it, our have all the files been installed safely somewhere else?
Sent from my ADR6300 using XDA App
Yes, it is safe to remove the original zip file(s).
The active ROM itself (the one currently running) doesn't use the zip file any longer once it's flashed/installed.
Optional:
Make sure you have backups of the ROMs you have flashed prior to removing their original zips, else you will have to d/l and set them up again.
oh my god///////////////////////////////////////////////////////////////////////////////
Smtom: thanks for the tip, I just wanted to make sure before I went ahead and started deleting all sorts of things. I appreciate the help.
Manh: you just have an orgasm over there? You gonna be ok?
Sent from my ADR6300 using XDA App

[Q] Stock/AOSP MMS for Bonsai?

Just started running bonsai on my epic 4g. I came over from tmobile (vibrant, Teamwhiskey) I've seen some screenies of people running bonsai with Stock/AOSP Mms. I've done some searching but can't find anything. help?
thanks guys
Just replace the Mms.apk with the AOSP mms.apk.
Texted while driving
Think he needs the APK still X.
Here it is if you haven't found it. Make sure to hit the thanks button for that guy that posted it. He's a badass. lol
http://forum.xda-developers.com/showthread.php?p=11919877#post11919877
Oh btw, just replace the existing one in /system/app or push it using ADB.
063_XOBX said:
Just replace the Mms.apk with the AOSP mms.apk.
Texted while driving
Click to expand...
Click to collapse
p3dr0maz said:
Think he needs the APK still X.
Here it is if you haven't found it. Make sure to hit the thanks button for that guy that posted it. He's a badass. lol
http://forum.xda-developers.com/showthread.php?p=11919877#post11919877
Oh btw, just replace the existing one in /system/app or push it using ADB.
Click to expand...
Click to collapse
Thanks for the link, but that one says its the text-about-voicemail mms.apk, is there any way to avoid that? I'm probably splitting hairs here but just curious, lol.
Also, i'm at work (no adb) I couldn't just fire up the apk on my phone, i'd actually have to push it through, right?
The text about vm is not avoidable. I think someone said you can block the 9016:// messages through sprint maybe? im not sure exactly. I use to care at first then i realized I don't really get many VM's. And if you're at work you can just move it into the /system/app folder. You dont have to use adb push. That's just another option.
deku_nut said:
Thanks for the link, but that one says its the text-about-voicemail mms.apk, is there any way to avoid that? I'm probably splitting hairs here but just curious, lol.
Also, i'm at work (no adb) I couldn't just fire up the apk on my phone, i'd actually have to push it through, right?
Click to expand...
Click to collapse
I tried moving it into the system/app folder and it just gave me a parsing error, can't get it to receive texts. I put the old Mms.apk back in the apps folder and it threw the same error.
*edit*
I re-zip-flashed bonsai and it seemed to repair my texting ability. I tried the process again (replacing Mms.apk), then went into CW Recovery and wiped dalvik, booted and it still is on the samsung themed bubble Mms.apk. For sh*ts and giggles i tried tap-installing the Mms.apk and it wouldn't install, just as i figured. Suggestions?
Yeah tap-installing those system apps doesnt ever work. That's weird that you replaced the file, rebooted, and you were still on the old one. Although, technically there shouldnt be any need to reboot. I've switched out /system/app/Mms.apk and other apks without rebooting before. I do this all the time when theming. /boggle. Sorry, i'm not sure what more suggestions I can make. If you want I can try making it a flashable zip and maybe you can try that?
deku_nut said:
I tried moving it into the system/app folder and it just gave me a parsing error, can't get it to receive texts. I put the old Mms.apk back in the apps folder and it threw the same error.
*edit*
I re-zip-flashed bonsai and it seemed to repair my texting ability. I tried the process again (replacing Mms.apk), then went into CW Recovery and wiped dalvik, booted and it still is on the samsung themed bubble Mms.apk. For sh*ts and giggles i tried tap-installing the Mms.apk and it wouldn't install, just as i figured. Suggestions?
Click to expand...
Click to collapse
p3dr0maz said:
Yeah tap-installing those system apps doesnt ever work. That's weird that you replaced the file, rebooted, and you were still on the old one. Although, technically there shouldnt be any need to reboot. I've switched out /system/app/Mms.apk and other apks without rebooting before. I do this all the time when theming. /boggle. Sorry, i'm not sure what more suggestions I can make. If you want I can try making it a flashable zip and maybe you can try that?
Click to expand...
Click to collapse
I'm running bonsai 4.0.1, not sure why it isn't working either. I'm not a dev but i'm no tech slouch myself and I can't figure it out. I'll try it again tonight. Also, teach a man to fish, don't give me the fish. If you happen to have a link for a tutorial to make flashable zips i'm all ears and ready to learn.
p.s. thanks button clicked.
Take a generic working CWM zip that replaces /system/ files. Delete all the crap out of it [dont delete Meta-Inf folder] with winzip, winrar, or 7zip. Drop in /system/app/Mms.apk . Most important thing is to maintain the file structure. As it will use it to push the Mms.apk onto the phone. Thats how i always do it.
deku_nut said:
I'm running bonsai 4.0.1, not sure why it isn't working either. I'm not a dev but i'm no tech slouch myself and I can't figure it out. I'll try it again tonight. Also, teach a man to fish, don't give me the fish. If you happen to have a link for a tutorial to make flashable zips i'm all ears and ready to learn.
p.s. thanks button clicked.
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
p3dr0maz said:
Take a generic working CWM zip that replaces /system/ files. Delete all the crap out of it [dont delete Meta-Inf folder] with winzip, winrar, or 7zip. Drop in /system/app/Mms.apk . Most important thing is to maintain the file structure. As it will use it to push the Mms.apk onto the phone. Thats how i always do it.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I made the flashable zip, no luck. Just a thought-is the lack of the mms.odex an issue? does DeOdexing have something to do with this?
Yes,
I just assummed u were running a de-odexed system.
Take a generic working CWM zip that replaces /system/ files. Delete all the crap out of it [dont delete Meta-Inf folder] with winzip, winrar, or 7zip. Drop in /system/app/Mms.apk . Most important thing is to maintain the file structure. As it will use it to push the Mms.apk onto the phone. Thats how i always do it.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I made the flashable zip, no luck. Just a thought-is the lack of the mms.odex an issue? does DeOdexing have something to do with this?
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App

Adding APKs

Is there any way to unzip a ROM, and add the APKs for the apps that I want? Like for instance, a ROM may not come with Google voice, so I wanna add that in and make it like a system app. Is this possible, or do I have to just download it, along with the rest of the apps I want?
Sent from my rooted MIUI Dinc2
I'm not quite sure but there's a program that is supposed to zip the rom into a .zip and do the opposite so I don't see why you cannot unzip a rom, add the apk's u want and then rezip and flash. I would be careful though these developers put alot of work into these roms so who knows you could accidentaly remove something crucial to the system, look into the Android software developement area, there's alot of information on how to make roms and such. I tried learning what I needed to to make a rom but got lost about 3 hours into reading lol. In the main forum area under android developement/hacking should be a noob corner somewhere
What's the point of doing what you're asking anyway? Just to have all your apps installed as you install the rom?
Sent from my Incredible 2 using Tapatalk
yeah, so then I don't have to go find them. Lol more of a vanity thing. I'm not worried about taking stuff out, just adding to.
Sent from my rooted MIUI Dinc2
You don't have to unzip the ROM if you have winrar or 7zip right click on the ROM open as archive find system/app put the apk files in that folder close the ROM zip out and then do as you normally would to flash the ROM it will instal what you add
You can adb pull the .apk files you want them add to the zip it isn't suggested to unzip sometimes it corrupts the zip file
Sent from my VS910 4G using xda premium
That's a good suggestion. Can't you also just do a batch backup with titanium and then do a batch restore once you flash your new rom?
Sent from my Incredible 2 using Tapatalk
Yeah, but then there's the long process of letting the apps install and all that... its just a pain. I mean, I don't mind doing it, I was just asking if it'd be easier to do that
Sent from my rooted MIUI Dinc2
I used to do this in the past to remove and install Apks before flashing a new rom. Kind of personalize it for what I wanted and what I use. I haven't been doing this lately though. I just do a batch restore with Titanium backup now. It's pretty quick, and has worked well.

How do I reinstall...

Root programs that I've uninstalled via root uninstaller?
Sent from my SPH-D710 using Tapatalk 2
Can you elaborate a bit more?
Sent from my SPH-D710 using Tapatalk
slick_rick said:
Can you elaborate a bit more?
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
I've removed some programs through root uninstaller. Such as gmail. I didn't make backups.
Sent from my SPH-D710 using Tapatalk 2
Probably have to wipe data and reinstall roms or try flashing a Gapps package.
Sent from my SPH-D710 using Tapatalk
some apps, such as gmail, can be downloaded from the market. For others have you tried pulling the apks from your rom.zip and placing them in /system/app?
While it is normally fine to remove certain system apps (I routinely strip down every rom I install of certain apps), getting them back can be a pain sometimes if you're not sure how to do it. Another way to achieve the same goal is to 'freeze' all the apps you don't want to use. They won't show in the app list and they won't run in the background but they will still be there if you ever need them.
Sent from my SPH-D710 using XDA
I would wipe data if it doesn't work reflash the rom.
Some of the stuff you may have removed may be best resolved by reflashing the build that you're using. For example, I use Gmail and another mail app, no need for Exchange or the stock email. I used to not back these up so when I actually needed to test something it was off to ODIN my phone again . Now I use TB and back it up before I remove it.
This is very simple to fix. It should never be a pain to accomplish either.
1: Find the apps you want to restore in the rom you flashed (if you don't have the original .zip, download it or a similar rom). Use 7zip or WinRAR to open the rom file.
2. Copy the apps you want to your sdcard.
3. Use Root Explorer or similar app to move or copy the apps to /system/app (you will need to make sure your file explorer can mount the /system in rw)
4. Reboot and enjoy
Basically you just want to pull the apps from a copy or the rom you flashed or a similar one (ICS>ICS GB>GB). Then move those apps to /system/app and reboot. The phone will reinstall them when it boots back up.

[Q] Removing Zips

Once I have uploaded a ROM ZIP, or for that fact, any ZIP file onto my phone and flash it, do I have to leave the ZIP file on the phone?? I set my GS2 up with Darkside 3.7 and want to remove the ZIP if it isnt necessary. I searched through the forum and didn't find anything that answers my question.
Am new to the GS2 and modding it. Only previous phone I modded was the Motorola Zine ZN5 a few years back and the procedures are a bit different.
You can delete them. I like to keep at least one in case I have flashing issues plus any nandroid restoring trouble. Just as an extra backup plan. I also keep stuff I use anytime I flash. Darkside wipes, gapps, etc. To save from having to redownload.
Sent from my SGH-T989 using xda app-developers app
Thank you. I am still on the fence as far as removing any of them but just wasn't sure if doing so would cause any problems.
I just created a folder for mods that I keep all mine in. Keeps them from floating around the root of the sd card where I'm constantly seeing and scrolling through them
Sent from my SGH-T989 using xda app-developers app

Categories

Resources