How to combine multiple .zips into 1 flashable .zip? - Samsung Galaxy Nexus

I have multiple .zips that I flash for inverted gapps and I was wondering was there anyway I could combine them into one flashable .zip file so I don't have to flash each one individually. I suspect it would take more than just putting all the .zips into one .zip, right?
Also, I'm on a mac. I can access a windows computer if necessary but it would be nice to do it all from my mac

Ngo93 said:
I suspect it would take more than just putting all the .zips into one .zip, right?
Click to expand...
Click to collapse
Not really, no. Just unzip all your files, organize them all together ignoring duplicates, then re-zip.

LordButtersI said:
Not really, no. Just unzip all your files, organize them all together ignoring duplicates, then re-zip.
Click to expand...
Click to collapse
When I unzip each .zip I get the folder that contains the data, META-INF and system folders inside. Where do I go from there? Do I compress all the separate folders into one .zip? I've never done this before so sorry for the seemingly obvious questions!

If they are all just apps from the system folder, simply take every apk out of each zip and place them in the system folder of one of the zips (using 7-zip) then flash it.

artvandelay440 said:
If they are all just apps from the system folder, simply take every apk out of each zip and place them in the system folder of one of the zips (using 7-zip) then flash it.
Click to expand...
Click to collapse
I was thinking that but I was also wondering if the other files inside contributed to each individual apps theming of some sort. But thanks for the tip! I will try that on my next ROM flash

Ngo93 said:
I was thinking that but I was also wondering if the other files inside contributed to each individual apps theming of some sort. But thanks for the tip! I will try that on my next ROM flash
Click to expand...
Click to collapse
The meta-inf folder tells it where to install and sets the proper permissions.
Sent from my Galaxy Nexus using Tapatalk 2

artvandelay440 said:
The meta-inf folder tells it where to install and sets the proper permissions.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Ah, thank you for clarifying

So, would it be possible to, in addition to customizing which apps load on flashing the "re-zipped" ROM, also add a kernel to be flashed along with the ROM all in one flash? Or would the kernel need to be baked into the from?
Sent from my Galaxy Nexus using xda premium

thenewguy821 said:
So, would it be possible to, in addition to customizing which apps load on flashing the "re-zipped" ROM, also add a kernel to be flashed along with the ROM all in one flash? Or would the kernel need to be baked into the from?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
In theory this would be possible, but it would be more complicated then flagging a few system apps.

Related

rom editing question

so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
undeclared said:
so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
Click to expand...
Click to collapse
I would say that is what alot of people are doing right now with incredible rom's.....that is why people are releasing patches and fixes after seeing them working in other roms.
......I have a rather easy question that applies to this subject also....
before loading a rom to my phone, can i go into the zip file and remove some 3rd party app apk files that i don't want before running it and will it still be ok ?
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
tcberg2010 said:
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Excellent. Thank you. I figured it wasn't as simple as I put it, but I just wanted to make sure before I did something stupid.
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
mini_monsta said:
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
No. Changing even 1 byte will change the signature needed. You need to use the kitchen so you can resign the ROM and flash it.
Even if u did just unzip, rezip, and flash it would just throw back an invalid signature error and return u to recovery menu. No real harm done.
Sent from my ADR6300 using XDA App
Clockwordmod has signature validation disabled by default. So it will still flash if you change a kb or remove an app.

Delete apps from rom

When I have downloaded a rom is there a way to edit the zip file before I flash it. I want a sense hd rom but they all have alot of stuff I dont want . I would like a sense hd rom that is almost bare. Thanks
Sent from my PC36100 using XDA App
Maybe this is what you are looking for http://forum.xda-developers.com/showthread.php?t=758197
I think you posted in the wrong section, so if you post gets moved check Q & A or General section.
Sacs has a sense hd rom and calkulin has one too but they both have alot of apps that I dont want. Is there a way to unzip rom and remove stuff before I flash it to phone.
Sent from my PC36100 using XDA App
Step 1 Setup Android Kitchen
Step 2 Create a Custom Rom
OR....How to Creat Custom Rom on Android
Thanks alot
Sent from my PC36100 using XDA App
No Problem. Good luck bro. You are a braver man than me to try this. I have thought about making my own Rom because every one I try I like some things but not everything. I would be cool to combine features or implement features from other Rom's and take out the things you don't like and have one happy Rom that you created and use designed especially for you! Anyway, let me know the results and how difficult it is and maybe I'll give it a shot.
Alternatively, you can use apps like System App Remover to remove apps though you would have to remove each app individually...
or you could just open the zip file with any zip application and remove the files you want and then flash
ZIP
after unzipping and removing apps does the zip need to be signed before flashing or will it be ok ?
Kingmac38 said:
after unzipping and removing apps does the zip need to be signed before flashing or will it be ok ?
Click to expand...
Click to collapse
It depends witch recovery are you using with Amon-Ra you need signed zips but with Clockwork you can flash unsigned zips.
gmramirez1973 said:
It depends witch recovery are you using with Amon-Ra you need signed zips but with Clockwork you can flash unsigned zips.
Click to expand...
Click to collapse
download Regaw's zip signer if you are unsure
just open the zip file in winrar, then delete the apks you dont wont. No need to resign. NOTICE I DID NOT SAY UNZIP the file.

