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.
- How to force download Android 10 on T-Mobile OnePlus 6T
- How to force download Android 10 on OnePlus 7 Pro
Download the patched-boot image file and canary Magisk manager file for below
- Patched boot image file: Download the file as per your current software version and region
- Canary Magisk Manager
Optional, if required:
Instructions to Root OnePlus 7T without TWRP
- 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.)
- Enable USB Debugging on your OnePlus 7T by heading over to Developer Options inside Settings.
- Connect your OnePlus 7T to PC using a USB cable.
- 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.
- 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.
- Once your OnePlus 7T boots into fastboot mode, run this command to install the downloaded patched boot image file.
fastboot boot <patched boot image>
- Restart your OnePlus 7T by issuing the following command:
- Once booted into Android, install Magisk Manager using its APK file. (Here’s how to install an app from the APK file.)
- Open the Magisk app. open its Settings, and make sure that the ‘Update channel’ is selected as ‘Stable’ here.
- In Settings, go to Advanced. Make sure that these settings are turned ‘On’:
- Preserve force encryption
- Preserve avb 2.0/dm-verity
- 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.
- 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
- Before installing a firmware update, make sure you disable all Magisk modules.
- Head over to Settings > System update and tap on the Settings icon on the top right corner.
- Click on ‘Local upgrade‘ and select the OTA .zip file needed for installing the update.
- Once selected, click ‘Install‘.
- The update will take a few minutes to install.
- Do NOT reboot.
- Open Magisk Manager.
- Inside Magisk Manager, head over to Install > Install > Direct Install.
- In the same app, click on Install/Install/Inactive Slot.
- Manually reboot the OnePlus 7T.
Let us know if you need any help in rooting the OnePlus 7T.
Source: XDA (mauronofrio)