Android Image Kitchen Tool (AIK)

osm0sis

Magisk KernelSU APatch
Jul 24, 2025
Updated

Module Info

  • Source Code View Repository
  • Tags
    #Android Image Kitchen #AIK #Boot Image #Recovery Image #Ramdisk #Android Modding

About this module

Android Image Kitchen (AIK) is osm0sis's toolkit for unpacking Android boot and recovery images, editing their kernel or ramdisk contents, and rebuilding the image while retaining the original format where possible. It is intended for developers and experienced modders, with packages for Android, Windows, and Linux.

A Practical Image Workspace

AIK separates an image into editable components and records the information required to assemble a replacement image.

Unpack Images

The unpack script extracts the kernel, ramdisk, compression details, command line, and other detected image metadata into a working directory.

Edit Components

Once unpacked, developers can adjust ramdisk files or replace supported components without manually reconstructing every image parameter.

Repack Consistently

The repack script reuses recorded properties such as ramdisk compression and supported image signatures to produce a new image for testing.

Typical Workflow

  1. Start with an image made for the exact device and software build. Keep an untouched copy outside the AIK directory.
  2. Run the platform's unpack script and confirm that it completes without an unsupported-format error.
  3. Make focused changes inside the extracted ramdisk or replace only the component you intend to test.
  4. Run the repack script, review its output, and use the newly generated image rather than overwriting the original backup.

Choose the Correct Package

PackageEnvironmentPrimary use
AIK MobileRooted Android or compatible recoveryWork directly on an Android device using a terminal.
AIK WindowsWindows PCUse the included batch scripts and Windows toolchain.
AIK LinuxLinux PCUse the shell-based workflow and Linux binaries.