Rooting your Android device helps to push the software and hardware capabilities of your Android devices to the maximum. Nothing has been so advantageous for the Android users, you run the root of the devices to get complete control of the device. But to get this, most devices need a custom recovery like TWRP to install the SuperSU files needed to get superuser access. To install both TWRP and SuperSU, the device bootloader must be unlocked.
On OnePlus it is much easier to unlock the bootloader than other Android smartphones. If you bought the latest flagship of 2018 and want to push the phenomenal hardware of OnePlus 6 to absolute limits, here’s how to install a custom recovery on your device but also how to run root permissions on OnePlus 6.
Do not proceed with this guide if you are not aware of what you are doing. In case of damage, we will not be held responsible.
The download files and the process for installing TWRP Recovery and the root permissions provided on this page are only compatible with OnePlus 6. Do not try it on any other device as you could damage it irremediably.
- OxygenOS 5.1.5 (updated to May 26, 2018). Update your device to OxygenOS 5.1.5 if you have not already done so. Download from here.
- Install the ADB and Fastboot driver on your PC or Mac.
- Unblock the OnePlus 6 bootloader. If you have not already done so, follow the guide below.
The ability to install a custom restore like TWRP Recovery and get root on OnePlus 6 could justify the procedure to unlock the bootloader on OnePlus 6.
Once the bootloader is unlocked, proceed with the guide to get root permissions on OnePlus 6.
How to install TWRP Recovery and run root permissions on OnePlus 6
Before proceeding, make sure you have unlocked the bootloader on OnePlus 6. If you have met all the prerequisites you can proceed with the guide. The operations to be performed are not very complex. We proceed!
- Download the following files:
- Connect your OnePlus 6 to your PC using the supplied USB cable.
- Transfer the Magisk file to your OnePlus 6. Keep the connected device.
- Rename the TWRP file from twrp-3.2.1-3-wOOSkernel.img to twrp-3213.img so that it becomes easier to type the command to install it later. Furthermore, we need the TWRP file, twrp.img, on the PC. So make sure of this.
- Make sure you have installed the ADB and Fastboot drivers to enable USB debugging and unlocked OEM on OnePlus 6.
- To enable USB Debugging and unlock OEM, go to Settings -> Phone Info -> and tap the build number 7 times until the Developer Options are activated. USB debugging and OEM unlocking are present in Settings -> Developer Options.
- Now open the Command Prompt in the folder where you have the TWRP file, twrp.img. To do this, go to the folder that contains the file, then type cmd in the address bar and press the Enter key. A command prompt window will open and its location will be inside the folder.
- Type the following in the command window we opened in the previous step to start the device in bootloader / fastboot mode:
adb reboot bootloader
- If you get a consent request on your OnePlus 6: ” Allow USB debugging “, click OK.
- Install TWRP on your OnePlus 6. To do this, run the following command:
fastboot flash boot twrp-3213.img
- Restart the phone in recovery mode. To do this, press and hold the volume down + power button together until you see nothing on the screen.
- Enter the password or PIN you are using to log in to the decryption system in recovery mode and log into TWRP Recovery.
By default, TWRP is in Chinese. To switch to English, follow this procedure:
- Press and hold the Power + Volume up key until the screen turns black and goes back. In case it turns black (the device turns off), but does not return, it leaves both keys and then resets both keys again. You will enter the fastboot mode.
- Position yourself on the recovery mode option using the volume keys, then press the power button to select it.
- Once here, enter your password if you are prompted. Then, tap Settings (third row from the right and tap the Globe icon, then click English.
You are now in TWRP Recovery. When prompted, allow you to make changes to the system by swiping your finger. At this point you have to install all the files that you have previously transferred to your smartphone. Be sure to install all the files you have transferred to OnePlus 6 in the previous steps, as shown below, otherwise your device may go into bootloop (it will not work properly).
- Now install the package to get root permissions on OnePlus 6. To do this, click Install > select the Magisk-v16.4.zip file, and confirm the installation.
- At the end of the procedure, click on Reboot System to restart the device.
Now you have successfully rooted your OnePlus 6 smartphone.
Magisk is a great way to get root permissions on Android devices, if you do not know how it works, I suggest you read this guide.