This is for all ROM cooks, Kernel devs or anyone who wants to make quick changes to the Kernel or ramdisk without wasting much time!
I made or rather put together some scripts for-
All this happens in just one click
- Unpack boot.img
- Repack boot.img
- Make CWM flashable signed zip
Its very easy to use. Download the tools (At the end of the post)
Extract them..
In the root of the extracted files place the boot.img you wanna mod.
Then,
To unpack the Kernel-
Code:
./extract.sh
Your zImage will be in kernel/zImage
Your ramdisk will be in ramdisk folder (unpacked)
Make the necessary changes.. whatever you wish.
Then to pack up everything and get output as boot.img , run.
Code:
./pack_boot.sh
Your repacked boot.img will be in out/boot.img
OR.
If you want a CWM Flashable zip,
Code:
./pack_cwm.sh
The flashable zip will be out/GT-I9103_KERNEL.zip
Easy eh? :laugh:
DOWNLOAD
On a side note,
What in contains:
- My scripts
- mkbootimg, unpackbootimg and mkbootfs binaries (Compiled from latest CM Source)
- signapk.jar and necessary files (To Sign Zip file)