If I pull a system dump from any stock phone, can I just replace the system folder in the working folder (from a ROM that I already had) in my Kitchen with the system folder that I pulled from the stock phone, then add root permissions? Will I then have to build another boot.img? Will this even work, or am I barking up the wrong tree?
Related
Hello, I am a developer for the Evo and i was curious how i would install a custom kernel (Netarchy-Toastmod) into my rom (Tha Boss Rom. So far i copied all the files into the appropriate folder but what do i do with the boot image. I tried flashing with the files in place but it did not take. Any advice?
KyleCole90 said:
Hello, I am a developer for the Evo and i was curious how i would install a custom kernel (Netarchy-Toastmod) into my rom (Tha Boss Rom. So far i copied all the files into the appropriate folder but what do i do with the boot image. I tried flashing with the files in place but it did not take. Any advice?
Click to expand...
Click to collapse
You probably should ask this in the EVO Android Development forum. However, since I'm here, I'll do my best.
The boot.img should be at the root of the folder structure.
../NewFolder/system
../NewFolder/META-INF
../NewFolder/boot.img
You then have to zip the CONTENTS of ../NewFolder and sign the resulting zip with something like EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=Extras).
Or you can just load the original ROM into dsixda's kitchen in the original_update folder (http://forum.xda-developers.com/showthread.php?t=633246), select '1' to create a work folder, copy the files into the correct locations, and then select '99' to zip and sign the ROM. It will then be in the OUTPUT_ZIP folder. The kitchen walks you through these steps really well, if you read the prompts.
Then flash the ROM.
in http://forum.xda-developers.com/showthread.php?t=1058809
It says: "Download, unzip to your rom folder, restart twice.."
Is this just for that ROM or will it work for all?
What exactly do I do?
After unzipping, there are several levels of folders. which level goes where and does "rom folder" mean "Android" folder?
Download, unzip, copy "root" & "update" & "zImage" to your Android folder, reboot twice, have fun !
ROM folder = "Android" (or whatever your ROM's folder is called)
Just copy the folders and the file to the top level of your folder .
And a Kernel (technically) should work with all ROMs.
Your sd card should look like this:
G:/SDCARD/Android/root/
G:/SDCARD/Android/update/
G:/SDCARD/Android/zImage
Well it depends on your build, what build are you using?
because some builds have different path than Android, and others don't support putting new files in the folder build as far as I can remember.
so some require you to put these files manually using ADB push commands, or root explorer and apps of the like.
Not all builds support different kernels, so make sure you check if the kernel you want is compatible with the build you have.
and make a backup before you do anything or you might regret it.
manual kernel installation means:
copying the zImage to the build folder to replace the original, run android then push/copy-paste kernel files each to it's respective folder on the device. it's not that hard to be done.
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...
So i pulled stock system folder and deodexed, zipaligned and signed.
Wanted to try flash it by twrp. So i copied one of custom roms meta inf folder but i get sysmapfile error.
Created certificates with signapk but there is no update-binary and update-script file. So i searched and learnt sth about update-script but what is exactly update-binary do? How can i edit for my rom or create one? can i use one of them with all devices rom?
Btw editing update-script didnt solve my sysmapfile error. Can someone guide me about meta-inf folder? All other articles just tells using another roms meta inf but it simply didnt work for me.
The update-binary file is different from one ROM to the next. For example, a CyanogenMod binary will be different from one in a custom ROM based off stock. In general, look at http://wiki.cyanogenmod.org/w/Doc:_About_Edify for an explanation of what the binary is. You will need to pull a binary from a custom ROM based off stock, preferably from the same version of Android.
I am using Android Image Kitchen from this thread, and I don't understand what I'm doing.
Basically, what I'm trying to accomplish, is editing this ROM so that it is compatible with my sm-G386W (ROM is for the sm-G386T). The recents fix doesn't work on my phone (security settings still crashes), so I got the keymaster files from my old ROM on my phone (kitkat), and pasted them after I flashed the new ROM, all using FX File Explorer. Fixed the recents issue perfectly.
So now I want to edit the CM 12.1 ROM to put the keymaster files right on there, and that is where I get lost.
I am able to successfully unpack the boot.img that I got from the flashable zip for the CM 12.1 ROM, but when I go to \ramdisk\system, the system folder is blank. Where in the world can I find system\vendor\firmware\keymaster and the keymaster files so I can replace them?
Like I said, I'm new, so I'm sure I'm missing something obvious. If someone can point me in the right direction on how to properly edit a custom ROM, that would be great!
Problem Solved. I use MTK THAI Development Tools unpacker/packer. Can be downloaded directly here.