This script splits extracted zImage into parts. After splitting it's possible to obtain the Linux kernel binary by decompressing the '2_kernel_image.gz' file.
Insipred by DeckerSU's unpack.sh and actually runs much faster than it!
split-zimage.py boot.img-zImage
- Unpack the boot.img with AIK-Linux
- Feed boot.img-zImage to this script
- Decompress 2_kernel_image.gz
- Do further modifications
- Supports GZIP compression only