Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install TWRP Recovery on Oppo R5: Full Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing TWRP (Team Win Recovery Project) on your Oppo R5 replaces the stock recovery with a custom one that lets you flash custom ROMs, create full system backups (Nandroid), and wipe data more thoroughly. This guide walks you through the process step by step. Before you begin, note that unlocking the bootloader and flashing custom recovery voids your warranty and can brick your phone if done incorrectly. You'll need a Windows PC, a USB cable, and the correct files for the Oppo R5 (model R8106).

What You'll Need

  • Oppo R5 (R8106) with battery charged above 70%
  • Windows PC with internet access
  • USB data cable (the one that came with the phone works)
  • Oppo R5 USB drivers installed on your PC (download from Oppo's official support site)
  • ADB and Fastboot tools (download the official platform-tools from Google's Android developer site)
  • TWRP image file for Oppo R5 (twrp-3.x.x-x-r8106.img) – download from the official TWRP website or a trusted XDA thread
  • Oppo's official unlock tool or an approved method to unlock the bootloader (Oppo uses a specific unlock process; check Oppo's official unlock page for your region)

Step-by-Step

  1. Back up your data. Unlocking the bootloader and flashing TWRP will erase everything on your phone. Copy photos, contacts, and any important files to your PC or cloud storage before starting.
  2. Enable Developer Options. On your Oppo R5, go to Settings > About Phone and tap “Build Number” seven times until you see “You are now a developer.”
  3. Enable OEM Unlocking and USB Debugging. Go to Settings > Developer Options and enable both “OEM Unlocking” and “USB Debugging.” If you don't see “OEM Unlocking,” your device may not support it – in that case, you'll need to use Oppo's official unlock tool (see step 5).
  4. Install ADB and Fastboot on your PC. Download the official platform-tools zip from Google's Android developer page, extract it to a folder (e.g., C:\platform-tools), and note the path. Open a Command Prompt window in that folder (Shift+Right-click > “Open command window here”).
  5. Unlock the bootloader. Oppo requires an official unlock application. Visit Oppo's official unlock website (search “Oppo unlock bootloader” – the exact URL varies by region). Follow their instructions to submit an unlock request. Once approved, you'll receive a file or a code. On your phone, go to Settings > Additional Settings > Developer Options and look for “OEM Unlock” – if it's there, tap it and confirm. If not, use the official unlock tool from Oppo to unlock. This step wipes your phone – that's expected.
  6. Boot your phone into Fastboot mode. Power off the phone. Press and hold Volume Down + Power together for about 10 seconds until you see a fastboot menu (or the word “Fastboot”). If that doesn't work, try Volume Up + Power – the key combo can vary. You should see a screen with a USB icon or “FASTBOOT” text.
  7. Connect your phone to your PC. Plug in the USB cable. In the Command Prompt window, type fastboot devices and press Enter. You should see your device listed (e.g., “R8106 fastboot”). If not, reinstall the USB drivers and try a different USB port.
  8. Flash TWRP. In the same Command Prompt, type fastboot flash recovery twrp-r8106.img (replace the filename with the exact name of your downloaded TWRP image). Press Enter. Wait for the process to finish – you'll see “OKAY” in the output.
  9. Reboot into TWRP immediately. Do not let the phone boot normally after flashing – the stock system can overwrite TWRP. Instead, use the volume keys to navigate to “Recovery Mode” on the fastboot screen and select it with the power button, or type fastboot reboot recovery in the Command Prompt. Your phone should boot into TWRP's touch interface.
  10. Verify TWRP is installed. Once in TWRP, you'll see a main menu with options like Install, Wipe, Backup, and Restore. If you see this, TWRP is successfully installed.
  11. Optional: Root or flash a custom ROM. From TWRP, you can now flash Magisk or a custom ROM. Make sure to copy the ZIP files to your phone's internal storage before booting into recovery.

Common Mistakes

  • Skipping the bootloader unlock. Flashing TWRP without unlocking the bootloader will fail or cause a bootloop. Always unlock first.
  • Using the wrong TWRP image. The Oppo R5 has a specific TWRP build. Using a generic or wrong model image can brick your device. Double-check the filename and source.
  • Letting the phone boot normally after flashing. If you reboot to system instead of recovery, the stock recovery may overwrite TWRP. Always boot straight into recovery after flashing.
  • Not installing USB drivers. Without proper drivers, fastboot won't recognize your phone. Install the Oppo drivers and also the Google USB driver if needed.
  • Using a faulty USB cable. Some cables only charge and don't transfer data. Use the original cable or a known good data cable.

Tips

  • Keep a backup of your stock recovery image (you can extract it from the official firmware) so you can restore it if needed.
  • After flashing TWRP, make a Nandroid backup of your current system before making any changes – this is your safety net.
  • If you plan to root, download Magisk ZIP and place it on your phone's storage before booting into recovery.
  • Use a dedicated folder on your PC for all your flashing files – it keeps things organized.
  • Check the XDA forum for your device for the latest TWRP builds and user feedback – they often have the most current information.

Troubleshooting

Phone not detected in fastboot: Reinstall the USB drivers, try a different USB port (preferably a rear port on a desktop), and ensure USB debugging is enabled. Also, try running the command prompt as administrator.

Fastboot says “FAILED (remote: unknown command)” or “not allowed”: This usually means the bootloader is still locked. Go back and complete the official unlock process.

Phone stuck in bootloop after flashing: If you see the Oppo logo looping, boot into TWRP (if it's still installed) and wipe cache and data (this erases your phone – you've been warned). If TWRP is gone, you'll need to reflash TWRP from fastboot, then wipe.

TWRP doesn't stick after reboot: This happens if you booted to system before entering recovery. Reflash TWRP and immediately boot into recovery. Some devices also require you to rename the stock recovery file or use a custom boot image – check your device's XDA thread for specifics.

Touchscreen not working in TWRP: Some TWRP builds have touch issues. Try using the volume and power buttons to navigate (if the build supports it), or reflash a different TWRP version.

If all else fails: Restore your phone to stock using Oppo's official firmware flashing tool (available on Oppo's support site). This will reinstall the stock recovery and system, and relock the bootloader if you choose. This is the safest way to recover from a soft brick.

Frequently Asked Questions

Will installing TWRP void my warranty?

Yes, unlocking the bootloader and flashing custom recovery voids your warranty. Oppo can detect the unlocked status even if you later relock it.

Can I install TWRP without unlocking the bootloader?

No. The bootloader must be unlocked first. Attempting to flash without unlocking will fail and can cause a bootloop.

Will TWRP let me install any custom ROM?

TWRP allows you to flash any compatible ZIP file, but the ROM must be designed for the Oppo R5. Using a ROM for another device will likely brick your phone.

How do I uninstall TWRP and go back to stock?

You can flash the stock recovery image from the official firmware using fastboot, and then relock the bootloader if you wish. The exact steps are in Oppo's official firmware guide.

Is it safe to make a backup with TWRP?

Yes, TWRP's Nandroid backup is safe and recommended. It backs up your entire system, apps, and data – you can restore it later if something goes wrong.

What if I don't have a Windows PC? Can I use a Mac or Linux?

Yes, ADB and fastboot work on macOS and Linux as well. The commands are the same, but you'll need to install the appropriate drivers and ensure the fastboot binary is in your PATH.