What to do if you reset your phone to factory settings and forgot your Google account on Xiaomi

The situation where a user performs a full reset of Xiaomi to factory settings, and then faces the requirement to enter data of a previously synchronized account, is one of the most common and stressful. This is the FRP (Factory Reset Protection) security mechanism created by Google to prevent the use of stolen devices. If you forget your password or login, the phone turns into a “brick”, blocking access to the system even after reflashing.

But don't panic, because modern recovery techniques can get around this barrier without going to a service center. Access recovery requires careful follow-up and careful follow-up, as security algorithms are constantly updated. In this article, we'll look at all the current ways to solve the problem, from official methods to technical bypasses of system constraints.

It is worth understanding that the success of the operation depends on the version of the Android operating system installed and the shell MIUI or HyperOS. The newer the security patch, the more complex the standard methods, but even in this case there are working options. The main thing is not to perform chaotic actions that can lead to the final lock of the device.

Understanding the nature of FRP blocking on Xiaomi smartphones

Factory Reset Protection is deeply integrated into the Android operating system and doesn't get removed when you reset your phone with a Recovery menu. When you reset your phone with buttons, the system marks the device as "untrusted" and requires proof of ownership when it first boots, so that the attacker who found or stole the phone can't just erase the data and use the gadget.

On Xiaomi devices, the situation is complicated by the presence of dual protection: in addition to Google account, you often need to log in to your Mi Account. If the “Find Device” function was enabled in the settings, the system will require a password from both services.

⚠️ Warning: Repeatedly incorrectly entering a password can cause the device to be temporarily locked for 24 hours or more.

It's important to distinguish between a software failure and an actual security lock. If the phone just reboots and asks for a password from the lock screen, that's one thing. But if after a reset, a screen with a Google logo and an email input field appears, that's FRP lock. Bypassing that screen requires exploiting vulnerabilities in the initial setup interface or special software tools.

📊 What type of lock you have encountered?
Google Account Only (FRP)
Only Mi Account.
Both accounts at once.
I don't know, it's just a black screen.

Official ways to restore access to the account

Before you resort to complex technical manipulations, you need to try legal methods of password recovery. Often users forget not the password itself, but that they have recently changed it or use two-factor authentication. Recovery through a trusted device is the fastest and most secure way.

You'll need a computer or other smartphone with Internet access to do this. Go to the official Google account recovery page, and the system will offer you several confirmation options: a code from an SMS, a backup email, or a check question answer. If you have access to the phone number associated with your account, the problem is solved in minutes.

If your number is lost or your SIM card is not active, try to remember which devices you have already logged in to your account on. Sometimes you just need to go to your computer's email to "see" the trusted device and allow you to reset your password without further checks, and it's also worth checking the saved passwords in your Chrome browser or password manager.

☑️ Pre-reconstruction checks

Done: 0 / 4

If successful, you will receive a confirmation code. Enter it in the field on your Xiaomi phone. Note that the phone must be connected to a Wi-Fi network, which does not require additional authorization through the web page (as in hotels or cafes), otherwise Google servers will not be able to verify the entered data.

Methods of bypassing the lock through accessibility settings

If you can't officially recover your password, you have to exploit technical vulnerabilities in the interface, and one of the most popular methods on many Android versions is to use special features, and the idea is to run a browser or voice assistant through the accessibility menu, which will allow you to go online and download the necessary tools.