Re-signing rom?

If I delete some unwanted APK's from the rom before flashing, do I need to re-sign the rom? Thanks in advance!
- Z
zzelinka said:
If I delete some unwanted APK's from the rom before flashing, do I need to re-sign the rom? Thanks in advance!
- Z
Click to expand...
Click to collapse
umm depends.. are u usin 7zip? also windows are ubuntu? either way just try it and if it doesnt work then toggle the signature thingy in clockwork, and you can use this to resign
http://forum.xda-developers.com/showthread.php?t=633246
You can also extract the Rom on your phone with Root Explorer or the equivalent, then go in and make your changes, then simply delete the two "cert" files, and the "manifest" file that are in the "Metainfo" folder.
Re-zip it using Root Explorer, and you'll be good to go.
(Of course, you'll have to have the unsigned zips allowed thing toggled in whichever recovery you're using...but this works the easiest, IMHO.)
Sent from my SPH-D710 using xda premium
Thanks for all the responses! I use Calkulin's ROM, but still way too many apps on first boot. I hate going through TB and deleting all the unnecessary and unwanted apps. I'll try it and get back to y'all. Probably on the next update of Calkulin though...
-Z
Just open in 7zip, remove what you want, and flash.
BigJPNut said:
Just open in 7zip, remove what you want, and flash.
Click to expand...
Click to collapse
This is correct. Simple and easy and doesn't jack up anything up.

[TOOL][11/11/12] - Empty Flashable Zip for Themers and Modders

This is just an empty zip pre configured to flash what every you put in /system/
App and Framework folders pre-exist.
If you dont know what any of this means then this is not for you
Reserved...
Thanks, might try some mods tomorrow.
Awesome. Things are really rolling now
Sent from my SAMSUNG-SGH-I317 using xda premium
oh snap did you get a note scott?
BLOWNCO said:
oh snap did you get a note scott?
Click to expand...
Click to collapse
Yep!
I had it on Sprint but data was so bad I took it back and got ATT.
scrosler said:
Yep!
I had it on Sprint but data was so bad I took it back and got ATT.
Click to expand...
Click to collapse
nice man well we are always on irc come say hi
freenode #attnote2
Thank you a lot for the empty flashable file... Really, really useful...
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
This should be a sticky.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
i've done themes and signing in the past when it came to android 2.0-4.0. my question is this. is this just an empty stock folder or is it some sort of drag and drop autosigner. thanks.
opasha said:
i've done themes and signing in the past when it came to android 2.0-4.0. my question is this. is this just an empty stock folder or is it some sort of drag and drop autosigner. thanks.
Click to expand...
Click to collapse
Just an empty zip with the nesscessary script and binary needed for flashing. Drop what you want to flash in the /system folder. Non-system apks need to be signed with another program like APK manager.
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
Chronzy said:
Just an empty zip with the nesscessary script and binary needed for flashing. Drop what you want to flash in the /system folder. Non-system apks need to be signed with another program like APK manager.
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
Click to expand...
Click to collapse
awesome thanks!
opasha said:
awesome thanks!
Click to expand...
Click to collapse
Your welcome!
How would I go about modifying this empty flashable zip to flash a file manager [like root explorer] after installing a rom?
From the moderator
Ok people......... THIS IS A DEVELOPMENT THREAD..... not a Q&A thread..... not romper-room...... do your homework......
Post respectfully, post on topic, development related issues or do not post......
.....Do not engage in personal attacks, all that gets you is Club-Ban
~~ oka1
kingofkings11 said:
How would I go about modifying this empty flashable zip to flash a file manager [like root explorer] after installing a rom?
Click to expand...
Click to collapse
By using either 7zip you can make a folder and put the file in it to flash. For instance if you wanted root explorer to go into system\app you would create a system folder in the root of the flashable, then open that and create a folder called app in that, then open the app folder and place your app to flash there.
Now let's cut the drama in here. This is the final warning.
Friendly Neighborhood Moderator
kennyglass123 said:
By using either 7zip you can make a folder and put the file in it to flash. For instance if you wanted root explorer to go into system\app you would create a system folder in the root of the flashable, then open that and create a folder called app in that, then open the app folder and place your app to flash there.
Now let's cut the drama in here. This is the final warning.
Friendly Neighborhood Moderator
Click to expand...
Click to collapse
The system/app folders are already in the zip. So the only folders you would need to add is if you wanted it to go into data/app. If so you would just follow kenny's instructions but make a folder named data and then inside that make another folder named app and place your app inside that. But if you want it to be in system just use 7-zip and open the system/app folders and drag your app in, close it and flash.
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2
Perfect. Thanks Tiffany.
scrosler said:
This is just an empty zip pre configured to flash what every you put in /system/
App and Framework folders pre-exist.
If you dont know what any of this means then this is not for you
Click to expand...
Click to collapse
ZIP file not available, where I can download it. Please
kennyglass123 said:
Perfect. Thanks Tiffany.
Click to expand...
Click to collapse
Your welcome. Thanks for all you do.
[email protected] said:
ZIP file not available, where I can download it. Please
Click to expand...
Click to collapse
It's in the op. I just downloaded it and everything is fine.
Sent from my SGH-T889 using Xparent Skyblue Tapatalk 2

