Recovery Root Tips

How to root OnePlus 7T

Rooting a device comes with a lot of benefits, even if it has its harms too. For example, once you root the device, you will be able to customize it visually and add features to make it an altogether different experience, but this also means that you will lose payment services like Google Pay, etc. Here’s how to root OnePlus 7T, and for that, we will first need to install TWRP recovery and then flash Magisk root package to gain root access.

By the end of September, OnePlus announced the OnePlus 7T, hoping to lessen the gap between the OnePlus 7 and OnePlus 7 Pro. The OnePlus 7T is already a great device on paper but to make the most out of the Snapdragon 855 Plus chipset and 90Hz refresh rate display, you might need to access some root privileges.

RELATED

Downloads

Download the patched-boot image file and canary Magisk manager file for below

Optional, if required:

Instructions to Root OnePlus 7T without TWRP

  1. Ensure you have unlocked the bootloader of your OnePlus 7T. If not, click here to know how to unlock the bootloader of a OnePlus device. (T-Mobile OnePlus 7T owners can also unlock the bootloader. You can then convert it into the Global variant by installing the global ROM, and then root using the guide below.)
  2. Enable USB Debugging on your OnePlus 7T by heading over to Developer Options inside Settings.
  3. Connect your OnePlus 7T to PC using a USB cable.
  4. Open the folder containing the patched boot image on your PC. Launch a command window in Windows (Terminal on macOS) in that folder. Command Windows can be opened by typing ‘cmd’ in the address bar of the folder’s window and pressing enter. Mac users can use Spotlight to search and open Terminal and drag the folder with the boot image into the Terminal window.
  5. Run the following command to boot the OnePlus 7T into bootloader/fastboot mode:
    adb reboot bootloader

    If you get a permission dialogue on phone to “Allow USB debugging”, click OK.

  6. Once your OnePlus 7T boots into fastboot mode, run this command to install the downloaded patched boot image file.
    fastboot boot <patched boot image>
  7. Restart your OnePlus 7T by issuing the following command:
    fastboot reboot
  8. Once booted into Android, install Magisk Manager using its APK file. (Here’s how to install an app from the APK file.)
  9. Open the Magisk app. open its Settings, and make sure that the ‘Update channel’ is selected as ‘Stable’ here.
  10. In Settings, go to Advanced. Make sure that these settings are turned ‘On’:
    • Preserve force encryption
    • Preserve avb 2.0/dm-verity
  11. To install root using the Magisk Manager app now, do this:
    • Open the Magisk app.
    • Tap on Install.
    • Tap on Install Magisk.
    • Tap on Direct Install.
  12. Restart your OnePlus 7T once more. Your device is now rooted and will retain root privileges even when you boot it again.

How to install an update and keep root

  1. Before installing a firmware update, make sure you disable all Magisk modules.
  2. Head over to Settings > System update and tap on the Settings icon on the top right corner.
  3. Click on ‘Local upgrade‘ and select the OTA .zip file needed for installing the update.
  4. Once selected, click ‘Install‘.
    • The update will take a few minutes to install.
    • Do NOT reboot.
  5. Open Magisk Manager.
  6. Inside Magisk Manager, head over to Install > Install > Direct Install.
  7. In the same app, click on Install/Install/Inactive Slot.
  8. Manually reboot the OnePlus 7T.

That’s all.

Let us know if you need any help in rooting the OnePlus 7T.


Source: XDA (mauronofrio)

Avatar

A die-hard Liverpool FC fan, Kapil is a big fan of Batman, Android and street Cricket. In that order, probably. Email: kapil@theandroidsoul.com