[Q] How to create update zips in kitchen - Android Q&A, Help & Troubleshooting

as the title suggests i would like to know how to create zips with the android kitchen to update a current rom. eg- i want to make a flashable zip that will reinstall all the bloatware apps that i have removed from my rom?
all answers appreciated

The kitchen doesn't have that feature. Try downloading a mod in the section of thee phone your developing for and open the zip with 7zip don't close it take the apps you want to flag and put then in the system folder in the zip then extract the updater-script and modify it to give it a little message or something then delete the one in. the zip and drag you new one in there I can walk you through it if you don't get it

would it work if i delete everything in the working folder of the kitchen but leave only the folder system and files that i wan to flash? then build rom... would it generate an updater-script to match then without overwriting the main rom when i flash via recovery?

I guess you could do so but why go through all that?

Option 99 in the kitchen. Follow the prompts on the screen
私のエボ3Dから送信される。

Related

How to create "update.zip" for integrate apps?

Hello!
I'd like to create update.zip to integrate app wich can be flashed to any or almost any rom. I'd like to put some essential app in it. Anybody can tell me how can i do this, or is there any guide for this?
Download and install the latest android sdk .also Java jdk find and download autosign. Do this all by searching. I would download a custom rom as a template for your update.zip. extract the data folder and the Meta folder and put into a new folder, go into Meta folder keep clicking through the folders inside Meta one till you find update-script and open it in notepad.
Delete everything except the part saying something like copy package DIRATA and the show progress before it. Once that's all done put the Apps you want into the data folder zip up the data and Meta folders, when you open the zip folder you should only see those 2 no others! Resign it using autosign and flash
bonesy said:
Download and install the latest android sdk .also Java jdk find and download autosign. Do this all by searching. I would download a custom rom as a template for your update.zip. extract the data folder and the Meta folder and put into a new folder, go into Meta folder keep clicking through the folders inside Meta one till you find update-script and open it in notepad.
Delete everything except the part saying something like copy package DIRATA and the show progress before it. Once that's all done put the Apps you want into the data folder zip up the data and Meta folders, when you open the zip folder you should only see those 2 no others! Resign it using autosign and flash
Click to expand...
Click to collapse
+1. Niiice,... A few questions though if you dont mind.
1,... Can I use this command that I use to sign my bootscreens to sign the update.zip ... "java -jar C:\SignApk\SignApk.jar C:\SignApk\testkey.x509.pem C:\SignApk\testkey.pk8 C:\SignApk\bootscreen.zip C:\SignApk\bootscreen_signed.zip" ... and just change the file name as needed? ... Or do the .pem and .pk8 files need to be changed to something else?
2,... If Im using a base custom ROM with Apps2SD, all apps will be installed to the SD right?... Or do they install to the internal memory if you add the apps to the ROM itself?
3,... Is it also possible to add the app and game data (i.e.. game saves) to the ROM or is it best to use a backup programme?
Hope someone can help?
Thanks!
I tought it will harder, but it worked flawlessly
I'd be interested in this too:
ddotpatel said:
2,... If Im using a base custom ROM with Apps2SD, all apps will be installed to the SD right?... Or do they install to the internal memory if you add the apps to the ROM itself?
Click to expand...
Click to collapse
It all goes to the Data partition so... If your ROM is using apps2sd and its turned on (for instance im using androbin and i have done the command "apps2sd on" in terminal) the apps you install from then on will go to your sdcard partition.Quite a handy thing on this androbin rom is in sd card and storage it tells me my secondary partition!
Ddotpatell....
1.Yes you can use that command
2.answered above.
3.I would use a backup program personally
Thanks BONESY, much appreciated.

Packing a boot.img and drivers to a zip?

