Home > OnePlus

Root OnePlus 10T via Magisk Patched Boot.img

In this guide, we will show you the steps to root your OnePlus 10T via Magisk Patched Boot.img. The newest addition to the OnePlus family has sparked a lot of debate. On one hand, you get the latest Snapdragon 8+ Gen 1 chipset with up to 16GB RAM and an impressive 150W fast charging. But on the other hand, it is the first device ever in the OEM lineup to remove the volume slider.

At this point, you shouldn’t be even surprised as to why a company would end up removing one of its USPs that was well adored by everyone, because if a company could ditch OxygenOS in favor of ColorOS, then it could go to any great lengths [though on paper it is still OxygenOS, but we all know the reality]. However, the only saving grace is the fact that these devices are quite an active player in custom development.

In this regard, once you have unlocked the device’s bootloader, you’ll be in a position to flash custom ROM, kernel, recovery, and welcome abode a plentitude of mods and tweaks. But before that, there is an important prerequisite that you need to checkmark off the list- you will have to root your OnePlus 10T via Magisk Patched Boot.img. And in this guide, we will show you how to do just that. Follow along.

Benefits and Risks of Rooting OnePlus 10T

In this guide, we will show you the steps to root your OnePlus 10T via Magisk Patched Boot.img. The newest addition to the OnePlus family has sparked a lot of debate. On one hand, you get the latest Snapdragon 8+ Gen 1 chipset with up to 16GB RAM and an impressive 150W fast charging. But on the other hand, it is the first device ever in the OEM lineup to remove the volume slider. At this point, you shouldn't be even surprised as to why a company would end up removing one of its USPs that was well adored by everyone, because if a company could ditch OxygenOS in favor of ColorOS, then it could go to any great lengths [though on paper it is still OxygenOS, but we all know the reality]. However, the only saving grace is the fact that these devices are quite an active player in custom development. In this regard, once you have unlocked the device's bootloader, you'll be in a position to flash custom ROM, kernel, recovery, and welcome abode a plentitude of mods and tweaks. But before that, there is an important prerequisite that you need to checkmark off the list- you will have to root your OnePlus 10T via Magisk Patched Boot.img. And in this guide, we will show you how to do just that. Follow along.  Benefits and Risks of Rooting OnePlus 10T Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Fox Magisk Modules, Substratum Themes, Xposed Framework via LSPosed, Viper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do come in with a few risks as well. To begin with, rooting requires you to unlock the bootloader- which will wipe of all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered [FIXED] which will result in your inability to use banking apps [FIXED]. So if all that's well and good, then let's get started with the steps to root your OnePlus 10T via the Magisk patched boot.img file. How to Root OnePlus 10T via Magisk Patched Boot The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn't be held responsible in case of a thermonuclear war, your alarm doesn't wake you up, or if anything happens to your device and data by performing the below steps. STEP 1: Install Android SDK First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide. STEP 2: Enable USB Debugging and OEM Unlocking Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking. STEP 3: Unlock Bootloader on OnePlus 10T After this, you will have to unlock the bootloader on your OnePlus 10T. Do keep in mind that this process will wipe off all the data and might nullify the device's warranty as well. So if that's all well and good, then refer to our comprehensive guide on How to Unlock Bootloader on OnePlus 10T STEP 4: Download OnePlus 10T Firmware Next up, download the stock firmware for your 10T from the OnePlus official website or from your firmware collection page. I have converted payload.bin to Fastboot ROM for a few firmware versions and uploaded them. If they match your build number, then you may directly download the required files from this guide. As a result, you wouldn’t need to download the entire firmware or extract its payload bin file. In other words, you may easily skip the next step. STEP 5: Extract OnePlus 10T Payload.bin Once you have downloaded the firmware, extract it to any convenient location on your PC. Doing so shall give you a couple of files, including the payload.bin. For the unaware, OnePlus packs all its partition IMG files inside this payload.bin file, so you will have to extract it first. For that, you may refer to our guide on How to Extract payload.bin and get the stock boot image file. Once the extraction is complete, transfer the boot.img and vendor_boot.img files to your device. On the other hand, transfer the vbmeta.img to the platform-tools on your PC. STEP 6: Patch OnePlus 10T Boot and Vendor_Boot via Magisk Download and install the latest Magisk APK onto your device. Then launch it and tap on the Install button next to Magisk. After that, choose 'Select and Patch a File', navigate to the stock boot.img file, and select it. Then tap on the Let's Go button situated at the top right. The boot.img file will now be patched and placed under the Downloads folder on your device. Once done, again tap on Install next to Magisk and choose Select and Patch a File. After that, select the vendor_boot.img file and tap on the Let's Go button situated at the top right. It will now patch this file as well. Once done, this patched file will also be present in the Downloads folder So transfer both these files (Patched Boot.img and Patched Vendor_Boot.img) to the platform-tools folder on your PC. We will now be using both these files to root your OnePlus 10T via Magisk. STEP 7: Boot OnePlus 10T to Fastboot Mode Connect your device to the PC via USB cable. Make sure USB Debugging is enabled. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt. Type in the following command in the CMD window to boot your device to Fastboot Mode adb reboot bootloader Now type in the below command to verify the Fastboot Connection fastboot devices If you get a device ID followed by the fastboot keyword, then the connection stands successful. You may now proceed to the next step to root your OnePlus 10T via Magisk Patched Boot. STEP 8: Flash Patched Boot, Vendor_Boot, and Stock Vbmeta | Root OnePlus 10T To begin with, make sure that the patched boot, patched vendor_boot, and the stock vbmeta.img files are present inside the platform-tools folder. Then rename the patched boot file to magisk_patched.img and patched vendor_boot to magisk_patched-vb.img Now open the CMD window inside this platform-tools folder and type in the below command to disable verity by flashing vbmeta: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Next up, execute the below command to flash the patched vendor_boot: fastboot flash vendor_boot magisk_patched-vb.img After that, boot your device using the patched boot.img file: fastboot boot magisk_patched.img Now launch the Magisk app and tap on the Install button next to Magisk. Then select Automatic Installation (or Direct Installation) and wait for the process to complete. Once done, tap on the Reboot button that appears at the bottom right. Your device will now boot to the rooted OS That's it. These were the steps to root your OnePlus 10T via Magisk. If you have any queries concerning the aforementioned steps, do let us know in the comments section. We will get back to you with a solution at the earliest. How to Fix OnePlus 10T Stuck in Bootloop after Root If your OnePlus 10T is stuck in a bootloop, then you just need to flash the stock boot, stock vbmeta, and stock vendor_boot files using the below commands and your device will boot to the OS without any issues. fastboot flash boot boot.img fastboot flash vbmeta vbmeta.img fastboot flash vendor_boot vendor_boot.img fastboot reboot How to Hide Root from Apps via Magisk DenyList [Android 12/13] How to Remove Navigation Bar Gesture Pill on Android 12 Without Root Guide to Pass SafetyNet on Rooted Android 12/Android 13 How to Pass SafetyNet test after installing Xposed or EdXposed

Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Fox Magisk Modules, Substratum Themes, Xposed Framework via LSPosed, Viper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do come in with a few risks as well.

