I am making an customized version of Stock ROM so I decompiled the 4 sparse files and did the modifications I wanted to,so now I have so make it a Flashable Zip to install it For that process I have to Make the System in System.new.DAT like CM or System.IMG or I can push the System directory directly in the Zip to sign.
Any attempt to help will be appreciated.
Related
Is there a way to have a backup.sh in system/addon.d that will restore the file after a flash when the system is installing the same file? Say for instance on a personal zip I have it install a a mixer_path to the system and a module to etc., I modified a gapps backup package to keep the two modified files on a dirty flash. The module which was not part of the rom zip will stay with a dirty flash but the mixer_path that is modified from the system zip will get overwritten. I hope this makes sense.
Hey guys,
I am trying to repack the stock kernel as I have made a change to the ramdisk (ro.secure=0) I wasn't able to split the boot.img using split_bootimg.pl as it could not find android magic in the header so used flashtool to extract the kernel.elf file which gave me 3 files.
These were "kernel.elf.Image" "kernel.elf.ramdisk.gz" and "kernel.elf.3"
I have managed to extract and make the changes to the ramdisk and recompile it but im stuck at merging these 3 files back into the flashable kernel.elf file any help would be much appreciated
Sonic5317 said:
Hey guys,
I am trying to repack the stock kernel as I have made a change to the ramdisk (ro.secure=0) I wasn't able to split the boot.img using split_bootimg.pl as it could not find android magic in the header so used flashtool to extract the kernel.elf file which gave me 3 files.
These were "kernel.elf.Image" "kernel.elf.ramdisk.gz" and "kernel.elf.3"
I have managed to extract and make the changes to the ramdisk and recompile it but im stuck at merging these 3 files back into the flashable kernel.elf file any help would be much appreciated
Click to expand...
Click to collapse
Maybe you should PM @DooMLoRD
I'm sure he will help you. He will surely reply to your message when he'll have some time.
Hi, I have an android device with a custom recovery, I also have the ROM package and I can flash the system directory using the recovery, and I can modify the contents of the ROM package and then flash it, I want to add to this ROM GApps, I've downloaded the GApps package,
It has the folder /system and META-INF that includes the installation script updater-script.sh, The ROM package also have updater-script.sh.
1. Is if it possible to install GApps on to this ROM by copying the contents of updater-script.sh of GApps into the updater-script.sh of the ROM package and copying the contents of /system of GApps to /system of the ROM package?
2. Should I be worried about ROM's META-INT signature files? (CERT.RSA,CERT.SF,MANIFEST.MF)
Thanks.
Hi, I have a device with custom recovery that can update ROM using update files, I got a working update file (zip contains system/ and META-INT/), When I'm unzipping it, add files to it and zip it again then flashing it, I get update failed, I even get update failed when I'm just unzipping and zipping without adding files or touching the content in the zip. Does anyone know why it might happen?
Thanks.
Hello,
please I need a zip file system for my android car6.0.1, to make hard reset.
There are 5 files in the zip file
318a2e70-44bf-11e1-b1cf-000c29ba27c0
system.img
u-boot-skip.bin
uImage
uramdisk.img.
Kindest reagrds
I'm trying to make a flashable zip for TWRP to install a Lenovo Z6 Pro stock ROM. I create the .zip file with Boot, System and Vendor (I'd add the rest of the firmware later). Boot and Vendor are installed but system.img is not installed. I know that I could use .dat files but I'm specially interested on using the image files.
I took as template another ROM which uses .IMG files too with the function 'package_extract_file'. I just replaced the .IMG files making sure that the names are exactly the same, and also I'm sure that my system.img is raw. When I try to install the flashable zip from recovery it prompts the uiprint "Patching system unconditionally" but nothing is installed and skips directly to patch the vendor partitions which is successfully patched.
Any help or clue will be much appreciated. Thanks in advance.