This page has the official stock firmware (stable ROM) details for the Xiaomi Mi 9, codename cepheus. The main ROM is V12.0.4.0.QFAMIXM, the Global build of MIUI 12 based on Android 10. The package is about 2.3 GB.

Device details

BrandXiaomi
Codenamecepheus
ChipsetQualcomm Snapdragon 855
Android versionAndroid 10 (MIUI 12)
Flash toolMi Flash Tool

Step 1: Get the firmware

BuildRegionAndroidSizeDownload
V12.0.4.0.QFAMIXMGlobal Region code MIAndroid 102.3 GBDownloadOfficial source
V12.5.1.0.RFAEUXMEurope (EEA) Region code EUAndroid 112.4 GBDownloadOfficial source
V12.0.2.0.QFARUXMRussia Region code RUAndroid 102.3 GBDownloadOfficial source

Builds checked against the official source on 4 December 2026.

Step 2: Download the flash tool

Mi Flash is only needed for the fastboot ROM route, which needs an unlocked bootloader and erases the phone. The recovery ROM above installs from the phone itself.

Mi Flash Tool
v2020-3-14-0 · 66.7 MB · Windows
DownloadOfficial source

Step 3: Follow the flashing guide

How to Install a HyperOS Update Manually (Recovery ROM)
HyperOS update manual install with Xiaomi's official recovery ROM: find the right file, use Choose update package without unlocking, and fix common errors.
Before you flash
  • Check the model number in Settings → About phone (or About tablet). Firmware for another model can brick the device.
  • Back up your data. Flashing usually erases the device.
  • Charge the battery to at least 50% and use the original USB cable.
  • Get the file only from the official source linked above and let the download finish completely.

About the Mi 9 software

The Mi 9 runs on the Qualcomm Snapdragon 855. Xiaomi announced it in February 2019 and it went on sale in March 2019 with MIUI 10 on Android 9 Pie. This is an old phone, and its software is MIUI, not HyperOS. Xiaomi’s download page now lists MIUI 12 on Android 10 for Global and Russia, and MIUI 12.5 on Android 11 for Europe. No newer build is listed for any region.

Reading the ROM version

Here is what each part of V12.0.4.0.QFAMIXM means:

  • V12.0 is the MIUI 12 generation.
  • 4.0 is the build number inside that generation.
  • Q marks the Android version. Q is Android 10.
  • FA is the device code for the Mi 9.
  • MI is the region code for Global. The other codes on this page are EU for Europe (EEA) and RU for Russia.
  • XM are the last two letters. They are the same on all three ROMs.

The three regions are not on the same software. Europe is ahead: its ROM is V12.5.1.0.RFAEUXM, and the letter R there means Android 11. Global stays on Android 10 with build 12.0.4.0, and Russia is one step behind Global on V12.0.2.0.QFARUXM. Check Settings, About phone to see which version your phone has now, and choose the ROM with the same region code. Xiaomi’s anti-rollback protection can also refuse an older build. Our guide to downgrading and anti-rollback on Xiaomi phones explains the risk.

Regions and ROM types

Xiaomi lists three regions for cepheus: Global, Europe (EEA) and Russia. All three files are recovery ROMs. A recovery ROM is a full update package that the phone installs with its own system updater. A fastboot ROM is different. It is flashed from a PC with Mi Flash, it needs an unlocked bootloader, and a clean flash erases the phone. See fastboot ROM vs recovery ROM for the full comparison.

Good to know before updating the Mi 9

  • A Global Mi 9 does not get Android 11 from this page. Only the Europe (EEA) ROM is on Android 11, and it carries the EU region code, not MI.
  • To install the package by hand, open Settings, About phone, System update, then the options menu, and pick “Choose update package”. If you do not see “Choose update package”, tap the MIUI or HyperOS logo on the update screen several times (about 10) until a message says the extra update features are on, then open the menu again.
  • The updater installs over your current system, but make a backup before flashing anyway. A phone from 2019 may hold years of photos and chats.
  • Mi Flash cannot use these recovery packages. It works with fastboot ROMs only, on an unlocked bootloader, and its clean options wipe the phone.
Fahim MahmudThis page has the official stock firmware (stable ROM) details for the Xiaomi Mi 9, codename cepheus. The main ROM is V12.0.4.0.QFAMIXM, the Global build of MIUI 12 based on Android 10. The package is about 2.3 GB. About the Mi 9 software The Mi 9 runs on the Qualcomm Snapdragon...Android Help,Troubleshooting  & Stock Rom

Common questions

What is the latest official firmware for the Xiaomi Mi 9 Global version?

Xiaomi's download page lists V12.0.4.0.QFAMIXM for Global phones. It is MIUI 12 based on Android 10 and the file is about 2.3 GB.

Does the Mi 9 have an official Android 11 ROM?

Only for Europe. The Europe (EEA) ROM V12.5.1.0.RFAEUXM is MIUI 12.5 on Android 11, while the Global and Russia ROMs on the same page are MIUI 12 on Android 10.

Can I install the EEA Android 11 ROM on a Global Mi 9?

The EEA ROM has the EU region code and the Global phone uses MI, so the two do not match. Stay with the ROM whose region code matches the version shown in Settings, About phone.

Is HyperOS available for the Mi 9?

No HyperOS build is on Xiaomi's download page for the Mi 9. The newest files listed there are MIUI 12 for Global and Russia and MIUI 12.5 for Europe.