Reflashing Xiaomi Redmi 8: official and custom methods

Xiaomi Redmi 8 is one of the most popular budget smartphones of 2019, but even after 5 years it can be revived with new firmware. Firmware helps to eliminate lags, install the current version of Android, access new features or even install custom firmware like LineageOS. However, the process requires care: a mistake at any stage can turn the phone into a โ€œbrickโ€.

In this article - 3 proven methods of flashing (through the MIUI Updater, Recovery, and Fastboot, detailed instructions for unlocking the bootloader, choosing the right firmware version, and solving common bugs, and unique nuances for Redmi 8 that are not in the general manuals: working with the software. EDL-mode in case of critical failures and bypassing the restrictions of Xiaomi on old models.

Preparation for Flashing: What to Do Before Starting

Redmi 8 flashing (codenamed olive) differs from Xiaomiโ€™s newer models due to the outdated Qualcomm Snapdragon 439 processor architecture and bootloader features.

  • ๐Ÿ”‹ Charge the phone to at least 60% โ€“ when discharged during firmware, there is a high risk of damage to the boot partition.
  • ๐Ÿ“ฑ Make sure the Redmi 8 is the right model, not the Redmi. 8A or Redmi 8T (Check in the settings โ†’ The phone. โ†’ Models. They don't have firmware.
  • ๐Ÿ’พ Make a backup through Mi Cloud or TWRP (It is especially important to save folders. DCIM, Downloads and application data.
  • ๐Ÿ” Unlock the bootloader (if you plan to run through Fastboot or custom Recovery). For Redmi 8, it's a must!

If you're flashing your phone for the first time, start with the official firmware through MIUI Updater, which is the safest method. Fastboot or custom firmware is good for power users, but they require unlocking the bootloader and are risky when errors occur.

โš ๏ธ Attention: Redmi 8 with version MIUI 12.5 and newer Xiaomi blocks rollback on old firmware via anti-rollback. Trying to install the version below the current one will lead to a complete failure of the download (hard brick). โ†’ The phone. โ†’ Version. MIUI.

๐Ÿ“Š What kind of firmware method do you plan to use?
Official MIUI Updater
Fastboot (via Mi Flash)
Recovery (TWRP)
Brushing Firmware (LineageOS, Pixel Experience)

Method 1: Firmware via MIUI Updater (without unlocking the bootloader)

The easiest way to upgrade to Redmi 8 is to use the built-in MIUI Updater app, which is suitable for installing official stable or beta versions of MIUI, but does not allow you to downgrade or install custom firmware.

Instructions:

  1. Open Settings โ†’ About the phone โ†’ System update.
  2. Click on the icon ยซโ‹ฎยป (three dots) in the upper right corner and select Select Service Package.
  3. Specify the path to the downloaded firmware file (the.zip format, the name must contain olive - the code name of the model).
  4. Confirm the installation and wait for the restart (it will take 5-10 minutes).

If the update is โ€œhangingโ€ during the verification phase, try:

  • ๐Ÿ”„ Rename the firmware file to update.zip try again.
  • ๐Ÿ“ก Connect to another Wi-Fi network (sometimes Xiaomi servers are blocked) IP-address).
  • ๐Ÿ”ง Reset network settings in Settings โ†’ SIM-maps and networks โ†’ Resetting network settings.

โš ๏ธ Note: If, after updating, through MIUI Updater phone loads into Recovery with Couldn't verify update package error, which means that the firmware file is corrupted or not intended for your model. MIUI Downloads.

Download the firmware from the official website (select the olive model)|Check the integrity of the archive (the size must match the size indicated on the site)|Rename the file to update.zip (Not necessarily, but it helps with mistakes)|Place the file in the root directory of internal memory (not in the folder)-->

Method 2: Firmware through Recovery (TWRP or Stock Recovery)

Installing firmware through Recovery is suitable for official and some custom firmware. Redmi 8 has two options:

  1. Stock Recovery is a standard recovery from Xiaomi (limited to official firmware).
  2. TWRP - custom recovery, allows you to install any.zip firmware, make backups and modify the system.

For Stock Recovery:

  1. Download the firmware in.zip format (for example, miui_OLIVEGlobal_V12.5.1.0.QCNMIXM_...).
  2. Rename the file to update.zip and place it in the root of the memory.
  3. Turn off the phone, then press Volume Up + Power to enter Recovery.
  4. Select Install update.zip to System and confirm.

For TWRP:

  1. Install TWRP via Fastboot (instructions below in the section about unlocking the bootloader).
  2. Download firmware (e.g. LineageOS or Pixel Experience for olive).
  3. Boot to TWRP (Loud Up + Power), select Wipe โ†’ Format Data (required!), then Install and specify the firmware file.
  4. After installing the firmware, install GApps (if you need Google services) and Magisk (for root rights).
Type RecoverySupported firmwareDo you need to unlock the bootloader?The risk of brick
Stock RecoveryOnly official MIUI (zip)No.Low.
TWRPAny custom and official firmwareYes.Medium (for errors in the wipe)
OrangeFoxCustom firmware (alternative to TWRP)Yes.Medium.
How to check the integrity of the firmware before installation?
Before you run through Recovery, it is recommended to check the hash amount of the file. 1. Download the HashMyFiles utility (Windows) or use the command sha256sum (Linux/Mac). 2. Compare the received hash with the official one on the firmware developer's website. 3. If the hashes do not match, the file is corrupted, download it again.

Method 3: Fastboot (Mi Flash Tool)

Fastboot is the most reliable way to bring Redmi 8 back to life if it doesnโ€™t boot or is โ€œblockedโ€ by a computer with Qualcomm drivers installed and the Mi Flash Tool program.

Step-by-step:

  1. Download the official Fastboot firmware (a file with the.tgz or.zip extension) and unpack it into a folder without Cyrillic characters.
  2. Install the Mi Flash Tool and Qualcomm drivers (if Windows doesnโ€™t recognize your phone in Fastboot).
  3. Turn off Redmi 8, press Volume Down + Power to enter the Fastboot (a hare in a hat-out-of-the-box will appear).
  4. Connect your phone to your PC via USB (use the original cable!).
  5. In Mi Flash Tool, click Select, specify the folder with the unpacked firmware, then Refresh (should appear). COM-port).
  6. Select firmware mode: Clean all โ€“ complete cleaning (recommended in case of failures); Clean all and lock โ€“ cleaning + lock bootloader (dangerous if not sure!); Save user data โ€“ saving user data (does not always work).

Flash

If the Mi Flash Tool is not allowed, then the critical partition flashing error is:

  • ๐Ÿ”น bootloader is locked โ€“ you need to unlock it (instruction below).
  • ๐Ÿ”น You are trying to flash firmware older than the current version (anti-rollback is prohibited).
  • ๐Ÿ”น The firmware file is corrupted or not intended for olive.

1. Reinstall drivers manually through Device Manager (select "Qualcomm HS-USB QDLoader 9008").

2. Use another USB-port USB 2.0 on the back of the PC).

