Install Android P on Oppo R15 Pro: Step-by-Step
In this article
Installing Android P (Android 9) on the Oppo R15 Pro replaces the stock ColorOS with a near-stock Android experience, giving you the newer interface, gesture navigation, and improved digital wellbeing tools. This guide walks you through unlocking the bootloader, installing a custom recovery, and flashing an Android P ROM. It requires an unlocked bootloader, a computer, and some comfort with command-line tools. The process wipes all data on the phone, so back up everything important first.
What You'll Need
- Oppo R15 Pro with the bootloader already unlocked (see note below).
- A Windows, macOS, or Linux computer with a USB port.
- USB debugging and OEM unlocking enabled in Developer Options (Settings > About Phone > tap Build Number 7 times, then go to Settings > Developer Options).
- The Android P ROM for the Oppo R15 Pro (e.g., a LineageOS 16 or similar build) — download from the official XDA Developers forum or the ROM developer's site. Do not use unofficial or sketchy sources.
- Latest TWRP recovery image for the Oppo R15 Pro (from the official TWRP site).
- ADB and Fastboot tools installed on your computer (download from the Android developer site or a trusted source).
- A USB cable that supports data transfer.
Note on unlocking: Oppo officially provides a bootloader unlock tool for the R15 Pro. Visit the official Oppo unlock page and follow their instructions. This voids your warranty and erases all data. If your device is carrier-locked or from a region where unlock is not offered, this guide may not work.
Step-by-Step
- Back up everything. Copy photos, videos, documents, and any other files to your computer or cloud storage. Also export your contacts and SMS if possible. The installation wipes the internal storage.
- Enable Developer Options and USB debugging. Go to Settings > About Phone and tap “Build Number” seven times until you see “You are now a developer.” Then go to Settings > Developer Options and turn on “USB debugging” and “OEM unlocking” (if present).
- Install ADB and Fastboot on your computer. Download the platform-tools zip from the Android developer site, extract it to a folder (e.g., C:\adb), and add that folder to your system PATH or open a command prompt inside that folder.
- Connect your phone to the computer. Use a good USB cable. On the phone, when prompted, allow USB debugging. Verify the connection by opening a command prompt and typing
adb devices. Your phone's serial number should appear. - Unlock the bootloader (if not already done). In the command prompt, type
adb reboot bootloader. The phone will reboot into fastboot mode. Then typefastboot oem unlock(orfastboot flashing unlockon some devices). Follow the on-screen instructions on the phone to confirm. This wipes the phone. Once done, reboot back to the system withfastboot reboot. - Download and prepare the ROM and TWRP. Place the ROM zip file (e.g.,
lineage-16.0-xxxx.zip) and the TWRP image (e.g.,twrp-3.x.x-x-findx.img) in the same folder as your ADB tools. Do not unzip the ROM. - Boot into fastboot mode again. Type
adb reboot bootloaderfrom the system, or turn off the phone and hold Volume Down + Power (check your device's key combo; for R15 Pro it's usually Volume Down + Power). - Flash TWRP recovery. In fastboot mode, type
fastboot flash recovery twrp-3.x.x-x-findx.img. Then typefastboot reboot recoveryto boot directly into TWRP. (If it boots back to the system, you may need to manually boot to recovery using the key combo after flashing.) - Back up your current ROM in TWRP (optional but recommended). In TWRP, tap “Backup,” select System, Data, and Boot, and swipe to back up. This creates a restore point in case something goes wrong.
- Wipe the phone. In TWRP, tap “Wipe” > “Format Data” and type “yes” to confirm. Then go back and tap “Advanced Wipe” and select Dalvik/ART Cache, System, Data, and Cache. Swipe to wipe. Do not wipe Internal Storage unless you want to remove all files (you already backed up).
- Install the Android P ROM. Tap “Install,” find the ROM zip, and swipe to flash. Wait for the process to finish.
- Optional: Install Google Apps (if the ROM doesn't include them). If you need Google apps, download the appropriate GApps package (ARM64, Android 9) from the official Open GApps site and flash it right after the ROM, before rebooting.
- Reboot to system. Tap “Reboot” > “System.” The first boot may take 5–10 minutes. Do not interrupt it.
- Set up your phone. Once booted, go through the initial setup. You may need to re-enable developer options and USB debugging if you plan to root or modify further.
Common Mistakes
- Using the wrong TWRP or ROM for your exact model. The Oppo R15 Pro (also known as the Find X in some regions) has specific builds. Double-check the file names and the device code name (e.g., “CPH1877” or “PAFM00”) before flashing.
- Skipping the bootloader unlock. If you haven't unlocked the bootloader, flashing TWRP will fail or cause a bootloop.
- Not wiping data before flashing. Flashing a new ROM over the old system without wiping usually causes crashes and bootloops.
- Forgetting to back up. The wipe step erases everything. If you skip the backup, you lose all your data permanently.
- Using a USB cable that only charges. Data transfer won't work, and adb won't detect the device.
Tips
- Keep the phone charged above 70% before starting, and keep it plugged in during the process if possible.
- Read the specific ROM thread on XDA or the developer's site for any device-specific instructions or known issues.
- If you want root access later, flash Magisk after the first boot (download from the official Magisk GitHub).
- After installing, check for updates in Settings > System > System Update. Some ROMs offer OTA updates.
- If you ever need to go back to ColorOS, download the official stock ROM from Oppo's support site and flash it via TWRP or the Oppo flashing tool.
Troubleshooting
Phone won't boot after flashing (bootloop). First, try rebooting to recovery (hold Volume Down + Power) and wipe cache and Dalvik. If that doesn't help, reflash the ROM and GApps, and do a factory reset. If it still bootloops, restore your TWRP backup or flash the stock ROM.
adb devices shows nothing. Check the USB cable and port. Make sure USB debugging is enabled. Try restarting the adb server with adb kill-server and adb start-server. On Windows, install the proper USB drivers for Oppo.
fastboot command not recognized. Ensure you're in the correct folder where fastboot.exe is located, or have added it to PATH. Also, make sure you're in fastboot mode (check with fastboot devices).
TWRP flashes but phone boots to stock recovery. This usually means the bootloader is still locked. Re-check the unlock step. Also, some devices have a “recovery” partition that is overwritten on boot; you may need to temporarily boot TWRP with fastboot boot twrp.img instead of flashing it.
Google Play services keep crashing. You likely flashed the wrong GApps version (e.g., ARM instead of ARM64, or Android 8 instead of 9). Re-download the correct package and reflash it after wiping system and cache again.
Frequently Asked Questions
Will this work on the Oppo R15 (non-Pro)?
No. The R15 and R15 Pro have different hardware. This guide is only for the R15 Pro (also known as the Find X in some markets). Using the wrong files can brick your device.
Do I need to unlock the bootloader first?
Yes. Without an unlocked bootloader, you cannot flash TWRP or a custom ROM. Oppo's official unlock tool is the only safe way.
Will I lose my data?
Yes. Unlocking the bootloader and wiping the device erases all internal storage, including photos, apps, and settings. Back up before starting.
Can I go back to ColorOS after installing Android P?
Yes. Download the official stock ROM from Oppo's support site and flash it via TWRP (wipe system, data, cache first) or use Oppo's flashing tool. This will also re-lock the bootloader if you choose.
Does Android P on the R15 Pro support Google Pay?
Possibly not. Custom ROMs often fail SafetyNet checks, which Google Pay requires. You may need to install Magisk and enable MagiskHide to pass SafetyNet, but it's not guaranteed.
Will OTA updates work?
Only if the ROM developer provides them. Most custom ROMs deliver updates through the ROM's own updater or via a website. You'll need to manually flash updates if the ROM doesn't have an OTA system.