How To Guide [GUIDE] Root OnePlus 10R

Search This thread
DO THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.

Also, Please note Unlocking bootloader will wipe your data, so make sure to backup your important data.

This guide can aslo be followed to root OnePlus ACE just make sure to use OnePlus ACE's boot.img.

Prerequisites -
  • You have the latest adb, fastboot, Oneplus & MediaTek drivers installed.
  • You have the latest platform tools.

STEP #1 - UNLOCKING THE BOOTLOADER

1. Download Platform Tools, extract it in C drive.

2. Enable OEM Unlocking & UBB debugging from developers' options.

3. Connect your device to PC, and open cmd in the platform tools folder by typing cmd in the address bar.

4. Run the following command and approve USB debugging prompt on your device. [If you are not getting an output then update your adb drivers]

5. Run the below command to boot your phone into fastboot mode. After running the command you'll see a black screen with fastboot mode written in very small font.
adb reboot bootloader

6. Run the below command to check if your device is getting detected in fastboot mode or not.
[If the command is not giving any output/ is waiting for device then you need to update your fastboot drivers]

7. Run the below command to unlock the bootloader. [I know it's not 'fastboot oem unlock']
fastboot flashing unlock

8. Run the below command to reboot your device after unlocking

9. Setup the device and perform the above Step2 again.


STEP #2 - EXTRACTING BOOT.IMG

10. I have written the steps to extract the boot.img in the below xda thread. Its always recommended to extract boot.img yourself.

[10R Only] Find already extracted boot.img here:

Or follow this below guide to extract it yourself:


STEP #3 - PATCHING THE BOOT.IMG

11. Install lastest Magisk manage apk(V24 or above) and transfer the extracted boot.img into your device's internal storage.

12. Launch the Magisk Manager app and tap on the Install button next to the “Magisk is not installed” message.

13. In the next popup that appears, tap on Install followed by Select and Patch a File.

magisk.jpg


14. Now browse to the stock boot.img file and select it.

15. Magisk will now begin patching the file, which should take a few seconds only. Once that is done, you should get an “All Done” message.

16. Once that is done, head over to the Downloads folder and you should see the magisk_patched.img file.


STEP #4 - FLASHING PATCHED BOOT.IMG

17. Transfer the magisk_patched.img to the platform-tools folder on your PC.

18. Again, reboot the phone to fastboot mode and run the following command to flash the patched boot img -
fastboot flash boot magisk_patched.img

If the above command is not working, execute following commands:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img

19. Reboot the device and check the status on the Magisk manager app.
magisk2.jpg


20. Done. Cheers!!!
 

Attachments

  • adb+-+platform+tools+v30.0.5.zip
    11.6 MB · Views: 357
  • MediaTek_Preloader_USB_VCOM_Drivers_Setup_Signed.zip
    8.9 MB · Views: 416
Last edited:

rafaelgirotti

Member
Mar 31, 2016
22
2
Hi, I've replied to you in a thread and found out that my phone is an OnePlus Ace with OnePlus 10R rom. I have no problems with it except for Netflix not having widevine L1. My idea is rooting the phone with Magisk and using the safetynet module to hide it from Netflix, which I don't know if it'll work or not. But since my phone is Ace with 10R rom, I presume the bootloader is already unlocked. I've looked through the OnePlus OS Update telegram channel you provided but there's no rom for my model - CPH2411
 
Hi, I've replied to you in a thread and found out that my phone is an OnePlus Ace with OnePlus 10R rom. I have no problems with it except for Netflix not having widevine L1. My idea is rooting the phone with Magisk and using the safetynet module to hide it from Netflix, which I don't know if it'll work or not. But since my phone is Ace with 10R rom, I presume the bootloader is already unlocked. I've looked through the OnePlus OS Update telegram channel you provided but there's no rom for my model - CPH2411
If you are not getting on the Telegram channel you can download Oxygen Updater from playstore and download the firmware from there. It's a 3rd party app.
 
  • Like
Reactions: rafaelgirotti

rafaelgirotti

Member
Mar 31, 2016
22
2
If you are not getting on the Telegram channel you can download Oxygen Updater from playstore and download the firmware from there. It's a 3rd party app.
Thank you, the app worked, but turns out the bootloader was locked. If I unlocked is there a way to lock it back? And if so, will it bootlop if using this patched boot image?
 
Thank you, the app worked, but turns out the bootloader was locked. If I unlocked is there a way to lock it back? And if so, will it bootlop if using this patched boot image?
You can not lock the bootloader and keep root.

If in future you want to unroot & lock the bootloader then you can try this command. Note this will wipe all your data -
fastboot flashing lock
 
  • Like
Reactions: rafaelgirotti

rafaelgirotti

Member
Mar 31, 2016
22
2
Okay, just rooted the phone, the root works. But not for my purpose of having Widevine L1 on Netflix. Actually Netflix isn't showing on Play Store anymore, even with safetynet fix. I'm gonna unroot and lock bootloader again. Thanks for the help!
 
  • Like
Reactions: yashaswee.exe

i9o

Senior Member
Nov 14, 2008
52
6
OnePlus 10R / Ace
Are you extracting the boot.img from the exact same firmware version you are currently on?
Thank you very much, that could actually be the problem indeed.
The phone updated to the last ColorOS firmware and I wasn't able to retrieve the repository of the OS versions. So I downloaded the only one I could find, from the Telegram OnePlus ace group. It could be a slightly older version.
It's annoying that I cannot find the repository of all the versions.
The Chinese H2OS web site was nice. I couldn't find the equivalent one for ColorOS...
 
Thank you very much, that could actually be the problem indeed.
The phone updated to the last ColorOS firmware and I wasn't able to retrieve the repository of the OS versions. So I downloaded the only one I could find, from the Telegram OnePlus ace group. It could be a slightly older version.
It's annoying that I cannot find the repository of all the versions.
The Chinese H2OS web site was nice. I couldn't find the equivalent one for ColorOS...
Yeah. You need the boot img for the exact same version. And you need to patch everytime after a new update. Try searching here - https://t.me/OnePlusOTA
 

null0seven

Senior Member
Oct 1, 2013
3,574
1,491
Iasi
Not up to date but who wanti it
ColorOS & OxygenOS
 
  • Like
Reactions: yashaswee.exe

Jinnu0920

Member
Jul 24, 2023
8
2
fastboot boot boot.img command is failing
i have also unlocked the bootloader
please help
 

Attachments

  • 1690392832014.png
    1690392832014.png
    38.7 KB · Views: 9

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    DO THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF ANYTHING HAPPENS TO YOUR DEVICE.

    Also, Please note Unlocking bootloader will wipe your data, so make sure to backup your important data.

    This guide can aslo be followed to root OnePlus ACE just make sure to use OnePlus ACE's boot.img.

    Prerequisites -
    • You have the latest adb, fastboot, Oneplus & MediaTek drivers installed.
    • You have the latest platform tools.

    STEP #1 - UNLOCKING THE BOOTLOADER

    1. Download Platform Tools, extract it in C drive.

    2. Enable OEM Unlocking & UBB debugging from developers' options.

    3. Connect your device to PC, and open cmd in the platform tools folder by typing cmd in the address bar.

    4. Run the following command and approve USB debugging prompt on your device. [If you are not getting an output then update your adb drivers]

    5. Run the below command to boot your phone into fastboot mode. After running the command you'll see a black screen with fastboot mode written in very small font.
    adb reboot bootloader

    6. Run the below command to check if your device is getting detected in fastboot mode or not.
    [If the command is not giving any output/ is waiting for device then you need to update your fastboot drivers]

    7. Run the below command to unlock the bootloader. [I know it's not 'fastboot oem unlock']
    fastboot flashing unlock

    8. Run the below command to reboot your device after unlocking

    9. Setup the device and perform the above Step2 again.


    STEP #2 - EXTRACTING BOOT.IMG

    10. I have written the steps to extract the boot.img in the below xda thread. Its always recommended to extract boot.img yourself.

    [10R Only] Find already extracted boot.img here:

    Or follow this below guide to extract it yourself:


    STEP #3 - PATCHING THE BOOT.IMG

    11. Install lastest Magisk manage apk(V24 or above) and transfer the extracted boot.img into your device's internal storage.

    12. Launch the Magisk Manager app and tap on the Install button next to the “Magisk is not installed” message.

    13. In the next popup that appears, tap on Install followed by Select and Patch a File.

    magisk.jpg


    14. Now browse to the stock boot.img file and select it.

    15. Magisk will now begin patching the file, which should take a few seconds only. Once that is done, you should get an “All Done” message.

    16. Once that is done, head over to the Downloads folder and you should see the magisk_patched.img file.


    STEP #4 - FLASHING PATCHED BOOT.IMG

    17. Transfer the magisk_patched.img to the platform-tools folder on your PC.

    18. Again, reboot the phone to fastboot mode and run the following command to flash the patched boot img -
    fastboot flash boot magisk_patched.img

    If the above command is not working, execute following commands:
    fastboot flash boot_a magisk_patched.img
    fastboot flash boot_b magisk_patched.img

    19. Reboot the device and check the status on the Magisk manager app.
    magisk2.jpg


    20. Done. Cheers!!!
    1
    Hi, I've replied to you in a thread and found out that my phone is an OnePlus Ace with OnePlus 10R rom. I have no problems with it except for Netflix not having widevine L1. My idea is rooting the phone with Magisk and using the safetynet module to hide it from Netflix, which I don't know if it'll work or not. But since my phone is Ace with 10R rom, I presume the bootloader is already unlocked. I've looked through the OnePlus OS Update telegram channel you provided but there's no rom for my model - CPH2411
    If you are not getting on the Telegram channel you can download Oxygen Updater from playstore and download the firmware from there. It's a 3rd party app.
    1
    Thank you, the app worked, but turns out the bootloader was locked. If I unlocked is there a way to lock it back? And if so, will it bootlop if using this patched boot image?
    You can not lock the bootloader and keep root.

    If in future you want to unroot & lock the bootloader then you can try this command. Note this will wipe all your data -
    fastboot flashing lock
    1
    Okay, just rooted the phone, the root works. But not for my purpose of having Widevine L1 on Netflix. Actually Netflix isn't showing on Play Store anymore, even with safetynet fix. I'm gonna unroot and lock bootloader again. Thanks for the help!
    1
    I keep on not being able to find the link where to download the latest ROM.
    https://yun.daxiaamu.com/OnePlus_Roms/ this is a repository not completely up to date, since the A20 version is missing...
    https://t.me/OnePlusOTA here too last post was of A.18