Xiaomi

Xiaomi Mi 6 (sagit): Stock Firmware Flashing Guide

Complete firmware flashing guide for the Xiaomi Mi 6 using Mi Flash Tool. Covers Xiaomi Mi 6 (sagit), Qualcomm Fastboot drivers, and Mi Flash Tool procedures.

Xiaomi Mi 6 April 2017
Models
MCE16
CPU
Octa-core (4x2.45 GHz Kryo 280 Gold & 4x1.9 GHz Kryo 280 Silver)
GPU
Qualcomm Adreno 540
RAM
4 GB / 6 GB LPDDR4X
Storage
64 GB / 128 GB UFS 2.1 (non-expandable)
Display
5.15" IPS LCD, FHD 1080Γ—1920 pixels (16:9 ratio, 428 ppi, 600 nits)
Battery
3350 mAh Li-Po, Quick Charge 3.0 (18W fast charging via USB Type-C)
OS
Android 9.0 (MIUI 11.0), Launched on Android 7.1.1 (MIUI 8.2)
Connectivity
4G LTE Dual-SIM, Wi-Fi 802.11 a/b/g/n/ac 2x2 MIMO, Bluetooth 5.0, NFC, IR Blaster, USB-C
Colors: Black White Blue/Gold Ceramic Black Mercury Silver

About the Xiaomi Mi 6

The Xiaomi Mi 6 was released in April 2017, built on the flagship Qualcomm Snapdragon 835 MSM8998 (10nm FinFET) platform. Featuring a 5.15-inch Full HD display, dual 12 MP cameras with 4-axis OIS, and an under-glass capacitive fingerprint reader, the phone delivered flagship performance in a compact form factor.

Flashing official factory Fastboot firmware using Xiaomi Mi Flash Tool repairs corrupted partitions, recovers bootlooping devices, and restores official MIUI stability. Follow the verified driver preparation and procedural steps below to flash your device safely.

Which Flash Mode Should You Use?

Qualcomm HS-USB QDLoader 9008 (EDL Mode)

Emergency download mode accessed via motherboard test points when Fastboot mode is broken or the bootloader is locked.

How to enter
Remove rear glass panel, bridge the two gold test points near the volume ribbon connector with tweezers, and plug in USB cable
Requires
Windows PC, Qualcomm QDLoader 9008 drivers, tweezers, USB Type-C cable

Stock Android Recovery Mode

Stock recovery interface for performing factory data resets and clearing system caches.

How to enter
With phone powered off, press and hold Volume Up + Power buttons simultaneously until the Mi recovery menu appears
Requires
Handset only (no computer needed)

What You Need Before Flashing

1
Windows PC & Mi Flash Tool

A PC running 64-bit Windows with Mi Flash Tool and official Qualcomm USB drivers installed.

2
Verified Fastboot TGZ Package

Download and unpack the official V11.0.6.0.PCAMIXM archive twice with 7-Zip until flash_all.bat is visible.

3
50%+ Battery Charge

Ensure the 3,350 mAh battery has at least 50% charge to ensure stable power delivery throughout the flashing process.

4
Direct Motherboard USB Port

Use a quality USB Type-C data cable connected directly to a rear USB 2.0 port on the computer motherboard.

5
Select "Clean All" Option

In Mi Flash Tool, select "clean all" at the bottom right. Never select "clean all and lock" on cross-region hardware.

How to Flash the Xiaomi Mi 6 β€” Quick Overview

5-step quick reference for the Xiaomi Mi 6. Need visuals or troubleshooting help? The full Mi Flash Tool guide covers everything in detail.

  1. Unlock bootloader with Mi Unlock
  2. Extract Fastboot TGZ archive twice
  3. Enter Fastboot mode
  4. Configure Mi Flash Tool with "clean all"
  5. Flash partitions and await first boot

Fastboot Rawprogram XML & Firmware Package for Snapdragon 835

Official Fastboot firmware packages for the Xiaomi Mi 6 (sagit) contain raw partition binaries (boot.img, system.img, vendor.img, cust.img, modem, and splash) orchestrated via flash_all.bat, rawprogram0.xml, and patch0.xml. When executed in Mi Flash Tool, these scripts write partition images directly to the Qualcomm Snapdragon 835 UFS 2.1 storage controller.

flash_all.bat

Official factory Fastboot firmware for the Xiaomi Mi 6 utilizes rawprogram0.xml and patch0.xml executed through flash_all.bat. In Mi Flash Tool, select the root extracted folder containing these scripts.

The Xiaomi Mi 6 (board codename sagit) is built on Qualcomm's Snapdragon 835 (MSM8998) platform with 6GB LPDDR4X RAM, fast UFS 2.1 internal storage, dual 12 MP cameras with 4-axis OIS, and a 5.15-inch Full HD display.

Always verify that your device codename is "sagit" before flashing. Do not attempt to flash firmware intended for the Mi 5s (capricorn), Mi 6X (wayne), or Mi 8 (dipper), as memory architectures and partition structures differ fundamentally.

Xiaomi Mi 6 Firmware Versions

Tested stock firmware package for the confirmed hardware variant of the Xiaomi Mi 6. Always confirm your model codename is "sagit" before flashing.

Version Region Android Version Size MD5 Download
V11.0.6.0.PCAMIXM (Android 9.0) 2.2 GB 4e37806e9f99f0183823a94fb74190f5 ⬇️ Download

This device family includes 8 additional China stable, weekly beta, and custom TWRP recovery packages in the full archive. Browse the complete 9-package archive on AndroidFirmwareFile.com β†’

Xiaomi Mi 6 β€” Important Notes

Flashing official Fastboot TGZ firmware via Mi Flash Tool resolves bootloops, fixes corrupted system partitions, and restores the factory MIUI operating system to its verified clean state.

Because the Snapdragon 835 platform on later MIUI bootloaders restricts emergency download mode (EDL 9008), maintaining an unlocked bootloader and keeping Fastboot access open is the most reliable workshop recovery strategy.

Troubleshooting Xiaomi Mi 6 (sagit) Mi Flash & Fastboot Errors

Fastboot USB 3.0 Controller Drop: "FAILED (command write failed / unknown error)"

When flashing the Snapdragon 835 platform over modern USB 3.0/3.1 (xHCI) ports on Windows PCs, the Fastboot interface can experience unexpected communication stalls during large partition streaming. Technicians suggest connecting the phone directly to a rear motherboard USB 2.0 port or through an unpowered USB 2.0 hub, which resolves timing drops on older Qualcomm Fastboot bootloaders.

Under-Glass Biometric Sensor Loss: "Fingerprint enrollment failed / Hardware unavailable"

The solid-state capacitive fingerprint reader under the front glass relies on factory calibration data stored inside the persist partition (persist.img). If third-party tools or modified scripts reflash or erase persist, the biometric home button will stop reading fingerprints. Workshop repair discussions indicate that sticking strictly to official flash_all.bat preserves the persist partition intact.

Regional Bootloader Relocking Lockout: "This MIUI version can't be installed on this device"

Selecting "clean all and lock" (flash_all_lock.bat) in Mi Flash Tool when installing Global firmware on a Chinese domestic Mi 6 trips Xiaomi's bootloader region security. The device locks against conflicting cryptographic certificates and bootloops with red error text. Community repair logs advise always using "clean all" (flash_all.bat) when performing cross-regional flashing.

For in-depth Xiaomi Fastboot error codes, EDL testpoint pinouts, and driver troubleshooting: Mi Flash Tool Error Directory β†’

Frequently Asked Questions β€” Xiaomi Mi 6

Ready to Flash?

Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.

Open Full Guide