To begin with, rooting requires you to unlock the bootloader- which will wipe of all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered [FIXED] which will result in your inability to use banking apps [FIXED]. So if all that’s well and good, then let’s get started with the steps to root your OnePlus 10T via the Magisk patched boot.img file.

How to Root OnePlus 10T via Magisk Patched Boot

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

[UPDATE: Some users were able to obtain root via the conventional method of just using the boot.img file, without the need for vbmeta and vendor_boot. I have updated the guide to reflect the same wherever required].

STEP 1: Install Android SDK

install adb platform tools windowsFirst and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.

root oneplus 10 pro

So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Bootloader on OnePlus 10T

After this, you will have to unlock the bootloader on your OnePlus 10T. Do keep in mind that this process will wipe off all the data and might nullify the device’s warranty as well. So if that’s all well and good, then refer to our comprehensive guide on How to Unlock Bootloader on OnePlus 10Troot oneplus 10 pro

STEP 4: Download OnePlus 10T Firmware

Next up, download the stock firmware for your 10T from the OnePlus official website or from our firmware collection page. I have converted payload.bin to Fastboot ROM for a few firmware versions, extracted the boot.img, vendor_boot.img and vbmeta.img files and uploaded them. So if they match your build number, then you may directly download the required files from that linked guide [and hence skip the next step]. Or else, you will have to carry out the instruction listed in the next step.

root oneplus 10t

STEP 5: Extract OnePlus 10T Payload.bin

Once you have downloaded the firmware, extract it to any convenient location on your PC. Doing so shall give you a couple of files, including the payload.bin.

root oneplus 10 pro

For the unaware, OnePlus packs all its partition IMG files inside this payload.bin file, so you will have to extract it first. For that, you may refer to our guide on How to Extract payload.bin and get the stock boot image file.

root oneplus 10 pro

Once the extraction is complete, transfer the boot.img and vendor_boot.img files to your device. On the other hand, transfer the vbmeta.img to the platform-tools on your PC. [UPDATE: Some users have reported that just using the boot.img file would do, there’s no need for vbmeta and vendor_boot].

root oneplus 10 pro

STEP 6: Patch OnePlus 10T Boot and Vendor_Boot via Magisk