Flashing ROM + Making Themes

Hey, I downloaded a ROM and I want to flash it.
The problem is that this ROM includes in it's ZIP many apps that I don't need.
Can I just open the ZIP using WinRar and delete everything I don't need?
Another questiong that I just thought of,
how can I make my own theme?
Is there a software for this?
Re: Flashing ROM
ToMeRv32 said:
Hey, I downloaded a ROM and I want to flash it.
The problem is that this ROM includes in it's ZIP many apps that I don't need.
Can I just open the ZIP using WinRar and delete everything I don't need?
Click to expand...
Click to collapse
No, entire zip is needed for flashing Rom.there is no need to extract anything from zip:thumbup:
Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
I didn't mean to extract, just deleting throw WinRar.
ToMeRv32 said:
I didn't mean to extract, just deleting throw WinRar.
Click to expand...
Click to collapse
Ok, also deleting is not needed, because entire zip has to be flashed for your success with flashing rom, as there are scripts/apps etc
Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
Okay,
so if I'll edit the script and remove from him the apps that I don't want,
then delete their APK, they won't be installed and there will be no problem?
Be careful what you delete, there are many things that may break functionality if removed.
ToMeRv32 said:
Okay,
so if I'll edit the script and remove from him the apps that I don't want,
then delete their APK, they won't be installed and there will be no problem?
Click to expand...
Click to collapse
Theoretically yes, but be careful, as needed files could be deleted by error.
I would suggest install full zip and after successful installation not needed apps could be removed/uninstalled
Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
ToMeRv32 said:
Hey, I downloaded a ROM and I want to flash it.
The problem is that this ROM includes in it's ZIP many apps that I don't need.
Can I just open the ZIP using WinRar and delete everything I don't need?
Another questiong that I just thought of,
how can I make my own theme?
Is there a software for this?
Click to expand...
Click to collapse
yes you can! depending on what kind of apps you want to delete: unzip, open system file, open apps file, delete unwanted apps (but not essential ones!!), zip all folders together.
or you can just flash rom, then using root explorer go to system>apps, delete unwanted apps, reboot
That's what I usually do, but I thought it can save me some time and space.
Anyway, I still have my second question (making theme).
ToMeRv32 said:
That's what I usually do, but I thought it can save me some time and space.
Anyway, I still have my second question (making theme).
Click to expand...
Click to collapse
let themer do the job
ranalab said:
let themer do the job
Click to expand...
Click to collapse
Its just XML files and pictures, doesn't it?
I can handle this with photoshop and notepad..
I found some apks of themes, It doesn't seems like a big deal.
The defaule JB theme can be found on the phone storage? (system/...?)

Categories

Resources