ACC Logo
FASTBOOTFlashingCaution

fastboot flash init_boot <init_boot.img>

Flash init_boot partition (Android 13+)

Caution RequiredCorrupt init_boot images will cause immediate bootloops.
What It Does

Flashes the dedicated init_boot partition introduced in Android 13+ devices (e.g. Pixel 7/8/9, Galaxy S23/S24) for Magisk / KernelSU root.

Command Syntax
Terminal
$fastboot flash init_boot <init_boot.img>
Usage Examples
$fastboot flash init_boot magisk_patched_init_boot.img
OFFICIAL COMPANION GUIDE

Flashing Generic System Images (GSI) / Project Treble?

Learn how to enter fastbootd, erase and resize logical dynamic partitions, and disable dm-verity with the complete handbook by @mkr-infinity:

Open GSI Flashing Guide
Prerequisites & Requirements
  • Android 13+ GKI device with init_boot partition
  • Unlocked bootloader
Related Commands
Found an error or missing flag for fastboot flash init_boot <init_boot.img>?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity