How To Repack system to system.img - Nexus 5X Q&A, Help & Troubleshooting

I am creating an ROM based on stock & after adding the ROM to Zip the Zip measured 900MB + can anyone tell me an way to pack System to System.img

Related

[Q] How to integrate a custom kernel in a custom rom?

Hey Rom chiefs
With Dsixda`s kitchen I`ve created a lot of roms for myself with some apps added or removed, integrate the Theme which I made with UOT kitchen, changed the camera app, the launcher, and so on
My two problems:
1.How do I integrate the google apps in Cyanogen mod?
2. How do I change the kernel?
->How I tried it in 2 different Roms:
Extract the Rom using the kitchen\extract the Zimage from the Kernel\rename it to boot.img and changed it with the boot.img from the rom
BUT. After I flashed the Rom(without errors) I had bootloops. What did I do wrong?
Thanks in advance
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Big THX
Will try it this weekend
Thanks
:good: Thanks ! for the superb guide .
TY
Andy said:
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Click to expand...
Click to collapse
Thank you very much.
Helped alot when making my rom.:highfive:
Gapps on almost uneaque device
Andy said:
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Click to expand...
Click to collapse
Im trying to get gapps on the moverio BT-300. (Google app support ecosystem specifically i can side load some apps) I have root via magisk but all the code is so exclusive to this device im looking for pointers on where to begin. All installers ive tried so far cause bootloops. I think its due to the aditional moverio sdk on top of android 5.1. Im only an amateur and im probably the closest thing to a dev working on the device for like the 6 of us on my thread so any advice as to where to start is really appreciated!! Thank you xda community

[Q] Extracting .apk from nandroid backup?

Ok so I've cooked my own ROM using dsixda's kitchen based on the stock euro 2.13.401.3 RUU.
I added apps2sd functionality and got it all working lovely, but have added a few apps after first boot - so there is data and SD cards ext2 partition.
I want to update the ROM to include as standard these .apk's so I followed the guide in the kitchen thread to unpack system.img and boot.img using the kitchen from a nandroid backup (CWM latest version)
My question is to pull the additional apps into my working ROM do I just copy and paste from the sd-ext.ext2.tar and place in /system/app or are there other files I need to copy over from the unpacked system.img?
Or is this just a complicated/convoluted way of doing things and is it better to rebuild my ROM from scratch before I flash to the phone and instigate apps2sd?
Many thanks
BT
Anyone shed any light please???
BT

[Q] Error in compressing a rom folder

i have decompressed a rom to modify a file in it, and i have compressed the folder again but while intalling it in recovery i get bad zip file.
Is there something i should do while compressing the folder in order to make it work in recovery?

[Q]About "All flashable Zips"

Hello I'm Just Curious about those Flashable Zips .Why is it that this zip contains "update-binary" and "updater-script" inside /meta-inf and what is the use of it ..
Because if ever i deleted some important Files in the /system which causes bootloop on my phone .I'm just planning to Flash a zip which contain the file that i deleted to make my phone okay again ..

Modified .img files from stock system zip pack.

I need unpack the .img system flie to modified apps, and compilate it back. What should I need to do it? Every programs on windows/linux like ext4unpacker or something can't do this ... so can anyone help me? I have build custom rom based on stock G3 V20F.

Categories

Resources