Install TWRP on OnePlus 7 Pro: Full Guide
In this article
Installing TWRP (Team Win Recovery Project) on your OnePlus 7 Pro replaces the stock recovery with a custom one that lets you flash custom ROMs, make full backups, and wipe data more thoroughly. This guide walks you through the entire process, from unlocking the bootloader to booting TWRP. Warning: This process wipes all data on your phone, and unlocking the bootloader voids your warranty. Proceed only if you understand the risks.
What You'll Need
- OnePlus 7 Pro (any variant: GM1910, GM1913, GM1917, etc.)
- A Windows, macOS, or Linux computer
- USB data cable (the one that came with the phone is best)
- ADB and Fastboot tools installed on your computer. Download the official platform-tools from Google's developer site.
- TWRP image file for OnePlus 7 Pro (twrp-3.x.x-x-guacamole.img) – download only from the official TWRP site (twrp.me) or the official XDA thread.
- Optional: Magisk ZIP if you want root later, but not needed for TWRP itself.
- Backup your important data – this process wipes your phone.
Step-by-Step
- Enable Developer Options and USB Debugging
On your phone, go to Settings > About Phone and tap “Build Number” 7 times until you see “You are now a developer!”. Then go to Settings > System > Developer Options and enable USB Debugging and OEM Unlocking (if present). - Install ADB and Fastboot on your computer
Download the platform-tools ZIP from the official Android developer page, extract it to a folder (e.g., C:\adb). Open a command prompt (Windows) or terminal (macOS/Linux) in that folder. Test the connection by runningadb devices– you should see your device listed as “unauthorized” or “device”. If unauthorized, accept the RSA prompt on your phone. - Backup your phone
Copy any important photos, files, and contacts to your computer or cloud. Unlocking the bootloader will wipe everything. - Unlock the Bootloader
With your phone on and USB debugging enabled, runadb reboot bootloader. Your phone will reboot into fastboot mode (black screen with “Fastboot” text). Then runfastboot devicesto confirm your phone is detected. Now runfastboot oem unlock(orfastboot flashing unlockon some variants). A confirmation screen appears on the phone – use volume keys to select “Unlock” and press power to confirm. This wipes your phone and reboots it. Set up your phone again (skip through setup) and re-enable USB debugging (go to Settings > About Phone and tap Build Number 7 times again, then enable USB debugging). - Boot TWRP Temporarily
Place the TWRP image file (e.g., twrp-3.7.0_9-0-guacamole.img) in the same folder as fastboot. Runadb reboot bootloaderagain. Once in fastboot, runfastboot boot twrp-3.7.0_9-0-guacamole.img(replace with your actual filename). This boots TWRP without installing it – a safer way to test and avoids boot loops. - Install TWRP Permanently (Optional but Recommended)
Once TWRP boots, you'll see the TWRP home screen. Tap “Advanced” and then “ADB Sideload”. On your computer, runadb sideload twrp-installer-3.7.0_9-0-guacamole.zip(download this ZIP from the same TWRP page). This installs TWRP to both boot and recovery partitions, so it survives reboots. If you don't want to sideload, you can also tap “Install” in TWRP and select the ZIP from your phone's storage, but you'd need to transfer it first. - Reboot to System
After installation, tap “Reboot” and then “System”. Your phone will boot normally. To verify TWRP is installed, power off the phone, then hold Volume Down + Power to boot into recovery. You should see TWRP instead of the stock recovery.
Common Mistakes
- Not unlocking the bootloader first – TWRP cannot be flashed on a locked bootloader. If you skip step 4, you'll get an error like “FAILED (remote: not allowed)”.
- Using the wrong TWRP image – Make sure you download the correct file for the OnePlus 7 Pro (guacamole). Using another model's image can cause a brick.
- Flashing TWRP via fastboot instead of booting it – Running
fastboot flash recovery twrp.imgoften causes boot loops on OnePlus devices because the boot partition is overwritten. Always usefastboot bootfirst, then install via the installer ZIP. - Not re-enabling USB debugging after bootloader unlock – After the wipe, USB debugging is off. You must re-enable it before proceeding.
- Forgetting to back up – The bootloader unlock wipes everything. If you skip backup, you lose all data.
Tips
- Keep your phone charged above 70% to avoid shutdowns during the process.
- Use the original USB cable and a USB port directly on your computer (not a hub) to avoid connection drops.
- After unlocking the bootloader, your phone will show a warning at boot – that's normal and can be hidden later with a custom kernel or by relocking (not recommended).
- If you plan to root, download Magisk ZIP and flash it via TWRP after installing TWRP. Do not reboot to system before flashing Magisk if you want root.
- Make a full TWRP backup of your current ROM before flashing anything else – it can save you later.
Troubleshooting
“fastboot devices” shows nothing
Install the proper USB drivers for OnePlus (available from OnePlus's support site). On Windows, try a different USB port or cable. On macOS/Linux, ensure you have the correct permissions (run with sudo if needed).
“fastboot oem unlock” fails with “unknown command”
Some variants use fastboot flashing unlock instead. Try that. If it still fails, make sure you enabled OEM Unlocking in Developer Options.
Phone boots into bootloop after flashing TWRP
This usually happens if you flashed TWRP directly via fastboot flash recovery. To fix, boot back into fastboot (hold Volume Up + Power), then run fastboot boot twrp.img to boot TWRP temporarily, then flash the TWRP installer ZIP via sideload. If that fails, you may need to restore the stock boot image using the MSM Tool (search for “OnePlus 7 Pro MSM tool” – it's a full factory restore).
TWRP boots but touchscreen doesn't work
This is rare but can happen if you're using an old TWRP build. Try the latest TWRP release. Also, some TWRP versions require you to swipe to allow modifications – if the screen is unresponsive, try re-downloading the image.
Phone asks for a password/decryption in TWRP
This is normal if your phone is encrypted. Enter your lock screen PIN/password. If it fails, you may need to format data (which wipes everything) – do that only if you have backups.
Frequently Asked Questions
Will installing TWRP void my warranty?
Yes, unlocking the bootloader and flashing a custom recovery voids the manufacturer warranty. Some regions have laws that protect consumers, but generally OnePlus will refuse service if they detect a modified bootloader.
Do I need to root my phone to use TWRP?
No, TWRP works without root. It's a recovery environment, separate from the Android OS. However, many people install TWRP as a first step toward rooting with Magisk.
Can I uninstall TWRP later?
Yes, you can flash the stock recovery using fastboot or use the MSM Tool to restore the phone to factory state. Flashing a stock ROM via fastboot will also replace TWRP with stock recovery.
Will TWRP receive OTA updates?
No, once TWRP is installed, you cannot install OTA updates directly. You'll need to manually flash the full ROM update via TWRP, or restore stock recovery temporarily. Some custom ROMs support OTA, but stock OnePlus OTA will fail.
Is it safe to install TWRP on a daily driver?
If you follow the steps carefully, it's generally safe. However, there's always a risk of bricking if you flash the wrong files or interrupt the process. Make sure you have a backup and time to troubleshoot.
What is the difference between “fastboot boot” and “fastboot flash”?
fastboot boot loads the image temporarily without writing it to the phone – it's like a live CD. fastboot flash writes it permanently. For TWRP on OnePlus, you should use fastboot boot first, then install the ZIP to make it permanent, to avoid boot loops.