Xiaomi Android 15 / HyperOS 2.0 init_boot.img (GKI 2.0)

How to root the Xiaomi 15, 15 Pro & 15 Ultra (HyperOS 2.0) with Magisk

Step-by-step Fastboot rooting guide for Xiaomi 15, Xiaomi 15 Pro, and Xiaomi 15 Ultra on HyperOS 2.0 (Android 15). Covers Snapdragon 8 Elite init_boot extraction from Fastboot TGZ packages, the HyperOS 2.0 Xiaomi Community bootloader unlock authorization process, and vbmeta verification bypass.

At a glance

Device familyXiaomi 15, 15 Pro & 15 Ultra (HyperOS 2.0)
Launch softwareAndroid 15 / HyperOS 2.0 (Upgradeable to Android 16)
ChipsetQualcomm Snapdragon 8 Elite (3nm, Oryon CPU, Adreno 830 GPU) | HyperOS 2.0 on Android 15
Root partitioninit_boot.img (GKI Architecture - Extracted from official Fastboot TGZ ROM)
Firmware formatOfficial Xiaomi Fastboot TGZ Archive (e.g. dada_global_images_*.tgz / haotian_images_*.tgz)
Bootloader unlockXiaomi Community App Unlock Permission Request (Account must be 30+ days active; daily quota releases at 00:00 GMT+8) + Mi Unlock Tool on PC (72-168 hour standard waiting timer).
Warranty / security impactUnlocking the bootloader wipes user data and may disable some hardware-backed features. It can usually be re-locked and re-flashed to stock.

Rooting method

  1. Step 1. Download the stock firmware or factory image that matches your exact build (Official Xiaomi Fastboot TGZ Archive (e.g. dada_global_images_*.tgz / haotian_images_*.tgz)).
  2. Step 2. Extract init_boot.img from the package.
  3. Step 3. Copy init_boot.img to the phone, open the Magisk app, tap Install → Select and Patch a File and choose it. Magisk writes magisk_patched.img to your Download folder.
  4. Step 4. Copy the patched image back to your computer.
  5. Step 5. Reboot to the bootloader and flash it, then reboot the device.
Flash command
fastboot flash init_boot magisk_patched.img fastboot reboot

For the full workflow and prerequisites, see the installation guide and boot image patching guide.

If the device bootloops

Recovery

Hold Power + Volume Down -> Fastboot Mode -> `fastboot flash init_boot init_boot.img` (stock init_boot from TGZ package).

More options: fix a Magisk bootloop.

Keeping root across updates

After HyperOS OTA: extract init_boot.img from updated Fastboot TGZ -> patch in Magisk -> flash via Fastboot. Or use Magisk Inactive Slot before reboot.

See the OTA survival guide for the full procedure.

Independently written from public upstream documentation. Verify every command against the official Magisk documentation and your exact device firmware before flashing. Not affiliated with the Magisk project.