3. Run the Mi Flash Tool on behalf of the administrator.-->

Unlocking the bootloader on Redmi 8: a step-by-step guide

Xiaomi blocks the bootloader on all its devices, including Redmi 8. Without unlocking, it is impossible to install custom Recovery or flash informal firmware. The process takes 7 days (mandatory wait after the account is tied).

Instructions:

  1. Link your Mi Account to your phone: Go to Settings โ†’ Xiaomi Account and log in. Enable Settings โ†’ Additional โ†’ Developer โ†’ Unlock OEM (if not, tap 7 times on the About Phone version of MIUI).

Mi Unlock Tool

Redmi 8

Fastboot

Loudness down + Nutrition

Mi Unlock Tool

Unlock

TWRP

If the Mi Unlock Tool is a Couldn't unlock error:

  • ๐Ÿ”น Make sure your Mi Account is linked to your phone and confirmed by SMS/email.
  • ๐Ÿ”น Try using a different version of the Mi Unlock Tool (e.g. 5.5.224.24 instead of the last one).
  • ๐Ÿ”น Turn off antivirus and firewall on PC โ€“ they can block the connection.
  • ๐Ÿ”น If the phone is not identified, check the cable and port. USB (It is better to use the original Xiaomi cable).

โš ๏ธ Attention: Redmi 8 with firmware MIUI 13+ Xiaomi has tightened account verification. If you recently reset your phone to factory settings, unlocking the bootloader may not work for 30 days after resetting.

๐Ÿ’ก

Unlocking the bootloader on Redmi 8 is only possible 1 time every 30 days.If you lock it again (for example, through the Mi Flash Tool), re-unlocking will require a new wait.

Solving Common Errors When Firmware Redmi 8

Even if you follow the instructions accurately, you can get errors, and here are the most common problems and solutions for the Redmi 8.

