How to reset Xiaomi settings to factory if your phone is locked

Many users experience a situation where a Xiaomi smartphone stops responding to commands or access is blocked by a forgotten pattern lock. Often the only way out is a complete data reset that returns the device to the β€œout of the box” state. However, the standard path through the settings menu is not available in this case, which requires alternative methods of forced system restart.

The procedure for restoring the functionality of a locked device requires care, since any action will lead to the permanent removal of all personal information. The user should clearly understand the difference between a software interface failure and a hardware malfunction, so as not to aggravate the situation. In this guide, we will discuss proven ways to enter the recovery mode and algorithms for actions for different lock scenarios.

It is important to consider that modern versions of the MIUI shell and HyperOS are equipped with enhanced security protocols, which means that after a reset, the system may require authorization through a previously linked Google or Mi Account. Ignoring this fact can turn the phone into a β€œbrick” available only for emergency calls, so preparation for the procedure must be careful.

Preparation for the rigid discharge procedure

Before you start taking drastic measures, you need to make sure that all possible soft recovery options are exhausted. If the device responds to touch, but is blocked, try using the β€œForgot Password” function or remote login through the device’s search services. If the interface is completely unusable, you will need to physically interact with the control buttons.

The main goal of the training is to minimize the risk of losing critical data that can technically still be saved. Even if the screen does not light up, the phone can retain charge, which allows you to try to copy contacts or photos through cloud services if sync was enabled earlier.

  • πŸ”‹ Make sure that the battery is at least 50-60%, so that the device does not turn off at the critical moment of flashing memory partitions.
  • πŸ“± Prepare the original. USB-cable, as poor-quality wires can cause unstable connection when trying to debug or enter special modes.
  • πŸ” Remember the data from the Google account and Mi Account, which were used on this smartphone, otherwise activation will be impossible.

⚠️ Note: All photos, contacts, messages and installed applications will be destroyed without the possibility of recovery through standard operating system tools.

β˜‘οΈ Ready to dump

Done: 0 / 4

Method 1: Reset via the Recovery (Hard Reset) menu

The most versatile method, which works on most Redmi, POCO and Xiaomi models, is to log into Recovery Mode, which is part of system software and allows you to perform low-level operations with the file system, regardless of the state of the main operating system.

The process begins with a complete shutdown of the smartphone. If the device is getting stuck and does not respond to a standard shutdown, you need to press the power button 10-15 seconds before vibration, and then quickly enter recovery mode. Some models with the latest versions of MIUI may require connecting the charger or cable to the computer to activate the volume buttons.

When you see a Mi or Android logo, release the power button, but keep holding the volume button. When you see a multi-language menu or an Android logo with an exclamation point, you can release all the buttons. If you see an image of an android lying down, press the power button once and hold it, briefly press the volume button.

What to do if the menu does not appear?
If after multiple attempts, the Recovery menu does not appear, it may be that the buttons were disabled in the settings, or the system partition was damaged. USB-cable before entering mode or use the Mi Flash Tool for forced flashing in Fastboot mode.

Navigation in the Recovery menu is done with volume buttons (up/down), and the choice is confirmed by the power button. You need to select Wipe Data, then Wipe All Data and confirm the action by selecting Confirm. The system will warn you about the loss of data, after which the cleanup process will begin.

Method 2: Remote reset via Google Find My Device

If the smartphone is locked but connected to the Internet (Wi-Fi or mobile network), the effective solution is to use the service Google Find My Device. This method allows you to initiate a command to reset data remotely, which is especially important if physical access to the buttons is difficult or they are defective.

To implement this method, go from your computer or other smartphone to the service site and log in under the same account that is used on the locked device. The system will try to determine the location of the gadget. In the list of available actions, select the option to Clear the device (Erase Device).

The command will be sent to Google servers, and once the locked phone is connected, it will be automatically executed. The device will reboot, all data will be deleted, and it will return to factory settings. This method also allows you to delete data even if the phone is temporarily offline, the command will be executed on the first connection to the network.

  • 🌐 Requires a stable Internet connection on a locked device to receive a command.
  • πŸ”’ You need to know exactly the login and password from the Google account associated with the phone.
  • πŸ“ The β€œFind Device” function should have been pre-activated in the security settings.

⚠️ Note: After a remote reset via Google, the device may require you to enter a password from the account that was used on it before blocking, as part of the protection against theft (FRP).

πŸ“Š Have you ever had a phone lock?
Yeah, I forgot my password.
Yeah, it's bugging.
No, but I'm afraid.
I have an iPhone.

Method 3: Using Fastboot and PC Mode

