Anyone who has had an Android device knows this well. We have always tried to maximize the software and hardware capabilities of our Android devices. Nothing was so advantageous for the Android community that rooting the devices to get complete control of the system. But to achieve this, most devices need custom recovery like TWRP to be able to install the SuperSU files needed to get access as a superuser. To install both the TWRP and SuperSU, the device's 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 the root permissions on OnePlus 6.
Do not proceed with this guide if you are not aware of what you are doing. In the event 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 may damage it irreparably.
- OxygenOS 5.1.5 (updated 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.
- Unlock the OnePlus 6 bootloader. If you have not already done so, follow the guide below.
Once the bootloader is unlocked, proceed with the guide to get root permissions on OnePlus 6.
How to install TWRP Recovery and execute root permissions on OnePlus 6
Before proceeding, make sure you have unlocked the bootloader on OnePlus 6. If you have met all the pre-requisites 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 device connected.
- Rename the TWRP file from TWRP-3.2.1-3-wOOSkernel.img in 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 drivers ADB and Fastbootthat you have enabled USB Debugging and OEM unlocked on OnePlus 6.
- To enable USB Debugging and do OEM unlocking, go to Settings -> Phone Information -> and touch the build number 7 times until the Developer options will not be activated. USB debugging and OEM unlocking can be found in Settings -> Developer options.
- Now open the Command Prompt inside the folder where you have the TWRP file, twrp.img.To do this, go to the folder containing the file, then type cmd in the address bar and press the button Submit. A command prompt window will open and its position will be inside the folder.
- Type the following in the command window that we opened in the previous step to boot 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 the 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 button together volume down + power buttonuntil you no longer see anything on the screen.
- Enter the password or PIN you are using to access the decryption system in recovery mode and log in to TWRP Recovery.
By default, TWRP in Chinese. To switch to English, follow this procedure:
- Hold the Power key + Volume up until the screen turns black and comes back. If it turns black (the device turns off), but does not return, leave both keys and then press both keys again. You will enter fastboot mode.
- Position yourself on the recovery mode option using the volume keys, then press the power button to select it.
- Once here, enter the password if requested. Then tap Settings (third row from the right and tap the Globe icon, then English.
You are now in TWRP Recovery. When prompted, allow changes to be made to the system by swiping your finger. At this point you have to install all the files 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 on Install> select the file Magisk-v16.4.zip, and confirms the installation..
- At the end of the procedure, click on Reboot System to restart the device.
You have now successfully rooted your OnePlus 6 smartphone.
Magisk is a great way to get root permissions on Android devices, if you don't know how it works, I suggest you read this guide.