The OnePlus 6 is the latest flagship device from OnePlus, released just this month of May. It sports a 6.28” screen at 1080×2280 resolution, the Snapdragon 845 with Adreno 630 chipset, 8GB of RAM, 128GB/256GB internal storage versions, and a 16MP primary camera.
Rooting the OnePlus 6 is a fairly easy process – we’ll be using ADB to unlock the bootloader, and then flashing TWRP for recovery, and Magisk for root. Follow the guide closely, and you won’t have any problems.
Warning: Unlocking your bootloader will perform a factory reset on your device – make sure you backup all important personal data before proceeding with this guide!
Throughout this guide, we may refer to specific tasks (enter Fastboot mode, enter Recovery mode, etc). This is how those are performed on the OnePlus 6:
- Fastboot / Bootloader Mode: Turn off the OnePlus 6, then hold Volume Up + Power until the Fastboot screen appears.
- Enter Recovery Mode: Turn off the OnePlus 6, then hold Volume Down + Power until the OnePlus logo appears.
Preparing to Root the OnePlus 6
- Begin by installing ADB tools and the OnePlus USB drivers on your PC, then download the TWRP and Magisk files and place them inside your main ADB folder.
- On your OnePlus 6, go to Settings > About Phone > tap Build Number 7 times, until Developer Mode is confirmed as being activated.
- Now go to Settings > Developer Options > enable both USB Debugging and OEM Unlocking. Also enable “Advanced Reboot”.
- Now turn off your OnePlug 6, and boot into Fastboot Mode (Volume Up + Power or via the Advanced Reboot menu).
- Connect your OnePlus 6 to your PC via USB, then navigate to your main ADB installation folder, hold Shift + Right click, and choose “Open Command Window Here”.
- When the ADB terminal opens, type: adb devices
- This should display your OnePlus 6’s serial number in the ADB terminal – if not, you may need to troubleshoot your USB driver installation, USB connection, or ADB installation.
- If your device was successfully displayed, go ahead and type: fastboot oem unlock
- You will be greeted with an Unlock Bootloader warning, use Volume keys to select “Yes” and power to confirm. Your OnePlus 6 will reboot and proceed to wipe all data, and when its finished, you will be rebooted into the Android system.
- When the phone is back in the Android system, re-enable the Developer Options using the same method as earlier, and also re-enable USB Debugging / OEM Unlocking / Advanced Reboot.
- Now boot your OnePlus 6 into Fastboot / Bootloader mode, and in the ADB window, type: fastboot flash recovery (file name).img
- This should flash the TWRP recovery image. Now in ADB type: adb push (magisk file).zip /sdcard/
- When its complete, you should disconnect your OnePlus 6 from your PC, then manually boot into Recovery Mode.
- When your OnePlus 6 boots into TWRP, you can either swipe right to enable modifications which will give you a system root – this can usually be detected by apps that block out rooted phones. If you want a systemless root (does not modify the /system partition) then proceed without swiping.
- Tap on the Install button in TWRP main menu, and choose the Magisk .zip that we pushed to your SD card earlier. Swipe to confirm the flash, and then Reboot System.
- The first time you reboot your phone after rooting it may take a while – the device is rebuilding its Dalvik Cache and some other processes, so just leave your phone alone until it completely boots into the Android system.
- If something goes wrong and you find yourself in a boot-loop during any of these steps, and you need to revert back to a fully stock / factory settings, you can flash this latest stock ROM:OOS 5.1.3:
* Updated Android Security Patch To May
* Preloaded OnePlus Switch Application
* Added Configuration for Notch Show/Hide
* Camera – Support Super Slow Motion (720p at 480fps and 1080p at 240fps)
* Camera – Support Quick Capture in Portrait Mode
* Gallery – Support more actions for recently deleted files