[UPDATE: Some testers have reported that only patching the boot.img will do, there’s no need to patch the vendor_boot.]

  1. Download and install the latest Magisk APK onto your device.
  2. Then launch it and tap on the Install button next to Magisk.
  3. After that, choose ‘Select and Patch a File’, navigate to the stock boot.img file, and select it.
    root oneplus 10 pro
  4. Then tap on the Let’s Go button situated at the top right.
  5. The boot.img file will now be patched and placed under the Downloads folder on your device.
    root oneplus 10 pro
  6. Once done, again tap on Install next to Magisk and choose Select and Patch a File.
  7. After that, select vendor_boot.img file and tap on the Let’s Go button situated at the top right.
    root oneplus 10 pro
  8. It will now patch this file as well. Once done, this patched file will also be present in the Downloads folder
    root oneplus 10 pro
  9. So transfer both these files (Patched Boot.img and Patched Vendor_Boot.img) to the platform-tools folder on your PC. We will now be using both these files to root your OnePlus 10T via Magisk.

STEP 7: Boot OnePlus 10T to Fastboot Mode

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    root oneplus 10 pro

  4. Now type in the below command to verify the Fastboot Connection
    fastboot devices

    Root OnePlus Nord 2 5G via Magisk

  5. If you get a device ID followed by the fastboot keyword, then the connection stands successful. You may now proceed to the next step to root your OnePlus 10T via Magisk Patched Boot.

STEP 8: Flash Patched Boot, Vendor_Boot, and Stock Vbmeta | Root OnePlus 10T

UPDATE: Users have reported that just using the patched boot.img file should do. There’s no need to flash vbmeta and patched vendor_boot [in order words, you may skip points 3 and 4 below].

  1. To begin with, make sure that the patched boot, patched vendor_boot, and the stock vbmeta.img files are present inside the platform-tools folder.
    root oneplus 10t
  2. Then rename the patched boot file to magisk_patched.img and patched vendor_boot to magisk_patched-vb.img
  3. Now open the CMD window inside this platform-tools folder and type in the below command to disable verity by flashing vbmeta:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  4. Next up, execute the below command to flash the patched vendor_boot:
    fastboot flash vendor_boot magisk_patched-vb.img
  5. After that, boot your device using the patched boot.img file [also read FAQ at the end]:
    fastboot boot magisk_patched.img

    root oneplus 10t

  6. Now launch the Magisk app and tap on the Install button next to Magisk.
  7. Then select Automatic Installation (or Direct Installation) and wait for the process to complete.
    root oneplus 10t
  8. Once done, tap on the Reboot button that appears at the bottom right. Your device will now boot to the rooted OS

That’s it. These were the steps to root your OnePlus 10T via Magisk. If you have any queries concerning the aforementioned steps, do let us know in the comments section. We will get back to you with a solution at the earliest.

FAQ: Fastboot Boot Boot.img vs Fastboot Flash Boot Boot.img

Instead of directly flashing the patched boot via fastboot flash boot magisk_patched.img, we first temporarily booted it via fastboot boot magisk_patched.img and then used the Direct Install method of Magisk. While a tad longer, but it is the recommended method for the OnePlus device. This is because by first temporary booting via the patched file, we could check if everything is working well and good.

root oneplus 10t

If it doesn’t, then you just need to do a simple reboot and the patched boot will be replaced by stock and your device will be booted to the OS. On the other hand, if everything works well and good, then you could permanently flash the patched boot via the Direct Install method. In earlier times, we had the MSM Tool in our hand so even if anything goes wrong, we could easily unbrick the device. But since that is no longer the case [thanks Oppo], it is always better to be safe than sorry.

How to Fix OnePlus 10T Stuck in Bootloop after Root

If your OnePlus 10T is stuck in a bootloop, then you just need to flash the stock boot, stock vbmeta, and stock vendor_boot files using the below commands and your device will boot to the OS without any issues.

fastboot flash boot boot.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor_boot vendor_boot.img
fastboot reboot

Share:
  • Sadique thanks for this awesome post. I currently have build number CPH2417_11_A.07 kernel version 5.10.81-android12-9-00001-gd2462d0ef799-ab8821700 and I’m guessing the boot.img, vendor boot.img and vbmeta.img you have so helpfully provided here will not work, wondering if you or anyone could point me toward where to get these, happy to extract from .zip>.bin myself if needed. Thanks a million in any case.

  • Slavekve

    Hi, I’m from the Czech Republic, I bought a OnePlus 10T 5G. I need Root. I read the tutorials from Sadique Hassan. I would like to ask if I can use the boot.img, vendor boot.img and vbmeta.img files for the Indian version that I downloaded to Root the European version of FW? Or can I download the FW or these files for the EU version somewhere? Thank you

    • Sadique Hassan

      Hi Slavekve, unfortunately, that might not work. You should always flash the same boot.img, vendor boot.img and vbmeta.img images that correspond to the current firmware version and region that is currently installed on your device. If you could let me know the complete version number, I will find the firmware and upload it for you.