Xiaomi Redmi 8 is one of the most popular budget smartphones of 2019, but even 5 years after its release it can be upgraded with a firmware update.The software update opens up access to new features, improves performance and fixes MIUI bugs. However, illiterate firmware can turn the phone into a "brick" - so it's important to follow the verified instructions.
In this guide, weโll take a look at all the current ways to run Redmi 8 (codenamed olive), from official updates via MIUI Updater to custom firmware installations like LineageOS or Pixel Experience. Youโll learn how to unlock a bootloader, choose the right firmware version, and avoid common bugs. And if something goes wrong, thereโs a section at the end of this article that addresses some of the most common problems.
Preparation for Flashing: What to Do Before Starting
Flashing is not just a couple of buttons. Wrong actions can lead to data loss, device locking, or even physical damage to hardware. So the first step is a full backup of all the important data. Use Mi Cloud, Google Photos for media files, or local copying to your PC via MTP.
Also check:
- ๐ Battery charge at least 60 percent. When discharged during firmware, the phone can turn off and turn into a brickยป.
- ๐ Cable USB โ Use an original or certified Type-C cable. Cheap analogues can interrupt the connection.
- ๐ป Drivers โ Install Mi Flash Tool and drivers for Fastboot/ADB (You can download it on the official Xiaomi website).
- ๐ฅ Firmware โ download the file for your model (olive for Redmi 8) and check its integrity through the MD5-sum.
๐ก
If you're flashing your phone for the first time, practice on an old device or emulator, which will help you avoid making critical mistakes on the main gadget.
Attention to MIUI! Redmi 8 supports two firmware branches:
- ๐ Global (MIUI Global โ for the international market, with Google Services.
- ๐จ๐ณ China (MIUI China โ no Google services, but with additional features for China.
Installing an incompatible version will cause errors in the modems or camera. You can check the current firmware in Settings โ About Phone โ MIUI version.
Method 1: Update via MIUI Updater (without unlocking the bootloader)
The safest method is to upgrade through the built-in System Update app, which is suitable for installing official firmware without loss of data and does not require unlocking the bootloader, but this way you can only upgrade to the latest version of MIUI for your region.
Instructions:
- Open Settings โ About the phone โ System update.
- Click on the icon ยซโฎยป (three dots) in the upper right corner and select Select firmware file.
- Specify the path to the downloaded firmware file (.zip format).
- Confirm the installation and wait for the restart (it will take 5-15 minutes).
Limitations of the method:
- โ You can't downgrade the story. MIUI (downgrade).
- โ Custom firmware is not supported.
- โ If the firmware file is damaged, the phone will hang on the Mi logo.
What to do if the update is suspended?
Method 2: Firmware through Recovery (for official and some custom firmware)
The Recovery method is suitable for installing official firmware (including downgrade) and some custom ROMs if they support installation via TWRP. The advantage is that you do not need a PC connection, but the bootloader must be unlocked.
Step-by-step:
- Download the firmware in.zip format and move it to the root directory of internal memory (not in folders!).
- Turn off the phone, then press Power + Volume up to enter Recovery.
- In standard Mi Recovery, select the language, then: Install update.zip to System One โ specify the firmware file โ confirm.
- If you have TWRP, select Install, specify the file, and make Swipe to Confirm Flash.
- After installation, select Reboot System.
โ๏ธ Preparing for Firmware Through Recovery
The difference between Mi Recovery and TWRP is:
| Parameter | Mi Recovery (stock) | TWRP (castomic) |
|---|---|---|
| Installation of official firmware | โ Yes. | โ Yes. |
| Installation of custom firmware | โ No. | โ Yes. |
| Data backup | โ No. | โ Yeah, Nandroid backup) |
| Requires unlocking of the loader | โ No (for official firmware) | โ Yes. |
| Support for OTG | โ No. | โ Yes. |
Important: If you install custom firmware through TWRP, be sure to run Wipe โ Format Data (enter yes for confirmation).
Method 3: Fastboot Firmware (for power users)
Fastboot is the most reliable method for installing official firmware, especially if the phone is not booting, and it requires a connection to a PC and an unlocked bootloader.
- ๐ Recovery of the phone after a failure.
- ๐ downhreid MIUI.
- ๐ง Fixing errors after a failed firmware through Recovery.
Instructions for Windows:
- Unpack the archive with the firmware (.tgz format) in the folder with the Mi Flash Tool.
- Turn off the phone and press Power + Volume down to enter the Fastboot (the image of a hare in a hat-eared will appear).
- Connect your phone to your PC and start the Mi Flash Tool.
- In the program, click Select, specify the folder with unpacked firmware.
- Select firmware mode: Clean all โ clean (recommended); Clean all and lock โ clean + lock bootloader (only for official firmware!); Save user data โ data storage (not always stable).
Flash
๐ก
Clean all and lock mode will block the bootloader after the firmware is installed. Use it only if you install an official MIUI and do not plan custom ROMs!
Common errors when running through Fastboot:
- ๐ซ anti_rollback โ It happens when you try to install the old version. MIUI. Solution: only new versions are used.
- ๐ซ flash_write_failed โ cable or port problems USB. Try another cable or PC.
- ๐ซ Freezing by 40-50% โ often associated with antivirus that blocks the Mi Flash Tool.
Unlocking the bootloader: a mandatory step for custom firmware
The Redmi 8 bootloader is locked by default. To install custom firmware (like LineageOS or Havoc-OS), it needs to be unlocked. The process takes up to 72 hours due to Xiaomi's policy, but once unlocked, you'll have full control of the device.
Step-by-step:
- Link your Mi Account to your phone in Settings โ Xiaomi Account.
- Turn on USB Debugging in Settings โ About Phone โ MIUI Version (click 7 times on MIUI Version, then go back to Additional Settings โ For Developers).
- Download Mi Unlock Tool from the official website.
- Turn off the phone, press Power + Volume down to log into Fastboot.
- Connect your phone to your PC, launch the Mi Unlock Tool, and log in to your Mi Account.
- Press Unlock. If the message "Wait 72 hours" appears, wait for the specified time and try again.
๐ก
If the Mi Unlock Tool gives you a โCouldnโt unlockโ error, try using another Windows 10/11 PC or disable driver verification via gpedit.msc (for power users).
What does unlock the loader give:
- โ Possibility to establish TWRP custom-made.
- โ Removal of embedded applications MIUI (debloat).
- โ Rooting (Getting root rights).
Risks of unlocking:
- โ ๏ธ Resetting all data (including internal memory!).
- โ ๏ธ Loss of warranty (if it is still valid).
- โ ๏ธ Vulnerability to malware (if not monitored for security).
Install custom firmware: LineageOS, Pixel Experience and others
If you don't like MIUI with its advertising and restrictions, you can install custom firmware based on Android. Redmi 8 is available:
- ๐ฑ LineageOS โ pure Android without unnecessary applications.
- ๐ฑ Pixel Experience โ firmware with the interface and features of Google Pixel.
- ๐ฑ Havoc-OS - customizable firmware with many settings.
- ๐ฑ ArrowOS โ Balance between performance and functionality.
Requirements for installing custom firmware:
- โ Unlocked loader.
- โ Established custom recovery (TWRP).
- โ Compatible firmware for the olive model.
- โ Gapps (Google services, if not included in firmware).
Instructions for installing Pixel Experience:
- Download firmware and Gapps (like NikGapps or OpenGapps) for ARM64, Android 12/13.
- Reboot to TWRP (Nutrition + Volume Up).
- Run Wipe โ Advanced Wipe and mark Dalvik, Cache, System, Data.
- Install firmware, then Gapps (order is important!).
- Reboot System: The first launch can take 10-15 minutes.
How to check the compatibility of the firmware?
Problems after installing custom firmware:
- ๐ No sound โ check if vendor files are installed from official firmware.
- ๐ถ No network, maybe the firmware doesn't support your region. Try a different build.
- ๐ Fast battery discharge โ calibrate the battery (discharge to 0%, then charge to 100% without interruptions).
Solving problems after flashing
Even if you follow all the instructions, sometimes you get mistakes, and here are the most common problems and solutions.
| Problem. | Possible cause | Decision |
|---|---|---|
| Phone not turned on (black screen) | Incorrect firmware or interrupted process | Swipe the official MIUI through Fastboot with a full clean (Clean all) |
| Hanging on the Mi logo | Module conflict or lack of vendor | Re-install firmware with Wipe Dalvik/Cache |
| Mistake. anti_rollback | MIUI Downgrade Attempt | Switch only a new version or an official global stable version |
| No IMEI or network. | Damaged modem or EFS | Restore EFS via TWRP or flash the stock vendor |
| The camera's not working. | No drivers or conflict with Gapps | Install ANX Camera or flash firmware with Camera2API support |
If the phone has become a brick:
โ ๏ธ Warning: If the phone doesnโt respond to buttons and isnโt detected by a PC after firmware, try the Test Point method (for power users!).It requires disassembling the device and closing the contacts on the board to force login. EDL-Without rationing skills, you should go to the service center.
To recover through EDL, you will need:
- ๐ง Qualcomm HS-USB QDLoader 9008 driver.
- ๐พ Firmware in.mbn format for Redmi 8.
- ๐ฅ๏ธ Mi Flash Pro or QFilm.