How to reset Xiaomi phone settings to factory: full guide

Xiaomi smartphones that run on the MIUI shell or the new HyperOS can eventually start to run slower, accumulating system debris and errors in the application registry. Often the only effective solution to return the device to its original speed and stability is to completely clean the memory. This procedure removes all user data, returning the software to a state identical to the state immediately after purchase in the store.

Hard Reset may be required not only when performance is down, but also when you forget your pattern lock, screen unlock password, or Google account, and a reset is mandatory before selling your gadget so that the new owner doesnโ€™t have access to your personal information, photos, and correspondence. Itโ€™s important to understand that this process is irreversible, so it needs to be approached with awareness and preparation.

In this article, we will take a look at all the available methods for returning to factory settings, from the standard settings menu to using the Recovery Engineered Mode. You will learn how to properly prepare the device to avoid losing important contacts, and what to do if the phone has stopped responding to touch. Follow the instructions carefully to avoid data loss.

Preparation of the device before discharge

The first and most critical step is to back up all of your critical data, because the full reset process destroys your internal storage, including photos, videos, music and documents, and needs to be moved to an external medium or cloud storage, and Mi Account and Google account holders can use the built-in sync features to save contacts, calendars and notes.

Be sure to check the battery level. The data partition formatting process can take 10 to 30 minutes depending on the memory capacity and processor model. If the device turns off in the middle of the procedure, there is a high risk of file system damage, which can turn the smartphone into a "brick." The minimum recommended charge is 50%, but it is better to connect the charger to the network.

โ˜‘๏ธ Checklist for preparation for discharge

Done: 0 / 4

Donโ€™t forget to remove the microSD card and SIM-The card before the operation, although modern versions of Android and MIUI try not to affect external drives during reset, the risk of accidental formatting or damage to the data on the card still exists. SIM-Cards will prevent accidental calls or traffic consumption during system restart.

โš ๏ธ Warning: If your phone has two-factor authorization or account protection enabled, make sure you remember passwords. Once reset, the device will require you to enter your Google or Mi Account account that was previously linked. FRP (Factory Reset Protection).

Method 1: Reset via the settings menu (standard method)

The safest and easiest way to return factory settings is to use the built-in menu of the system, which is suitable for all properly working Xiaomi, Redmi and POCO smartphones. The interface may vary slightly depending on the version of the shell (MIUI 12, 13, 14 or HyperOS), but the logic of actions remains the same.

To start, open the Settings app and find the About section. In some versions of the firmware, the desired item may be in the Advanced Settings or Advanced category. This is where the button that triggers the cleanup mechanism is located. By clicking on it, the system will suggest you choose the type of reset: delete all files or only reset without deleting data (the latter option is less common and does not work on all models).

Where exactly to look for the reset button in different versions of MIUI?
In MIUI 12-14, the path is usually: Settings โ†’ About Phone โ†’ Reset. In older versions (MIUI 10-11), the path can be: Settings โ†’ Advanced Settings โ†’ Recovery and Reset. In HyperOS, the location remains the same, but the visual design of the menu has become more minimalistic.

Once you select the "Erase All Data" option, the system will show you a list of what will be deleted, you will need to enter the screen unlock password or PIN to verify your identity, this is protection against accidental reset by unauthorized persons, and after confirmation, the preparation process will begin, which will take several minutes, after which the phone will restart and begin formatting.

It's important not to interrupt this process. The screen can go out and light up, the device can vibrate several times, which is normal behavior. System files are rewritten, so any interference can lead to a boot error.

โš ๏ธ Note: If your phone is blocked by a ransomware virus or a malicious application that prevents you from entering the settings menu, this method will not work.

Method 2: Hardware reset via Recovery Mode

If the smartphone is not turned on, stuck on the logo or not responding to touching the screen, the only option is to use Recovery Mode, which loads independently of the main operating system, allowing you to perform low-level memory operations.

The login procedure can vary depending on the model. On most modern Xiaomi smartphones, you need to turn the device off completely, then press the Volume Up and Power button at the same time. Hold them until the Mi or Redmi logo appears, after which the power button can be released, continuing to hold the volume button until the Recovery menu appears.

In the menu, you can navigate with volume buttons (up/down), and the power button confirms the choice. In some models with touch control, you can use touch in Recovery mode. You need to select Wipe Data, then Wipe All Data, and confirm the action by selecting Confirm. After you complete the process, select Reboot to restart.

๐Ÿ’ก

If the Recovery menu doesnโ€™t appear with the standard button combination, try connecting the phone to your computer via a switched-off button. USB-And then you can hold the button combination, and on some models, it's a prerequisite for you to go into recovery mode.