Mistake.Reason.Decision
This package is for "olive" devices; this is a ""The firmware is not intended for Redmi 8 (codenamed Olive).Download the firmware with the correct code name. Check the model in Fastboot command: fastboot getvar product
E3004: Critical partition flashing is not allowedbootloader is blocked or firmware older than the current versionUnlock the bootloader or run a newer version of MIUI
The phone does not turn on after firmware (black screen)The boot or dtbo section is damagedSwipe your phone through Fastboot with a clean all checkmark
Invalid sparse file format at header in TWRPA firmware file or incompatible version of TWRP is damagedDownload the firmware again and use the official TWRP for olive
Hanging on the MI logo after firmwareIncompatibility of the core or modules in custom firmwareInstall another firmware or run the official MIUI through Fastboot

If the phone has turned into a hard brick, and even the Fastboot is not defined, there is a last chance โ€“ firmware through the phone. EDL-The Emergency Download Mode (ED) is the mode for this:

  1. Download an authorized EDL account (or use your own if it is linked to a device).
  2. Connect your phone to your PC by holding Volume Up + Volume Down + Power (should be defined as Qualcomm HS-USB QDLoader 9008).
  3. Use the Mi Flash Tool or QFil to firmware the full image (firehose).
What to do if the Mi Flash Tool doesn't see the phone in EDL?If the phone isn't defined as a Qualcomm 9008, try it
1. Use another PC (better with Windows 7/10, no driver updates via Windows Update). 2. Disable driver signatures in Windows (via gpedit.msc โ†’ User configuration โ†’ Administrative templates โ†’ System โ†’ Install driver โ†’ Disable signature verification). 3. Use test-point method (closing contacts on the board), but this requires disassembly of the phone and soldering skills.

Firmware selection for Redmi 8: official MIUI vs custom

Before you start, you need to decide on the type of firmware. Redmi 8 is available:

  • ๐Ÿ“ฑ Official. MIUI (stable/beta โ€“ maximum compatibility but limited customization options.
  • ๐Ÿ› ๏ธ Custom firmware (LineageOS, Pixel Experience, Havoc-OS) โ€“ current Android, but possible bugs with a camera or module NFC.
  • ๐Ÿ”„ Ported firmware (e.g, MIUI Redmi Note 8 โ€“ not recommended due to instability.

Comparison of official and custom firmware:

CriteriaOfficial MIUICastomic (LineageOS, PE)
Android versionAndroid 10 (last official)Android 11โ€“13 (depending on firmware)
Security updatesNo (support terminated)Monthly (depending on the community)
ProductivityStable but possible lagsFaster, but there's a possibility of bugs.
Camera.Full support (including 48 MP)Partially working (may not have HDR or Portrait Mode)
Root accessRequires Magisk + unlock the bootloaderUsually on by default

For most Redmi 8 users, the best choice is the latest stable MIUI (like MIUI 12.5 based on Android 10).

Where to download firmware:

  • ๐Ÿ”— Officially: MIUI Downloads (choose olive).
  • ๐Ÿ”— Castomy: XDA Developers or Telegram channels.

FAQ: Frequent questions about Redmi firmware 8

Can I flash Redmi 8 without unlocking the bootloader?
Yes, but only through MIUI Updater or Stock Recovery, custom firmware or TWRP is required to be unlocked, and you can't flash your phone through Fastboot without unlocking it.
How to return the official firmware if the phone after the custom is not turned on?
Download the official Fastboot firmware from Xiaomi, then run it through the Mi Flash Tool in Clean All mode. If the phone is not identified in Fastboot, use it EDL-Regime (Authorized Account Required).
Why is the camera or mobile network not working after the firmware?
This is a typical problem with custom firmware on Redmi 8. Solutions: Install GApps of the correct version (for example, NikGApps for Android 11). Select the camera modules (GCam or patch for libcamera). Check the network settings: go to Settings โ†’ SIM-maps and networks โ†’ Access point (APN) tune in APN hand-held operator.
How long does it take to get through Fastboot?
The process takes 5 to 15 minutes depending on the speed USB-If the Mi Flash Tool is stuck on flashing... for longer than 20 minutes, interrupt the process, check the cable and try again.
Can I flash Redmi 8 on Android 13?
Officially, no, the latest version of MIUI for Redmi 8 is based on Android 10. However, there are unofficial ports of LineageOS 20 or Pixel Experience 13, but they can have critical bugs (for example, broken Wi-Fi or camera).