How to reset your settings to factory on Xiaomi Android if you forget your password

When you pick up your Xiaomi or Redmi and realize you have forgotten your pattern lock or digital pin, it is a very frustrating situation.The lock screen becomes an insurmountable barrier to hiding all your data, contacts and photos. Fortunately, the Android operating system provides mechanisms to fully restore access to the device even in such critical cases.

A complete reset procedure, also known as Hard Reset, will allow you to erase all data from internal memory and return the phone to a β€œbox-like” state, a radical solution that is guaranteed to eliminate the problem of a forgotten password, but it requires the user to be careful and follow the instructions clearly so as not to harm the software part of the smartphone.

In this guide, we will take a look at all the options available for resetting your Xiaomi brand devices, and we will look at both the standard methods through the recovery menu and the specific nuances associated with your Mi Account and data protection. It is important to understand that once you do this, it will be impossible to return deleted information without a pre-created backup.

Preparation of the device for the discharge procedure

Before you start active unlocking, make sure your device is ready to reboot in system mode. First of all, check the battery level. If the charge is less than 50%, it is better to connect the smartphone to the charger, as a sudden power outage during the reset process can damage the system files.

It’s also worth trying to remember whether your phone is tied to a Google or Mi Account. Once reset, the security system can request data from the last account used to verify ownership of the device, a standard measure of protection against theft known as FRP (Factory Reset Protection).

⚠️ Note: If you don't remember the password from your Google account linked to your phone, after a reset you may encounter an activation lock.Make sure you have access to the mail or phone number used when registering.

If you had the opportunity to back up your data in the cloud or on your computer before you locked your screen, consider yourself lucky, otherwise, accept that all photos, messages, and apps installed will be permanently lost during the recovery process.

πŸ“Š Have you ever had a screen lock on Xiaomi?
Yeah, I forgot my password.
No, I'm using a print.
Blocked after the update
Until there was a problem.

Resetting method through Recovery Mode

The most versatile and effective method to unlock a device is to enter Recovery Mode, which loads regardless of the operating system status and allows you to perform low-level operations. To get into Recovery Mode on most Xiaomi and Redmi models, you need to turn off the smartphone completely.

After turning it off, press the volume button and the power button at the same time. Hold them until the brand logo appears, then release the power button, but keep the volume up. A multi-point menu should appear on the screen, often with a black background and orange or blue lines.

Navigation in this menu is done by volume buttons (up and down), and the choice of item is made by the power button. You need to find the Wipe Data or Clear Data bar. In some versions of MIUI firmware, this menu can be immediately in English, in others, you need to switch languages.

  • πŸ”˜ Press the power button to confirm the selection of the data cleanup point.
  • πŸ”˜ The system can request a reconfirmation by offering to select Wipe All Data.
  • πŸ”˜ After the cleaning process is complete, select Reboot to restart the system.

The process of erasing data usually takes from a few seconds to a couple of minutes, during which time the Android logo with a performance indicator or a text log of operations can be displayed on the screen.

β˜‘οΈ Pre-reset check

Done: 0 / 4

Use of the Mi Account service function

There is an alternative way to unlock, which works if the locked device is enabled Internet and activated the function "Find the device", for this you need a computer or other smartphone with Internet access, you need to go to the official website of the cloud service Xiaomi.

Log in to your Mi Account using the same login and password that was on the locked phone. In the service interface, look for the Find Device section. If the phone is online and geolocated, you will see it on the map.

In the list of available actions for the device, select the option of data cleaning. This command will remotely send a signal to the smartphone, initiating a reset to the factory settings. This method is convenient because it does not require physical interaction with the buttons of the phone body.

⚠️ Note: This method will only work if the locked phone is connected to Wi-Fi or mobile network. If the device is in aeronautical mode or without a SIM card, the command will not be executed until the network appears.

Once the command is received, the phone will automatically restart and begin the cleaning process, and it should be noted that the speed of execution depends on the speed of the Internet connection and the amount of data that needs to be deleted, and in some cases, the command may not be executed immediately, but the next time the device connects to the network.

Specificity of reset on different versions of MIUI and HyperOS

The recovery mode interface can vary significantly depending on the version of the firmware installed. On older versions of MIUI, the menu is often presented as a list of text commands. On newer versions, including HyperOS, the interface has become more graphical and can support touch control even in recovery mode.

In the new shells, when selecting a data clearing point, the system can additionally request the input of the confirmation code that is displayed on the screen, or require the password from the Mi Account directly to the Recovery menu, an additional security measure implemented by developers.

