While the right approach and understanding of the process can update or completely replace the operating system on the device without the risk of turning it into a brick, this procedure may be necessary to install a fresh version of MIUI, switch to custom firmware (such as LineageOS or Pixel Experience), and to restore the phone to work after crashes.
Unlike the OTA update, PC firmware gives you more control: you can choose a specific version of software, bypass regional restrictions, or even bring the device back to life after a failed upgrade. But there are pitfalls here, from unlocking the bootloader to the risk of data loss. In this article, we will look at all the steps from preparation to final setup, and also explain how to avoid typical errors.
Preparation for firmware: what you need to know before you start
Before you start firmware, make sure you understand the risks. Mistakes can lead to loss of warranty, deletion of all data, or even device failure, especially when it comes to models with a locked bootloader (such as Xiaomi 12T or Redmi Note 11), where official permission from the manufacturer is required.
Here are the key points to consider:
- π Battery charge should be at least 60%. Firmware can take up to 30 minutes, and discharging in the process is fraught with failures.
- π± Backup all data (photos, contacts, messages) and use Mi Cloud or third-party tools like Titanium Backup.
- π₯οΈ Windows-based computer 7/10/11 (for Mac/Linux You need additional drivers. The laptop needs to be connected to the network to avoid a sudden shutdown.
- π Original. USB-Cheap analogues can cause errors in data transmission.
Important: Xiaomi models released after 2021 require a Mi Account to be linked to the device before unlocking the bootloader. Without this step, firmware through Fastboot will not be possible.
Firmware selection: official MIUI vs custom builds
The type of firmware that determines not only the functionality of the phone, but also the complexity of its installation.
| Type of firmware | Advantages | Deficiencies | Complexity of installation |
|---|---|---|---|
| Official MIUI (Stable/Beta) | Maximum compatibility, support OTA-Updates, Warranty Retainment (when unlocked via Mi Unlock) | Regional restrictions, pre-installed apps, delays in updates for some models | ββ (easily) |
| MIUI EU (unofficial European assembly) | Advertising-free, advanced settings, weekly updates | No official support, possible bugs, requires unlocked bootloader | βββ (middle-of-the-road) |
| Castom firmware (LineageOS, Pixel Experience, crDroid) | Clean Android, long-term support, no Bloatware | Some features (NFC, camera), complex installation, risk of instability may not work | ββββ (difficult) |
For most users, the best choice is the official stable MIUI from en.miui.com. If you need advanced features, look for MIUI EU (Forum Xiaomi.eu). Cast firmware is recommended only for experienced users ready for manual configuration.
β οΈ Note: Install firmware not intended for your model (e.g, MIUI For the Redmi Note 10 on the Redmi Note 10 Pro, you will have a hard brick, which causes a permanent breakdown of the device. Always check the model code name in the settings (Settings) β The phone. β Version. MIUI β Model code).
Unlocking the bootloader: a step without which you can not do
The bootloader on all Xiaomi smartphones is locked by default, a measure of protection against unauthorized changes, but it also complicates the firmware.
- Download the Mi Unlock Tool (Windows only).
- Sign in with the same Mi Account as you do on your phone.
- Put the device in Fastboot mode (turn off the phone, then pinch Volume down + Power).
- Connect your phone to your PC and follow the instructions of the program.
The unlocking process can take anywhere from 72 hours to 1 week, due to Xiaomiβs anti-resale policy, and after successful unlocking, the phone will display the Unlocked label on its screen.
What if the Mi Unlock Tool canβt see the device?
Important: Unlocking the bootloader resets the phone to factory settings. All data will be deleted!
Step-by-step: Firmware via Mi Flash Tool
This method is suitable for installing the official MIUI (in.tgz or.zip format) on devices with the unlocked bootloader.
Download Mi Flash Tool from the official website|Unpack the firmware into a folder without spaces (for example, C:\MIUI\redmi_note_11_global)|Install drivers ADB/Fastboot|Disable the digital signature check drivers in Windows (for older versions of the OS)-->
- Install the Mi Flash Tool and unpack the archive with the firmware. Files must have.img extensions (e.g. boot.img, system.img).
- Put your phone into Fastboot mode (as described above) and connect to your PC.
- Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
- Select the firmware method: Clean all β complete cleaning (recommended when changing the version of MIUI); Clean all and lock β cleaning + locking the bootloader (only for power users!); Save user data β saving user data (risky, can lead to bugs).
Flash
If the process is stuck in the Waiting for device phase, check the cable connection or reinstall the drivers. The Anti-rollback error means you're trying to install an older version of MIUI than the one already on the phone - this is impossible without special manipulations.
π‘
If the Mi Flash Tool gives you a βCouldnβt find fastbootβ error, try running it on behalf of the administrator or temporarily disabling the Windows firewall.
Firmware through TWRP: for custom firmware and modifications
If you plan to install LineageOS, Pixel Experience or other custom firmware, you will need TWRP Recovery, an alternative recovery menu, and it can only be installed on devices with an unlocked bootloader.
Algorithm of action:
- Download. TWRP For your model from twrp.me. The file must have the name of the view. twrp-3.7.0_12-1-redmi_note_10_pro.img.
- Install. TWRP Fastboot: Fastboot Flash Recovery twrp-3.7.0_12-1-redmi_note_10_pro.img fastboot boot twrp-3.7.0_12-1-redmi_note_10_pro.img
- In TWRP, reset (Wipe β Format Data, type yes).
- Copy the firmware (.zip format) to your phone via MTP (in TWRP: Mount β Enable MTP).
- Install the firmware via Install β Select the file β Swipe to confirm.
Recovery through EDL is an extreme measure, and without experience it is better to contact the service center.
π‘
90% of firmware errors are due to incorrect firmware or misconduct. Always double-check the model codename and MIUI version!
What to do after the firmware: the first steps
Successful firmware is only half the battle, and after the first boot of the device, you need to:
- Go through the initial setup, connect to Wi-Fi and log in to your Mi Account (if required).
- Check the performance of the main functions: πΆ Mobile network and Wi-Fi. πΈ Camera (especially on custom firmware). π Charging and determining the level of the battery. π Sound and microphone.
Update the firmware
Recover the data.
Titanium Backup
Mi Cloud
On custom firmware, additional adjustment may be required:
- π Install Magisk for root rights (optional).
- π SafetyNet for banking applications (via MagiskHide Props Config).
- π¨ Install themes and modifications through Magisk Modules.
If the phone starts to warm up, discharge quickly or brake after firmware, reset (Settings β Additional β Restore and Reset) this will help eliminate conflicts between old and new system files.