Smartphone Xiaomi Redmi 8 (codenamed olivelite) is still a popular budget device, but over time, its regular firmware can become obsolete, slow down or contain unnecessary applications. MIUI, Install custom software (like LineageOS), remove the Blaatware, or even bring your phone back to life after a software failure, but the process requires attention to detail, from unlocking the bootloader to choosing the right firmware version for your modification (Global, China, EEA).
In this guide, weβll break down three official flashing methods: Recovery (for lossless updates), Fastboot (for full clean installation) and MI Flash Tool (for brick recovery), and learn how to avoid bugs like anti-rollback, why you shouldnβt stitch Redmi 8 through unofficial utilities like SP Flash Tool, and what to do if the phone hangs on the Mi logo after firmware. All instructions are relevant for 2026 and take into account the latest changes in Xiaomiβs policy to unlock the bootloader.
1. Firmware Preparation: What You Need to Know Before Starting
Flashing is not just about downloading a file and pressing a button. Wrong actions can turn your Redmi 8 into a brick, so let's start with a theory. First, define the current version of MIUI and the device model:
- Go to Settings. β The phone.
- Remember the lines MIUI (e.g. MIUI 12.5.3 Global) and Model (e.g. M1908C3JG is Redmi 8 Global).
- Check the status of the bootloader: turn off the phone, press Volume down + Power β if you see a Fastboot labeled Locked, it needs to be unlocked.
Second, choose the type of firmware:
- π Recovery ROM β Update without loss of data (suitable for conversions between versions) MIUI, For example, 12.5 by 13).
- π§Ή Fastboot ROM β complete system reinstallation (recommended in case of failures or change of regional firmware).
- π οΈ Custom firmware (e.g. Pixel Experience) β requires unlocked bootloader and installation TWRP.
β οΈ Attention: Fastboot firmware erases all data, including photos and apps. backup through Settings β Additionally. β Backup or Mi Cloud. Also check the battery power - it must be at least 60%, otherwise the process may interrupt.
Finally, download the necessary tools:
- π± Official firmware MIUI Redmi 8 (select by model!).
- π₯οΈ Mi Flash Tool (for Fastboot firmware).
- π Unlock Tool to unlock the bootloader (requires a Mi Account).
- π§ ADB Fastboot (part of Android) SDK Platform Tools).
2 Unlock the bootloader: why it is necessary and how to do it
Xiaomi blocks the bootloader on all its devices, including Redmi 8, to prevent the installation of unofficial software. Without unlocking, you can flash only Recovery ROM through normal recovery.
The process consists of three stages:
- Linking your Mi Account to your device (must have been created at least 30 days ago!)
- Getting permission to unlock through Mi Unlock Tool.
- Directly unlock (can take up to 720 hours to wait on new accounts!)
Detailed instructions:
- Install Mi Unlock Tool on your PC and log in under the same account as you do on your phone.
- On your phone, turn on USB Debugging (Settings β About Phone β MIUI version β tap 7 times, then go back to Settings β Additional β For Developers).
- Connect Redmi 8 to your PC and select Transfer Files mode.
- Run the Mi Unlock Tool, follow the instructions. If you see a Couldn't unlock message with a timer, wait for the specified time (usually 168 or 720 hours).
β οΈ Note: Once the bootloader is unlocked, all data will be deleted from the phone, including photos in internal memory! Also, some features (such as Mi Pay or Find Device) may stop working. Xiaomi is not responsible for the "bricks" obtained after unlocking.
If the unlock timer is too long, alternative methods can be tried (e.g., via EDL mode), but they require special hardware and are risky for beginners.
What if the Mi Unlock Tool canβt see the device?
3. Firmware through Recovery: the safest way
This method is suitable for updating within a single MIUI branch (e.g. from MIUI 12.0.1 to MIUI 12.5.3) without loss of data.
- π« You are moving to an older version. MIUI (downgrade).
- π« Change the firmware region (for example, from Global to China).
- π« You have an unlocked bootloader, but you want to flash Fastboot ROM.
Step-by-step:
- Download Recovery ROM For your model from the official website, the file will have the name of the type. olivelite_global_images_V12.5.3.0.QCNMIXM_20220314.0000.00_11.0_global_3a1a3a3a1a.tgz.
- Rename the file to update.zip and move it to the root folder of the phoneβs internal memory (not to folders!).
- Open the Updater app, click on the three dots in the upper right corner and select Select the firmware file.
- Specify the path to update.zip and confirm installation. The phone will reboot to Recovery and start firmware.
If after the reboot the phone has hung on the Mi logo for more than 10 minutes, reset via Recovery:
- Press Volume Up + Power to enter Recovery.
- Select Wipe Data β Wipe All Data (this will delete all user data!).
- After resetting, the phone should be loaded into a new firmware.
βοΈ Preparing for Firmware Through Recovery
4.Fastboot firmware: Complete reinstallation of MIUI
This method is used to cleanly install MIUI, change regional firmware, or restore a phone after a major crash, and unlike Recovery, it requires a PC and unlocked bootloader.
What you need:
- π Fastboot ROM for your model (file with extension.tgz).
- π₯οΈ Mi Flash Tool (version not lower than 2020.3.14.0).
- π Cable USB Type-C (preferably original).
- π Battery charge of at least 80%.
Instructions:
- Unpack the downloaded.tgz file with firmware in a folder without Cyrillic characters (for example, C:\Redmi8_Fastboot).
- Install the Mi Flash Tool and run on behalf of the administrator.
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC. In the Mi Flash Tool, press Refresh, and the device should appear.
- Press Select and specify the folder with the unpacked firmware.
- At the bottom, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
- Press Flash and wait until it is completed (usually 5-10 minutes).
If the process ends with an error flash_all_lock.bat failed, try it:
- π Reinstall Qualcomm drivers.
- π Use the other USB-port USB 2.0).
- π Move the firmware folder to C: (sometimes the space paths cause errors).
- π Run the Mi Flash Tool in Windows 7 Compatibility Mode.
β οΈ If you are running Redmi 8 from China ROM Globally ROM, After the first download, you may need to reset via Recovery (Wipe Data, M1908C3JG) supportive EEA ROM β Firmware of a non-standard region can lead to problems with the network.
π‘
If the Mi Flash Tool doesnβt see the device, try manually installing the drivers through Device Manager. Search the Android Bootloader Interface in the list of devices, right-click β Update the driver β Search on this computer and specify the path to the folder with the Mi Flash Tool (there are drivers there).
5. firmware compatibility table for Redmi 8
Not all firmware is suitable for all Redmi 8 modifications. Below is the compatibility table for the main versions. Note the Anti-Rollback column: if your current firmware has a higher index than the one you want to upgrade to, the phone will lock!
| Model | Code name | Supported regions | Anti-Rollback Index | The last stable MIUI |
|---|---|---|---|---|
| Redmi 8 Global | olivelite | Global, EEA, India | 4 | MIUI 12.5.8 (Android 10) |
| Redmi 8 China | olive | China, Russia | 3 | MIUI 12.5.6 (Android 10) |
| Redmi 8A | Olivelite (another modification!) | Global, India | 2 | MIUI 12.5.4 (Android 10) |
| Redmi 8A Dual | olivewood | Global, EEA | 4 | MIUI 12.5.7 (Android 10) |
How do you check your Anti-Rollback index? Type a command into Fastboot:
fastboot getvar antiIf the result is anti: 4, you can only stitch firmware with an index of 4 or higher, and trying to install firmware with an index of 3 will lead to hard brick.
6. Solving typical firmware errors
Even if you follow the instructions, you can have problems, and let's look at some of the most common mistakes and their solutions.
π΄ Error: This package is for "olivelite" devices; this is a""
Reason: You are trying to flash the firmware for another model (for example, for Redmi 8A instead of Redmi 8).
Solution: Download the firmware for your model. Check the code name in Fastboot with the command:
fastboot getvar productπ΄ Error: Anti-rollback check fail
Reason: You are trying to flash a firmware with a lower Anti-Rollback index than the current one.
Solution: Find firmware that has an equal or higher index, and if it doesn't, you can't roll back. The only way out is to flash a new version of MIUI.
π΄ phone is stuck on startup Mi logo after firmware
Reasons:
- Incompatible firmware (e.g. China ROM on Global Device).
- Interrupted firmware process.
- The Mi Flash Tool is incorrectly selected.
Decision:
- Press Volume Up + Power to enter Recovery.
- Choose Wipe Data β Wipe All Data.
- If it doesnβt work, swipe your phone over Fastboot in Clean All mode.
π΄ Error: Invalid sparse file format at header
Reason: A damaged firmware file or lack of space on the PC disk.
Solution: Download the firmware again, unpack it on disk C: and repeat the process.
π‘
If it's gone after the firmware. IMEI If the network is not working, restore it through QCN-File (requires Qualcomm Tools) Incorrect recovery IMEI You may break the law, use only legal methods!
7. Install custom firmware (TWRP + LineageOS)
If you don't like MIUI, you can install an alternative firmware, like LineageOS or Pixel Experience.
- π Unlocked loader.
- π οΈ Established custom restoration TWRP.
- π± Compatible firmware (check support for olivelite).
Steps of TWRP installation:
- Download the latest version of TWRP for Redmi 8 from the official website.
- Rename the file to twrp.img and place it in the folder with ADB.
- Turn on USB debugging and connect the phone to the PC.
- Enter the command: adb reboot bootloader
- TWRP: Fastboot Flash Recovery twrp.img
- Immediately after that, press Volume Up + Power to log into TWRP (otherwise MIUI will overplay it).
Installation of custom firmware:
- Download firmware (such as LineageOS) and GApps (if you need Google services).
- Transfer the files to the phone.
- In TWRP, run Wipe β Advanced Wipe and mark Dalvik, Cache, System, Data.
- Install firmware, then GApps, then (if necessary) Magisk for root rights.
- Reboot.
β οΈ Warning: Castom firmware may have bugs: non-functioning NFC, camera problems or fast battery discharge, and some banking applications (e.g. Sberbank Online) can block access on phones with unlocked bootloader or root rights.