How to flash Xiaomi Redmi 8 through Fastboot: a complete guide to debunking errors

Xiaomi Redmi 8 (codenamed olive) remains a popular budget smartphone even years after its release, but over time, users are faced with the need to reflash the device: someone wants to update the outdated MIUI, someone wants to eliminate software glitches, and someone plans to install custom firmware. Fastboot is considered the most reliable method, but requires accurate follow the instructions and take into account the nuances specific to this model.

Unlike firmware through Recovery, Fastboot allows you to restore a device even when the system is not booted or damaged, but there are pitfalls here, from the mandatory unlocking of the bootloader to the correct choice of firmware version (global, Chinese, EEA). In this article, we will discuss the process from A to Z, with an emphasis on the typical mistakes that users make when running Redmi 8 firmware, and how to avoid them.

Preparation for firmware: what you need to know before you start

Fastboot firmware isn't just about copying files to your device, it's about completely rewriting the system partition, which can both bring your smartphone to life and turn it into a brick if something goes wrong. Before you start, make sure that:

  • πŸ”‹ Battery charge at least 60%. firmware can take up to 10-15 minutes, and if the device turns off in the process, the consequences will be fatal.
  • πŸ” The bootloader is unlocked. Xiaomi blocks it by default, and without unlocking the firmware through Fastboot is impossible.
  • πŸ’» There are drivers on your PC. MiFlash won't see the device without them. Official drivers can be downloaded from Xiaomi's website or through the Mi Unlock Tool.
  • πŸ“₯ The correct firmware is downloaded. Redmi 8 will only work with the version marked Fastboot (extension.tgz or.zip).

