Before you flash: Flashing firmware will erase all data on your device. Back up contacts, photos, and apps before proceeding. FlashGuideHub is not responsible for any damage caused by following this guide.
About the Xiaomi Redmi Note 5A Prime / Redmi Y1
The Xiaomi Redmi Note 5A Prime / Redmi Y1 was released in November 2017, built on the Qualcomm Snapdragon 435 MSM8940 (28nm LP, 64-bit Octa-core 1.4 GHz Cortex-A53) platform. Featuring a 5.5-inch 720p HD display, a 16 MP front selfie camera, and a 3080 mAh battery, the device represents the high-edition variant with a rear fingerprint scanner.
Flashing official stock firmware using Xiaomi Mi Flash Tool repairs soft-bricked devices, recovers corrupted bootloader blocks, and restores original MIUI performance. Follow the verified driver preparation and procedural steps below to flash your device safely.
Which Flash Mode Should You Use?
Fastboot Mode (Bootloader Flashing)
Official flashing mode for unlocked devices. Deploys complete partition blocks via Mi Flash Tool or flash_all.bat scripts.
Qualcomm HS-USB QDLoader 9008 (EDL Mode)
Emergency download mode accessed via motherboard test points. Communicates directly with the Snapdragon 435 boot ROM without requiring bootloader unlocking.
Stock Android Recovery Mode
Stock recovery interface for executing factory data wipes or clearing cache partitions.
What You Need Before Flashing
A PC running 64-bit Windows with Mi Flash Tool and official Qualcomm USB drivers installed.
Download and extract the official V11.0.2.0.NDKMIXM archive twice with 7-Zip until flash_all.bat is visible.
Ensure the 3080mAh battery has at least 50% charge to ensure stable power delivery throughout the flashing process.
Use a quality microUSB data cable connected directly to a rear USB 2.0 port on the computer motherboard.
In Mi Flash Tool, select "clean all" at the bottom right. Never select "clean all and lock" on regional conversions.
How to Flash the Xiaomi Redmi Note 5A Prime / Redmi Y1 β Quick Overview
5-step quick reference for the Xiaomi Redmi Note 5A Prime / Redmi Y1. Need visuals or troubleshooting help? The full Mi Flash Tool guide covers everything in detail.
-
Unlock bootloader & extract Fastboot TGZ archive
-
Install Xiaomi Qualcomm Drivers & Mi Flash Tool
-
Boot Redmi Note 5A Prime into Fastboot mode
-
Configure Mi Flash Tool & select "clean all"
-
Flash firmware and wait for automatic reboot
Fastboot Rawprogram XML & Firmware Package for Snapdragon 435
Official Fastboot firmware packages for the Xiaomi Redmi Note 5A Prime (ugg) contain partition binaries (boot.img, system.img, recovery.img, cust.img, and modem) configured via flash_all.bat, rawprogram0.xml, and patch0.xml. When loaded in Mi Flash Tool, these scripts write partition images directly to the Qualcomm Snapdragon 435 eMMC controller.
rawprogram0.xml
Official factory Fastboot firmware for the Xiaomi Redmi Note 5A Prime utilizes rawprogram0.xml and patch0.xml executed through flash_all.bat. In Mi Flash Tool, select the root extracted folder containing these scripts.
The Redmi Note 5A Prime / Redmi Y1 (board codename ugg) is built on the Qualcomm Snapdragon 435 (MSM8940) octa-core processor with 3GB/4GB RAM, 32GB/64GB eMMC 5.1 storage, and a 3080mAh battery.
Ensure you identify your board codename as "ugg" prior to flashing. Packages marked "ugglite" belong to the quad-core Snapdragon 425 standard edition and will fail DRAM initialization on this board.
Xiaomi Redmi Note 5A Prime / Redmi Y1 Firmware Versions
Tested stock firmware package for the confirmed hardware variant of the Xiaomi Redmi Note 5A Prime / Redmi Y1. Always confirm your model codename is "ugg" before flashing.
| Version | Region | Android Version | Size | MD5 | Download |
|---|---|---|---|---|---|
V11.0.2.0.NDKMIXM (20191022.0000.00) |
Global Stable (MI) β Multilingual | Android 7.1.2 (MIUI 11.0) | 1.80 GB | 554b873d3da9487e1be2bf67cd4147da |
β¬οΈ Download |
This device family includes 3 verified packages across Global, China, and Xiaomi.eu multi-language releases. Browse the complete 3-package archive on AndroidFirmwareFile.com β
Xiaomi Redmi Note 5A Prime / Redmi Y1 β Important Notes
Flashing official Fastboot TGZ firmware via Mi Flash Tool restores corrupted bootloader partitions, fixes infinite bootloops, and returns the device to a clean factory state.
If your device is hard-bricked, refuses to boot into Fastboot, or remains unrecognised, remove the rear cover and short the two gold EDL test points near the battery ribbon with tweezers while inserting the microUSB cable to force Qualcomm HS-USB QDLoader 9008 mode.
Troubleshooting Xiaomi Redmi Note 5A Prime (ugg) Mi Flash & Fastboot Errors
Camera Crash: "Can't connect to camera" & front selfie light inactive post-flash
Redmi Note 5A Prime incorporates a specialized 16 MP OmniVision front sensor and a dedicated selfie LED flash controller that relies on vendor calibration libraries in the cust and persist partitions. If flashing scripts omit persist or if custom ROMs mishandle camera HAL binaries, the front camera crashes immediately upon opening. Community repair discussions indicate this is resolved by executing a full Fastboot flash via flash_all.bat to restore stock vendor blobs.
Biometrics Failure: Fingerprint settings missing from menu (ugglite cross-flash or TrustZone desync)
Unlike the base Note 5A, the Prime edition features a rear-mounted fingerprint scanner (FPC/Goodix). When users accidentally flash standard Note 5A (ugglite) firmware, or if the tz (TrustZone) security binary is desynchronized during partial flashing, the system fails to bind the fingerprint hardware daemon. Repair technicians recommend verifying that the package codename is strictly "ugg" and flashing official tz.mbn and keymaster.mbn binaries.
For in-depth Xiaomi Fastboot error explanations, EDL testpoint walkthroughs, and Sahara resolution steps: Mi Flash Tool Error Directory β
Frequently Asked Questions β Xiaomi Redmi Note 5A Prime / Redmi Y1
No. While they share a similar outward appearance, the standard Note 5A (ugglite) utilizes a Snapdragon 425 processor and lacks the fingerprint scanner found on the Note 5A Prime (ugg, Snapdragon 435). Flashing mismatched software will cause a hard brick.
This error happens during Qualcomm EDL 9008 mode when the connection handoff times out. Technicians recommend connecting the microUSB cable directly to a rear motherboard USB 2.0 port, shortening the firmware folder path to C:\ugg, and running Mi Flash Tool as administrator.
This happens when a user flashes Global firmware onto a domestic China hardware edition (MDE6S) with "clean all and lock" selected. Xiaomi checks regional lock flags upon boot. Always select "clean all" (flash_all.bat) to leave the bootloader unlocked.
A completely black screen with port drops indicates corrupt Fastboot partitions. To unbrick, open the rear plastic housing, short the two gold EDL test points near the battery terminal with tweezers, and plug in the USB cable to force Qualcomm HS-USB QDLoader 9008 mode for clean flashing in Mi Flash.
Ready to Flash?
Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.