Xiaomi

Xiaomi Redmi Note 8 (ginkgo): Mi Flash Flashing Guide

Complete firmware flashing guide for the Xiaomi Redmi Note 8 using Mi Flash Tool. Covers prerequisites, firmware package setup, and step-by-step instructions.

Xiaomi Redmi Note 8 September 2019
Models
M1908C3JG, M1908C3JH, M1908C3JE
CPU
Octa-core (4x2.0 GHz Kryo 260 Gold & 4x1.8 GHz Kryo 260 Silver)
GPU
Adreno 610
RAM
3GB / 4GB / 6GB LPDDR4X
Storage
32GB / 64GB / 128GB eMMC 5.1 (dedicated microSD slot)
Display
6.3" Dot Drop IPS LCD (1080x2340 pixels, 19.5:9, 409 ppi)
Battery
4000 mAh Li-Po, 18W wired Quick Charge 3.0 via USB Type-C
OS
Android 11.0 (MIUI 12.5 Enhanced), Launched on Android 9.0 (MIUI 10)
Connectivity
4G Dual-SIM, Wi-Fi 5 (ac), Bluetooth 4.2, USB Type-C 2.0, 3.5mm Jack
Colors: Neptune Blue Moonlight White Space Black Nebula Purple

About the Xiaomi Redmi Note 8

This workshop manual provides tested stock firmware flashing procedures for the Xiaomi Redmi Note 8 (September 2019), built on the Qualcomm Snapdragon 665 SM6125 (11nm FinFET) processor with a dedicated recovery partition architecture. Whether restoring factory software after an update failure or unbricking a handset stuck in a bootloop, this walkthrough outlines official Fastboot flashing.

The ginkgo platform pairs Qualcomm's Snapdragon 665 SM6125 processor with eMMC 5.1 storage. Following the exact flashing steps and verifying firmware checksums ensures your device reboots reliably into clean official MIUI 12.5.

Which Flash Mode Should You Use?

Stock Recovery Mode

Built-in recovery menu used for applying official recovery ZIP update packages and performing factory wipes.

How to enter
Turn off device. Hold Volume Up and Power buttons simultaneously until the Mi logo displays, then release Power.
Requires
Stock Recovery, Recovery ZIP Archive

Custom Recovery (TWRP / OrangeFox)

Touch-enabled custom recovery flashed to the dedicated recovery partition for custom ROMs, zips, and full NAND backups.

How to enter
Execute fastboot flash recovery <recovery_file>.img, then hold Volume Up while running fastboot reboot.
Requires
Unlocked Bootloader, Patched VBMeta

Qualcomm EDL Mode (9008)

Low-level Qualcomm Emergency Download mode for unbricking hard-bricked handsets with black screens.

How to enter
Disconnect battery flex, short the two gold EDL test points near the camera shield with tweezers, and plug in USB-C cable.
Requires
Qualcomm QDLoader 9008 Drivers, Motherboard Test Point Shorting

Pre-Flash Hardware Checks & Qualcomm Driver Setup

1
Battery Charged to 50%+

Ensure your handset holds at least 50% battery capacity to prevent unexpected shutdown while writing multi-gigabyte system and vendor images.

2
Windows PC & USB 2.0 Port

Connect directly to a native USB 2.0 port on your computer motherboard to avoid USB 3.0 controller handshake dropouts during Fastboot operations.

3
Original USB Type-C Cable

Use an official or certified USB data cable capable of sustained data transfer during full firmware flash operations.

4
Unlocked Bootloader

Fastboot flashing via Mi Flash Tool requires an officially unlocked bootloader through Xiaomi's Mi Unlock desktop software.

5
7-Zip Decompression Utility

Use 7-Zip to extract TGZ archives twice down to the bare directory containing flash_all.bat without folder path nesting.

6
VBMeta Verification Handling

When flashing custom recoveries like TWRP or OrangeFox, flash vbmeta with disabled verification to prevent AVB 2.0 bootloops.

5-Step Fastboot & Mi Flash Walkthrough for ginkgo

A fast reference for flashing the Xiaomi Redmi Note 8 (Snapdragon 665) using Mi Flash Tool. For the complete walkthrough with images and error troubleshooting, see the full guide.

  1. Unlock bootloader with Mi Unlock and check Anti-Rollback index via fastboot getvar anti
  2. Extract ginkgo_eea_global_images_V12.5.12.0.RCOEUXM_20221127.0000.00_11.0_eea_fdd5e37d21.tgz using 7-Zip
  3. Boot handset into Fastboot mode with Volume Down + Power and verify Qualcomm interface
  4. Load firmware into Mi Flash Tool and ensure clean all flash_all.bat is selected
  5. Execute flash to write physical partitions and monitor eMMC 5.1 data transfer

