How to root OnePlus 11 via Magisk Patch

Want to root your OnePlus 11 and unlock a lot of extra customization and features? This article will show you how to. OnePlus is popular with developers and enthusiasts since they still permit bootloader unlocking in 2023.

There are several benefits to this that developers can take advantage of, and this guide will show you how you can root your OnePlus 11 and achieve granular control over your device. There are two ways to do this, and we’ll explain both methods.

Benefits & disadvantages of OnePlus 11 root

Rooting your OnePlus 11 will enable you to unlock its full potential. You can change your phone’s entire design and theme and potentially set higher or lower clock speeds for your chips. Granular control of hardware of this sort is difficult on the latest phones, but rooting still has many benefits.

You have full control over the kernel, enabling you to use many extra features. You can use the CPU profile of your choice and also install any mod you like, including Android Runtime Hooking platforms. Many themes are available if you root your device, including Magisk Modules. There could be many reasons to root your phone.

There are some issues with rooting your phone. It’ll fail the SafetyNet Check, so you can’t run any banking apps. It will also fail Google’s certification in the Play Store, so you have to sideload a lot of apps.

Also Read: How to Install Android 14 on OnePlus 11

Rooting requires you to unlock your bootloader. This will void your warranty, and you will also lose your entire data on your phone in the process. You can still fix the Safety Net problems with HideMagisk, though this adds multiple extra steps. You can also hide root from apps using Magisk DenyList. A final disadvantage is that rooting a new phone could be risky if you don’t follow the steps properly.

Method 1: How to root OnePlus 11 via Patched Init_Boot

Note: We recommend taking a complete backup of all your essential data before you proceed. This process will wipe the entirety of the data on your phone. We’re also not responsible for any issues like boot loops or soft bricking that may occur, and you’ll have to proceed at your own risk.

1. Download and install Android SDK:

Android SDK Platform Tools are essential for this process. First, install this on your system. Here are the links for Windows, macOS, and Linux. You have to add ADB to the path and install the fastboot drivers. This Android SDK tool is official, and it’s from Google. We don’t recommend using any other risky options. Once the installation finishes, extract it to a convenient location on your system.

2. Enable USB Debugging and OEM Unlocking on your OnePlus 11:

This is necessary for your PC to recognize your phone. It’s also essential to enter Fastboot mode and unlock the bootloader. Tap on the build number seven times to enable developer mode if you haven’t already. Then, open Developer Options and enable OEM Unlocking and USB Debugging.

3. Unlock the bootloader:

This process will wipe all your data. To boot your OnePlus 11 into Fastboot mode, type adb reboot bootloader in the CMD window and type fastboot devices to verify the connection. Then, install the necessary fastboot drivers (Android Bootloader Interface). Type fastboot flashing unlock in the CMD window, and confirm this on your phone using the volume button. Your device could take a while to boot.

4. Download the firmware for the OnePlus 11:

Verify whether your build number matches and download the firmware files from The below links.

ColorOS A.23


Oxygen OS A.23 CPH249 EU


Oxygen OS A.22 [IND/GLO/EU/USA]


ColorOS 13.0.0 A.10 China


ColorOS 13.0.0 A.09 China


ColorOS 13.0.0 A.08 China


OnePlus 11 OxygenOS 13.0.0 A.07 IND

Download Link 1
Download Link 2
Download Link 3

OnePlus 11 ColorOS 13.0.0 A.07

ColorOS China Server 1: Full 
ColorOS China Server 2: Full 
ColorOS China Server 3: Full
ColorOS China Server 4: Full 
ColorOS China Server 5: Full 

OnePlus 11 ColorOS 13.0.0 A.05

ColorOS China Server 1: Full 
ColorOS China Server 2: Full 
ColorOS China Server 3: Full 
ColorOS China Server 4: Full 
ColorOS China Server 5: Full

If it doesn’t, you have to extract the files since all the partition IMG files are in the payload.bin file. You can do it with Payload Dumper on your PC or the Payload Dumper tool directly on your phone. Both methods require the use of Python.

5. Transfer the file and patch:

Transfer the init_boot to your device. Now, install the Magisk application on your device. Launch it and choose “Select and patch a file.” Find the stock init_boot.img file and select it. Tap on “Let’s go” and wait for it to patch the file. You will now find it in the downloads of your device. Transfer it to the platform-tools folder on your PC or laptop. Then, rename the file to magisk_patched_boot.img and confirm the action,

6. Boot the OnePlus 11 into Fastboot mode:

Connect your PC to your phone via a USB C cable. Make sure USB Debugging is on. Now, open CMD on your PC. Type adb fastboot reloader in the command window and hit enter. Type fastboot devices to verify the connection.

7. Finally, root using Magisk Patched init_boot.img:

Type fastboot flash init_boot magisk_patched_boot.img in the command window to flash the init_boot.img. Finally, type fastboot reboot, and your phone will now boot with root. In some rare cases, init_boot does not flash to both slots. Use the below two commands to manually flash to both partitions. First, type fastboot flash init_boot_a magisk_patched_boot.img and then type fastboot flash init_boot_b magisk_patched_boot.img 

Method 2: How to root OnePlus 11 via Magisk Patched Boot, vendor_boot, vbmeta

Repeat until the 4th step above.

1. Get Boot, vbmeta, and Vendor_boot:

After the extraction, transfer the boot.img and the vendor_boot.img files onto your smartphone and then transfer the vbmeta.img to the platform-tools on your PC.

2. Patch via Magisk:

Download the latest APK of Magisk on your smartphone. Launch it and tap on the install button next to Magisk. You will see the “Select and patch a file” option. Find the stock boot.img file and choose that. Tap the Let’s Go button, which will patch the file. You will now find it in the Downloads folder. Tap install once again and choose the vendor_boot.img file, and repeat the steps to patch this file as well. You will now find this in the Downloads folder as well. Transfer Patched boot.img and Patched Vendor_Boot.img to the platform-tools folder on your PC. Now, we can root the phone using these two files.

3. Boot into Fastboot mode:

Connect your OnePlus 11 to a PC using a USB cable. Make sure USB debugging is on. Open the Command prompt, type adb reboot bootloader, and type fastboot devices to verify the connection. The connection is successful if you get a device ID.

4. Flash the files:

Make sure all the necessary files (patched boot, patched vendor_boot, and the stock vbmeta.img) are present in platform-tools, then rename the patched boot file to magisk_patched.img and rename the patched vendor_boot to magisk_patched-vb.img

5. Use command prompt:

Open CMD and type fastboot –disable-verity –disable-verification flash vbmeta vbmeta.img to disable verity. This will flash vbmeta. Next, Type fastboot flash vendor_boot magisk_patched-vb.img to flash the patched vendor_boot. Now, boot your device with the patched boot.img file and then type fastboot boot magisk_patched.img

6. Use the Magisk app:

Open the Magisk app and tap on the Install button, then choose the automatic installation option and wait for it to finish. Tap on the reboot button that appears at the bottom once it’s done, and then your phone should boot into the rooted OS.

What’s the difference between Fastboot Boot Boot.img and Fastboot Flash Boot Boot.img

This is recommended to test whether everything is working fine on your device. It’s not compulsory, but it’s safer than directly installing via Magisk. We first temporarily boot it via fastboot boot magisk_patched.img to prevent any mishaps, and if you skip this step, your device will be patched after a simple reboot. You can permanently flash this patched boot if everything works fine.

Is your phone stuck in a boot loop?

If your phone is stuck in a boot loop, then flashing the stock boot commands will make your device normally boot into the OS. Try the below codes, and see if they help.

List of codes to try:

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

fastboot flash vbmeta_a vbmeta.img

fastboot flash vbmeta_b vbmeta.img

fastboot flash vendor_boot_a vendor_boot.img

fastboot flash vendor_boot_b vendor_boot.img

fastboot flash init_boot_a init_boot.img

fastboot flash init_boot_b init_boot.img

After you have tried any of these, enter the below code to boot:

fastboot reboot

Leave a Comment