split-zimage
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!
Usage
split-zimage.py boot.img-zImage
Intended workflow
- Unpack the boot.img with AIK-Linux
- Feed boot.img-zImage to this script
- Decompress 2_kernel_image.gz
- Do further modifications
Limitations
- Supports GZIP compression only