Installing MIUI 12 on Xiaomi Mi 6: a step-by-step guide

The Xiaomi Mi 6, released in 2017, is still a legendary device thanks to its compact body and the then-productive Snapdragon 835 processor. However, official support for this device from the manufacturer was discontinued on the version of MIUI 11, which left many owners behind new features and security updates.

Enthusiasts and independent developers have found a way to get around this limitation by creating MIUI 12 firmware ports based on newer models such as the Xiaomi Mi 10 or Mi 11. Installing such a system requires care, since the process is different from the standard β€œover the air” update and carries certain risks for inexperienced users.

In this article, we will discuss in detail how to safely upgrade your Mi 6 to MIUI 12, what are the nuances of the ported system and what to do before starting the procedure. There is no official global firmware MIUI 12 for Mi 6, all available options are ports from the community.

Preparation of the device and necessary tools

Before you start any manipulation of the system partition, you need to make sure that your device is fully ready for the procedure.The basic requirement is to have an unlocked Bootloader, without which installing a custom recover or third-party firmware is impossible. If the bootloader is locked, you will have to wait 168 hours (7 days) after submitting your application in the Mi Unlock application.

It is also critical to make a full backup of all user data. The process of flashing, especially when switching between major versions of Android or changing the firmware region, involves full formatting of internal memory.

You will need quality. USB-cable, preferably original, and installed on the PC drivers Xiaomi USB Driver and ADB/Fastboot. To work with firmware files, you will also need an archiver that can open.zip and.tgz formats.

  • πŸ“± Smartphone with at least 60% battery charge to prevent sudden shutdown.
  • πŸ’» Windows computer with Qualcomm or Xiaomi drivers installed.
  • πŸ“‚ Downloaded firmware file MIUI 12, adapted specifically for the Sagit model (codename Mi 6).
  • πŸ”“ Unlocked bootloader (status can be checked by a combination of volume and power buttons).

⚠️ Note: Using ported firmware can cause some modules to work in an unstable way, such as a camera or Bluetooth. Make sure you only download files from trusted sources, such as a forum. 4PDA or XDA Developers.

Don’t ignore the integrity check of the downloaded file. Often when you download large archives through an unstable Internet connection, the data can become corrupted, leading to an error in installation. Compare the checksum MD5 or SHA1 of the downloaded file with the one specified by the developer.

β˜‘οΈ Firmware preparation

Done: 0 / 4

Selection of firmware version: Global, China or Port

Understanding the differences between firmware types is key to successful installation. For the Xiaomi Mi 6, the situation is complicated by the fact that there is no official version of MIUI 12, users are forced to choose between ports from other devices or custom builds based on Android 10/11.

Chinese versions (China ROM) often come first and contain more features, but they lack Google Play Services out of the box and there are Chinese services that may interfere in other regions. Global Ports usually already contain Google’s embedded services and Russification, but may work less stable.

πŸ“Š What version? MIUI installed in your?
MIUI 10
MIUI 11
MIUI 12 (Port)
Other firmware (LineageOS, etc.)

There are also so-called "European" builds from independent studios like xiaomi.eu, based on the Chinese version but cleared of advertising junk and software. For the Mi 6, it's often the best option, providing a balance between performance and functionality.

When choosing, look for the version of Android on which the port is based. MIUI 12 can run on Android 9, 10 or 11. The newer version of Android will provide better compatibility with modern applications, but can more load the old Snapdragon 835 hardware.

Type of firmwareGoogle's presenceLanguageStability on Mi 6
Official MIUI 11Aye (Global)Complete.High (baseline)
Port with Mi 10 (Android 10)Built-inComplete.Medium
Port with Mi 11 (Android 11)Built-inComplete.Low (bugs)
xiaomi.eu (Custom)Built-inFull + editsTall.
What are the risks of using MIUI 11 ports?
Ports from newer devices may not work properly with the Mi 6’s camera drivers and sensors, as the hardware is different.

Installation through Recovery Mode (Method for experienced)

The most common method of installation is the use of custom recapaveri, most often TWRP. Xiaomi’s standard recovery will not allow unsigned or ported firmware to be installed without additional manipulation. TWRP, It is your own version of Android.

Once you have TWRP installed, turn your smartphone into recovery mode by pressing the volume and power button. In the receivers menu, make sure to complete a full reset (Wipe). Select Dalvik/ART Cache, System, Data and Cache. Do not format internal memory (Internal Storage) if the firmware file is on the phone.

adb reboot recovery

Next, go to Install and select the archive with MIUI 12 firmware. Before confirming installation, make sure that the Wipe after flashing tick is active if you are switching from another system.

  • πŸ”„ Come in. TWRP and select the Wipe option β†’ Advanced Wipe.
  • πŸ—‘οΈ Mark the System, Data, Cache, and Dalvik sections, then swipe for cleaning.
  • πŸ“₯ Click Install, find the firmware file and confirm the swipe installation.
  • ⏳ Wait for the Successful message and click Reboot System.

⚠️ Warning: If the phone goes into an endless bootloop after installation, try clearing the Data partition again through the TWRP Or to roll back to a lighter version of the firmware.

