[OnePlus 10 Pro] Steve0007:
Magisk Variant	Stable / Beta / Canary
Release	Official
Android / OOS	OOS 11 and above
Maintainer	topjohnwu
Project Link	GitHub
Zygisk	No
DenyList	No
MagiskHide	Yes
Modules Repo	Yes
Download Link	GitHub

This tutorial will :

provide you with all the steps to root your Oneplus 10 Pro (with your bootloader already unlocked)

provide you with all the steps to unlock your Oneplus 10 Pro bootloader

provide you with all the steps to keep root during/after an OTA (system update)

provide you with a lot tricks if you have troubleshooting questions

provide you with a lot of solutions of you have softbricked your Oneplus 10 Pro

provide you with all the ways if you want to bring back your Oneplus 10 Pro to unroot & lock back the bootloader

STEPS to root your device

:

I recommand to update first your device with all OTA available using Settings/updates before unlocking & rooting it.

Root your Oneplus 10 Pro (with Bootloader already unlocked)

​

Step 1 - Booting temporarily root​

1. Connect your phone to your pc and boot it into fastboot mode. You can leave it connected throughout this guide.

2. First, enter the following command in the PowerShell/Terminal window to ensure that your PC can communicate with the phone over the fastboot interface.

"fastboot devices"

The command should return your phone’s unique ID. In case it doesn’t, then make sure that you have the required USB drivers installed and restart your PC. You can also use TOOL ALL IN ONE, not officially updated to Oneplus 10 Pro but once install go to Others options and go to Install drivers.

3. Code once in fastboot mode:

"fastboot boot magisk_boot.img" (use the "magisk_boot.img" from the above zip file)

Change to the exact name "magisk_boot.img" of the boot that has been patched in the above zip file

"fastboot reboot"

You could flash this boot.img, but it's safer to temporarily boot from it without overwriting your existing image in case anything went wrong along the way. The effect is that you still get root access without modifying your device, and then you can use the much safer Magisk direct install option, which has some safeguards in place.

By booting with the patched image, you now have temporary root access. To make it permanent open Magisk app.

a. Select the Install option.

b. Use Direct Install (Recommended) to root your internal boot.img

Step 2 - Reboot and your device is now rooted !​

Unlock the Bootloader and Root the OnePlus 10 Pro

​

Step 1 – Enable OEM unlocking​

You need to enable OEM unlocking, which can be done by enabling the developer settings on your device. To do so, go to Settings > About phone and repeatedly tap Build number. Developer options will then be added to your system settings, where you can then enable OEM unlocking.

Step 2 – Unlock your phone

Set up adb, reboot into your bootloader, and run the following command. Yes, it’s really that simple!

"fastboot oem unlock"

You can reboot into the bootloader by switching on USB debugging, setting up adb and fastboot and typing “adb reboot bootloader”. Alternatively, you can hold volume down and the power button to boot up your device. USB debugging is also located under the developer options.

Unlocking the bootloader wipes your device :

Step 3 - Booting temporarily root​

1. Connect your phone to your pc and boot it into fastboot mode. You can leave it connected throughout this guide.

2. First, enter the following command in the PowerShell/Terminal window to ensure that your PC can communicate with the phone over the fastboot interface.

"fastboot devices"

The command should return your phone’s unique ID. In case it doesn’t, then make sure that you have the required USB drivers installed and restart your PC. You can also use TOOL ALL IN ONE, not officially updated to Oneplus 10 Pro but once install go to Others options and go to Install drivers.

3. Code once in fastboot mode:

"fastboot boot magisk_boot.img" (use the "magisk_boot.img" from the above zip file)

Change to the exact name "magisk_boot.img" of the boot that has been patched in the above zip file

"fastboot reboot"

You could flash this boot.img, but it's safer to temporarily boot from it without overwriting your existing image in case anything went wrong along the way. The effect is that you still get root access without modifying your device, and then you can use the much safer Magisk direct install option, which has some safeguards in place.

Step 4 - Install magisk​

Install the latest Magisk Canary apk on your phone. Open it and:

a. Select the Install option.

b. Use Direct Install (Recommended) to root your internal boot.img

Step 5 - Reboot and your device is now rooted !​

Keep Root and OTA updates

​

How to update OTA and KEEP ROOT

It is advised to disable or even uninstall all magisk modules to be safe!

How: go to Magisk application/modules/disable &/or uninstall

Option 1: With full OTA Access (BA/DA) :

Step 1 - Get & install the full OTA zip file​

1. Go to System-Update or update get the OTA using Oxygen Updater

2. Tap OK when the message that you are rooted appears

3. Tap "Download and install" or local update if OTA from Oxygen Updater

4. Wait until you are prompted to reboot - DO NOT REBOOT NOW!

5. Open Magisk Manager

a. Select the Install option.

b. Use Install to inactive slot

Step 2 - Reboot and enjoy your device still rooted with latest OTA installed !​

​

Option 2: with incremental OTA Access (AA) :

​

Step 1 - Get back your original boot image​

1. open the Magisk Manager application, select “Uninstall”, and choose the “Restore Images” option. Magisk will restore your phone’s stock boot image that was backed up during the rooting process.

