Resetting Xiaomi devices to factory settings is a procedure that can be required in a variety of situations, from preparing a gadget for sale to fixing critical failures. However, an incorrect reset can lead to data loss, blocking the Mi Account account or even โbrickingโ the device. In this article, we will analyze all the current ways of resetting for Xiaomi smartphones, tablets and TV boxes, including hidden features and nuances for devices with a locked bootloader.
We will focus on the difference between soft and hard resets: the first saves media files, and the second deletes everything, including internal memory. Also, we will uncover the myths about resetting via # # #4636## (this code does not work on Xiaomi!) and explain why some instructions from the old manuals can harm your device.
1. When do you need a factory reset?
Before you press the Reset button, make sure it's really necessary.The main reasons for going back to factory settings are:
- ๐ฑ Preparation for sale or transfer โ deletion of personal data, accounts and history.
- ๐ System failures: constant reboots, lags, application errors (com.android.phone, miui.home).
- ๐ Forgotten pattern lock/PIN (unless unlocked via Mi Account is triggered).
- ๐ฆ Clean before upgrading MIUI (recommended when switching to a new version of Android).
- ๐ ๏ธ Removal of viruses or malware if the antivirus fails.
However, resetting will not help if:
- โ The problem is hardware (broken screen, faulty battery, burnt Wi-Fi module).
- โ The device is locked by the operator (detachment from the provider is required).
- โ Broken charging connector or power button (repair, not reset).
โ ๏ธ Warning: On devices with MIUI 14+ and HyperOS, you may need to re-assign your Mi Account after reset, even if the gadget has not been blocked before.
If your goal is just to free up space, try cleaning the cache in Settings โ Storage โ Clean or remove unnecessary apps. Resetting is a last resort, not a panacea for all problems.
2. Method 1: Reset via the settings menu (the safest)
This method is suitable if the device is turned on, you remember the unlock password, and you want to save photos / videos to internal memory. The instructions are relevant for all Xiaomi smartphones (including Redmi, POCO, Black Shark) and tablets on MIUI/HyperOS.
Step-by-step:
- Open Settings (the gear icon on the main screen).
- Go to About Phone โ Reset (HyperOS: Settings โ Additional โ Reset and Recovery).
- Select Reset settings (not to be confused with Reset Network settings!).
- The system will offer two options: ๐ Reset โ only deletes apps, accounts and settings (photos / videos remain). ๐งน Erase all data โ complete cleanup, including internal memory.
password/pattern lock
Wait for the reboot (it will take 5-15 minutes).
โ ๏ธ Warning: Devices with MIUI 13+ may receive a confirmation request via Mi Account after a reset, even if the gadget has not been linked to the account before.
If the Reset option is inactive (grey), it means:
- ๐ Reset protection is enabled on the device (you need to disable in Settings โ Accounts โ Mi Account โ Device Protection).
- ๐ต The device is not connected to the Internet (required to verify the account).
- ๐ง Find Device is active (turn it off in Settings โ Google โ Security).
โ๏ธ Preparation for reset via menu
Method 2: Hard Reset via Recovery Mode (if the phone doesn't turn on)
If Xiaomi doesnโt respond to the power button, hovers on the MI logo or is locked with a pattern lock, resetting through Recovery will help.This method deletes all data, including photos and files in internal memory!
How to Sign In to Recovery on Xiaomi:
- Turn off the device (press the power button for 10-15 seconds).
- Press the combination: ๐ฑ For most models: Power button + Volume up. ๐ฎ For Xiaomi TV Stick/Box: plug into the TV, pinch OK + Menu on the remote when turned on.
Mi Bunny
Release the buttons and you will be taken to the Recovery menu (in English or Chinese).
Further action:
- ๐ง Use volume buttons for navigation and power for confirmation.
- ๐ Select Wipe Data โ Wipe All Data (older versions โ Wipe & Reset).
- ๐ Confirm or Yes.
- ๐ After reset, select Reboot โ Reboot to System.
| Xiaomi model | Combination for Recovery | Features |
|---|---|---|
| Redmi Note 10/11/12, POCO X3/X4/X5 | Food + Volume up | Menu in English, support for sensory control. |
| Xiaomi 11/12/13, Mix 4/Fold | Food + Volume up | Requires confirmation via Mi Account after reset. |
| Xiaomi Pad 5/6 | Power + Volume up (hold 20+ seconds) | On tablets, the Recovery menu can open longer. |
| Mi TV Stick 4K, Mi Box S | OK + Menu on the remote when switched on | Reset takes up to 10 minutes, do not turn off the power! |
โ ๏ธ Warning: If after resetting via Recovery, the device requires you to enter the Mi Account password, and you do not remember it, you will not be able to unlock yourself.
What happens if Recovery does not open?
4. Method 3: Fastboot Reset (for advanced users)
This method is used if:
- ๐ง Recovery is damaged or not opened.
- ๐ฑ The device is locked after a failed firmware.
- ๐ You need to unlock the bootloader before reset (relevant for Xiaomi with the bootloader locked).
What you need:
- ๐ป Computer with drivers installed ADB/Fastboot (Download from the official Android website).
- ๐ Cable USB Type-C (original, undamaged).
- ๐ Fastboot file for your model (you can download from Xiaomi Firmware Updater).
Step-by-step:
- Turn off the device.
- Press Power + Volume down until the Fastboot logo appears.
- Connect your phone to your PC and open the Command Prompt (Windows) or Terminal (macOS/Linux).
- Check the connection command: fastboot devices must display the serial number of the device.
- Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
For a complete reset with flashing, use:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot erase userdata
fastboot rebootโ ๏ธ Warning: On devices with a locked bootloader, fastboot flash commands will not work without first unlocking through the official Xiaomi tool. Trying to flash a locked device will lead to a brick (complete inoperability)!
1. Google USB Driver is installed.
2: Do you use the original cable (not all USB- cables support data transmission).
3. Try another one. USB-port (preferably) USB 2.0, because USB 3.0 is sometimes in conflict with Fastboot).-->
5. Method 4: Reset via Mi Account (if the password is forgotten)
If you forget the pattern lock or PIN- code, but remember the data from the Mi Account, you can reset the lock without losing data (on some models).
- ๐ถ Connecting a device to the Internet (Wi-Fi or mobile network).
- ๐ Linking Mi Account to your device before locking.
- ๐ฑ No hardware damage (e.g., a broken screen)
Instructions:
- On the lock screen, click Forgot Password? (or Forgot Password).
- Select Sign in via Mi Account.
- Enter the username and password from your Xiaomi account.
- Confirm the unlock via SMS or email (the code will come to the linked number / mail).
- Set a new password or pattern lock.
If you forgot your password, you will not see:
- ๐ Connect the device to charge and check the internet connection.
- ๐ Reboot your phone (press the power button for 15-20 seconds).
- ๐ง Make sure you use the correct account (multiple Mi Accounts may be linked to one device).
โ ๏ธ Warning: After 5 failed attempts to enter a password, Xiaomi can block the ability to unlock through Mi Account for 24-72 hours.
๐ก
Resetting via Mi Account is the only way to save data with a forgotten password, but only works if the account was tied before locking and the device is connected to the Internet.
Method 5: Resetting through service codes (myths and reality)
There are often โsecret codesโ on the internet to reset Xiaomi, such as:
- #4636## - Test menu (not working on MIUI)
- ##7780## - Resetting (only available on Samsung)
- #27673855## โ Complete reset (remove all firmware, dangerous!)
The truth about service codes on Xiaomi:
- โ Only codes for checking information are working: ##4636## โ the test menu (on MIUI opens Settings โ About phone). ##06## โ shows IMEI. ##0000### โ version of the software.
- โ No code does reset on Xiaomi devices! There are only official methods for this (settings menu, Recovery, Fastboot).
If you come across a manual with a โmagic codeโ to reset Xiaomi, itโs fraud or outdated information.
- ๐ต Communication loss (reset modem settings).
- ๐ง Firmware damage (reflashing via Fastboot is required).
- ๐ซ Block Mi Account (if the code causes suspicious activity)
Why do reset codes not work on Xiaomi?
7. What to do after the discharge?
Once you get back to factory settings, it's going to be like new.
- ๐ฑ Select a language, region and connect to Wi-Fi.
- ๐ Enter the data from Mi Account (if required).
- ๐ฒ Restore data from backup (if you backup through Settings โ Additional โ Backup).
- ๐ Set up protection: pattern lock/PIN Faceprint (if supported) Two-factor authentication for Mi Account.
Post-reset problems and their solutions:
| Problem. | Reason. | Decision |
|---|---|---|
| The device asks for an old password after resetting | Mi Account is linked to the device | Enter your account details or unlock through Xiaomiโs website |
| No communication (no network) | Resetting modem settings | Go to Settings. โ SIM-maps and mobile networks โ Access points (APN) and select the automatic setting |
| Touch ID/Face Unlock is not working. | Biometrics data deleted | Register your fingerprint/face again in Settings โ Passwords and security |
| No applications installed | Google account not set up | Add a Google account to Settings โ Accounts |
If after reset, the device does not turn on or hung on the logo:
- ๐ Connect to charging for 30-60 minutes (the battery may have run out during the procedure).
- ๐ Try logging into Recovery and repeat the reset.
- ๐ป If nothing helps, run the device through Fastboot (instructions in Method 3).
๐ก
After reset, turn off automatic app updates in Google Play โ Settings โ Auto Update to avoid downloading unnecessary updates over the mobile network.
8. Frequent mistakes and how to avoid them
Even experienced users make mistakes when resetting Xiaomi.
- ๐ Battery discharge โ if the charge is below 30%, the device may shut down during reset, causing firmware damage. โ ๏ธ Attention: On battery devices <5%, a Recovery reset can occlude the device! Charge up to 50%.
- ๐ Interrupting the process โ if you take out the battery or turn off the power during the reset, there is a high risk of damaging the userdata partition, in which case only flashing through the Fastboot will help.
- ๐ต Internet Absence โ Without a network connection, Xiaomi will not be able to verify the Mi Account, which will result in a lockdown after a reset.
- ๐ Forgotten password from Mi Account โ if you do not remember your account details, it will be impossible to unlock the device after a reset without contacting the service.
How to minimize the risks:
- ๐ Make a backup (even if you plan to "soft" reset).
- ๐ Charge the device to 100%.
- ๐ Connect to stable Wi-Fi (non-mobile internet).
- ๐ Write down the data from Mi Account and Google Account.
If you are selling a device, you must:
- Delete all accounts (Mi Account, Google, social networks).
- Turn off Find the device in Google settings.
- Log out of Mi Cloud (Settings โ Accounts โ Mi Account โ Sign out).
- Reset your settings via Wipe All Data in Recovery.
๐ก
The most common mistake is to reset Mi Account without detachment. If the new owner can not log into your account, the device will become a brick!