Unlock Bootloader, Install TWRP and Root OnePlus 7 Using Magisk [Tutorial]
One can simply not deny the fact that OnePlus phones have gained a lot of traction over the past couple of years. Although they are relatively new to the market, given their history, the one thing that cannot be denied is that that they are known for giving a tough competition to the likes of Samsung and other big boys that are running Android.
The one thing that separates OnePlus phones from other phones is unlike some of the other OEMs in the market, OnePlus actually encourages the users to unlock their bootloaders and even root their devices. After all, the company is mostly community-driven.
This means that OnePlus phones enjoy a heap of 3rd party developer support on XDA as well. With that said, if you own a OnePlus 7 and you are looking to unlock the bootloader of your device and root it, you are at the right place. The guide is also going to help you install TWRP recovery, so stay tuned.
Root OnePlus 7 Running Android 10
OnePlus devices are among the few devices that enjoy TWRP running on Android 10, which is certainly a great thing to have.
Before we continue with the unlocking and rooting process, it is better that you download the prerequisites that are there to make your rooting process much easier.
- Download Magisk Manager zip from here.
- Download and install ADB and Fastboot drivers from here.
- Download unofficial TWRP recovery installer as well as the img file from here.
Step 1: Unlocking the Bootloader
The first step will be to unlock the bootloader. OnePlus phones do not ship with an unlocked bootloader, however, the process of unlocking is fairly simple and straightforward.
It should go without saying that going ahead with the process is going to wipe your device's internal storage. So, if you have not backed up your device, now is the time.
- Go to Settings and head to About Phone.
- Once there, tap on the build number for about 7 times until you get a message that you are now a developer. The device may even ask you to enter the pin, if it does, do so
- Go back to the Settings menu again, and look for "Developer Options", tap on it.
- Now go ahead and enable USB debugging as well as OEM unlocking. While you are at it, enable Advanced reboot as well.
- Long press the power button to bring up the power menu, and select Bootloader.
- Once your phone is in the bootloader mode, go ahead and connect your device to your computer.
- Open a command prompt on your computer and type fastboot oem unlock and press enter.
- Your phone will now enter a bootloader screen, simply select the bootloader unlock option using volume keys, and press the power key to proceed.
The phone should take a few minutes and it will reboot after that. You can go through the initial setup or skip it almost entirely so you can move onto the next part as we are not done just yet.
Step 2: Installing TWRP Recovery
This is slightly tricky for some, but by following this process, you are going to install the TWRP recovery. Now do know that installing the recovery is not going to be as straightforward as it used to be, you'll be using two different files to achieve the same purpose.
- Boot into the bootloader again.
- Connect your phone to your PC.
- Now rename the "twrp-3.3.1-76-guacamole-unified-Q-mauronofrio.img" to twrp.img" and copy the zip file to your phone, as well as Magisk.zip that you downloaded.
- Open the command prompt again and type fastboot boot twrp.img.
- This will reboot your phone into TWRP recovery.
- Once it boots into recovery, you might be asked for your phone's pin or password, enter that.
- Tap on Install, scroll down and flash the TWRP zip file. Make sure you don't reboot your device. Simply press back on the navigation bar.
- Now back in the same install menu, choose the Magisk.zip that you have downloaded, and install that.
Once Magisk is installed, you can simply go ahead and reboot your device, and once you do boot up, your device will be rooted and will have TWRP recovery, as well. If you haven't set it up before, you can set it up the way you want to set it up, and you would be good to go.
Stay in the loop
GET A DAILY DIGEST OF LATEST TECHNOLOGY NEWS
Straight to your inbox
Subscribe to our newsletter