OnePlus Android 11 / 12 / 13 / 14 boot.img

How to root the OnePlus 9, 9 Pro & OnePlus 9RT with Magisk

Fastboot rooting guide for OnePlus 9 and 9 Pro on Android 14. Covers Snapdragon 888 boot.img patching, MSM Download Tool recovery, and custom kernel setups.

At a glance

Device familyOnePlus 9, 9 Pro & OnePlus 9RT
Launch softwareAndroid 11 / 12 / 13 / 14
ChipsetQualcomm Snapdragon 888 5G
Root partitionboot.img (Legacy GKI Architecture)
Firmware formatFull OTA Zip (payload.bin)
Bootloader unlockFastboot (`fastboot flashing unlock`)
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 (Full OTA Zip (payload.bin)).
  2. Step 2. Extract boot.img from the package.
  3. Step 3. Copy 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 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 -> Flash stock boot.img

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.