Repack system files to system.img - General Questions and Answers

1.how to repack system folder to system.img
Or
2.how to repack a update.zip,coz pre
Viously I repacked but cwm says installation aborted.
"Use dsixda android kitchen to create update.zip and sign it.........."
-cwm says installation aborted & twrp says "script succeded [0] and not install.
----
i want edit rom lollipop cyanogenmod 12, but no system folder with files.
only system.new.dat, how to edit? or only convert to img, extract img, modify, ¿repack..?..
help

Related

[Q] URGENT HELP in making a flashable Stock Rom extracted from HTC RUU.

I am beginner to android ROM development. i am at learning stage. I want to make a stock rom of HTC Explorer in a zip format so that it can be flashable through CWM. Here is the steps i am following:
1. I extraced rom.zip file from HTC Explorer RUU.
2. I placed it in original_update folder in android kitchen.
3. I set up a working folder from android kitchen menu and i got these files and folders in WORKING folder
boot.img
system
META-INF
4. I selected the option 99 in kitchen menu that is Building a ROM.
5. After successful completion i got a zip file in OUTPUT folder.
6.Then, i copied that update.zip file from OUTPUT folder to my sd card.
7. Now, i boot into recovery, and try to install zip from sd card but it shows an error like this
Error in sd-card/update.zip
(Status 0)
Installation Aborted.
Now i dont understand why it is giving me an error even i have not touched any file from the working folder.
am i doing it wrong? pls help me.

Need Help Zipping ROM

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.

Modified framework-res.apk bootloop peroblem

I've compiled system.img then recompiled framework-res.apk for adding the new language (Arabic) to it. I translated the English string.xml and other necessary language files, then added to compiled res folder within framework-res.apk.
During compiling and recompiling of framework-res.apk I didn't have any problem I tried to add modified changes to my device in some ways. In some ways, I FAILED Flashing and in others, i caused into the boot loop and dm-verity verification failed during wipe cache data and wipe partitions.
Some ways i used....
1- Recompile the framework-res.ap and sign it then put into system/framework/ Then recompiled system.img and put it into stock ROM then I tried to flash it with ODIN and show me FAIL.
2- Tried to install system.img from TWRP recovery in zipping format also failed
3- Tried to use fast boot and push to framework-res.apk to system/framework/ path also failed
4- Tried to overwrite framework-res.apk by using root explorer after reboot caused into a boot loop. Then try to wipe cache partition and data but show the dm-verity verification failed
Please guide me how I can modify the framework-res.apk and add new language files and install or add it to stock ROM without any problems like boot loop

zip file system for my android car6.0.1

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

[Q] Installing System raw image with flashable .zip

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.

Categories

Resources