Xiaomi Mi 6 firmware: official and custom methods with unlocking the bootloader

Why would you want to run Xiaomi Mi 6 in 2026?

Xiaomi Mi 6, released in 2017, is still a hot-button device thanks to its powerful Snapdragon 835 processor and 6GB of RAM. However, official support for Xiaomi updates has long since ceased: the last stable version of MIUI 12.5 based on Android 10 came out in 2021, which means users are facing security issues, lack of new features and slow system operation.

The firmware of the smartphone solves these problems: install the latest version of Android 13/14 through custom firmware (for example, LineageOS or Pixel Experience), return the factory state when selling or eliminate software failures. But the process has nuances: since 2023, Xiaomi has tightened the rules for unlocking the bootloader for older models, requiring account confirmation via SMS even on informal firmware. In this article, we will analyze all the current methods of firmware, from official to custom, taking into account the latest changes in Xiaomi policy.

Before you start, make sure your Mi 6 matches the sagit model (check in Settings โ†’ About Phone โ†’ Model).Firmware for other modifications (such as the Mi 6X or Mi 6 Pro) will not work and may result in a "brick" (inoperability) of the device.

Preparation for firmware: what to do before the start

Incorrect preparation is the main cause of firmware failures, and at this point, three actions are critical: unlock the bootloader (if it is blocked), save important data, and prepare tools.

  1. Turn off the phone.
  2. Press the Loudness Down + Power buttons to log in to Fastboot.
  3. Connect the device to the PC and type in the command line: fastboot oem device-info
  4. If the answer is Device unlocked: false, the bootloader is locked.

Also check the version of MIUI in Settings โ†’ About Phone. Fastboot requires a version at least below MIUI 10 (otherwise you will have to update first through MIUI Updater).

Backup data (photos, contacts, SMS)| Charge your phone at least 60% | Download firmware for the model sagit| Install Xiaomi drivers on PC | Prepare a USB cable (preferably original)

-->

Attention! If you plan to install custom firmware (like LineageOS), be sure to unlock the bootloader in advance. Since 2023, Xiaomi has increased the wait time for unlocking to 168 hours (7 days) for older models. This process is irreversible and will reset all data on the phone!

Method 1: Official firmware via MIUI Updater (without unlocking)

The safest method is to upgrade through the built-in MIUI Updater app, which is suitable if:

  • ๐Ÿ“ฑ You need to update to the latest official version. MIUI 12.5 (Android 10).
  • ๐Ÿ”’ The bootloader is locked and you donโ€™t want to unlock it.
  • ๐Ÿ”„ The phone is stable, but you need to fix small bugs.

Instructions:

  1. Open Settings โ†’ About the phone โ†’ System update.
  2. Click on the icon. โ‹ฎ (three dots) in the upper right corner and select Select Service Package.
  3. Download the official firmware for the Mi 6 (model sagit) from en.miui.com (choose Stable or Weekly branch).
  4. Place the.zip file in the phoneโ€™s root folder (not in the folder!).
  5. Go back to MIUI Updater and select the downloaded file. Confirm the installation.

It takes 10-15 minutes. The phone will reboot automatically. The important thing is if the update is interrupted, try again or use the Fastboot method (described below).

๐Ÿ’ก

If MIUI Updater does not see the downloaded file, rename it to update.zip and try again.

Method 2: Fastboot firmware (official and custom)

The Fastboot method is suitable for:

  • ๐Ÿ”ง Installation of official firmware in case of failure (for example, if the phone does not turn on).
  • ๐Ÿ“‰ Downgrade on an older version MIUI.
  • ๐Ÿ› ๏ธ Eliminate the "brick" (if the phone is stuck on the Mi logo).

This method will require:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux and installed Xiaomi drivers.
  • ๐Ÿ”Œ Original. USB-cable (a faulty cable may interrupt the process!).
  • ๐Ÿ“„ Firmware in.tgz or.zip format for Fastboot (download only from xiaomifirmwareupdater.com).
  • ๐Ÿ› ๏ธ The Mi Flash Tool (you can download it here).

Step-by-step:

  1. Unpack the firmware in a folder without Cyrillic characters (for example, C:\Mi6_firmware).
  2. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  3. Connect your phone to your PC and start the Mi Flash Tool.
  4. In the program, click Select and specify the path to the folder with the firmware.
  5. Select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
  6. Press Flash and wait until the end (usually 5-10 minutes).
What if the Mi Flash Tool gives you a "can't find device" error?
This error occurs due to the lack of drivers or problems with the USB-Connection. Solution: 1. Install Xiaomi drivers manually through Device Manager (select "Update driver" โ†’ "Perform a search on this computer" โ†’ specify the driver folder). 2. Try another one. USB-port (preferably) USB 2.0). 3. Disable driver signatures in Windows (enter in the command line on behalf of the administrator: bcdedit /set nointegritychecks on, then restart the PC).

โš ๏ธ Attention! If you select Clean all and lock mode, the bootloader will lock and you will have to repeat the unlock procedure for further firmware (7 days wait), only use this mode if you are sure that you will no longer install custom firmware.

