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
Related
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から送信される。
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
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.
Hi guys,
just a quick question for you all. Are flashable zip files universal across all devices?
In other words, if I had a zip file that replaced the framework-res.apk, would it work on any phone or tablet? I know the app wouldn't, but would the zip file?
Thanks!
depends on the updater- script
So if I had a script that just copied the contents of the system/app folder from the zip file to the phone, that would work? I don't want to do anything complicated, it's mainly for replacing apk's.
is it possible to flash only certain files contained in an APK? For instance if I want to modify a XML file in systemUI.apk, can I just flash that file or do I have to flash the whole systemUI.apk containing the modified file?
folder structure within flashable zip:
single file: \system\app\systemui.apk\res\values\drawable.xml
vs
whole apk: \system\app\systemui.apk
holtenc said:
is it possible to flash only certain files contained in an APK? For instance if I want to modify a XML file in systemUI.apk, can I just flash that file or do I have to flash the whole systemUI.apk containing the modified file?
folder structure within flashable zip:
single file: \system\app\systemui.apk\res\values\drawable.xml
vs
whole apk: \system\app\systemui.apk
Click to expand...
Click to collapse
You can't just flash anything in an apk file... But you can replace a file in an add-on using morph or vr theme... For more info search...
And if you want any reference to learn how vr theme works then you can see my atomods... In its theming section...
Thank you...
Send from my Galaxy far far away nexus...