Fastboot mode is primarily designed for developers and allows you to interact with the phone at a low level through a computer. Although the standard reset command in Fastboot often requires an unlocked bootloader, this method can be useful for diagnosing or preparing for flashing if Recovery is not available.

It will require an installed ADB/Fastboot driver on your computer and minimal command-line skills. Once you connect your phone to Fastboot mode (there will be a bunny repairing an android on the screen, or the word Fastboot), you can try to send a reboot command to Recovery if the phone buttons don't work.

Open the command line or terminal in the platform tool folder and enter a command to check the connection:

fastboot devices

If the device appears in the list, you can try sending a reboot command: fastboot reboot or fastboot oem reboot-recovery. However, it is worth noting that full data reset (fastboot erase) on global versions of firmware is often blocked without unlocking the bootloader, which requires a separate procedure through the Xiaomi server.

Entry methodKeyboard combinationRequirementsRisk of data loss
Recovery ModeVolume + and NutritionNo.100% (on confirmation)
FastbootLoudness - and NutritionUSB-cableLow (no teams)
Google FindRemotely.Internet, Account100%
Mi CloudRemotely.Internet, Mi Account100%

Account Problem: Mi Account and Google FRP

Modern Android security and MIUI have built-in protection against theft. Once reset is done, the system will require you to confirm ownership of the device when you first boot it, called FRP (Factory Reset Protection) for Google and similar protection for Mi Account.

If you don't remember the password from the account that was synced to the phone, the device can stay locked forever, the system will request login and password, and without them, you can't access the interface, so that thieves can't use stolen phones after they're reset.

In the case of a Mi Account, if Find Device has been enabled, a Recovery reset will not remove the link.You will need the internet and accurate authorization data.There is an option to unlock through the official i.mi.com website if you have access to a phone number or backup email linked to the account.

πŸ’‘

Resetting does not remove the binding of accounts to the device on the server. Without passwords from Google or Mi Account, the phone will become a useless piece of plastic.

What to do if the phone does not turn on after resetting

Sometimes, after the Hard Reset procedure, the device may get stuck on the logo, enter an endless bootloop, or simply not react to the onset, which may indicate that the system files are damaged during the reset process or that the current version of Recovery is incompatible with the hardware.

The first step is always to charge the device for a long time (at least 30-60 minutes) even if the indicator does not light up. Then try a forced reboot, holding the power button for 15-20 seconds. If the phone reacts with vibration but does not load, you will probably need to flash it.

To restore efficiency, you will have to use a computer and the official utility Mi Flash Tool or Xiaomi. ADB/Fastboot Tools. You'll need to download the firmware image (Fastboot) ROM) The flashing process will completely replace the contents of the system partition, eliminating errors that occurred during the reset.

  • πŸ”„ Try logging in to Recovery again and select Reboot. β†’ Reboot to System.
  • πŸ’» Use Fastboot mode to connect to your PC and check device status.
  • πŸ”‹ Leave your phone on charge for a few hours, eliminating the possibility of a deep battery discharge.

⚠️ Attention: Self-flashing through Fastboot ROM can cancel the warranty and requires the exact selection of the version of the software corresponding to the region of the device.

πŸ’‘

If the phone warms up and discharges quickly after reset, let it lie on charging for 1-2 hours. The system performs file indexation and application optimization, which creates a high load on the processor.

Frequently Asked Questions (FAQ)

Will the phone drop if you take it out? SIM-pre-procedure?
Extraction SIM-The card does not affect the process of data resetting or account protection, however, if the phone is blocked by the Internet. PIN-code SIM-map, its extraction before inclusion after reset will avoid unnecessary requests when booting the system.
Can I reset my phone if the screen is broken and the sensor is not working?
Yes, if the display is running (although the image is partially visible), you can use button combinations to log in to Recovery. If the screen is black, but the phone is responsive to connections (sound, vibration), you can try connecting a USB-OTG adapter with a computer mouse to control the interface, if the system allows.
Will the information be deleted from the SD card in Hard Reset?
In most modern versions of MIUI, only internal memory is cleared when selecting Wipe All Data, the memory card remains intact, however, there is sometimes a separate Wipe SD Card item on the Recovery menu that you need to use with extreme caution to avoid losing files.
What if the phone requires an unlock code after resetting?
This is FRP or Mi Cloud protection, and you need to enter your account details (Google or Mi) that were synced to your device before the reset, and if you bought your phone with your hands and don't know your passwords, it's going to be very difficult to legally unlock it, and you're going to have to go to the previous owner or service center with a check to buy it.