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)
In the root of the extracted files place the boot.img you wanna mod.
To unpack the Kernel-
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.
Your repacked boot.img will be in out/boot.img
If you want a CWM Flashable zip,
The flashable zip will be out/GT-I9103_KERNEL.zip
Easy eh? :laugh:
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)