removing unwanted system APKs from update.zip

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
197
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
I dont know if this has been asked before.

I want to know if its possible to remove specific, unwanted system (/system/app) APKs from the update.zip (such as FRF84BV04.zip), so that when its installed, it will only install what is in the zip file. I never use CPT, original maps.apk, Gmail.apk, and a few others. It would shrink the zip file a little, and give me less hassle when installing, so I dont have to uninstall these files manually after I install the zip.

Can I just pull them out of the zip file, without resigning it?
 

tktouch12

Active Member
Joined
Nov 17, 2009
Messages
1,239
Reaction score
0
i would also like to know. with a nandroid you can, but if its an update idk if it will mess up the meta files or whatever.
 
OP
chevycam94

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
197
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
In addition to wanting to know if its possible to an update.zip file, how are you doing it to a nandroid?
 

carlz28

Premium Member
Premium Member
Theme Developer
Joined
Feb 28, 2010
Messages
820
Reaction score
1
If you use a program like 7Zip, just open the file, go into /system/app and right-click and delete the apks you don't want. Simple as that :)
 

Fabolous

Superuser
Developer
Joined
Dec 10, 2009
Messages
598
Reaction score
0
Location
Illinois
Website
fabdroid.com
yeah, I don't think the BB0.4 .zip was signed to begin with.

you can just remove whatever apps you don't want installed before flashing it, should be fine.
 
OP
chevycam94

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
197
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
Thanks for the help. I am learning a lot by asking stuff like this. :)
 
OP
chevycam94

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
197
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
So, would it also be possible to extract the contents, create a new zip file, and compress everything further, and still have a zip file that will install just like the original?

Keeping the same .zip formatting.
 

lmt1979

Member
Joined
Feb 18, 2010
Messages
80
Reaction score
0
Location
Greenville, NC
update.zip

So, would it also be possible to extract the contents, create a new zip file, and compress everything further, and still have a zip file that will install just like the original?

Keeping the same .zip formatting.

I'm very noobish when it comes to this stuff but for instance: I took the past few Bugless Beast releases (the 2.2 ones) and extracted the zip added/removed the things I wanted and just made it an update.zip again. I even themed a bunch of stuff and it didn't break signatures. Just open the destination in one window and the source files from another (such as pngs) and put them in their place. Here's an example

where I themed Bugless:

http://www.droidforums.net/forum/bu...ed-smoked-glass-blue-htc-icons-frf84bv04.html
 
OP
chevycam94

chevycam94

SteelDroid ROM / Cortex ROM Developer
Developer
Joined
May 12, 2010
Messages
1,616
Reaction score
197
Location
Central Ohio
Website
steelroms.com
Current Phone Model
Nexus 6P, VZW Note Edge, D1
Sure enough, it works. How would I add, if its possible, a modded app, like Brut.all's Google Maps 4.3.0 mod, so its already installed when the update.zip is installed. (Brut.all's mod is an installer APK)
 
Top