Crucial Warning: Never select "clean all and lock" in Mi Flash Tool when flashing a Global ROM onto Chinese domestic hardware, or when flashing custom builds like xiaomi.eu. Re-locking the bootloader on mismatched regional software causes a boot verification brick. Always select "clean all" (flash_all.bat).
Download Firmware for Xiaomi Mi 5s (capricorn)
2015711 (Global Stable (MIUI 10)) The final official Global release with certified Google Play support out of the box — the best starting point for international users.
Not sure this is the right one for you? The full list below covers every build.
Final official Chinese release carrying MIUI 11 interface updates. Does not include Google Play services by default.
↓ DownloadRecommended for general international daily use. Includes pre-installed Google Mobile Services and multi-language support.
↓ DownloadCommunity custom ROM combining the newer MIUI 11 base with European multi-language translations and Google services.
↓ DownloadCompatibility & Bootloader Notes
Flashing stock fastboot packages requires an unlocked bootloader via the official Mi Unlock tool. Flashing firmware does not permanently unlock or lock your device on its own unless the locking script (flash_all_lock.bat) is selected.
Preparation checklist for Xiaomi Mi 5s (capricorn)
- Ensure your bootloader is unlocked via Xiaomi's official Mi Unlock utility before flashing.
- Double-extract the .tgz archive using 7-Zip until the flash_all.bat file is visible in the root folder.
- Install official Qualcomm USB drivers and the latest Xiaomi Mi Flash Tool on your PC.
- Back up all personal files, as the clean fastboot flash wipes all partitions.
How to Flash Xiaomi Mi 5s (capricorn)
Mi Flash Tool Fastboot Restore (Recommended for Official Firmware)
- Confirm the bootloader is officially unlocked using Xiaomi's Mi Unlock utility. Locked devices reject fastboot flashing commands.
- Download the official Global Stable or China Stable .tgz archive. Using 7-Zip, unpack the archive twice so that the final folder contains flash_all.bat and the images subfolder directly (e.g. C:\capricorn_firmware\).
- Power off your Mi 5s, then press and hold Volume Down + Power until the FASTBOOT rabbit appears on screen. Connect the phone to a rear USB 2.0 port on your PC.
- Launch Mi Flash Tool as Administrator. Click "Select" and navigate to your extracted folder containing flash_all.bat.
- Click "Refresh" and confirm your device serial number appears in the device table.
- At the bottom right of the Mi Flash window, actively select "clean all" (which executes flash_all.bat). NEVER select "clean all and lock" when flashing across regions.
- Click "Flash" and allow the script to write all partitions (typically 3 to 6 minutes). When finished, the status column will indicate success and the phone will reboot automatically.
TWRP Custom Recovery Installation (for xiaomi.eu ZIP)
- Ensure the bootloader is unlocked and an official fastboot build has booted at least once.
- Boot into fastboot mode (Volume Down + Power) and flash TWRP recovery using the command: fastboot flash recovery twrp-capricorn.img.
- Boot immediately into recovery by running fastboot boot twrp-capricorn.img or holding Volume Up + Power.
- In TWRP, navigate to Wipe → Advanced Wipe, select Dalvik / ART Cache, Cache, System, and Data, then swipe to wipe.
- Transfer the xiaomi.eu_multi_MI5S_V11.0.2.0.OAGCNXM_v11-8.0.zip file to internal storage via MTP.
- Tap Install, select the ZIP file, and swipe to confirm flash. Once complete, tap Reboot System.
Frequently Asked Questions
Mi Flash Tool is the factory tool used to write official .tgz fastboot packages, ideal for complete unbricking or returning to unrooted stock software. TWRP is a custom recovery used to flash community zip packages such as xiaomi.eu.
Clean all and lock executes flash_all_lock.bat, which re-locks the bootloader upon completion. If you flash a Global ROM onto Chinese domestic hardware with this option enabled, Xiaomi's hardware-region check will fail on boot, leaving the phone in an unbootable state.
No. Transitioning between official MIUI and community xiaomi.eu builds requires a factory reset in TWRP (wiping Data, Cache, and System) to avoid bootloops and crashing system services.