Xiaomi Redmi Note 5A (codenamed ugg/ugglite) remains a popular budget smartphone even years after its release. However, over time, users face slowdowns, no updates or the desire to install custom firmware. Flashing the device can solve these problems, but requires care: wrong actions will lead to a breeze (completely inoperable) phone.
In this guide, we will look at all the current ways to implement the Redmi Note 5A firmware, from official updates via MIUI Updater to custom firmware installation via TWRP and Fastboot. We will focus on unlocking the bootloader, choosing the correct firmware version and typical bugs. Instructions are adapted for 2026, taking into account changes in Xiaomi policy and tool availability.
Warning: firmware voids warranty and can lead to data loss. If you're a beginner, start with official methods and then move on to custom solutions.
Preparation for firmware: what you need to know before starting
Redmi Note 5A flashing is a process that requires preparation, and without it, the risk of errors increases significantly.
- ๐ Battery charge at least 60%. Interrupting the process due to discharge can make the phone inoperable.
- ๐ฑ Backup. Firmware erases all data (except internal memory in some cases). Use Mi Cloud, Google Drive or local copying on your PC.
- ๐ Custom firmware requires official unlocking via Mi Unlock Tool, which takes up to 720 hours (30 days) of waiting.
- ๐ฅ๏ธ Drivers and tools. Install the Mi Flash Tool, ADB/Fastboot and drivers for Xiaomi on PC.
Important: Redmi Note 5A models with Snapdragon 425 (ugg) and 435 (ugglite) processor have different firmware. Installing the wrong version will lead to a blink! To find out your modification, go to Settings โ About Phone โ Kernel Version and check the code name.
Also prepare:
- ๐ Cable USB Type-C (original or high-quality) cheap cables can interrupt the connection.
- ๐ป PC running Windows 7/10/11 (Mi Flash Tool requires Windows).
- ๐ Folder with firmware (official or custom) and tools at the root of the C disk: (paths without Cyrillic!).
โ ๏ธ Please note: if your Redmi Note 5A purchased in China (domestic version), firmware global version can block the network. โ The phone. โ Model: Global versions are labeled Global.
Method 1: Update via MIUI Updater (without unlocking)
The safest method is to update through the built-in System Update (MIUI Updater) application, which is suitable for installing official firmware without losing data and does not require unlocking the bootloader.
Algorithm of action:
- Open Settings โ About the phone โ System update.
- Click on the icon. โฎ (three dots) in the upper right corner and select Select Service Package.
- Specify the path to the downloaded firmware file (.zip format).
- Confirm the installation and wait for the reboot.
Advantages of the method:
- โ Does not require unlocking the loader.
- โ Stores user data (unless otherwise specified in the firmware description).
- โ Minimum risk of error.
Limitations:
- โ Only official firmware can be installed. MIUI.
- โ Does not work if the current firmware is very outdated (an intermediate version is required).
- โ Not suitable for transition from China ROM Globally ROM.
| Type of firmware | Support for MIUI Updater | Unlocking required | Data retention |
|---|---|---|---|
| Stable MIUI (same version) | โ Yes. | โ No. | โ Yes. |
| Stable MIUI (new version) | โ Yes. | โ No. | โ No (backup recommended) |
| Castomium (TWRP) | โ No. | โ Yes. | โ No. |
| Fastboot (official) | โ No. | โ Yes. | โ No. |
โ ๏ธ Note: If you update through MIUI Updater appears with the error "Cannot verify update", check the integrity of the firmware file (compare the hash amount with the official) or rename the file to the official one. update.zip and try again.
Download the correct firmware version (Global/China)| Check battery power (>60%) | Create a backup of data |Rename the file to update.zip (if required) | Disable the antivirus on your phone-->
Method 2: Fastboot Firmware (official MIUI)
Fastboot is suitable for installing official firmware when a standard update is not possible (e.g., when a system crashes), requiring an unlocked bootloader and complete data erasure.
Step-by-step:
- Download Mi Flash Tool from the official Xiaomi website and firmware in.tgz format for your model (ugg or ugglite).
- Unpack the firmware in a folder without spaces (for example, C:\MIUI\ugg_global).
- Turn off the phone and press Volume Down + Power to enter Fastboot mode (a picture of a rabbit in a hat will appear).
- Connect your phone to your PC and run the Mi Flash Tool on behalf of the administrator.
- In the program, click Select, specify the firmware folder, then select Clean all (full cleaning) or Clean all and lock (clean + lock the bootloader).
- Press Flash and wait for completion (5-10 minutes). the phone will reboot automatically.
Important nuances:
- ๐น Clean all and lock will lock the bootloader back. Use this mode if you want to return the phone to factory status.
- ๐น If the Mi Flash Tool doesnโt see the device, check the drivers (install Mi). USB Driver or try another one USB-port.
- ๐น For models with ugglite (Snapdragon 435), use firmware marked ugglite in the file name.
Common mistakes and their solutions:
- ๐ซ "Flash is not done, try another one. USB-cable or port, disable the antivirus.
- ๐ซ "Device Not Found โ Check the drivers or reinstall the Mi Flash Tool.
- ๐ซ The phone is stuck on the logo. MI โ Do a hard reset (Loudness up) + Nutrition).
What to do if the Mi Flash Tool is 99% deaf?
Method 3: Install custom firmware through TWRP
For enthusiasts who want to install LineageOS, Pixel Experience or other custom firmware, TWRP Recovery is required, a method that gives full control of the system, but requires an unlocked bootloader and an experienced approach.
Instructions:
- Unlock the bootloader through the Mi Unlock Tool (instructions in the next section).
- Download TWRP for your model: ugg: twrp.me/ugg ugglite: twrp.me/ugglite
TWRP
recovery.img
ADB/Fastboot
USB debugging
Settings โ For developers
ADB
adb reboot bootloader
fastboot flash recovery recovery.img
fastboot boot recovery.imgTWRP
Wipe โ Advanced Wipe
Dalvik, Cache, System, Data
Install
Magisk
Reboot to the system.
Recommended custom firmware for Redmi Note 5A:
- ๐ฑ LineageOS 18.1 (Android 11) is stable and optimized.
- ๐ฑ Pixel Experience โ The interface is like Google Pixel.
- ๐ฑ Havoc-OS โ flexible configuration and high FPS play.
โ ๏ธ Note: Install custom firmware on Redmi Note 5A With a Snapdragon 425 (ugg) processor, you may have problems with your camera or mobile network. XDA Developers.
๐ก
If after installing custom firmware does not work mobile network, try to sew separately modem module from stock firmware through TWRP. To do this, download the official firmware, extract the file modem.img and install it as a regular ZIP.
Unlocking the bootloader: a step-by-step guide
Without unlocking the bootloader, you canโt install custom recovery or firmware. Xiaomi has tightened the rules, now it takes up to 30 days to wait (720 hours), a process that consists of two steps: linking the account to the device and actually unlocking.
What you need:
- ๐ฑ Phone with MIUI (custom-free!).
- ๐ Mi Account with a confirmed phone number.
- ๐ฅ๏ธ PC with Mi Unlock Tool (download from the en.miui.com/unlock).
- ๐ Original. USB-cable.
Instructions:
- Enable OEM Unlock and USB Debugging in Settings โ For Developers.
- Link your Mi Account to your device: Settings โ Mi Account โ Link your account.
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC and start the Mi Unlock Tool (autonomy required).
- Press Unlock. If you receive a waiting message, wait until the specified time (usually 168 or 720 hours).
- After the wait is over, repeat the process โ the bootloader will be unlocked.
Frequent problems:
- ๐ซ "Cannโt unlock โ check if your account is linked to your device and enabled OEM Unlock.
- ๐ซ "Device Not Connected โ Install drivers manually or try another one USB-port.
- ๐ซ Waiting timer resets โ donโt log out of your Mi Account or drop your phone.
๐ก
Unlocking the bootloader on the Xiaomi Redmi Note 5A takes up to 30 days (720 hours) a process that cannot be accelerated or circumvented by official methods.
Solving typical firmware errors
Even when following instructions, users encounter errors, and let's look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Error 7 in TWRP | Incompatibility of the firmware with the device | Check the model (ugg/ugglite) and download the correct firmware |
| The phone is stuck on the MI logo | Failed firmware or failure | Log in to Fastboot and run the official firmware through the Mi Flash Tool |
| Anti-rollback error | Reverse to the old version of MIUI | Install a newer firmware or run through Fastboot with a Clean all and lock tick |
| No network after firmware | There is no modem or incorrect settings | Switch modem.img from stock firmware or reset network settings |
If the phone doesnโt turn on after firmware (black screen, vibration without image), try:
- Press Volume up + Power for 10-15 seconds for hard reset.
- Connect to charging for 30 minutes - sometimes helps with the discharge of the battery.
- Swipe through Fastboot with the clean all tick.
To diagnose problems with Fastboot, use the following commands:
fastboot devices # Check the connection
fastboot getvar all # View device information
fastboot oem device-info # Unlock status of bootloaderSelection of firmware: official MIUI vs custom solutions
Which firmware to choose for the Redmi Note 5A? It depends on your goals:
Official MIUI:
- โ Stable work and support of Xiaomi.
- โ Regular security updates (for current versions).
- โ Full compatibility with iron (camera, network, sensors).
- โ Many pre-installed applications (bloatware).
- โ Limited Customization Opportunities.
Custom firmware (LineageOS, Pixel Experience, etc.):
- โ Clean Android without unnecessary apps.
- โ Longer supported updates (e.g. Android 11 on Redmi Note) 5A).
- โ Advanced settings (kernel, interface, performance).
- โ Possible bugs (for example, non-functioning) NFC camera).
- โ No official support from Xiaomi.
Selection recommendations:
- ๐น For everyday use, official MIUI (stable-developer).
- ๐น For experiments and new versions of Android โ LineageOS or Pixel Experience.
- ๐น For gaming and performance, Havoc-OS or Corvus OS.
Where to download firmware:
- ๐ฅ Official: miui.com (select Redmi Note) 5A โ ugg/ugglite).
- ๐ฅ Castomy: XDA Developers or LineageOS.