How to flash Xiaomi Redmi 8: all the ways with instructions and tips

Xiaomi Redmi 8 is a popular budget smartphone that is still widely used due to its reliability and the ability to install current versions of MIUI or custom firmware. However, the firmware process can seem difficult for beginners: it is important to consider the version of the bootloader, the type of firmware (official / custom), and avoid the typical errors that turn the phone into a โ€œbrickโ€.

In this article, we will discuss all the current methods of firmware for Redmi 8 (codenamed olive): from updating via MIUI Updater to manual installation via Fastboot or TWRP Recovery. Particular attention will be paid to preparing the device, unlocking the bootloader and solving common problems - for example, when the smartphone is not determined by the computer or hangs on the Mi logo.

If youโ€™ve never flashed Xiaomi before, start with the backup section โ€” itโ€™ll save your data even if it crashes. For power users, move straight to unlocking the bootloader or installing custom firmware.

Preparation for firmware: what to do before the start

Redmi 8 firmware requires pre-preparation, otherwise the risk of errors increases significantly. The first thing to check is the version of the current firmware and the status of the bootloader.

  1. Go to Settings โ†’ About โ†’ MIUI version and write down the current version (e.g. MIUI 12.5.3 Stable).
  2. Find out the status of the bootloader: turn off the phone, then press Volume Down + Power to get into Fastboot. If the bottom of the screen says Locked, the bootloader is locked.
  3. Check the battery level โ€“ it should be at least 60%, otherwise the process may be interrupted.

Also prepare the necessary tools:

  • ๐Ÿ–ฅ๏ธ Windows computer 10/11 (for the Mi Flash Tool or Linux/macOS (for fastboot in the terminal).
  • ๐Ÿ”Œ Cable USB Type-C (preferably original, as cheap cables may not transmit data).
  • ๐Ÿ“ Firmware for your model (download only from official sources: MIUI Downloads or Xiaomi Firmware Updater).
  • ๐Ÿ› ๏ธ Used by Mi Flash Tool, ADB/Fastboot, Qualcomm drivers (if needed).

โš ๏ธ Note: If your Redmi 8 is purchased in China (suffix version) CN In the model name, the firmware of the global version of Global can block the network!

๐Ÿ“Š What type of firmware do you plan to install?
Official MIUI Stable
Official MIUI Beta
LineageOS (Pixel Experience)
other

Backup: How to save data before firmware

Redmi 8 firmware in most cases leads to a complete data reset (especially when installed via Fastboot or TWRP).

  • ๐Ÿ“ฑ Contacts and Messages: sync with your Google or Mi Account account in your settings.
  • ๐Ÿ“ท Photos and videos: copy to your computer or upload to Google Photos/Mi Cloud.
  • ๐ŸŽฎ Apps and games: Use Titanium Backup (requires root) or manually save files from a folder /Android/data/.
  • ๐Ÿ“ System settings: Write down or take a picture of key settings (e.g. settings) APN mobile-internet).

You can use TWRP Recovery for a full system backup if it's already installed.

  1. Boot to TWRP (Put Volume Up + Power on).
  2. Select Backup โ†’ Select Storage (select MicroSD or USB-OTG).
  3. Check the Boot, System, Data sections and click Swipe to Back Up.

๐Ÿ’ก

If you donโ€™t have TWRP but have root access, use the Swift Backup app from Play Market โ€“ it saves app data and settings without the need for custom recavator.

Donโ€™t rely on cloud services alone: some data (like game saves or Magisk settings) may not sync.

Unlocking the bootloader on Redmi 8: step-by-step instructions

Most of the ways Redmi 8 firmware requires an unlocked bootloader. The official process from Xiaomi involves linking a Mi Account and waiting for permission (usually 3-7 days).

  1. Link your Mi Account to your phone: Go to Settings โ†’ Xiaomi Account. Sign in (if not, sign up) Activate Find Your Device and confirm via SMS/email.
  2. Request unlock: Download Mi Unlock Tool and install it on your computer. Launch the utility, log in to the same Mi Account as your phone. Connect Redmi 8 in Fastboot mode (press Volume Down + Power). Press Unlock to see a wait message (usually 168 hours).