Im developing a custom kernel. I was wondering now that i have my boot.img and drivers is there a way to pack them for installtion in a flashable .zip? I basically want to supply features to an existing rom. with custom kernel and shell scripts. I would like ot to be easy for others to install. Google didnt turn up much about this. Any info or links would be greatly appreciated!
Sent from my LG-VM670 using XDA App
Have the drivers put into folders in this fashion. system/lib/modules the drivers being in the modules folder. The boot.img is in the root of the zip along with the META-INF and system folders. The META-INF folder consists of this order META-INF/com/google/android and in the android folder contains the update-binary and updater-script files. The update-binary is specific to whatever device you have. The updater-script is to be edited by a text editor to tell how to flash. Look through other flashable zips to see the syntax of the updater-script.
私のEVO 3Dから送信される。
Thank you this is allot simpler than i expected. I thought i was going to need some kind of Kitchen or tools to build the META stuff and scripts!
The only thing im still fuzzy on is the directory structure of the zip file lets say i have these three files boot.img, /system/bin/modules/wirless.ko, and /system/bin/remount.sh the zip should look like this:
-/boot.img
-/META-INF/obviously more to this dir just a quick layout
-/system/bin/remount.sh
-/system/lib/modules/wirless.ko
and if i wanted to throw anything else in there i would just add the directory with the new files in it as needed and any will /data, /mnt/sd-ext, whatever
Refer the link in my sig

[Q] Manual deodex an rom before flashing?

I'm searching for a simple way how can I deodex any rom. My idea is to rename the *.odex file to classes.dex and put it into the apk/jar archive using a simple archive manager. Will this work? I don't like any scripts to do that, will make it manual before flashing the rom. And need I to sign the apk/jar files (I think the normal apk files need that, but what witch the framework? Need it too to be resigned?).
no use xultimate
Sent from my GT-S5830 using xda premium
sometimes scripts is better to make your life easier
btw try dsixda android kitchen. its my favorite tool/script to deodex
Hmm ok will try first the dsixda android kitchen, I see it has version for Linux. But I will understand how this script works?
EDIT
Ok, now I see, it uses baksmali and samli to deodex. Thanks to all, will test it tomorrow.
Ok, after using the dsixda android kitchen and deodexing the framework (and SystemUI.apk, not more) and flashing the ROM I got an bootloop (wipe doesn't help). Her is my logcat http://pastebin.com/DtfChnPp , can some help, what did I wrong? I have only after deodexing apply the volume mod and the Pdroid patch, I am working on this rom http://forum.xda-developers.com/showthread.php?t=1360889
try this
download xultimate, theres a thread about it somewhere. unzip it and connect your phone with the rom thats .odex http://forum.xda-developers.com/show....php?t=1360889
next
once connected click on opition 5 which will pull all the apps and framework files from your phone and will deodex all the files and store them in the folder called "done_app" and "done_framework" may take up to 15mins
next
change the folder names of the done folders to "app" and "framework" and have both folders and the rom.zip that you installed pre at hand, in your case
http://forum.xda-developers.com/show....php?t=1360889
Then open the rom.zip up with 7zip and then click on system folder and drop "app" and "framework" folders into the rom.zip so your swaping the the folders with the .odex files for the deoxed ones you just did. put it on sd-card. wipe, mount system and data and install.
correct me if im wrong.
hope this works.

[Q]make a zip folder that you can flash in cwm

I have a folder on my computer full of the apk files of apps I regularly install after flashing a new rom, I was wondering if it is possible to turn that folder into a .zip folder that is able to be flashed to the phone in CWM just like when you flash the Gapps.
I have searched around for an answer for about half an hour and can not find anything, your help would be very much appreciated, sorry if this is something very basic I'm new here.
Yeah as long as you have an Update/Updater script and the apps in the correct folder it should be doable- I once created a UOT theme, unzipped it, and added my own launcher under "apps" et voila- it worked.

[Q] How to merge mod files with rom files?

Hey guys,
I just started the long journey of android rom development/cooking using an app called Android Kitchen, and I'm looking for some help from the more experienced. I extracted a custom rom folders (for personal use), and started to edit some of the extracted files (replacing and deleting), but I'm quite lost when it comes to merging flashable .zip folders (like lockscreens and mods) with the extracted rom file.Should I copy and paste whats inside the flashable zip into the rom file? Or should I use note editor to copy what's inside the mod file itself, copy the text, and add it to the original one? I really want to add these mods through this app rather than recovery mode. And can I emulate edited roms on my computer rather than risking my phone?
Thnx...
Hi,
Quick guide basically with flash able mods look at the updater script within the flash able zip this will give you a guidance as to where each file needs to be
Once you have this you should create a folder structure mimicking that in the root of the extracted com area and add the corresponding lines to your ROMS updater script
Any more help required PM me and I'll help you out I'm noob friendly
Sent from my HTC Flyer P510e using XDA Premium HD app

Categories

Resources