Resetting Xiaomiβs device to factory settings is a radical but sometimes necessary step, helping to fix software failures, prepare the gadget for sale or remove traces of personal data before transferring it to another user, but an incorrect reset can lead to the loss of important files, blocking the Mi Account account or even βbrickingβ the device.
In this article, we will discuss all the current ways of resetting for smartphones (Redmi, POCO, Mi), Mi TVs and Xiaomi tablets - from the standard menu to forced reset via Fastboot.
1. When do I need a factory reset?
Resetting is not a panacea, but in some cases it is the only solution:
- π± System lags and freezes β if the smartphone brakes even after cleaning the cache and removing applications.
- π Preparing for sale/transfer β Deletion of all data, including Google and Mi Accounts.
- π¨ Viruses or malware β when the antivirus fails to deal with the threat.
- π Errors after the update MIUI β For example, endless loading or lack of network.
- π§ Failed overclocking/modification β if the device is unstable after changing system files.
However, resetting will not help if the problem is related to hardware malfunctions (for example, a broken screen, a broken speaker or a charging connector).
β οΈ Warning: On devices with an unlocked bootloader, a reset may result in a loss TWRP Before the procedure, make sure you have a backup of NANDroid.
2.Resetting preparation: what to do beforehand
Unprepared resets can cause data loss and unforeseen problems.
Create a backup copy of contacts and photos|Sign up for a username/password from Mi Account|Make sure the battery is charged >50%|Untie the device from Google Account (if any) FRP)|Download the firmware for your model (in case of recovery)-->
Pay special attention to your Mi Account. After the reset, the device may require you to enter the login and password that were tied before the procedure. If you forget the data, restore it in advance at account.xiaomi.com.
For owners of devices with MIUI 12+ and Find Device enabled, a reset without detachment of the account will result in a blocking of activation.
- Go to Settings β Mi Account β Search for the device.
- Turn off the function.
- Confirm the action with a password from the account.
| Action. | Consequences of Ignoring |
|---|---|
| They didn't back up. | Loss of photos, messages, notes and installed applications |
| Google Accounts are not untied | FRP (Factory Reset Protection) Blocking After Reset |
| Battery charge <30% | The device may shut down during the process, which will cause a failure. |
| We didn't download the firmware in advance. | When "bricking" will have to look for software in an emergency |
π‘
If you reset your Mi TV, pre-disconnect it from the Wi-Fi network in the settings, which will speed up the process and avoid synchronization errors with Xiaomi servers.
3. Method 1: Reset via the settings menu (the safest)
This method is suitable if the device is switched on and reacts to touch. Instructions are relevant for MIUI 12/13/14 and HyperOS:
- Open the settings (cog icon).
- Go to the About Phone (or About Tablet) section.
- Select Reset (in some versions β Reset and Reset).
- Smash all the data.
- Enter. PIN-code or pattern lock, if requested.
- Confirm the action by clicking Reset Settings.
It takes 5-15 minutes, and it restarts and starts with a clean firmware, just like when you buy it, and it's going to show a greeting in the language that you originally chose.
β οΈ Note: On some models (Redmi Note 10 Pro, POCO X3 Pro) after the reset, the error "This device is locked" may appear, which means that the bootloader is locked, the solution is to unlock it through the official Xiaomi tool.
For Mi TVs, the path is a bit different:
- On the remote, press Settings.
- Select Device β Reset and Update β Reset to factory settings.
- Enter. PIN-code (default 0000 or 1234).
- Confirm the action.
What to do if the settings menu does not open?
Method 2: Reset via Recovery Mode (if the device is not turned on)
If the smartphone is stuck on the MI logo, does not respond to touch or is locked with a pattern lock, Recovery Mode will help, which works on 90% of Xiaomi devices, except for models with damaged memory (eMMC).
Instructions for smartphones:
- Turn off the device (hold the power button for 10-15 seconds).
- Hold the combination: π± Power button + Loudness up for most models (Redmi 9, POCO F3 etc.). π± Power button + Loudness up + Loudness down for older devices (Mi 5, Redmi) 4X).
Mi
Recovery Mode
Use volume buttons for navigation and power button for selection.
Wipe Data β Wipe All Data
Clear Data
Confirm
Reboot β Reboot to System
For Mi TVs, the combination is different:
- Turn the TV off the socket.
- Press the Menu button on the remote (or on the back of the TV).
- Connect the power by holding the button until the Recovery menu appears.
- Select Wipe Data/Factory Reset using volume buttons and OK.
Step-by-step:
- Turn off your smartphone.
- Press the Power Button + Volume down before the screensaver Fastboot (Android robot with an open stomach) appears.
- Connect the device to the computer.
- Open the command prompt (cmd) in the folder with Platform Tools.
- Enter the command to check the connection: fastboot devices If the device is determined (the serial number appears) - continue.
- Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
For a complete reset with flashing, use the command:
fastboot flash all [name file firmware].zipNote:
MIUI Download
β οΈ Attention: On devices with a bootloader, fastboot erase commands will not work. Trying to execute them can lead to a complete lock of the smartphone. Check the bootloader status by command: fastboot oem device-info Search for Device unlocked: true unlocked.
6. Method 4: Reset via ADB (if the pattern lock is forgotten)
If you have forgotten the pattern lock or PIN-code, but USB-Debugging was enabled earlier, you can reset the password through ADB without data loss (only for MIUI before version 12.5).
Instructions:
- Connect your smartphone to your computer.
- Open the command line in the ADB folder.
- Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
After the reboot, the pattern lock will be reset. Attention: this method does not work on all devices. On MIUI 13+ and HyperOS, it is blocked for security reasons.
For new firmware versions, use an alternative method:
adb shell am start -n com.android.settings/.ChooseLockGenericThis command will open a password change menu where you can set a new PIN.
How to turn it on USB-Debugging if the device is blocked?
7. Method 5: Reset via service menu (hidden code)
Some Xiaomi models (mainly until 2020) have service code to reset, which does not require a computer and works even when the screen is locked (if you have access to the dial keyboard).
Instructions:
- Open the Phone app.
- Enter the code: ##7780### This will perform a soft reset (it will remove settings and apps, but save media files).
- For a complete reset, type ##7378423## or *2767*3855#.
List of supported models:
- π± Redmi Note 7/8/9 (except for the Pro versions).
- π± Mi 8/9/10 (before MIUI 12).
- π± POCO F1, POCO X2.
β οΈ Attention: On devices with MIUI 13+ HyperOS service codes are disabled, and entering them can lead to the error "Connection problem or invalid". MMI code".
8. What to do after the discharge?
After a successful reset, the device will start in initial configuration mode.
- π Do not restore data from the backup right away β first check if the problem has been solved (lags, errors, etc.).
- π Turn off automatic sync in your Google account to avoid re-infection with viruses (if the reset was due to them).
- π± Update your firmware to the latest version through Settings β The phone. β Updating the system.
- π‘οΈ Install antivirus (such as Malwarebytes or Bitdefender) before data recovery.
If after the reset, the device requires data input from Mi Account, but you do not remember them:
- Go to account.xiaomi.com.
- Press Forgot Your Password?
- Restor access via email or a linked phone number.
- If your account is not restored, contact Xiaomi with a check to buy.
For Mi TVs after reset:
- Connect to the Wi-Fi network.
- Choose a region (Russia or Europe) for the correct operation of the services.
- Turn off automatic updates in Settings β Software updates if you use unofficial firmware.
π‘
If the device does not turn on or freezes on the logo after reset, this is a sign of damaged firmware, in which case you need to flash through Fastboot (method 3) or contact the service center.