It can take up to 10 minutes to get the system started. Don't panic if the screen is lit up with the Mi or Android logo for a long time.

πŸ’‘

Using TWRP gives you full control over the file system, but requires pre-installing the recovery itself via Fastboot.

Firmware via Fastboot from a computer

Fastboot is considered more reliable because it allows you to rewrite all parts of your phone cleanly, eliminating file conflicts. For this, you will need the Mi Flash Tool utility and firmware in.tgz (unpacked) format, rather than.zip.

Connect the phone to your computer by holding down the volume button. A bunny in your headphones will appear on the screen, which is Fastboot mode. Launch the Mi Flash Tool on behalf of the administrator and press the Refresh button. The device should be selected in the list.

fastboot devices

In the utility, choose the path to the folder with the unpacked firmware. At the bottom of the window, it is important to select the firmware mode. Use Clean all. Clean all and lock mode cannot be used if you put the ported firmware - this will lead to a lockdown of the bootloader and a signature verification error.

Press Flash and wait until the process is complete. The computer will send packets of data to the phone. Interrupting the process or turning off the cable at that point is guaranteed to turn the phone into a brick that requires complex recovery through EDL.

  • πŸ’» Unpack the firmware archive in the root of the C disk: to avoid path problems.
  • πŸ”Œ Connect Mi 6 in Fastboot mode (Sound minus) + Nutrition).
  • πŸ–±οΈ In Mi Flash Tool, specify the path to the folder and select the Clean All option.
  • πŸš€ Press Flash and don’t touch the cable until the green success sign appears.

After successful firmware, the phone will automatically restart. If this does not happen, press the power button on the phone. 10-15 It'll take longer than usual to set up the system in the first place.

πŸ’‘

If the Mi Flash Tool is running a "Missmatching image and device" error, check if you've confused the firmware for the Global version of the phone with the firmware for the China version.

Common mistakes and ways to solve them

When installing MIUI 12 on Xiaomi Mi 6, users often face specific problems, one of the most common is the Error 7 error when installed via TWRP. It means that the installation script cannot find the desired device model or Android version.

The solution is to update the TWRP itself to the latest available version or use a special patch to install it, and there is also a common problem with data encryption when the phone, after firmware, requests a password that you did not enter or does not accept the current one.

In this case, you need to log back into TWRP, select Wipe β†’ Format Data (format, not just Wipe) and enter Yes. This action will completely destroy all data, but remove encryption, allowing the system to boot.

⚠️ Note: Format Data deletes all files, including photos and music. Make sure you have a copy of important data on an external medium.

Another common problem is VoLTE or Wi-Fi, which is a port bug, and often helps with flashing the modem or using patches that developers put in the forum firmware theme.

What do I do if IMEI is missing?
If the IMEI is missing after the firmware and the network is not catching, the Persist partition may have been damaged. You can only restore it with a backup from your device or by contacting the service center for flashing through EDL with an authorized account.

Optimization and the first steps after installation

After the successful launch of MIUI 12 on the Mi 6, it is recommended to make a number of adjustments to improve autonomy.The new shell is more demanding on resources, so it is worth turning off excess animation and background processes.

Go to Settings β†’ Advanced Settings β†’ Developer. Find the "Window Animation Scale," "Scale of Transition Animation," and set 0.5x or turn it off. This will visually speed up the interface.

Also, limit the background activity of applications. In the battery settings, select the "No Limits" mode only for instant messengers, and for the rest, set strict restrictions. This will prolong the life of the battery, which on the Mi 6 by this time could already wear out.

  • πŸš€ Disable Advertising in System Applications via Privacy Section".
  • πŸ”‹ Turn on Turbo Mode in the battery settings for games, but watch for heating.
  • πŸ“‰ Remove unused system applications through ADB, if-root right ADB access.
  • 🌐 Check the work. GPS Bluetooth and reset your network settings if necessary.

Check regularly for updates on the theme where you picked up the firmware. Port developers often release patches that fix critical bugs. Remember that you're using unofficial software.

πŸ’‘

Optimizing animations and background processes is a must for comfortable use of MIUI 12 on the Snapdragon 835 processor.

Frequently Asked Questions (FAQ)

Can I return to MIUI 11 after installing MIUI 12?
To return, you need to unlock the bootloader again (if it was blocked by the port) and install the official stable firmware MIUI 11 via Fastboot or TWRP.
Will Google Pay (Wallet) work on MIUI 12?
Ported firmware often fails to be certified by Google SafetyNet due to unlocked bootloader and system changes. Payment systems require root-rights concealment and device fingerprint change (Magisk Hide) to work, which does not guarantee 100% results.
Why does the phone get hot after the upgrade?
In the first hours after installation, the system indexes files and optimizes databases, which causes heating. If the problem persists after a day, it may be that the chosen version of the port is not optimized for the Mi 6, and it is worth trying another build or returning to MIUI 11.
Do I need to re-block the bootloader for each update?
No, if you are upgrading within the same firmware (e.g., switching from version 1.0 to 2.0 from the same author), you don’t need to unlock it, but changing the firmware type (e.g., from Global to China) may require a full swipe and rechecking the bootloader status.