There is also the option of logging in via ADB command line if the phone has previously been enabled debugging over USB. Connecting the device to the PC, you can send an adb reboot recovery command, which automatically puts the gadget in the desired mode. However, this method requires pre-configuration and the presence of drivers on the computer.

Comparison of discharge methods and their features

Understanding the differences between software and hardware resets helps you choose the right tool for a particular situation. Although the end result is the same โ€” a clean system, the ways to achieve and the risks may differ. Below is a table comparing the main characteristics of the methods.

CharacteristicsThrough Settings (Soft Reset)Through Recovery (Hard Reset)Through ADB/Fastboot
AvailabilityAccess to the system is requiredIt works even with a non-working screen.Requires USB debugging enabled
Security of dataHigh (systemic control)Medium (interrupt risk)Low (requires skills)
DifficultyLow.MediumTall.
Implementation time15-20 minutes.10-15 minutes.5-10 minutes

Software resets through settings often perform additional data integrity checks before deletion, making it more reliable for regular users. Hardware reset via Recovery acts more aggressively and forcefully, which is useful for software failures that block menu entry. ADB Preferred for advanced users and developers.

The choice of method also depends on the state of the touchscreen. If the sensor has stopped responding partially or completely, using volume buttons in Recovery mode becomes the only viable option.

๐Ÿ“Š What type of reset you used most often?
Through the settings menu
Through Recovery (buttons)
Through the computer (ADB)
I've never dropped my phone.

What to do after resetting: the initial setting

Once the procedure is completed, the phone will restart and greet you with a language selection screen, as it was when you first turned on, which is called the Initial Setup, where you have to choose an interface language, connect to a Wi-Fi network, and log into your Google account, and that's when the system checks for FRP locks.

If you plan to recover data from a backup, do so immediately after you connect to the Internet. The system will suggest restoring apps, settings and media from the cloud. This process can take a considerable time, so it is recommended to leave the phone on charge and not interrupt the connection to Wi-Fi.

๐Ÿ’ก

The first 30 minutes after a reset, the phone may be slower than usual, because the background services index files and update applications, give the system time to bounce back, don't panic, and don't reset the device again.

Be sure to check for system updates. Since youโ€™ve rolled back to the factory version of the software, itโ€™s likely Xiaomiโ€™s servers already have more recent security patches and bug fixes. Go to Settings โ†’ About Phone โ†’ MIUI/HyperOS version and click โ€œCheck Updates.โ€

Possible problems and solutions

Despite the simplicity of the procedure, users may encounter a number of difficulties, and one of the most common problems is endless restart (bootloop) after reset, which may indicate damage to the system partition or incompatibility of the custom firmware installed earlier, in which cases it is often possible to re-enter Recovery and select Wipe All Data again, or flash the device through the computer.

Another common issue is requiring a password from a Google account that a user does not remember, which is a security mechanism that is virtually impossible to circumvent by legal means, and the only option is to use the procedure to restore access to a Google account through a browser on another device.

  • ๐Ÿ“ฑ The phone can't see. SIM-map: after reset, sometimes the network settings are lost. Try manually selecting the operator in the mobile network menu or updating the configuration. APN.
  • ๐Ÿ”‹ Fast battery discharge: In the first days after a reset, the system actively learns the user's habits and indexes the files. 2-3 day-of-use.
  • ๐Ÿ“ถ Network absence: if the network icons are missing after reset, check if the phone was locked to a specific operator.

โš ๏ธ Note: If the phone says โ€œDevice is corruptedโ€ after reset or cannot boot the operating system, this may indicate an unlocked bootloader when trying to run the official firmware, or vice versa. In such situations, you need to flash through the Mi Flash Tool utility.

FAQ: Frequently Asked Questions

Will the information be deleted from the SD card when reset?
By default, the standard reset procedure through the settings menu does not affect the external memory card. However, in some rare cases or using specific reset methods through Recovery, the system may suggest formatting and SD-Always read the warnings on the screen carefully and, to guarantee security, remove the memory card before starting the procedure.
Will Unlock Bootloader Unlock Bootloader Reset?
No, a conventional Hard Reset does not lock the bootloader back. If you have previously unlocked the bootloader officially through Mi Unlock, it will remain unlocked. However, if you reset the phone through a firmware flash with the "Clean all and lock" option, the bootloader will be locked, which can lead to loading problems if custom firmware is installed.
How long does the data reset process take?
Time depends on the amount of memory filled and the speed of the drive. On modern models with fast memory UFS, the process takes from 5 to 15 minutes. On older devices with a lot of data, it can take up to 30-40 minutes. The main thing is not to interrupt the process, even if the screen goes out.
Can I reset my phone if it is blocked by a virus?
Yes, if the virus locks the screen and prevents you from entering the settings, use the Recovery Mode method, which allows you to bypass the locking of the interface, since the recovery mode loads before the main operating system where the virus lives starts.