How to Root OnePlus with Magisk & Fastboot
Complete rooting walkthrough for OnePlus smartphones (OnePlus 12, 12R, 11, 10 Pro, 9 Pro, 8T, 7 Pro, and Nord Series) on OxygenOS and ColorOS. Learn how to extract stock images from payload.bin, use the safe fastboot boot temporary testing method, and retain root during official OTA system updates.
OnePlus Technical Rooting Profile
- Supported Models: OnePlus 12 / 12R, OnePlus 11, OnePlus 10 Pro / 10T, OnePlus 9 / 9 Pro, OnePlus 8 / 8T / 8 Pro, OnePlus 7 / 7 Pro, OnePlus Nord Series.
- Flashing Tool: Standard Android Fastboot CLI.
- Target Partition:
init_boot.img(OnePlus 11 / 12) orboot.img(OnePlus 10 and earlier). - Hardware Security Impact: Zero Hardware Fuse Penalty. Unlocking does not permanently trip hardware fuses and does not void hardware warranty in North America and European regions.
Extracting Stock Boot Images from OxygenOS payload.bin
OnePlus packages full system updates inside an uncompressed Google OTA payload archive named payload.bin. You can extract your stock boot image using open-source Python tools:
The fastboot boot Temporary Testing Advantage
Unlike Samsung devices where you must flash partitions permanently, most OnePlus bootloaders support booting a kernel directly from PC memory:
Step-by-Step Installation Walkthrough: OnePlus Fastboot
Step 1: Unlock Bootloader
- Open Settings -> About Device -> Version and tap Build Number 7 times.
- Go to Settings -> Additional Settings -> Developer Options and toggle on OEM Unlocking and USB Debugging.
- Reboot to Fastboot Mode:
adb reboot bootloader. - Run:
fastboot flashing unlockand confirm on screen using Volume Down and Power. (Wipes device data!)
Step 2: Patch Image with Magisk App
Step 3: Flash Patched Image
How to Install OxygenOS OTA Updates Without Losing Root
- Open Magisk App -> Tap Uninstall Magisk -> Select Restore Images (DO NOT REBOOT).
- Install the official OxygenOS system update via Settings or Local Update.
- When installation completes, DO NOT tap the System Restart button.
- Return to the Magisk App, tap Install, and choose Install to Inactive Slot (After OTA).
- Tap Reboot in the Magisk App.
OnePlus Troubleshooting: Fixing Qualcomm CrashDump Mode
If your OnePlus smartphone displays "Qualcomm CrashDump Mode" due to an incompatible kernel or bad module:
- Hold down Power + Volume Up for 15 seconds to force power off.
- Immediately hold Power + Volume Down to enter Fastboot Mode.
- Flash your original stock
boot.imgorinit_boot.img:fastboot flash init_boot stock_init_boot.img - Run
fastboot rebootto restore your phone to a working state.
Supported Models & Dedicated Rooting Guides
Select your exact hardware model below to view verified partition patching, firmware extraction, and Fastboot flashing instructions:
OnePlus 13, 13R & OnePlus Open 2
2024–2025
SoC: Qualcomm Snapdragon 8 Elite (OnePlus 13 / Open 2) / Snapdragon...
Target Partition: init_boot.img (Extracted from payload.bin via payloa...
OnePlus 12, OnePlus 12R & OnePlus Open
2024–2025
SoC: Qualcomm Snapdragon 8 Gen 3 / Snapdragon 8 Gen 2
Target Partition: init_boot.img (inside payload.bin)
OnePlus Nord 4, Nord 3 5G, Nord CE 4 & CE 3 Lite
2023–2024
SoC: Snapdragon 7+ Gen 3 / Dimensity 9000 / Snapdragon 782G
Target Partition: init_boot.img (inside payload.bin)
OnePlus 11 5G & OnePlus 11R
2023
SoC: Snapdragon 8 Gen 2 / Snapdragon 8+ Gen 1
Target Partition: init_boot.img (GKI Architecture)
OnePlus 10 Pro & OnePlus 10T
2022
SoC: Snapdragon 8 Gen 1 / Snapdragon 8+ Gen 1
Target Partition: boot.img (10 Pro) / init_boot.img (Android 13+)
OnePlus 9, 9 Pro & OnePlus 9RT
2021
SoC: Qualcomm Snapdragon 888 5G
Target Partition: boot.img (Legacy GKI Architecture)
Related Guides & Next Steps
Explore interconnected tutorials, module guides, and developer references related to this topic:
Extract payload.bin Firmware
GuideExtract stock init_boot and boot images from OxygenOS OTA zips.
magiskboot CLI Reference
ToolUnpack, test, and patch boot headers with Magisk's binary tool.
Universal Install Guide
InstallUniversal step-by-step Fastboot flashing tutorial.
Verified against official upstream release Magisk v30.7 on OnePlus OxygenOS & ColorOS (Android 13–16). Primary reference: topjohnwu/Magisk on GitHub.