Method 3: Install custom firmware (LineageOS, Pixel Experience, crDroid)

Custom firmware allows you to upgrade the Mi 6 to Android 13/14, improve performance and get new features.

FirmwareAndroid versionFeaturesReference
LineageOS13Clean Android, stable operation, regular updateslineageos.org
Pixel Experience14Google Pixel-like interface optimized for performancepixelexperience.org
crDroid13Maximum customization, support for themes and gesturescrdroid.net
Havoc-OS13Balance between stability and customization, good autonomyhavoc-os.com

To install custom firmware, be sure to unlock the bootloader (instruction below) and install custom recovery (for example, TWRP).

  1. Unlock the bootloader (requires a Mi Account binding and 168 hours of waiting).
  2. Install TWRP (custom recovery for firmware.zip files).
  3. Firmware custom OS and GApps (Google services).

Detailed instructions for unlocking the loader:

  1. Link your Mi Account to your phone in Settings โ†’ Xiaomi account.
  2. Enable USB Debugging in Settings โ†’ About Phone โ†’ MIUI version (click 7 times, then go back to Additional โ†’ For Developers).
  3. Download Mi Unlock Tool and log in to the program.
  4. Connect your phone to Fastboot and follow the instructions, and after confirmation, it starts counting down to 168 hours.

Once unlocked, install TWRP via the command:

fastboot flash recovery twrp-3.7.0_sagit.img


fastboot boot twrp-3.7.0_sagit.img

Download the latest version of TWRP for Mi 6 on twrp.me.

LineageOS|Pixel Experience|crDroid|Havoc-OS|Other (write in the comments)

-->

Common mistakes and their solutions

Even with the exact following of the instructions, problems can arise. Let's consider the typical errors and how to fix them:

Mistake.Reason.Decision
This package is for "sagit" devices; this is a ""The firmware is not suitable for the Mi 6 model.Download firmware specifically for sagit. Check the model in fastboot getvar product.
Error: Failed to boot into fastbootdProblems with drivers or cable.Try another one. USB-port, install drivers manually, use the original cable.
Phone stuck on Mi logo after firmwareIncompatible firmware or interrupted process.Log in to Fastboot and repeat the firmware. If it doesn't work, run the official version through the Mi Flash Tool.
E: Unknown command [log] in TWRPAn outdated version of TWRP.Update TWRP to the latest version (3.7.0 or later).

If after firmware custom OS does not work mobile network or Wi-Fi, check:

  • ๐Ÿ“ถ Have GApps installed (download version) arm64 โ†’ 13 for Android 13).
  • ๐Ÿ”„ Compatibility of firmware with your region (some builds do not support Russian operators).
  • ๐Ÿ”ง Settings APN (Manually add your operatorโ€™s parameters).

โš ๏ธ If after the firmware has stopped the Mi 6 (black screen, no reaction to the buttons), try to pin the Volume up. + Power for 20-30 seconds for forced reboot.If this doesn't help, run the official firmware through Fastboot in Clean All mode.

How to return the official firmware after custom

If custom firmware is unstable or you decide to sell your phone, you can return the official MIUI.

  1. Download the official firmware for Mi 6 in.tgz format (for example, from here).
  2. Unpack the archive and launch the Mi Flash Tool.
  3. Select Clean All (if you want to save the unlocked bootloader) or Clean All and Lock (if you plan to lock the bootloader).
  4. Connect your phone in Fastboot mode and press Flash.

After successful firmware, the phone will reboot to standard MIUI. If you choose Clean all and lock, the bootloader will lock, and you will have to repeat the unlock procedure (168 hours of waiting) to install custom firmware.

๐Ÿ’ก

You can return the official firmware at any time, even if the phone "bricked" after the failed installation of the custom OS. The main thing is that the device is determined in Fastboot mode.

FAQ: Frequent questions about the firmware Xiaomi Mi 6

Can I flash Mi 6 without unlocking the bootloader?
Yes, but only official firmware via MIUI Updater or Fastboot (if the bootloader is already unlocked earlier).
How long does it take to unlock a bootloader in 2026?
Since 2023, older models (including the Mi 6) have been waiting for 168 hours (7 days), which used to take 72 hours.
What is the most stable custom firmware for the Mi 6?
According to user reviews in 2026: LineageOS 20 (Android 13) - the best balance of stability and performance. Pixel Experience 14 - if you want an interface like Google Pixel, but may be less optimized for hardware. crDroid - for maximum customization (theme, gestures, sound).
What if the camera doesnโ€™t work after the firmware?
The problem is typical for custom firmware based on Android 13/14. Solutions: Install an alternative camera app (such as GCam or Open Camera). Check if your firmware supports Camera2 API (you can find out in the Manual Camera Compatibility app).
Can I use the Mi 6 to run through the OTG-cable?
Theoretically, yes, but in practice, it's hard: For official firmware, you can use MIUI Updater (see Method 1). Custom firmware requires TWRP, and its installation requires Fastboot (i.e., PC). There are firmware methods through ADB sideload with OTG, but they are unreliable and can cause failures.