Fastboot Script & Qualcomm Partition Architecture

Official Fastboot ROM packages for the Xiaomi Redmi Note 8 (ginkgo) use flash_all.bat to write partitions over USB. Unlike MediaTek devices that require a scatter file, Qualcomm Snapdragon Fastboot packages use raw program and patch XML files executed by fastboot or Mi Flash Tool.

flash_all.bat

Xiaomi Fastboot packages for Qualcomm Snapdragon handsets include automated batch scripts for Windows (flash_all.bat) and shell scripts for Linux/macOS. These scripts parse partition definitions and flash images directly to physical blocks.

Always verify your device reports codename ginkgo before flashing. Never flash packages meant for the MediaTek-based Redmi Note 8 2021 (biloba) or attempt to lock the bootloader on cross-regional handsets.

Verified Fastboot Packages for Redmi Note 8 (ginkgo)

Official Fastboot ROM packages for the Redmi Note 8 (ginkgo) are listed below. Each package is verified for clean factory restoration.

Version Region Android Version Size MD5 Download
V12.5.12.0.RCOEUXM EEA (Europe) 11.0 4.56 GB fdd5e37d2121b84f630ff4efdd5cd7f5 ⬇️ Download
V12.5.2.0.RCOMIXM Global 11.0 4.71 GB da0a599e0c674874b38f648c979fb808 ⬇️ Download
V12.5.5.0.RCOCNXM China 11.0 4.09 GB 5c9c74ecd8d936a491978f54de9efb80 ⬇️ Download
V12.5.5.0.RCOCNXM_v12-11 Europe / Multilingual (Xiaomi.eu) 11.0 2.79 GB 3ad02528a9a6421bfd98e72849aea145 ⬇️ Download
3.7.1_12-0 Global (Official TWRP) 11.0 / 12.0 64.0 MB e73375e2900c678798fe004bb5079993 ⬇️ Download

Looking for additional regional builds, historical MIUI versions, or custom recovery packages? Browse the complete archive on AndroidFirmwareFile

Dedicated Recovery Partition & Snapdragon 665 Flashing Notes

The Xiaomi Redmi Note 8 (ginkgo) utilizes a traditional non-A/B System-as-Root partition architecture with a dedicated physical recovery block. Fastboot packages such as ginkgo_eea_global_images_V12.5.12.0.RCOEUXM_20221127.0000.00_11.0_eea_fdd5e37d21.tgz transfer partition images directly into the internal eMMC 5.1 storage via Fastboot protocol. Ensure a stable rear motherboard USB connection throughout the procedure to prevent partition write dropouts.

Troubleshooting Redmi Note 8 Flashing Issues

error: cannot load 'recovery.img': No such file or directory

This error occurs in command line when Fastboot cannot locate the target recovery image file. Make sure your command prompt terminal is opened directly inside the folder containing twrp-3.7.1_12-0-ginkgo.img, or provide the full absolute file path in quotes when executing fastboot flash recovery.

FAILED (remote: 'Anti-rollback check failed')

Xiaomi bootloader protection halts the flashing routine when attempting to flash a build with an Anti-Rollback index lower than the version currently recorded in the device hardware fuse. Check your current index via "fastboot getvar anti" and only flash firmware matching or exceeding that baseline.

Qualcomm HS-USB Diagnostics 900E instead of 9008 Handshake

When attempting to enter emergency download mode via motherboard test points, the device may fall into Qualcomm 900E diagnostic mode if the battery is connected or the USB handshake times out. To fix this, disconnect the battery flex cable completely, short the two test points firmly with tweezers, and plug in the USB-C cable to force Qualcomm HS-USB QDLoader 9008 mode.

dm-verity corruption: Your device is corrupt and cannot be trusted

Android Verified Boot (AVB 2.0) flags altered system or recovery partitions when the stock kernel attempts to verify cryptographic signatures. If you install TWRP or OrangeFox and encounter this error, flash vbmeta with verification disabled using "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" to allow the system to boot.

Encountered an issue during flashing? Review our tested fixes for common Qualcomm Snapdragon 665 flashing errors below. Troubleshooting & Error Guide β†’

Flashing Workshop & Recovery Troubleshooting FAQ

Ready to Flash?

Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.

Open Full Guide