arzam16 / split-zimage

Script for extracting gzipped Linux kernel binary out of zImage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Unpack the boot.img with AIK-Linux
  2. Feed boot.img-zImage to this script
  3. Decompress 2_kernel_image.gz
  4. Do further modifications

Limitations

  • Supports GZIP compression only

About

Script for extracting gzipped Linux kernel binary out of zImage

License:GNU General Public License v3.0


Languages

Language:Python 100.0%