POCO / Xiaomi Android 14 init_boot.img (GKI 2.0)

How to root the POCO X6 Pro, POCO X6, X5 Pro & X3 Pro with Magisk

How to root POCO X6 Pro (Dimensity 8300-Ultra), POCO X6, and classic POCO X3 Pro. Covers MediaTek Dimensity HyperOS unlocking, Fastboot flashing, and ViPER4Android audio DSP setup.

At a glance

Device familyPOCO X6 Pro, POCO X6, X5 Pro & X3 Pro
Launch softwareAndroid 14 (HyperOS)
ChipsetMediaTek Dimensity 8300-Ultra / Snapdragon 7s Gen 2
Root partitioninit_boot.img (X6/X6 Pro) or boot.img (X3 Pro legacy)
Firmware formatFastboot ROM (.tgz)
Bootloader unlockMi Unlock Tool (7-Day Waiting Period)
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 (Fastboot ROM (.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

Fastboot Mode -> Flash Stock init_boot / boot

More options: fix a Magisk bootloop.

Keeping root across updates

Magisk Inactive Slot OTA Installation

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.