Pay special attention to the firmware version. Redmi 8 has several options:

  • 🌍 Global (MIUI Global – for the international market, supports Google services.
  • πŸ‡¨πŸ‡³ China (MIUI China – without Google, but with Chinese services.
  • πŸ‡ͺπŸ‡Ί EEA (European – for Europe, with some restrictions (for example, no desktop themes).
  • πŸ”§ Developer (MIUI Developer – Test version with weekly updates.

If your Redmi 8 was originally running on Global, install Global, or you run the risk of problems with IMEI, modem, or even a broken system.

πŸ“Š What kind of firmware do you plan to install on Redmi 8?
MIUI Global
MIUI China
MIUI EEA
LineageOS (Pixel Experience)
Another.

Step 1: Unlock the bootloader on Xiaomi Redmi 8

Without an unlocked bootloader, firmware via Fastboot is impossible. Xiaomi requires you to link your Mi Account to your device and wait 168 hours (7 days) after the first link. If you have already unlocked the bootloader before, skip this step. If not, follow the instructions:

  1. Download Mi Unlock Tool from the official website.
  2. Turn on the smartphone Developer Mode: go to Settings β†’ About Phone β†’ MIUI version and tap it 7 times.
  3. Back to Settings β†’ Additionally. β†’ For developers and activate: πŸ”“ Unlocking OEM (OEM Unlocking) πŸ”Œ Debugging by USB (USB Debugging)

Redmi 8

Mi Unlock Tool

Mi Account

Couldn’t unlock. Wait for 168 hours

It is impossible to block the account without risk.

Once successfully unlocked, the device will automatically reset to factory settings. This is normal, as Xiaomi protects against unauthorized access.

πŸ’‘

If the smartphone does not turn on after unlocking the bootloader, try to press the power button for 20-30 seconds. Sometimes the system β€œhangs” on the MI logo after reset.

Step 2: Install the necessary tools on the PC

To run through Fastboot, you will need:

  1. MiFlash Tool is the official utility from Xiaomi for firmware in Fastboot mode.
  2. ADB and Fastboot drivers to interact with the device via the command line. Install them via the Android SDK Platform-Tools.
  3. Firmware for Redmi 8 – download it from the official Xiaomi website (section) MIUI Downloads) or trusted sources (e.g. Xiaomi Firmware Updater).

Unpack the firmware in a folder with a short path (for example, C:\Redmi8_Fastboot). The folder name must not have Cyrillic or spaces! otherwise MiFlash may not see the files.

Tool.Download linkNotes
MiFlash ToolOfficial websiteVersion 2020.3.14.0 or later
ADB & FastbootAndroid SDKInstall Platform-Tools only
Redmi 8 firmwareMIUI DownloadsChoose a version of Fastboot for your region
Xiaomi driversMi Unlock ToolInstall automatically when the device is connected

After installing all the tools, check if your PC sees your Redmi 8 in Fastboot mode.

  1. Turn off your smartphone.
  2. Press the Power button + Volume down before the Fastboot logo appears.
  3. Connect the device to the PC.
  4. Open the command line (Win + R β†’ cmd) and type: fastboot devices If you see the serial number of the device in response, everything is configured correctly.

β˜‘οΈ Pre-firmware check

Done: 0 / 5

Step 3: The Firmware Process Through MiFlash

Now, let's get to the most critical part. USB-Do not interrupt the process until it is complete, otherwise the device may turn into a brickΒ».

  1. Run the MiFlash Tool on behalf of the administrator.
  2. Click Select and point the way to the folder with unpacked firmware.
  3. At the bottom of the window, select the firmware mode: πŸ”„ Clean all – complete cleaning (recommended when changing version) MIUI). πŸ—ƒ Clean all and lock - cleaning + Loader lock (use only if you are sure!). πŸ”§ Save user data – saving user data (not always working correctly).

Redmi 8

Fastboot

Refresh

Flash

If it's successful, you'll see the green word Flash Done in the MiFlash log, and the device will automatically restart, and it can take up to 10 minutes to start up after the firmware is installed, which is normal.

What if MiFlash can’t see the device?
1. Check if drivers are installed (Device Manager should not have exclamation points next to the "Android Bootloader Interface"). 2. USB-cable (preferably original) and port USB 2.0 (not 3.0!). 3. Reinstall drivers via Mi Unlock Tool. 4. Run MiFlash on behalf of the administrator.

Typical Firmware Errors of Redmi 8 and Their Solutions

Even if you follow the instructions accurately, users are faced with errors.

Mistake.Reason.Decision
Couldn't find fastboot devicesPC doesn't see the deviceCheck drivers, cable, USB port. Try the fastboot device manually.
Flash is not doneIncompatible firmware or corrupted filesDownload the firmware again, check the version (Global/China/EEA).
Anti-rollback check failTrying to install an older version of MIUIUse firmware no older than the current or newer with Anti-Rollback support.
The device is stuck on the MI logoIncorrect firmware mode or damaged partitionsRepeat the firmware in clean all mode.

If Redmi 8 doesn’t turn on or reboots after you’ve run it, try:

  1. Re-complete the firmware with a full clean (clean all).
  2. Check if the firmware version matches the model (olive for Redmi 8).
  3. Make sure the bootloader is unlocked (if not, unlock it again).

πŸ’‘

If the network or IMEI is missing after the firmware, it is likely that the firmware from another region (e.g. China instead of Global) was installed. Solution: run the correct version of MIUI.

Custom Recovery (TWRP) for Redmi 8

If you are planning to install custom firmware (like LineageOS or Pixel Experience), you should first flash TWRP Recovery. Redmi 8 is suitable for TWRP version 3.7.0 or later.

Instructions:

  1. Download the twrp-3.7.0-olive.img image and place it in the folder with fastboot.
  2. Put the device into Fastboot mode.
  3. Open the command line in the folder from fastboot and type: fastboot flash recovery twrp-3.7.0-olive.img fastboot boot twrp-3.7.0-olive.img
  4. After downloading to TWRP, run Wipe β†’ Format Data (this will remove encryption).
  5. Reboot to TWRP and run custom firmware through Install.

⚠️ Note: After installing custom firmware, Google Pay, Widevine may stop working (for Netflix in the Internet) HD) other services tied to the original software, and there may be problems with the modem (no network).

IMEI Recovery After Firmware

One of the most frustrating problems after a firmware is loss. IMEI. This happens if you flash the firmware of another region or damage the modem partition. IMEI two ways:

Method 1: Through the engineering menu (if the IMEI just resets, but the modem section is intact)

  1. Open the phone app and dial: ##4636##
  2. Go to Phone Information and check your current IMEIs (they should be 0 or Null).
  3. Download the IMEI Changer application (root rights required).
  4. Enter the original IMEIs (they are listed on the box or under the battery) and save.

Method 2: Fastboot (if the modem partition is damaged)

  1. Download the original modem file for your version of MIUI (can be extracted from the official firmware).
  2. Fastboot: fastboot flash modem modem.img
  3. Restart the device and check the IMEI.

⚠️ Attention: Change IMEI Use this method only to restore the original values listed on the device box.

FAQ: Frequent questions about the firmware Xiaomi Redmi 8

Can I flash Redmi 8 without unlocking the bootloader?
No. Xiaomi blocks firmware through Fastboot on all devices released after 2016. Without unlocking the bootloader, you can only flash through Recovery, but that won't give you full control of the system.
How do I know if my Redmi 8 bootloader is unlocked?
Turn off the device, then press the Power button + Volume up. If you see Unlocked under the MI logo, the bootloader is unlocked. If Locked is not.
Which firmware to choose: stable or developer (Developer)?
If you want stability, go for Stable (global or EEA). If you want new features and don't be afraid of bugs, Developer. Note that Developer updates weekly and may contain critical bugs.
Can I revert to an older version of MIUI?
Technically, yes, but Xiaomi has implemented anti-Rollback protection, and if you try to install firmware older than the current one, you get the Anti-rollback check fail error, and the only way out is to flash the new version with Anti-Rollback support.
What if the camera or fingerprint sensor does not work after the firmware?
This is a typical problem when installing custom firmware or firmware from another region. Solution: Sweep through the original firmware for your region. If the problem persists, check if the camera drivers are damaged (sometimes the firmware of persist.img from the official firmware helps).