Once you approve unlock, repeat the process: plug your phone into Fastboot, launch the Mi Unlock Tool, and press Unlock. The device will reboot with the bootloader unlocked.

โš ๏ธ Warning: Unlocking the bootloader resets all data on the phone, including internal memory.

Method of unlockingWaiting timeData resettingSuitable for
Official (Mi Unlock Tool)3-7 daysYes.Official and custom firmware
Through EDL (Emergency Mode)No waiting.Yes.Only for experienced users
TWRP bypass (outdated)โ€”No.It does not work on new versions of MIUI.

If the Mi Unlock Tool is running a "Couldn't unlock" error, check:

  • ๐Ÿ”น Mi Account is linked to phone and confirmed.
  • ๐Ÿ”น It's on on the phone. OEM Unlock in Settings โ†’ For developers.
  • ๐Ÿ”น You use the original cable and port. USB 2.0 (ports) USB 3.0 can cause errors).

Firmware via MIUI Updater (without computer)

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

Instructions:

  1. Open the Update app on your phone.
  2. Click on the icon. โš™๏ธ (setting) โ†’ Select a Service Package.
  3. Specify the path to the downloaded firmware file (.zip format).
  4. Confirm the installation and wait for the reboot.

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

  • ๐Ÿ“Œ Rename the firmware file to update.zip and put in the root of memory.
  • ๐Ÿ“Œ Shut down. VPN or Proxy in network settings.
  • ๐Ÿ“Œ Reset network settings in Settings โ†’ SIM-maps and mobile networks โ†’ Resetting network settings.

โš ๏ธ Note: If the phone stopped turning on after updating via Updater, try booting into Recovery (click Volume Up). + Power) and run Wipe Data. This often solves the problem with the "eternal logo" of Mi.

Download the correct firmware version (Global/EEA/CN)

Check the battery charge (>50%)

Disable the ad blocker (may interfere with the loading)

Backup important data

-->

Firmware via Fastboot (complete reinstallation of MIUI)

The Fastboot method is suitable for full Redmi 8 flashing when other methods fail (e.g., when a "brick" or update crashes).

Step-by-step:

  1. Download the firmware for Fastboot (a file with the extension.tgz or.zip). Unpack it into a folder without Cyrillic characters.
  2. Install the Mi Flash Tool and Qualcomm drivers (if needed).
  3. Turn off your phone and boot to Fastboot (Loudness Down + Power).
  4. Connect Redmi 8 to your computer and start the Mi Flash Tool.
  5. In the utility, click Select, specify the path to the unpacked firmware, then Refresh (the device should appear).
  6. Select firmware mode: Clean all - full reset (recommended), Clean all and lock - reset + lock bootloader (only for official firmware), Save user data - save data (may cause errors).

Flash

If the Mi Flash Tool is a โ€œflash not doneโ€ or โ€œcritical partitionโ€ error, try:

  • ๐Ÿ”ง Reinstall Qualcomm drivers manually through Device Manager.
  • ๐Ÿ”ง Use a different version of the Mi Flash Tool (e.g., Mi Flash Pro).
  • ๐Ÿ”ง Swipe manually through the command line (instruction below).
Command Prompt Firmware (alternative to Mi Flash Tool)
1. Unpack the firmware in a folder. C:\fastboot_rom\. 2. Open the Command Prompt on behalf of the administrator and go to the folder: cd C:\fastboot_rom\ 3. Run the command to check the connection: fastboot devices (should display the serial number of the phone). 4. Start the firmware command: fastboot flash all -w (flag -w drop-off). 5. Upon completion, type in fastboot reboot

Fastboot removes all data, including files in internal memory. If you need to save photos or documents, remove the microSD card before starting the process.

Install custom firmware (LineageOS, Pixel Experience, etc.)

