How to root the OnePlus 13, 13R & OnePlus Open 2 with Magisk
Complete OxygenOS 15 rooting guide for OnePlus 13, OnePlus 13R, and OnePlus Open 2. Covers Snapdragon 8 Elite architecture, payload.bin init_boot extraction via payload-dumper-go, fastboot flashing, and seamless local upgrade OTA root survival.
At a glance
| Device family | OnePlus 13, 13R & OnePlus Open 2 |
| Launch software | Android 15 / OxygenOS 15 (Upgradeable to Android 16) |
| Chipset | Qualcomm Snapdragon 8 Elite (OnePlus 13 / Open 2) / Snapdragon 8 Gen 3 (OnePlus 13R) | OxygenOS 15 / ColorOS 15 |
| Root partition | init_boot.img (Extracted from payload.bin via payload-dumper-go) |
| Firmware format | Official Full OTA ZIP / Fastboot Payload Archive (download via Oxygen Updater app) |
| Bootloader unlock | Settings > Developer Options > OEM Unlocking + Fastboot (`fastboot flashing unlock`). Instant unlock on OnePlus devices with zero countdown timers or hardware fuse penalties. |
| Warranty / security impact | Unlocking 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
- Step 1. Download the stock firmware or factory image that matches your exact build (Official Full OTA ZIP / Fastboot Payload Archive (download via Oxygen Updater app)).
- Step 2. Extract
init_boot.imgfrom the package. - Step 3. Copy
init_boot.imgto the phone, open the Magisk app, tap Install → Select and Patch a File and choose it. Magisk writesmagisk_patched.imgto your Download folder. - Step 4. Copy the patched image back to your computer.
- Step 5. Reboot to the bootloader and flash it, then reboot the device.
For the full workflow and prerequisites, see the installation guide and boot image patching guide.
If the device bootloops
Hold Power + Volume Down -> Fastboot Mode -> `fastboot flash init_boot stock_init_boot.img`.
More options: fix a Magisk bootloop.
Keeping root across updates
Oxygen Updater Full Update -> Local Upgrade -> DO NOT REBOOT -> Magisk App -> Install to Inactive Slot -> Reboot.
See the OTA survival guide for the full procedure.
Related
OnePlus rooting hub
HubAll OnePlus models covered on this site.
Play Integrity Fix
ModuleRestore device integrity for Google Wallet and banking apps after rooting.
Shamiko
ModuleHide root from apps that perform detection checks.
Root method checker
ToolConfirm which partition to patch and generate the flash command.