How to reflash Xiaomi Mi 6X: the complete guide

The Xiaomi Mi 6X, known internationally as the Mi A2, is still popular thanks to the combination of a compact body and a performance iron. However, over time, the software becomes obsolete, there are software failures, locks from operators or the need to change the firmware region to access certain functions. Flashing is a radical, but often the only sure way to return the gadget to a second life, eliminating accumulated system errors.

The process of installing a new operating system requires carefulness and a clear follow-up to the algorithm of actions. A mistake at any stage can cause the device to stop booting or lose the ability to connect to the computer. In this article, we will discuss in detail all the stages of preparation, choosing the appropriate system image and installation directly so that you can safely upgrade your device.

Before you start taking action, you need to be aware of the risks and prepare your workplace. You need a stable Windows computer that is working. USB-A full backup of data is a must, as all files will be permanently deleted in the process.

Preparation for flashing and choice of method

There are two main ways to install the system on Xiaomi Mi. 6X: via Recovery mode (update by ZIP-archive) and through Fastboot (complete cleaning and re-marking of partitions). The first method is suitable for scheduled updates to the version MIUI without data loss (although reset is recommended), the second is for global region change, unblocking or recovery from critical errors.

To start, you need to activate the developer mode. Go to Settings. โ†’ About the phone and seven times quickly click on the version MIUI. After the notification โ€œYou became a developerโ€ appears, go to the menu โ€œExtended settingsโ€ and find the item โ€œFor developersโ€. USB.

๐Ÿ“Š What kind of firmware you have right now?
Chinese (CN)
Global (Global)
European (EEA)
Custom ROM (Custom ROM)

Next, check the status of the Mi Account. If the device is enabled with the function "Find the device", without a password from the account, it will be impossible to unlock the bootloader or flash the phone. SIM-The card is inserted, and the mobile Internet is active, since the account is linked to the device takes a certain time.

โš ๏ธ Note: If you plan to switch from Chinese to global, use only the Fastboot method.

Required tools and drivers

High-quality software preparation on the computer side is the key to successful firmware reflashing. You will need to download the archive with firmware specifically for the model. jasmine_sprout (codename 6X). Using files from other models, such as Mi 6 or Redmi Note 5, It is strictly prohibited and can cause irreversible damage.

To work in Fastboot mode, you need a special software Mi Flash Tool. This is the official utility from Xiaomi, which allows you to interact with the bootloader of the device. Also be sure to install the ADB and Fastboot drivers. Without them, the computer will see the phone as an unknown device and will not be able to send commands.

โ˜‘๏ธ Checklist before start

Done: 0 / 5

Check integrity USB-Cheap charging cables often don't have the necessary contacts to transmit data, which causes the connection to break at a critical point in the system file writing. USB 2.0 or higher.

Unlocking the bootloader (Bootloader)

Official firmware via Fastboot is impossible without an unlocked bootloader. This is the manufacturer's protection by preventing the installation of modified software. The process requires filing on MIUI Unlock and waiting 3 to 168 hours. Instant unlocking is now extremely rare.

Once you have permission, you need to log into your Mi Account in the Mi Unlock app on the smartphone itself, and then the device is switched to Fastboot mode (clamping the volume button when the phone is turned off and the cable is connected), and the program on the PC presses the Unlock button, at which point the phone will be completely cleared.

โš ๏ธ Warning: The Bootloader unlock process removes the warranty from the device and makes it impossible to use some banking applications without additional manipulation (Magisk, Root).

If the bootloader has already been unlocked, this step can be skipped. You can check the status by transferring the phone to Fastboot: if the screen with the rabbit logo says Unlocked in orange, then access is open. Otherwise, the system will require unlocking before recording new data.

Step-by-step: Firmware via Fastboot

This is the most reliable method that completely replaces the contents of the phone's memory. Download the firmware archive with the.tgz extension (not.zip!) and unpack it into the root of the C disk so that the path does not contain Cyrillic or spaces: C:\rom\.

Launch the Mi Flash Tool on behalf of the administrator. Put your smartphone into Fastboot mode and connect to your PC. Press the Refresh button in the program, the serial number of the device should appear in the list. If nothing or an error appears instead of the number, check the drivers in the Device Manager.

fastboot devices

This command in the command line will help check the visibility of the device. If the serial number is displayed, then the connection is established. In the Mi Flash Tool, select the path to the unpacked folder with the firmware. Below, select Clean all mode for clean installation or Clean all and lock if you want to re-lock the bootloader (only when you are firmware the region that matches the region of the device).

What is the Save User Data mode?
Data storage only works if you are running the same version of the system or a newer one within the same region, and if you change region (China -> Global), this mode will not work and can cause a cyclical reboot.

Press Flash and wait. It takes 200 to 600 seconds. Once installed successfully, the phone automatically reboots. The first download can take up to 10 minutes -- that's OK, and it optimizes applications and creates partitions.

Recovery through Recovery Mode

If Fastboot is closed or you donโ€™t want to unlock the bootloader, you can use Recovery.This method is suitable for updating the version of MIUI within the same region (for example, updating from 10.2 to 10.3).

Rename the firmware file to update.zip to make it easier to search. Copy it into the phone's internal memory. Go to the Recovery menu (clambing the volume button when the phone is off). Select the language (by up/down volume buttons, power button confirmation).

From the main menu, select Wipe Data โ†’ Wipe All Data if you want to reset, or go straight to install. Select Install โ†’ Choose package and specify the path to update.zip. The system will check the checksum and start installing.

ParameterFastboot MethodRecovery Method
Demands a PC.Yes.No.
Unlocking BLI'll be sure.Not required
Change of regionPossible.Impossible.
Risk of errorMedium.Low.

๐Ÿ’ก

Recovery is safer for beginners, but it doesnโ€™t allow you to change the region of the device or roll back on older versions of Android.

Solving problems and mistakes

Errors can occur during the Xiaomi Mi 6X flashing process. The 0x80004005 code in Mi Flash usually indicates problems with drivers or antivirus blocking the record. Try disabling antivirus software and reinstalling ADB drivers.

If the phone goes into an endless bootloop after firmware, try a full reset via Recovery (Wipe All Data).If that doesn't help, it may be that the firmware file was corrupted when downloaded - check the archive checksums.

Mistake "