Custom firmware such as LineageOS, Pixel Experience or HavocOS allows you to get the latest version of Android (for example, Android 13 instead of the standard Android 10 on Redmi 8).

  • ๐Ÿ”“ Unlocked loader.
  • ๐Ÿ› ๏ธ Established custom recaveri TWRP.
  • ๐Ÿ“ฅ Compatible firmware for the olive model.

Installation instructions:

  1. Install TWRP: Download the official TWRP for Redmi 8 (.img file). Download to Fastboot and execute the command: fastboot flash recovery twrp.img Immediately after that go to TWRP (click Volume Up + Power), otherwise the standard firmware will overlaid the recavereas.
  2. Sweeve custom firmware: Copy the firmware file (.zip) and GApps (if you need Google services) to MicroSD or internal memory. TWRP Choose the Wipe โ†’ Advanced Wipe and check Dalvik, Cache, System, Data. Go back to the main menu, press Install, select the firmware file and confirm installation. Similarly, swipe GApps (if required). Reboot to the system (Reboot). โ†’ System).

The first download of custom firmware can take 10-15 minutes - don't interrupt the process! If the phone hangs on the logo, try:

  • ๐Ÿ”„ Repeat the installation with a full reset (Format Data in the TWRP).
  • ๐Ÿ”„ Check firmware compatibility with your model (olive for Redmi 8).
  • ๐Ÿ”„ Install another version TWRP (for example, informal assembly).

๐Ÿ’ก

Keep an eye out for new versions on the XDA Developers or 4PDA forum to avoid security vulnerabilities.

Common mistakes and their solution

Even with the correct instructions, Redmi 8 firmware may not go according to plan.

Mistake.Possible causeDecision
Fastboot: FAILED (remote: 'Flashing is not allowed in Lock State')bootloader lockedUnlock the bootloader through the Mi Unlock Tool
The phone is not defined in the Mi Flash Tool.There are no drivers or faulty cablesInstall Qualcomm drivers, try another cable/port
Error: 7 in TWRPIncompatible firmware or a corrupted fileCheck the firmware model (olive) and download the file again
Hanging on the Mi logo after firmwareIncomplete installation or module conflictRun Wipe Data in Recovery or re-follow
This package is for "olive" devices; this is a ""The firmware is not suitable for your model.Download the correct version (for example, olive_global)

If the IMEI is missing or the mobile network is not working:

  1. Check if Baseband settings have reset (Settings โ†’ Phone should have Baseband version).
  2. If Baseband is not available, run modem separately through Fastboot: fastboot flash modem NON-HLOS.bin (the NON-HLOS.bin file is in the firmware folder).
  3. Restore the IMEI via the engineering menu (#4636##) or the Maui META utility (requires root).

If nothing helps, go back to the stock firmware via Fastboot (see section above) and try to repeat the process from scratch.

Frequently asked questions

Can I flash Redmi 8 without unlocking the bootloader?
No, any firmware installation (other than updates via MIUI Updater) requires an unlocked bootloader, except for the Recovery firmware with an official.zip file, but this only works for updates, not a complete reinstallation.
How to return the official MIUI after custom firmware?
Download Fastboot firmware from Xiaomiโ€™s official website and run it through the Mi Flash Tool in Clean all and lock mode. This will return the stock MIUI and block the bootloader.
Why is the camera or fingerprint sensor not working after the firmware?
This is a typical problem when installing custom firmware that is not adapted to Redmi 8. Try: Install a different firmware version (for example, with support for Camera2API); Sweep separately the vendor and firmware from stock firmware; Use camera patches (for example, ANX Camera or GCam).
How long does it take to get through Fastboot?
The average process takes 5-15 minutes, depending on the speed. USB-If the firmware has been stuck for longer than 20 minutes, check the cable connection and repeat the process.
Can I flash Redmi 8 on Android 12 or later?
Officially Redmi 8 Not getting an update to Android 11 and above, but there are custom firmware based on Android 12/13 (For example, LineageOS 20 or Pixel Experience 13). Note that they may work less stable than stock. MIUI.