If you are avid modder or at least flash custom ROMs on your Android, then you are familiar with TWRP – a popular custom recovery for Android. Team Win Recovery Project or TWRP is touch-based custom recovery for Android. It was initially developed for Google Nexus devices, but now it is one of the most used and preferred custom recoveries for any Android device. The GUI TWRP offers is intuitive compared to other recoveries on the market. TWRP offers easy solutions for users trying to perform a NANDroid backup, or flash a file. This guide will focus on installing the TWRP recovery on your fresh OnePlus 7 Pro. Here’s how to install TWRP on OnePlus 7 Pro.
Install TWRP on OnePlus 7 Pro
Just like any other Android device, OnePlus 7 Pro also comes with a stock recovery. If you are a normal user, this stock recovery will be enough. But if you want to do more than just wipe cache and format phone, you will need a custom recovery. This is where TWRP comes in. Stock recovery may be useful at times, but their functionality is severely limited. If you are thinking about flashing a custom ROMs using it, you can forget about it as stock recovery won’t allow you to do that. Flashing TWRP recovery will give you power and control over the recovery environment. So how do you flash TWRP on your OnePlus 7 Pro? Let’s find out.
Step 1: Unlock Bootloader
The first and foremost thing you need to do is unlock the bootloader of you OnePlus 7 Pro. This is a crucial step. You cannot bypass this step as unlocking bootloader will allow you to install custom and unofficial firmware.
If you haven’t unlocked it yet or do not know how to get started, we have an article explain exactly that. Follow the link below.
Step 2: Get TWRP Recovery Image
After you’ve successfully unlocked the recovery of your OnePlus 7 Pro, you’ll need to download a copy of the TWRP recovery image for your device from their official site. This image file will be flashed later and is what will replace your device’s stock recovery with a more advanced TWRP custom recovery. Follow this link to download the TWRP recovery image.
Step 3: Enable Advanced Reboot (Optional but Recommended)
This is an optional step to make your work easier. You can get into TWRP by pressing a combination of buttons or through a command from your computer, but this way is way easier and hassles free. Although this is an optional step, I highly recommend you to perform it. You can enable a feature called Advanced reboot on your OnePlus 7 Pro. Enabling this feature will additional options on your power menu that lets you easily get into recovery with just a tap of your finger. Go to Settings > Developer options > enable Advanced reboot.
If you don’t find developer options on the device’s settings, that means you haven’t enabled it yet. To enable Developer Options, go to Settings > About Phone > Tap Build Number 7 times. Go back and scroll to the bottom and you’ll find developer options.
Step 4: Boot into Fastboot
After you have enabled Advanced Reboot, press and hold the power button to see the power menu. There you will find an option called Bootloader. Tapping it will reboot your device into Fastboot mode.
Set aside your phone for now and boot your PC. After you see the main menu, connect your phone to your PC using a USB cable.
Step 5: Install ADB & Fastboot on your PC
Before you can flash the TWRP image on your OnePlus 7 Pro, you will need to install a proper framework that allows you to do that. You will need ADB and Fastboot to perform the flash. Google SDK provides you with all the necessary things that you’ll need to finish this guide and much more. If you do not know how to install and configure ADB and Fastboot, use the link below.
Step 6: Open CMD / Terminal
After ADB is properly set up, you will need to open a command window inside the Platform Tools folder inside ADB directory. You will need this to flash TWRP on your OnePlus 7 Pro using commands. If you are using Windows, go to the platform-tools inside ADB directory and hold Shift key and right-click an empty part of the folder.
Depending on which version of Windows you are using, you will see either Open command window here or Open PowerShell window here. If you are using Mac or Linux, you need to redirect to platform-tools folder on Terminal. To do so, open Terminal > copy the path of platform-tools > type cd followed by a space and then paste the path. Hit enter.
Step 7: Flash TWRP Recovery
Now that everything is set up, you can now flash the recovery. Copy the TWRP.img file you have previously downloaded and paste it in platform-tools folder. Also, copy the same .img file on your phone’s Download folder too – you’ll need it later. On the command window that was redirected to the platform-tools, type in the following command and then hit enter.
fastboot boot twrp.img
If you are using Mac or Linux, use the following command;
./fastboot boot twrp.img
After the process is done, your phone will boot into TWRP. The job is not finished yet. You have only temporarily flashed TWRP.
Step 8: Final Modification
When you’re in TWRP, swipe the slider that says “Swipe to Allow Modifications”. You may or may not see the slider. Don’t worry if you do now. Proceed. On the TWRP menu, select Advanced and then tap on Install Recovery Ramdisk. You will need to navigate to the Download folder and select the twrp.img file that you have previously copied.
You will be redirected to Install Recovery screen. Check the Back up existing image first option to stay on the safe side. Slide the Swipe to install button to begin installing TWRP recovery permanently. After it finished, go back to the main menu then go to Reboot and tap on Recovery. You will get into the permanent version on TWRP.