Install Android 9 Pie on Xiaomi Poco F1
In this article
Installing Android 9 Pie on your Xiaomi Poco F1 gives you the official stock Android experience, faster updates, and removes MIUI bloatware. This guide uses the official TWRP custom recovery and a stable, unmodified Android 9 Pie ROM (like Pixel Experience or LineageOS 16). You will need an unlocked bootloader and a PC. Follow every step carefully—this process wipes your phone.
What You'll Need
- Xiaomi Poco F1 with an unlocked bootloader (if not unlocked, see the note in Step 1).
- A USB cable and a Windows/Mac/Linux PC.
- ADB and Fastboot tools installed on your PC (download from the official Android developer site).
- TWRP recovery image for Poco F1 (download from the official TWRP site, file named
twrp-3.x.x-x-beryllium.img). - An Android 9 Pie ROM for Poco F1 (download from the ROM's official XDA thread or website, e.g., Pixel Experience or LineageOS 16).
- Optional: Google Apps (GApps) package if your ROM does not include them (download from Open GApps, choose ARM64, Android 9.0).
- Backup all important data—this process erases everything.
Step-by-Step
- Unlock the bootloader (if not already done). Go to Settings > About Phone, tap MIUI version 7 times to enable Developer Options. Then go to Settings > Additional Settings > Developer Options and enable OEM unlocking and USB debugging. Apply for unlock permission on Xiaomi's official unlock website, then use the Mi Unlock tool on your PC. This process wipes your phone and may take a few days to get permission.
- Install TWRP recovery. On your PC, open a command prompt in the folder where you downloaded the TWRP image. Connect your phone to the PC, enable USB debugging, and reboot to fastboot by running
adb reboot bootloader. Once in fastboot mode, runfastboot flash recovery twrp-3.x.x-x-beryllium.img. Then runfastboot reboot. - Boot into TWRP. Immediately after the reboot, hold Volume Up + Power until TWRP appears. If you miss it, boot to recovery by running
adb reboot recoveryfrom the PC. - Wipe data. In TWRP, tap Wipe > Format Data, type
yes, and swipe to confirm. This removes encryption and all data. Then go back and tap Advanced Wipe, select Dalvik/ART Cache, System, Data, and Cache, and swipe to wipe them. Do not wipe Internal Storage unless you want to remove your files. - Transfer the ROM. After wiping, go back to the main TWRP menu, tap Mount, and check Internal Storage. Then from your PC, copy the ROM zip (and GApps if needed) to the phone's internal storage using the USB cable. If you cannot mount, use
adb push rom.zip /sdcard/from the PC. - Install the ROM. In TWRP, tap Install, select the ROM zip file, and swipe to flash. Wait for it to finish. If you have GApps, flash it now without rebooting in between.
- Reboot and set up. Tap Reboot > System. The first boot may take 5–10 minutes. You'll see the Android setup wizard—follow the on-screen steps to set up your phone.
Common Mistakes
- Skipping the bootloader unlock—TWRP will not install or boot if the bootloader is locked. Always unlock first.
- Flashing the wrong TWRP version—make sure you download the file for the Poco F1 (codename beryllium), not another device.
- Not wiping before flashing—flashing over MIUI without wiping causes boot loops and system crashes.
- Flashing GApps on a ROM that already includes them—this can cause conflicts. Check your ROM's description first.
- Rebooting to system before flashing GApps—if you reboot after the ROM but before GApps, you may need to wipe and start over.
Tips
- Always download ROMs and TWRP from official sources (XDA forums or the developer's website) to avoid malware.
- Keep a backup of your current MIUI ROM in TWRP (Backup option) so you can restore if something goes wrong.
- After flashing, let the phone sit for a few minutes to settle. Some users report better battery life after the first full charge cycle.
- If you want root, flash Magisk after the ROM and GApps, but it's optional and not required for Pie.
Troubleshooting
If your phone does not boot into Android after flashing, try these in order:
- Force reboot—hold Power for 10 seconds. Sometimes the first boot just needs a nudge.
- Boot into recovery again (Volume Up + Power) and check if TWRP is still there. If not, reflash TWRP from fastboot.
- Re-wipe and reflash—go to Wipe > Format Data, then Advanced Wipe, wipe System, Data, Cache, Dalvik, then flash the ROM again. Do not skip wiping.
- Try a different ROM—if you used a custom ROM that's not stable, switch to a well-known one like Pixel Experience or LineageOS 16.
- Check for bootloop—if the phone vibrates and loops, it's usually a missing wipe or incompatible GApps. Wipe and flash again without GApps to test.
Frequently Asked Questions
Will I lose my data?
Yes, unlocking the bootloader and flashing TWRP wipes your phone. Back up everything before starting.
Is Android 9 Pie official for Poco F1?
Yes, Xiaomi released Android 9 Pie for Poco F1 via MIUI, but this guide installs a stock Android 9 Pie ROM (like Pixel Experience) which is not official from Xiaomi.
Can I go back to MIUI?
Yes. Download the official MIUI fastboot ROM from Xiaomi's website and flash it via fastboot, or restore your TWRP backup if you made one.
Will Google Pay work?
If you don't root and your ROM passes SafetyNet, it should work. But some custom ROMs may fail SafetyNet, so test it.
How do I update the ROM later?
Most custom ROMs have OTA updates in Settings > System > Advanced > System Update. If not, download the new zip and flash it in TWRP without wiping.
Is it safe to install?
It's safe if you follow the steps and use official downloads. However, any flashing carries a risk of bricking—follow the guide exactly.