11-02-2016, 05:28 PM
This is a step-by-step guide on how to use carliv image kitchen to unpack & repack boot.img or recovery.img. It will come in handy for those who wish to port a custom recovery
Requirements
- Download Carliv Image Kitchen depending on your PC's architecture (32 or 64 Bit)
- Windows PC
Steps to unpack and repack a recovery image (recovery.img) and boot image (boot.img)
Follow the steps below to use Carliv Image Kitchen in unpacking & repacking recovery or boot
How to unpack boot.img
- Extract the CarlivImage Kitchen zip file into a folder on the PC
- Copy the boot.img into the boot-resources folder
- Go back to the root folder and double-click carliv.bat
- Type b then press Enter
- Type 1 then press Enter
- Type 1 then press Enter
- Wait till unpacking is done then press Enter
- You should find the unpacked boot.img in the boot folder
How to repack boot.img
- Go back to Carliv Image Kitchen, type 2 then press Enter
- Wait till repacking is done then press Enter
- You should find the repacked boot image in the output folder. You can rename it to boot
How to unpack recovery.img
- Copy the recovery.img into the recovery-resources folder
- Go back to the root folder and double-click carliv.bat
- Type r then press Enter
- Type 1 then press Enter
- Type 1 then press Enter
- Wait till unpacking is done then press Enter
- You should see the unpacked recovery.img in the recovery folder
How to repack recovery.img
- Go back to Carliv Image Kitchen, type 2 then press Enter
- Wait till repacking is done then press Enter
- You should see the repacked recovery image in the output folder. You can rename it to recovery
Important Notice
- Ensure to name the file appropriately i.e as either boot.img or recovery.img
- This will work for -verified.img files, just remove the -verified portion from the file name
- You might encounter an error unpacking signed images i.e boot-sign.img or recovery-sign.img. For such images, you first need to unsign before unpacking
- For images in .bin format, simply rename the extension from .bin to .img
- There are many other tools to unpack and repack Android images so feel free to explore
Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.