If you see a message that you need to enter a password and you don't remember it, the situation gets complicated, and in such cases, a standard reset through the buttons can be blocked (5-7 (x) pressing the power button or combination of volume buttons to call an additional confirmation menu.

Shell versionRecovery menu typeManagementFeatures
MIUI 10-12Textual (Orange/Black)Volume buttons + PowerClassic Android Recovery
MIUI 13-14GraphicTouch + ButtonsLanguage support is possible
HyperOSGraphic (Modern)Mostly sensoryRequesting Mi Accounts when resetting
Android OneStandard GoogleVolume buttons + PowerGoogle's Strict FRP

Owners of Redmi Note and Poco series devices should be especially careful, as some models of these lines implement new security protocols faster.

What to do if the menu is in Chinese?
If you're on the Recovery menu, where all the Chinese is written, don't panic. Usually the top menu item is the choice of language. Click on it (sensor or power button), then find it in the list and select English or Russian. If the sensor doesn't work, try briefly pressing the volume button up or down to navigate the list of languages.

Problems with FRP and Google account

Once you successfully perform Hard Reset and reboot, you will encounter the initial setup screen, which is standard behavior, but if you have previously entered a Google account on your phone, FRP (Factory Reset Protection) protection will work.

The system would require you to enter a password from the Google account that was synced to the device before the reset, so that the attacker who stole the phone and dropped it could not access the device, and without entering the correct data, it would be impossible to continue using the smartphone.

If you remember your account, just enter the data and continue setting up. If you don't remember the Google password, you'll have to restore access to your account via a computer or other device using the password recovery procedure on Google's website, and then you'll be able to unlock your phone.

  • πŸ”‘ Enter the data carefully, checking the keyboard layout and the register of letters.
  • πŸ”‘ Make sure the device has the correct date and time if required for authorization.
  • πŸ”‘ With two-factor authorization, make sure you have access to your phone number to receive SMS.

Ignoring this step or trying to circumvent the protection by unofficial means can lead to a complete lockdown of the device. Modern versions of Android have a high level of protection, and simple workarounds that worked a few years ago are now ineffective.

Possible errors and their elimination

Users may experience a variety of errors during the reset process, and one common problem is hanging on the MI or Redmi logo after the reboot, which may indicate damage to the system partition or interruption of the data writing process.

If your phone is stuck in a bootloop, try resetting. Sometimes once isn't enough, especially if the file system is damaged. 10-15 second) holding the power button to force reset.

In more complex cases, when the phone does not respond to buttons or enters recovery mode, you may need to flash the device through the computer using the Mi Flash Tool utility.

⚠️ Warning: If after resetting the phone constantly gives an error "System is running" or goes into restart, do not continue to try to turn on.

It is also worth considering that on some Locked Bootloader models, recovery options are limited by standard methods. Unlocking the bootloader for deep recovery usually requires a wait of 7 days and an unlocker.

πŸ’‘

If the phone is warming up during reset, that's OK. The processor is actively working to erase the memory cells. However, if the heat becomes extreme, let the device cool down before continuing.

Actions after restoration of access

Once you have successfully passed the welcome screens and reached the desktop, you will have a virtually clean device. First of all, you should check for system updates. Go to Settings β†’ About the phone and click on the version of the MIUI shell or HyperOS.

Then you need to restore your data from the backup, if you have one, and when you log in to your Google account, the system will suggest restoring your contact list, installed apps, and some settings, which can take time depending on the speed of the Internet.

Remember to reset the biometric protection. Add a fingerprint or facial data to unlock. This is not only convenient, but also increases the security of your data in the future. It is also recommended to install a strong pin code that you will definitely not forget.

πŸ’‘

A full reset is a last resort, and regular backups in the Mi Cloud or Google Drive cloud will save your data in case of such situations.

In conclusion, it is worth noting that the password reset procedure on Xiaomi is a standard feature of the system, designed to restore access by the owner. If you perform all the steps correctly, you are guaranteed to regain control of your device.

Is it safe to do a hard reset for your phone?
Yes, it's a routine software procedure that doesn't harm the hardware of the device, but it completely deletes all user data, so it's important to have a backup.
How long does the resetting process take?
It usually takes 2 to 10 minutes, depends on the amount of internal memory and the amount of data that needs to be erased, and the first download after a reset can take longer than usual.
Can I recover a photo after reset without a backup?
Without a pre-built backup or using specialized, expensive data recovery software (which doesn’t give you a 100% guarantee), it’s impossible to recover a photo after Hard Reset.
What if the phone says "Device is locked" when reset?
This message means that the device bootloader is locked. For a standard password reset via Recovery, this is not an obstacle, but it will require unlocking to flash through the computer.