Reflashing the Xiaomi Redmi Note 8 smartphone through the MiFlash utility is a radical but effective way to bring the device back to life after crashes, remove viruses or upgrade to the current version. MIUI. Unlike the standard OTA-Update, this method allows you to install clean firmware even on "bricks" (non-boot phones), but requires unlocking the bootloader and following the instructions accurately.
Many users are afraid to stitch their smartphones themselves, fearing turning the gadget into a useless piece of plastic. However, with the right approach, the risks are minimal: Redmi Note 8 (codenamed ginkgo) supports official ROM from Xiaomi, and the MiFlash tool automates most of the process.
In this article, you will find a step-by-step guide with key points, a list of tools you need, and error solutions (such as Invalid image format or Can't find flash script), and we will also discuss how to avoid data loss and what to do if the phone doesn't turn on after you have firmware.
Preparation for firmware: what to do before the start
Before you start flashing, make sure that all the prerequisites are met. Failure to comply with at least one item can lead to errors in the process or inoperability of the device after installing the firmware.
First, check your Redmi Note 8 model. Go to Settings β About Phone β Model. The device should be labeled M1908C3JG (global version) or M1908C3JE (China version). Firmware for different regions is incompatible with each other - installing the wrong version will lead to an error Anti-rollback fail check.
Second, prepare the computer:
- π₯οΈ Operating system: Windows 10/11 (64-bit). MacOS or Linux MiFlash does not work.
- π USB-Port: Use the original Xiaomi cable and port USB 2.0 (blue ports) USB 3.0 can cause failures).
- π Battery charge: At least 50% If the phone runs out during firmware, it could damage the motherboard.
- π Free space: On C disk: Must have at least 5GB for temporary files.
Also make sure to back up important data. The firmware through MiFlash formats internal memory, so photos, contacts and messages will be deleted.
- π± Mi Cloud (if the phone is still on).
- πΎ ADB Backup (for experienced users).
- π Manual copying on PC (plug the phone in mode) MTP).
Unlocking the bootloader: a mandatory step before the firmware
Without unlocking the bootloader, you canβt flash Redmi Note 8 through MiFlash. Xiaomi blocks this feature by default to protect against unauthorized changes. The procedure takes up to 72 hours (due to checking the Xiaomi account) and requires the device to be linked to the Mi Account.
To unlock the loader:
- Link your phone to your Xiaomi account in settings (Settings β Xiaomi Account).
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Back to Settings β Additionally. β For developers and include: π Unlocking OEM (may require input PIN-code). π Debugging by USB.
Mi Unlock Tool
Official website of Xiaomi
Fastboot
Loudness down + Nutrition
Fastboot
Unlock
What if the Mi Unlock Tool canβt see the device?
β οΈ Note: Once the bootloader is unlocked, all data will be deleted from the phone and the Find Device function will stop working, and some banking applications (for example, Sberbank Online) can block access on unlocked devices.
Selection of firmware: official vs custom
For firmware through MiFlash, only official ROMs from Xiaomi in.tgz or.zip format are suitable. Custom firmware (for example, LineageOS) are installed via TWRP and are not compatible with this utility.
Official firmware is divided into several types:
| Type of firmware | Description | Download link | Is it good for MiFlash? |
|---|---|---|---|
| Stable | A stable version of MIUI with minimal bugs, recommended for everyday use. | Official website | β Yes. |
| Developer | Weekly builds with new features, but possible errors. | Official website | β Yes. |
| Fastboot ROM | The full system image for installation via MiFlash weighs ~2-3 GB. | Xiaomi Firmware Updater | β Yes (recommended) |
| Recovery ROM | Update through standard recovery mode. Not suitable for bricks. | Official website | β No. |
For the Redmi Note 8 (ginkgo) select firmware marked ginkgo_global (For global version or ginkgo (for Chinese) install firmware from another model (for example, ginkgo_pro) This will cause the module to fail. NFC camera.
Before downloading, check the Android version in firmware. For example, if your phone is running Android 10 and you're trying to install firmware with Android 11, Anti-Rollback protection may work and the device will lock. To avoid this, use firmware with the same or newer version of Android.
π‘
If you are not sure about your firmware choice, download the latest stable version of Fastboot ROM for your region from the Xiaomi Firmware Updater website.This resource automatically detects current builds and provides direct download links.
Installation of drivers and configuration of MiFlash
For proper operation of MiFlash on the computer must be installed drivers Qualcomm and ADB. Without them, the utility will not see the connected phone.
Download and install the following components:
- MiFlash Tool is the official utility from Xiaomi, and the latest version can be found on forums (for example, XDA Developers).
- Qualcomm Drivers β drivers for the Snapdragon chipset 665, which is used in the Redmi Note 8. Download them here (archive) QDLoader_HS-USB_Driver.zip).
- ADB and Fastboot are command-line tools for working with Android, either install them through Android Studio or download a separate package.
After installing the drivers:
- Connect your phone in Fastboot mode (clip Volume Down + Power when the device is off).
- Open Device Manager (Win + X β Device Manager).
- Check that the Qualcomm HS-USB QDLoader 9008 device appears in the Ports (COM and LPT) section. If Unknown Device is displayed instead, update the driver manually, indicating the path to the folder with the QDLoader.
βοΈ Preparing MiFlash for work
Step-by-step instructions for firmware through MiFlash
Once all the preparations are complete, you can start the firmware, the whole process will take 10-15 minutes, but you can not interrupt it categorically, this can damage the EFS partition (where IMEI and serial numbers are stored).
Follow the instructions:
- Unpack the firmware in a folder with a short path (for example, C:\ginkgo_global\). There must be a file in the archive. flash_all.bat β It's a script for automatic firmware.
- Run MiFlash on behalf of the administrator (right click β Run on behalf of the administrator).
- Connect your phone in Fastboot mode (Put Volume Down + Power on the device off). Make sure the device appears in MiFlash (Refresh button).
- Select the firmware folder (Select button) The path should not contain Cyrillic or spaces.
- Select the firmware mode in the lower right corner: π clean all β complete cleaning (recommended for virus removal or factory resetting). π¦ Clean all and lock - cleaning + bootloader lock (use if you want to return the phone to its original state). π§ Save user data β saving user data (not always working correctly).
Flash
Flash Done
Turn off the phone.
β οΈ Note: If MiFlash produces a Critical partition doesn't exist during the firmware process, it means you've chosen the wrong firmware for your model. ROM. If an Invalid image format error is made, check the integrity of the downloaded archive (it may be damaged).
After successful firmware, the phone will boot as standard. If the screen remains black for more than 15 minutes, try Recovery (click Volume Up + Power) and reset (Wipe Data).
π‘
Use clean all mode to ensure that all data and viruses are deleted. Save user data can lead to conflicts if the firmware is very different from the current version.
Solving common errors in firmware
Even with the correct following of the instructions, errors can occur, and below is a list of problems and ways to fix them.
Error: Can't find flash script
- π Check that there is a file in the firmware folder flash_all.bat.
- π Rename the firmware folder, removing spaces and Cyrillic (for example, C:\ginkgo\).
- π₯οΈ Run MiFlash on behalf of the administrator.
Error: Anti-rollback check fail
- π This error occurs when you try to install firmware with an older version of Android, for example, if you have Android 11 and you are trying to flash Android 10.
- π₯ Download the firmware with the same or newer version of Android.
- π§ If the right firmware is not available, use it. EDL-mode (emergency firmware mode via Qualcomm 9008), but this requires special cable.
Error: Device not found
- π Check the connection. USB-cable (try another port or cable).
- π±οΈ Make sure the phone is in Fastboot mode (screen with a bunny).
- π§ Reinstall Qualcomm drivers and ADB.
The phone does not turn on after the firmware
- β³ Wait 10-15 minutes β the first turn on can be long.
- π Go to Recovery (Loudness Up) + Power) and run Wipe Data.
- π‘ Repeat the firmware with another ROM (It's possible the file was corrupted).
If none of these methods worked, the EFS (where the IMEI is stored) section may be damaged, requiring restoration through the EDL or a service center.
What to do after firmware: setup and optimization
Once the firmware is successful, the phone will be in a "out of the box" state, and you will need to perform the initial setup and optimize the system for comfortable operation.
First steps:
- π Connect to Wi-Fi and log in to Xiaomi account (if previously linked to it).
- βοΈ Restore data from a backup (if you did a backup using Mi Cloud or Google Account).
- π Set up the screen unlocking (PIN, faceprint ID).
- π± Update all apps through Google Play Market.
Optimizing productivity:
- π Enable Performance Mode in Settings β Battery and productivity.
- π§Ή Clear the app cache in Settings β Warehouse β Cleanup.
- π Turn off auto-run of unnecessary apps in Settings β Annexes β Auto-start.
- π΅ Set limits for background processes in Settings β Battery β Background restriction.
If after firmware noticed problems with the battery (fast discharge), perform the calibration of the battery:
- Charge your phone to 100% and donβt turn off charging for another 2 hours.
- Turn off the charging and discharge the phone until it automatically shuts down.
- Charge again to 100% without interruption.
β οΈ Note: If you have lost your firmware after IMEI or the mobile network is not working, this means partition damage EFS. It can be restored through QCN-file (backup required) or by contacting a service center.Self-recovery without experience can lead to complete loss of communication.