Xiaomi phone formatting is a radical way to get the device back to factory settings, fix software failures, or prepare the gadget for sale. However, not all users understand the difference between a βsoftβ reset through settings and a full formatting that erases even system partitions. This procedure can both save a βlockedβ smartphone and turn it into a βbrickβ if done incorrectly.
In this article, we will analyze all the current formatting methods for Xiaomi, Redmi and other devices. POCO (including models from 2023 to 2026, their pros and cons, and we will give a checklist for the safe execution of the operation. IMEI After Formatting via Fastboot β a Problem Faced by MediaTek Devices Owners.
What is different from formatting resetting settings
Many people confuse these concepts, but the difference is:
- π Factory Reset: deletes user data (photos, apps, accounts) but saves system files and firmware. via the settings menu or Recovery.
- π§Ή Formatting: erases all memory partitions, including system (/system, /vendor, /boot). Requires subsequent flashing, used in critical failures or to remove root rights.
For example, if your Redmi Note 12 is stuck on the logo after a failed update, a regular reset may not help β you will need formatting with further firmware installation via Fastboot or EDL.
β οΈ Attention: Formatting via Fastboot on devices with a locked bootloader (bootloader) will lead to a complete loss of performance (the so-called βhard brickβ). Before the procedure, be sure to unlock the bootloader through the official Xiaomi tool.
Method 1: Formatting through Recovery (for beginners)
The safest method, but only if the phone turns on and enters Recovery Mode, the instructions are relevant for MIUI 14/15 and HyperOS:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select the language (if available), then go to Wipe Data β Wipe All Data.
- Confirm the action by entering a password (if it was set).
- After you complete the process, select Reboot to System.
β οΈ Note: On some models (POCO F5, Xiaomi 13T) Recovery only has a soft reset. Full formatting requires a Fastboot.
Backup your data (via Mi Cloud or computer)
Charge your phone at least 50%
Make sure you know the username/password from your Mi Account (required after reset)
Turn off Google. FRP (If you plan to sell your phone)-->
Method 2: Full formatting via Fastboot (for experienced)
This method erases all partitions, including /system and /persist. Requires a PC with ADB/Fastboot drivers installed and an unlocked bootloader, and is suitable for devices that are not booting or have corrupted firmware.
Instructions for Windows:
- Download Googleβs Platform Tools and unpack it into the C:\platform-tools folder.
- Transfer the phone to Fastboot mode: turn off the device, then press the Power button + Volume down.
- Connect your phone to your PC and open the Command Prompt in the platform-tools folder.
- Enter the command to check the connection: fastboot devices Must appear serial number of the device.
- Run full formatting: fastboot erase boot fastboot erase system fastboot erase userdata fastboot erase cache fastboot erase persist
Once formatted, the phone will stop turning on β that's fine. You'll need to flash it through Fastboot or Mi Flash Tool.
What if Fastboot doesnβt see the device?
Method 3: Formatting via EDL (for βbricksβ)
Emergency Download Mode (EDL, 9008) is the last chance to revive a phone that does not respond to buttons and is not defined in Fastboot. Used for firmware via the Mi Flash Tool or QFil (for Qualcomm).
How to log into EDL:
- π For Qualcomm: Turn off the phone, press Volume Up + Volume down and connect to the PC. The device should be determined as QHSUSB_BULK qualcomm HS-USB QDLoader 9008.
- π οΈ MediaTek: requires a special cable or circuit test points on the board (not recommended for beginners).
β οΈ Attention: Firmware through EDL On devices with a blocked bootloader, an authorized Xiaomi account (for new models) may be required. SLA Auth.
1. Use an older version of the program (for example, 2018).
2. Select the "clean all and lock" mode in the Mi Flash Tool settings.
3. Switch only the "userdata" section separately.-->
Table: Comparison of formatting methods
| Method | Difficulty | PC required | Washes system partitions | Suitable for bricks. | Rebuilding IMEI |
|---|---|---|---|---|---|
| Recovery | β | β No. | β No. | β No. | β Not required |
| Fastboot | βββ | β Yes. | β Yes. | β Partially. | β οΈ Maybe you should. |
| EDL (9008) | βββββ | β Yes. | β Yes. | β Yes. | β Usually required |
IMEI Recovery After Formatting
On devices with MediaTek processors (Redmi 9A, POCO M3, etc.), after full formatting, IMEIs often get knocked down - the phone stops catching the network.
- Find out the original IMEIs (they are listed on the box or under the battery).
- Download MTK Engineering Mode or Maui META.
- Introduce commands through ADB or engineering menu: su setprop sys.usb.config diag,adb echo 'AT +EGMR=1,7,"IMEI_1"' > /dev/ttyUSB0 echo 'AT +EGMR=1,10,"IMEI_2"' > /dev/ttyUSB0
β οΈ Attention: Incorrect input IMEI This can lead to network blocking (up to total loss of communication). IMEI Recover automatically after firmware through QFil.
π‘
Before restoring an IMEI, check its validity with the IMEI.info service. An incorrect IMEI can make the phone unsuitable for calls.
Frequent Mistakes and How to Avoid Them
Even experienced users make formatting mistakes, and here are the most common ones:
- π Battery discharge during the process: If the phone turns off during the formatting phase, there is a high risk of damage to the userdata partition%.
- π Forgotten Mi Account: after reset, the phone will require you to enter a login / password from the account previously associated.
- π± Incompatible firmware: firmware version of Global on a device with China ROM (and vice versa) may cause network loss or sensor errors.
If the phone does not turn on after formatting, check:
- Correctness of installed drivers (for Fastboot/EDL).
- Integrity of the downloaded firmware (compare the MD5 hash with the official one).
- USB connector status (try another cable).