How to Root the OnePlus 7 and 7 Pro

The OnePlus 7 Pro is a very root-friendly phone, as OnePlus actively encourages the root and modding community. Thus, this guide should be fairly simple to follow. Be aware that we will be unlocking your bootloader, which will perform a factory reset on your device. Make sure you back up all important data before proceeding.

Requirements:

Unlocking your OnePlus 7 bootloader

Note: If you bought your OnePlus 7 through T-Mobile carrier, you need to request an unlock token, and your device must also be SIM unlocked.

  1. Go into Settings > About Phone > Tap on Build Number 7 times to unlock Developer Mode.
  2. Go into Developer Options and toggle the switch for OEM Unlock, and also the switches for Advanced Reboot, and USB Debugging.
  3. Connect your OnePlus 7 to your PC via USB cable.
  4. Launch an ADB terminal on your computer (hold Shift + right click inside the main ADB folder and choose “Open a command window here”).
  5. In the ADB terminal, type adb devices.
  6. A prompt should appear on your OnePlus 7, asking to allow pairing with this computer. Agree.
  7. Next in the ADB terminal, type: adb reboot bootloader
  8. Your OnePlus 7 will now reboot into Fastboot Mode. In the ADB terminal, type fastboot oem unlock.
  9. On your phone, press the volume down key to select ‘Unlock the bootloader’, and power key to accept.
  10. Your OnePlus 7 will start the factory reset process, effectively erasing all of your data.
  11. After it is completed, it will boot into the Android setup wizard. Go through the process.
  12. Go back into Settings > enable Developer Mode > enable Advanced Reboot and USB Debugging switches again.
  13. If you plan on rooting with Magisk, copy the Magisk installer .zip to your external storage.

Installing TWRP on the OnePlus 7

  1. Hold the power button to bring up the reboot options, and choose Bootloader.
  2. Copy the TWRP files to your main ADB folder (both the latest .img and .zip files).
  3. Launch a new ADB terminal, and type ‘adb devices’ to pair your OnePlus 7 again.
  4. In the ADB terminal, type fastboot boot twrp-xxxxxxx.img (replace xxxxxx with the version number).
  5. Your OnePlus 7 will reboot into TWRP recovery. Go to Advanced > ADB Sideload, and swipe the bottom right bar.
  6. In the ADB terminal on your PC, type adb sideload twrp-installer-xxxxxxx.zip
  7. You’ll see the flashing process on the TWRP screen, just wait until its finished.
  8. If you’re satisfied with TWRP, go ahead and reboot. If you want to root with Magisk, follow the rest of our guide.

Rooting OnePlus 7 with Magisk

  1. In the TWRP main menu, go to Install > choose the Magisk installer .zip on your external storage.
  2. Swipe to flash, and when it’s finished, tap Reboot.
  3. Your phone may take a little while to boot up for the first time after being rooted, just leave it alone.
  4. When you’re back in the Android system, you may have a system update notification. You can also go to Settings > System > System updates, and tap “Install or Download”. When it’s finished, do not reboot.
    Magisk Manager menu
  5. Launch the Magisk Manager app, and tap the menu button.
  6. Tap Downloads, and search for “TWRP”. Download the TWRP A/B Retention Script. Do not reboot.
  7. Go back to the main Magisk menu, and tap the Install button, and Install to Inactive Slot. Now you may reboot. Your OnePlus 7 will now be Magisk rooted, with the latest system update from OnePlus!

Expert Tip

How to Root the OnePlus 7 and 7 Pro

If the issue is with your Computer or a Laptop you should try using Reimage Plus which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage by clicking the Download button below.

Download Now

I'm not interested

Close