Xiaomi Mi 6X (codenamed wayne) is a popular smartphone of 2018, which is still in demand thanks to the powerful hardware (Snapdragon 660, 4/6 GB of RAM) and support for custom firmware. However, over time, the official MIUI updates stop coming out, and users face slowdowns, bugs or the desire to install the current version of Android. Flashing solves these problems, but requires care: wrong actions can turn the phone into a brick.
In this guide, we will examine all the ways of firmware โ from official updates through MIUI Updater to install custom builds like LineageOS or Pixel Experience. Special attention will be paid to unlocking the bootloader (without it custom firmware can not be installed), choosing the correct version of the software and typical errors. If you are a beginner, start with the official methods. Experienced users will find here the nuances of working with Fastboot, TWRP and ADB.
1. Firmware Preparation: What You Need to Know Before You Start
Reflashing the Xiaomi Mi 6X is an irreversible process, and its success depends on preparation.
- ๐ The battery should be at least 60 percent charged, and when it is discharged during firmware, the phone may turn off, causing a failure.
- ๐ฑ Backup: Save contacts, photos and app data. The firmware erases internal memory (except for official updates via the app). MIUI Updater).
- ๐ Unlocking the bootloader is mandatory for custom firmware. Official updates are installed on the blocked bootloader.
- ๐ฅ๏ธ Drivers and tools: to work with Fastboot or ADB You need Xiaomi drivers and Mi Flash Tool or Platform Tools on PC.
Important: Xiaomi links unlocking the bootloader to your Mi Account. If you forgot your password or didnโt link the device to your account, unlocking wonโt be possible. Also, remember that after unlocking, all settings are reset and the warranty (if itโs still valid) is canceled.
โ ๏ธ Attention: On Mi 6X version MIUI 12.5+ This means you can't roll back to the older firmware or the phone will lock. โ The phone. โ Version. MIUI.
If you plan to install custom firmware, select the right build in advance. For the Mi 6X, the following are relevant:
- ๐ฑ LineageOS (Android 11-13) โ stable, but without branded features Xiaomi.
- ๐จ Pixel Experience โ pure Android with a Pixel shell.
- โก ArrowOS or HavocOS โ customizable builds with advanced settings.
2. Method 1: Officially Updated via MIUI Updater
The safest method is to upgrade through the built-in MIUI Updater app, which is suitable if:
- ๐ You want to upgrade to the latest official version. MIUI.
- ๐ Phone boot loader is locked (no unlock required).
- ๐ฑ The phone is stable and you donโt plan to install custom software.
Instructions:
- Open Settings โ About the phone โ System update.
- Click on the icon ยซโฎยป (three dots) in the upper right corner and select Select Service Package.
- If you can download the update, download it. If you can't, download the full firmware package (.zip) from MIUI Downloads for the Mi 6X (wayne) model.
- After downloading the file, click Update and wait for the process to be completed (the phone will restart automatically).
โ ๏ธ Note: If the update error โCan not check the service packโ, check the integrity of the downloaded file (compare the hash amount) MD5) Or try renaming the file to update.zip try again.
Advantages of the method:
- โ Does not require unlocking the loader.
- โ Stores user data (if the update is not global, but incremental).
- โ Minimum risk of error.
Disadvantages:
- โ Updates are rarely available (for Mi). 6X latest official version โ MIUI 12.5 based on Android 10).
- โ There is no way to install custom software.
๐ก
Officially updating via MIUI Updater is the only method that does not require unlocking the bootloader and does not reset user data.
Method 3: Fastboot (Mi Flash Tool)
If the official update is not available or you want to install the full MIUI (for example, to change the region), use the firmware via Fastboot.
- ๐ Recovery of the phone after a failure.
- ๐ Changes in the firmware region (for example, from Chinese to global).
- ๐ฅ Installation of the full version MIUI instead of incremental update.
What you need:
- ๐ฅ๏ธ Windows computer (for Mi Flash Tool).
- ๐ Cable USB Type-C (original, undamaged).
- ๐ Firmware in.tgz or.zip format for Mi 6X (wayne MIUI Downloads.
- ๐ ๏ธ The Mi Flash Tool (you can download it here).
Step-by-step:
- Unpack the downloaded firmware in a folder without Cyrillic characters (for example, C:\MIUI\wayne_global_images_...).
- Install the Mi Flash Tool and Xiaomi drivers on your PC.
- Turn off the phone and press Volume Down + Power to enter Fastboot mode (the image of a hare in a hat-eared will appear).
- Connect your phone to your PC. In the Mi Flash Tool, press Select and point the path to the firmware folder.
- Select firmware mode: Clean all - complete cleaning (recommended when changing region); Clean all and lock - cleaning + lock bootloader (only if you return to the official firmware); Save user data - data storage (not always stable).
Flash
Typical errors and decisions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Can't receive hello packet | Problems with drivers or cable. | Reinstall the drivers, try another cable or USB port. |
| Flash is not done | The wrong firmware or mode is chosen. | Check the compatibility of the firmware with the wayne model. |
| Anti-Rollback check fail | Trying to roll back to an older version. | Install firmware no older than the current version of MIUI. |
โ ๏ธ Note: If after firmware the phone is stuck on the logo MI, Try to go to Recovery (clamb the Volume up). + Power and reset (Wipe Data) If that doesn't work, repeat the firmware with Clean all choice.
Download the firmware for the Wayne model|Install Mi Flash Tool and Drivers|Unpack the firmware in a folder without Cyrillic|Charge the phone to 60%+|Prepare original USB-cable-->
Method 3: Install custom firmware (TWRP + ADB)
Custom firmware opens up new possibilities: current versions of Android, no advertising in MIUI, advanced settings, but installing them requires:
- ๐ Unlocked loader.
- ๐ฑ Established custom recaveri TWRP.
- ๐ ๏ธ Knowledge of working with ADB and Fastboot.
Suitable firmware for the Mi 6X:
| Firmware | Android version | Features |
|---|---|---|
| LineageOS | 11โ13 | Stable, minimalist interface. |
| Pixel Experience | 12โ13 | The interface is like Google Pixel, regular updates. |
| ArrowOS | 12โ13 | Maximum customization, optimization of productivity. |
Installation instructions:
- Unlock the bootloader (instructions in the next section).
- Install. TWRP: Download the latest version TWRP for wayne from twrp.me. Rename the file to twrp.img and put it in a folder with ADB. Turn on Debugging. USB In Settings โ The phone. โ Version. MIUI (press 7 Once on the line with the version, then go back to Settings โ Additionally. โ Connect the phone to a PC and execute the command: adb reboot bootloader Install TWRP Team: Fastboot Flash Recovery twrp.img Reboot to TWRP: fastboot boot twrp.img
Sweep through the custom firmware
- Download firmware (.zip) and GApps (if you need Google services).
- Transfer the files to your phone or flash drive.
- In TWRP, select Wipe โ Advanced Wipe and select Dalvik, Cache, System, Data.
- Press Install, select a firmware file and confirm the installation.
- After installing the firmware, repeat the step for GApps (if needed).
- Reboot your phone (Reboot โ System)
Important nuances:
- ๐ After installing custom firmware official updates MIUI through MIUI Updater will not work.
- ๐ Some firmware (like LineageOS) require monthly manual updates.
- ๐ฑ If the phone doesnโt turn on after the restart, try re-installation or select another build.
What to do if TWRP is not installed?
5. How to unlock the bootloader on Xiaomi Mi 6X
Unlocking the bootloader is a must-have for custom firmware installation. Xiaomi has made it harder in the latest versions of MIUI, but it remains standard for the Mi 6X.
- ๐ฑ Mi Account tied to phone (required!).
- ๐ฅ๏ธ Computer with Mi Unlock Tool.
- ๐ The original cable. USB Type-C.
- โณ Time: The process takes up to 72 hours (due to Xiaomi restrictions).
Step-by-step:
- Download Mi Unlock Tool from the official website.
- Enable OEM Unlock and USB Debugging in Settings โ For Developers.
- Link your Mi Account to your phone: Settings โ Mi Account โ Synchronization.
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC, launch the Mi Unlock Tool, and log in to your Mi Account.
- Press Unlock. If you receive a message to wait, wait for the specified time (usually 72 hours) and try again.
- After successful unlocking, the phone will automatically restart.
โ ๏ธ Note: If a Couldn't unlock error occurs when unlocking, check: Is your Mi Account linked to your phone (Settings) โ Mi Account should be written "Device tethered"). USB and is access to data allowed from the PC (when you connect the phone to the computer, you should notice that you allow debugging). VPN Proxies (they can block access to Xiaomi servers).
Once the bootloader is unlocked, all the data from the phone will be erased!
๐ก
If the Mi Unlock Tool doesnโt recognize the phone, try using a different version of the utility (e.g. 3.5.1118.51 instead of the latter). USB-port or disable antivirus on PC.
Typical errors and their solutions
Even if you follow the instructions, you can get errors. Consider the most common ones for the Mi 6X:
| Mistake. | Reason. | Decision |
|---|---|---|
| The phone does not turn on after the firmware | Incompatible firmware or interrupted process. | Repeat the firmware through Fastboot with the choice of Clean all. |
| Error 7 in TWRP | The firmware is not suitable for your model. | Download the firmware for wayne (not for Mi A2, despite the similarity!). |
| Hanging on the MI logo | The conflict between the firmware and the core. | Install the firmware with full cleaning (Wipe System/Data/Cache in TWRP). |
| Anti-Rollback check fail | An attempt to roll back the old version of MIUI. | Install firmware no older than the current or newer. |
| The mobile network is not working | Modules of modem are missing in custom firmware. | Install a separate package with a modem for your firmware. |
Additional advice:
- ๐ If Wi-Fi or Bluetooth doesnโt work after firmware, check if your firmware supports these modules (for example, LineageOS sometimes requires a separate patch).
- ๐ If the phone discharges quickly after firmware, perform battery calibration: fully discharge and charge up to 100% without interruptions.
- ๐ฑ If gestures or touch buttons donโt work, check the settings in Settings โ System system โ Gestures.
How to return the official MIUI after custom firmware?
7. Post-firmware recommendations
Successful firmware is only half the battle, so that the phone is stable.
- ๐ Update the firmware (if it's custom build). Many firmwares require manual updates through TWRP or built-in updater.
- ๐ก๏ธ Install Magisk for root rights (if necessary). Download the latest version of Magisk (.zip) and run through TWRP.
- ๐ฑ Set up performance: Enable Overclocking CPU (If the firmware supports. Turn off animations in Settings โ For developers to speed up the interface.
- ๐ Optimize the battery: Turn off background activity of unnecessary applications. Use a dark theme (AMOLED-mi 6X charge-saving).
If you have installed custom firmware, check the key functions:
- ๐ถ Mobile network (2G/3G/4G).
- ๐ง Sound in speakers and headphones.
- ๐ท Camera (some firmware requires separate patches for the camera).
- ๐ Touch buttons or gestures.
Useful applications after firmware:
- ๐ง FrancoKernel Manager โ for fine-tuning the kernel (if the firmware supports).
- ๐ AccuBattery โ Monitoring the status of the battery.
- ๐ก๏ธ Magisk Manager โ Root rights and modules management.