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 Redmi Note 12 5G / Note 12R Pro
Xiaomi launched the Redmi Note 12 5G in India in January 2023, built around the Qualcomm Snapdragon 4 Gen 1 and a 120Hz AMOLED screen at a mid-range price. Six months later, Xiaomi brought the China-market version of this same sunstone hardware to India under a new name, the Redmi Note 12R Pro, adding a 12GB RAM option and a slightly different rear camera setup. Both phones report the sunstone codename in Fastboot mode, but they ship on separate firmware branches tied to their own model numbers.
Because these two products come from different regional supply chains, always confirm your exact model number and build string before picking a firmware file. The Prerequisites section below covers exactly where to find that information on the phone itself.
Which Flash Mode Should You Use?
Mi Flash Tool (Fastboot ROM)
The standard route for sunstone. Mi Flash Tool runs the flash_all script from Xiaomi's regional .tgz package, writing bootloader, modem, system, and vendor partitions in one pass. Needs an unlocked bootloader first and wipes user data during the write.
Manual ADB / Fastboot Commands
Run individual fastboot flash commands through Platform Tools instead of Mi Flash Tool's interface. Useful for rewriting one partition, such as a corrupted recovery image, but sequencing the modem and vendor partitions by hand on this Snapdragon platform is easy to get wrong without matching Mi Flash Tool's script order.
Mi Flash Tool (EDL / 9008 Emergency Mode)
sunstone's Snapdragon 4 Gen 1 platform supports Qualcomm's EDL, short for Emergency Download mode, for recovering a phone that no longer boots into Fastboot. Xiaomi restricts this deep-flash path to authorized accounts and service partners, so most home users only reach it through an authorized repair centre rather than a public download.
What You Need Before Flashing
Mi Flash Tool's interface only runs on Windows. Install the Xiaomi USB driver package first, then Mi Flash Tool itself, both from Xiaomi's official developer site.
Turn on OEM Unlocking in Developer options, bind a Mi Account on the phone, then approve the unlock through Mi Unlock Tool. Budget-tier Qualcomm models like sunstone can sit in the approval queue for several days on a brand-new account.
Match your build suffix exactly: INXM for the India Note 12 5G, MIXM for Global, EUXM for EEA, or CNXM for the China-hardware Note 12R Pro. Mixing branches between the 5G and 12R Pro variants can leave the modem out of sync.
sunstone uses USB-C rather than micro-USB. Use the cable that shipped with the phone, or confirm any replacement cable is rated for data, not charge-only.
A shutdown mid-write on this chipset can leave the phone unable to reach Fastboot again until an EDL recovery. Charge past 50% and leave the phone connected to power or a charged PC for the whole flash.
Both the account-bind step and the flash wipe internal storage completely. Copy photos and documents to a PC, an SD card, or cloud storage first, since sunstone's shared SIM/SD tray means the microSD card is not always installed.
How to Flash the Redmi Note 12 5G / Note 12R Pro β Quick Overview
A condensed step-by-step summary specific to the Redmi Note 12 5G / Note 12R Pro. Follow the full Mi Flash Tool guide for screenshots, an interactive progress checklist, and complete troubleshooting.
-
Confirm fastboot reports the codename sunstone
-
Unlock the bootloader through a bound Mi Account
-
Match the exact regional build to your model number
-
Install the Xiaomi USB driver and Mi Flash Tool
-
Extract the fastboot .tgz to a short folder path
-
Run the flash and keep the cable connected
-
Check IMEI, SIM signal, and camera after first boot
Finding the Firmware Package for SM4375
Xiaomi packages sunstone firmware as a region-specific fastboot archive (.tgz). Once extracted, the top-level folder Mi Flash Tool needs sits next to the individual partition images:
flash_all.bat
This script sits inside the extracted fastboot ROM. After decompressing the .tgz, find flash_all.bat (Windows) or flash_all.sh (Linux/Mac) at the top level, next to an images folder holding the individual partition files. Extract fully to a folder on your PC first, since running the script from inside the compressed archive will not work.
The sunstone platform covers both the Redmi Note 12 5G and the rebranded Note 12R Pro, so Xiaomi maintains separate branches for each: INXM for the India-market Note 12 5G, MIXM for Global, EUXM for EEA, TWXM for Taiwan, and CNXM for the China-built hardware sold in India as the Note 12R Pro. Because the 12R Pro's 12GB RAM variant uses a wider partition table than the 4GB to 8GB Note 12 5G units, these branches are not interchangeable even though every one of them reports as sunstone.
Inside the extracted .tgz, flash_all.bat (Windows) and flash_all.sh (Linux/Mac) sit at the top level next to an images folder holding the raw partition files. Point Mi Flash Tool's Select field at that top-level folder, never at the images subfolder, before clicking Flash.
Recovery-type packages are meant for a sideload through the stock recovery menu and only work when the phone is already close to that build. Fastboot-type .tgz packages are the ones Mi Flash Tool needs for a full flash, and they run two to three times larger than the matching Recovery package.
Redmi Note 12 5G / Note 12R Pro MIUI Firmware Versions
Recent official MIUI builds for sunstone, spanning the Note 12 5G's India and Global branches and the Note 12R Pro's China-hardware branch. Match your model number to the right row below.
| Version | Region | Build / OS | Size | Download |
|---|---|---|---|---|
V14.0.5.0.TMQINXM |
India (IN) u2014 Note 12 5G, MIUI 14 (Android 13) | Android 13, Jan 2024 | 5.2 GB | β¬οΈ Download |
V14.0.6.0.TMQMIXM |
Global (MI) u2014 Note 12 5G, MIUI 14 (Android 13) | Android 13, Nov 2023 | 6.7 GB | β¬οΈ Download |
V14.0.10.0.TMQCNXM |
China (CN) u2014 Note 12R Pro hardware, MIUI 14 (Android 13) | Android 13, Dec 2023 | 6.4 GB | β¬οΈ Download |
More builds and recovery ROMs for sunstone β View the archive on AndroiFirmwareFile.com β
Redmi Note 12 5G / Note 12R Pro β Important Notes
The Snapdragon 4 Gen 1 in sunstone shipped across two production batches during 2023, but Xiaomi's firmware branches do not separate by batch, so this does not affect which .tgz file to pick. What does matter is the RAM and storage tier printed on the box, since Mi Flash Tool cannot tell a 4GB unit from a 12GB unit on its own and simply trusts the model number you selected.
Xiaomi restricts EDL (Emergency Download) mode on sunstone to accounts with deep-flash authorization, unlike some older Redmi models where a test point alone was enough. If Mi Flash Tool cannot reach the phone even after driver and cable checks, and the phone will not enter Fastboot at all, an authorized Xiaomi service centre is typically the only remaining option for this chipset generation.
Common Flashing Errors on the Redmi Note 12 5G / Note 12R Pro
FAILED (remote: 'Command not allowed')
Mi Flash Tool sends this when sunstone's bootloader has not actually finished unlocking, even if Developer options shows an unlock request as sent. Reboot to Fastboot mode and check for a padlock icon on the boot screen; if it still shows locked, the Mi Account approval countdown from Mi Unlock Tool has not completed yet, and retrying the flash will not skip that wait.
Mi Flash Tool: device list stays empty with sunstone in Fastboot mode
Open Device Manager while the phone sits in Fastboot. If it lists as an unrecognized USB device rather than an Android Bootloader Interface, the Qualcomm/Xiaomi driver bundle did not register for this chipset. Uninstall any generic Qualcomm HS-USB driver first, reinstall the Xiaomi USB driver package that matches your Mi Flash Tool version, and try a rear USB-A port on the motherboard rather than a front-panel or hub port.
No SIM signal and blank IMEI after flashing a Global build on a 12R Pro unit
The India-sold Note 12R Pro runs on the China-market hardware ID 22101317C with its own CNXM firmware branch, not the INXM or MIXM branch built for the standard Note 12 5G. Flashing the wrong branch onto a 12R Pro leaves the modem NV data out of sync with the phone's real hardware ID. Reflash the matching CNXM package instead of trying a third region, since each cross-branch flash makes recovering the correct modem calibration harder.
MiFlash error: "Xiaomi Service Version is too low, please update and try again"
This appears in older Mi Flash Tool builds that predate sunstone's release and do not recognize its region-signing scheme. Uninstall Mi Flash Tool completely, download the current version from Xiaomi's official developer page, and reinstall before retrying the flash.
Phone stuck on the black "Fastboot" logo screen after clicking Flash
This usually means the .tgz was flashed straight from inside a compressed archive, or the extracted path contained spaces, such as C:\Users\Name\Downloads\Redmi Note 12. Re-extract to a short plain path like C:\sunstone, reselect that top-level folder in Mi Flash Tool, and start the flash again from a full power-off rather than a reboot.
For the full firmware error database: Fastboot Error Directory β
Frequently Asked Questions β Redmi Note 12 5G / Note 12R Pro
They share the sunstone codename and the same Snapdragon 4 Gen 1 platform, but they are not identical retail units. The Note 12R Pro sold in India is actually the China-market Redmi Note 12 5G hardware, model 22101317C, rebranded with 12GB of RAM, while the standard India and Global Note 12 5G ships as models 22111317I and 22111317G with 4GB to 8GB RAM. Each needs its own matching firmware branch, so treat them as related but separate devices when picking a download.
Yes. Binding a Mi Account for the bootloader unlock wipes the phone as soon as Xiaomi approves the request, and the fastboot flash formats user storage again during the write. Back up photos, contacts, and any files saved locally before starting either step, since neither one offers a way to keep existing data.
Sometimes. Mi Flash Tool can push firmware over EDL, short for Emergency Download mode, also called 9008 mode, if the phone still enumerates as a Qualcomm HS-USB QDLoader device in Device Manager. This route usually needs an account with Xiaomi's deep-flash authorization, so most home users without that approval end up taking the phone to an authorized service centre instead.
A Recovery-type ROM only works as a sideload through the stock recovery menu, and it needs the phone already close to that build to apply cleanly. If MIUI 13 remains after a recovery flash, download the matching Fastboot-type .tgz package instead and flash it fully through Mi Flash Tool, since that method replaces every partition rather than patching on top of the existing one.
Ready to Flash?
Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.