Xiaomi Mi 5s (capricorn) Firmware Flash File Download [Stock ROM]
Xiaomi Mi 5s (codename capricorn) was a flagship device known for its ultrasonic fingerprint sensor under glass, Snapdragon 821 processor, and premium metal unibody design. If your device is experiencing fingerprint sensor failures, performance throttling, or camera issues, flashing the correct stock firmware can help restore its functionality. This page provides official fastboot ROMs for both Chinese and Global variants, a optimized Xiaomi.eu ROM, and a compatible TWRP recovery.
Important Note: The Mi 5s features a unique ultrasonic fingerprint sensor that requires specific driver support. Flashing incorrect firmware can permanently disable this feature. Always confirm your codename is capricorn before proceeding.
Quick Device Specs
- Device: Mi 5s (capricorn)
- Release year: 2016
- Chipset: Qualcomm Snapdragon 821 (MSM8996 Pro)
- Display: 5.15″ IPS LCD, 1080p
- Battery: 3200 mAh (Non-removable)
- Key Feature: Ultrasonic under-glass fingerprint sensor
- Camera: 12MP Sony IMX378 with 1/2.3″ sensor
- Original OS: Android 6.0, MIUI 8
- Final Official MIUI: MIUI 11 (Android 8.0 Oreo)
Required Downloads
File / Tool | Download Link |
---|---|
Xiaomi Mi Flash Tool | Download Latest Version |
Qualcomm QDLoader Drivers | Download Drivers (For EDL mode) |
Bootloader Unlock Tool | Official Mi Unlock Page (Mandatory) |
ADB and Fastboot Tools | Download from Google |
Fastboot ROMs & Tools
Type | Build / Version | Android | Release Date | Download | Size |
---|---|---|---|---|---|
China Stable (CN) | V11.0.2.0.OAGCNXM | 8.0 (Oreo) | 2019-10-23 | Download | ~1.9 GB |
Global Stable | V10.2.3.0.OAGMIXM | 8.0 (Oreo) | 2019-04-26 | Download | ~1.8 GB |
Xiaomi.eu (Custom) | V11.0.2.0.OAGCNXM | 8.0 (Oreo) | — | Download | ~1.3 GB |
TWRP Recovery | 3.2.3 (wzsx150) | — | — | Download | ~16 MB |
How to Flash via Fastboot (Mi Flash Tool)
- Unlock your bootloader using the official Mi Unlock tool. This is a mandatory first step.
- Extract the downloaded .tgz firmware file to a folder on your PC.
- Open Mi Flash Tool. Click Select and choose the extracted ROM folder.
- With your phone powered off, boot into Fastboot mode (Hold Volume Down + Power). Connect it to the PC.
- In Mi Flash Tool, choose the clean all option. Avoid “clean all and lock” unless you are absolutely certain you are flashing the correct stock ROM for your device’s original region.
- Click Flash and wait for the process to complete. The first boot may take 5-10 minutes.
FAQs
Q1. Why is my ultrasonic fingerprint sensor not working?
The Mi 5s uses a unique Qualcomm Snapdragon Sense ID ultrasonic fingerprint technology. Issues can be caused by:
- Incorrect firmware/drivers (fixed by clean flash)
- Physical damage to the sensor
- Screen protector interference
- Calibration data corruption
A clean flash of the correct stock ROM often resolves software-related fingerprint issues. If problems persist, the hardware may be damaged.
Q2. What’s the difference between Mi 5 and Mi 5s?
Key differences include:
- Fingerprint sensor: Mi 5 has physical front button, Mi 5s has under-glass ultrasonic
- Processor: Mi 5 uses Snapdragon 820, Mi 5s uses Snapdragon 821
- Camera: Mi 5s has larger Sony IMX378 sensor
- Build: Mi 5 has glass back, Mi 5s has metal unibody
Their firmware is not compatible due to different hardware.
Q3. Can I upgrade to newer Android versions on my Mi 5s?
Yes! The Snapdragon 821 has excellent custom ROM support:
- LineageOS 16.0 (Android 9)
- LineageOS 17.1 (Android 10)
- LineageOS 18.1 (Android 11)
- Some Android 12 builds
These provide significantly better performance, security, and modern features compared to the stock Android 8.0.
Q4. Why is my camera focusing slowly or producing blurry photos?
The large Sony IMX378 sensor requires precise calibration. Issues can be caused by:
- Software corruption (fixed by clean flash)
- Physical camera module damage
- Laser autofocus sensor obstruction
- OIS (optical image stabilization) failure
A clean flash can resolve software issues. If problems continue, the camera module may need replacement.
Troubleshooting (Capricorn-Specific)
- “Antirollback check error” in Mi Flash Tool: The device has Anti-Rollback (ARB) protection. You cannot flash older ROM versions. Check your current ARB version with
fastboot getvar anti
and ensure you’re flashing a ROM with the same or higher version number. - Fingerprint sensor not detected in settings: This is usually a driver issue fixed by a clean flash. If it persists after clean flash, test the hardware by booting into MIUI’s hardware test mode (
*#*#6484#*#*
) and running the fingerprint test. - Device not detected in Fastboot mode: This is usually a driver issue. Install the latest ADB/fastboot drivers and try a different USB cable and port (preferably USB 2.0). Check device detection with
fastboot devices
in the command prompt. - Phone boots directly to Fastboot mode: This indicates a corrupted
boot.img
or system partition. Flash the complete stock ROM using the “clean all” option in Mi Flash Tool to restore all partitions. - Camera crashes or won’t focus: This could be a hardware issue with the camera module, which is a known problem on some units. A clean flash can rule out software issues. If problems persist, the camera module may need replacement.
- Poor battery life: The Snapdragon 821 and 5.15″ display should provide decent battery life. If experiencing rapid drain: 1) Check battery health, 2) Clean flash to eliminate software issues, 3) Consider battery replacement if capacity has degraded significantly.