2. Now go to “Settings” → “System” → “System updates” and select “Download and Install Now” to install the OxygenOS OTA update on your rooted OnePlus 10 Pro

3. Open Magisk Manager

a. Select the Install option.

b. Use Install to inactive slot

Step 2 - Reboot and enjoy your device still rooted with latest OTA installed !​

Troubleshooting questions

:​

Before reporting any trouble, follow the steps below in order to have GooglePlay certified, keep L1 Widevine & pass CTS :

Step 1 - Magisk Settings​

1. Once rooted, in Magisk setting, select MagiskHide and Systemless host

2. In MagiskHide select GMS, Netflix, Google Store & any application you may find sensitive to Magisk detection

For Netflix, go to Settings, Appplications & select Netflix:

a-force stop the app

b-clear cache and storage

c-hide the App in magisk

d-restart phone to recovery and clear cache

If you can't install/update Netflix install the latest Netflix from apkmirror manually (like any other apk file)

Hide everything under Google play services and store.:

3. Reboot

Step 2 - Clear caches​

Clear caches of Google Play Service & Play Store

Go to Settings, Applications & select Google Play Service, delete data

Go to Settings, Appplications & select Play Store, delete data

Step 3 - Clear cache from Recovery​

Reboot into Recovery and select wipe CACHE. Recovery boot to be activated from Settings/System/developpers options/advanced restart. Once in Recovery select WIPE & WIPE CACHE Only !

Step 4 - Safetynet Fix​

Install Safetynet Fix Magisk Module

Phone Bricked ?

:​

Five options (ranked from the easiest to tougher method):

Option 1 - Reboot to Safe mode & remove Magisk modules​

Option A

: Safe Mode

1. Hold power until it goes off

2. Boot and wait for the bootloader warning

3. Hold vol up and down until boot animation

4. Once it's booted just reboot again and you're done

Now on boot all magisk modules are disabled

Option B

: thru adb command

1. Code with phone connected with USB debugging on (from developpers options):

"adb wait-for-device shell magisk --remove-modules"

2. reboot

Option 2 - Get back the original boot.img​

If your device can go to fastboot mode:

Flash back the original boot.img (w/o magisk) and reboot

Code once in fastboot mode:

"fastboot flash Original_boot.img" (use the "Original_boot.img" from the above zip file)

Change to the exact name "Original_boot.img" of the boot that has been posted in the above zip file

"fastboot reboot"

Option 3 - Flash back full OTA file​

If you can still go to Settings:

Flash back the OTA RUU full package and reboot

Option 4 - Change the active slot​

If your device can go to fastboot mode:

"fastboot getvar current-slot"

This will tell you what (corrupted) slot you are currently booting from (either a or b).

Then just change to the other slot with the following command:

"fastboot --set-active=a"

or

"fastboot --set-active=b"

Then reboot with the command:

"fastboot reboot"

Option 5 - Wipe data in Recovery mode or fastboot command​

Option A

: If your device can still go to Recovery mode (ie thru fastboot mode: "fastboot reboot recovery")

From Recovery Wipe data and reboot

Option B

:

Code once in fastboot mode:

"fastboot- w"

Option 6 - MSM​

If none of the above works then go for MSM tool

Option 1 to 4 would normally not alter your personal data, applications and own set-up

Option 5 & 6 will wipe your personal data and applications

Return your phone to unlock and unroot?

:​

​

Option 1 : Original Boot & relock with fastboot command

​

Step 1 - Restore orignal boot.img​

Option A

: Thru Magisk App

Open Magisk App on your phone. You will see the Uninstall button in the app. Just click on Uninstall button.

Then you need to click on Complete Uninstall. Your phone will be rebooted automatically.

Option B

: Thru fastboot mode

Flash back the original boot.img (w/o magisk) and reboot

Code once in fastboot mode:

"fastboot flash Original_boot.img" (use the "Original_boot.img" from the above zip file)

Change to the exact name "Original_boot.img" of the boot that has been posted in the above zip file

"fastboot reboot"

Once booted, remove Magisk application

Option C

: Flash the current or latest full OTA zip twice. Why twice, to ensure both slot have the latest update flashed with original boot.

Step 2 - Relock the bootloader​

1. Execute the following command to proceed for bootloader unlocking: "fastboot oem lock"

2. A verification window will appear on your mobile device asking to confirm the action. Just highlight “Relock Bootloader”using volume buttons and hit the power button to confirm.

3. The phone will initialize to relock the bootloader. It will take some time to reboot after resetting the whole phone into a locked stage.

4. Your device is now locked again !

Option 2 : MSM Tool

​

MSM tool will relock your boaloader !​

Option 1 & 2 will wipe your personal data and applications

Do any process described at your own risk. None Xda none the author are responsible for your own choice to unlock & root your Device.

Attachments​

OnePlus-8T-Rooting-fastboot-devices-command.jpg

15.9 KB · Views: 1,964

OnePlus-8T-Install-OTA-After-Rooting.jpg

62.9 KB · Views: 2,086