The process usually starts with trying to activate TalkBack or Voice Assistant. On some MIUI firmware, you can do this by quickly tapping a few times on the screen or using a combination of volume buttons. Once in the accessibility settings menu, experienced users look for a way to open the browser.

  • 📱 Voice Assistant: Activate by long pressing the power or home button (if supported), followed by a command to “Open YouTube” or “Open Settings».
  • 🌐 Switching over the keyboard: in some versions of the interface, calling the keyboard in the password field allows you to go to the Google browser via voice settings (Gboard.
  • 🔧 Triple tap: on older versions of Android, triple tapping the screen caused a zoom menu from which you could get into the system settings.

This method takes patience, because with each security update, Google closes these loopholes. If the standard combinations don’t work, your firmware version may already be patched, so you should look for specific video instructions for your model and Android version.

Why do the methods stop working?
Google is constantly updating security patches. What worked on Android 11 may already be closed on Android 13. So always check the relevance of the method for your particular version of the software.

Using PC and specialized software to unlock

The most effective way, which works 90% of the time, is to use a computer and special software. Xiaomi phones often use tools that work through debugging mode via USB or through special engineering menus. However, to enable debugging, sometimes you have to go to tricks.

One popular method is to use utilities to activate ADB (Android Debug Bridge) through the testing menu, often by repeatedly clicking on the build number or by calling the hidden menu with the code ##4636#. If the menu is called, you can try to enable debugging and connect the phone to the PC.

To work, you will need the following tools:

  • 💻 Programme ADB Run or similar comprehensive utilities for working with Android.
  • 🔌 Original or qualitative USB-cable providing a stable connection.
  • 📂 Qualcomm drivers or MTK Depending on the processor of your Xiaomi smartphone.
  • 🛠 Scripts for dumping FRP (Often distributed as.bat files or within harvester programs).

The process is, you plug in the phone, you run a script that sends special commands to the system, forcing it to ignore the account check or delete the lock configuration files, and after you restart, the phone thinks that the reset has not been made, or simply misses the verification step.

Tool.DifficultyEfficiencyRisk of data loss
Password recoveryLow.Tall.No.
Accessibility menuMediumMediumNo.
PC + ADB scriptsTall.Very high.High-pitched
Official serviceLow.100%No (on check)

⚠️ Note: Using third-party unlocking software may be considered by the manufacturer as a violation of the warranty.

Specifics of unlocking Mi Account and cloud services

The Mi Account is also being blocked, and unlike Google, Xiaomi’s ecosystem is tighter in its hardware-based tying, and if a phone is lost and tagged as missing through i.mi.com, it’s almost impossible to unlock it without a password even by flashing it.

When trying to reset via Recovery on modern Xiaomi models, you may need to enter a password from your Mi Account before you boot up, a level of protection that only costs authorized service centers with a check to buy.

If you just forgot your account password, the recovery procedure is similar to Google: through the site mi.com.

💡

If you buy a used Xiaomi phone, always ask the seller to log out of both accounts (Google and Mi) with you and make a reset in front of you.

Prevention and proper account management

To avoid this kind of situation in the future, you need to set up your device right after you buy it, first of all, write your account details down to a safe place, a paper notebook or an offline file, and digital notes can also be lost if you forget your password.

You should set up alternative recovery options: add a backup email, link a phone number that you won’t lose anytime soon, and create “Backup Codes” in your Google account settings, which you print out and store separately from your phone.

It’s also worth checking the trusted device list regularly. If you sell an old phone, be sure to remove it from the device list in your Google account settings and Mi Account settings.This will break the hardware connection with your server profile.

💡

Regular backup of data and storing passwords in physical form is the only 100% guarantee against loss of access to the device.

Using password managers, such as those built into Google or third-party solutions like KeePass, makes life much easier: you only need to remember one master password, and all other complex combinations will be stored in encrypted form.

When it is necessary to contact the service center

There are situations where doing it yourself is useless or dangerous, and if the phone was bought by hand and the previous owner didn't untie the accounts and you can't get in touch with it, the software methods may not work, and then the device may be wanted.

Xiaomi’s official service centers can remove the Mi Account lock, but only if the original box and check (or merchant receipt) are presented with a visible copy of the box. IMEI-Without documents, the device will not be unlocked, as it is against security policy.

If you see a message that the device is remotely locked and you are not the owner, further attempts to unlock it may be illegal, and in such cases it is best to return the device to the seller or find the rightful owner through IMEI (if possible).

Can I completely reflash the phone to remove the lock?
Simple flashing through Mi Flash in Fastboot mode usually does not remove FRP lock, as it is tied to the persistent or persist data partition, which does not erase with normal firmware.
What happens if you enter the wrong password many times?
After several failed attempts, the system will temporarily block the input, first for 30 seconds, then for 5 minutes, then for an hour, after many errors, the device may not require unlocking after 24 hours, and in rare cases, a complete blocking of Google account is possible.
Will the method work with codes for old phones on the new Xiaomi?
Methods running Android 6-9 have long been closed on Android 11-14. New models require more sophisticated methods using PCs and test modes, or waiting for vulnerability updates.
How do I know which version of Android is installed if my phone is locked?
You can often see the version on the bootlogo screen or in the Recovery menu, and the version of the security patch can sometimes be identified by the phone model and its release date, since new phones don’t come with the old Android.