The problem of locking a Xiaomi smartphone after resetting or flashing is a situation many users face: The device requires entering Google account details that were synchronized with it earlier. It is a FRP (Factory Reset Protection) security mechanism designed to protect the ownerβs data in the event of a gadget being stolen.
However, if you forget your password, buy your phone with your hands, or simply canβt remember which email address you used, blocking becomes a major obstacle. In this article, weβll take a look at how to untie Xiaomi from your Google account in legal and technical ways.
Before we take action, we need to understand the nature of the problem, and users often confuse a Google account with a Mi Account, and while the protections are similar, the ways to get around or recover them may be different, and we'll focus on the search giant's ecosystem.
Why FRP is blocked and how it works
FRP is built into the Android operating system at the kernel level, and it activates automatically when you add a Google account to your device settings, and from there, the phone remembers a unique account ID.
If a user resets to factory settings via the Recovery menu or uses keyboard combinations, the security system perceives this as a potential theft. When the first download after the reset, Android requires authorization of the account that was the main one before the reset.
This is done to prevent an attacker from simply erasing data and using someone else's phone, but in real life, there are often situations when the legitimate owner cannot confirm his rights due to the banal forgetfulness of passwords.
β οΈ Attention: Mechanism FRP It's not a bug or a bug, it's a regular security feature, and it's illegal to circumvent this security on devices that are found or stolen.
It is worth noting that on Xiaomi devices with a MIUI shell or a new HyperOS, this process can have its own features.
Preparation for the detachment procedure
Before you start any manipulation of the software part of the smartphone, you need to conduct thorough preparation. Chaotic actions can lead to complete locking of the device or loss of important data that could still be saved.
First of all, make sure that the smartphone is charged at least 60-70%, the process of resetting or flashing energy-intensive, and a sudden shutdown at a critical moment can damage system partitions.
βοΈ Checklist before the start of work
You'll also need a stable Internet connection. Some methods require license checks or small utilities to download. Use a reliable Wi-Fi network, not mobile internet, to avoid connection breakdowns.
If you can, connect your phone to your computer. Some tools will need to be installed. ADB-Drivers and utilities for working with Xiaomi. Without them, access to the system settings will be limited.
Methods of decoupling through standard settings
If you have access to your phone's settings menu and you remember your account password, but you just want to untie your device, that's the easiest way. You don't need special programs or complex combinations.
Go to the settings section, look for Accounts or Users and Accounts. From the list, select the Google profile you want. Click on it to reveal additional management options.
In the menu that opens, find the Delete Account or Sign Out button. The system can request a confirmation of an action or a password to unlock the screen. Once confirmed, the sync will stop and the link will be deleted.
| Action. | The way is on the menu | The result |
|---|---|---|
| Deletion of profile | Settings β Accounts β Google β Delete | Complete decoupling of the device |
| Shutting down synchronization | Settings β Accounts β Google β Synchronization | Data stops being updated |
| Change of password | Settings β Google β Account Management | Updating access data |
It is important to understand the difference between leaving an account and deleting it. A simple exit may not remove the FRP lock on a subsequent reset, but it is necessary to remove the account from the list of trusted devices.
π‘
If the delete button is inactive, you may have installed device administrator rights in enterprise applications. revoke the rights in the Security section before deleting.
Using Recovery Mode to Reset
When access to the system is not possible, the only option is Recovery mode, which on Xiaomi smartphones can be accessed by a combination of keys when the phone is turned off.
Press both the volume button and the power button at the same time. Hold them until the Mi logo appears, then release the power button, while still holding the volume, and you'll see a menu with a few items in English.
Navigation in this menu is done with volume buttons (up/down), and the choice is confirmed by the power button. You need to find the Wipe Data item and select the Wipe All Data subitem.
β οΈ Warning: This step will completely destroy all user data: photos, contacts, applications, and it will be impossible to restore them without prior backup.
Once the action is confirmed (usually you need to select Confirm), the cleanup process will begin. Upon completion, select Reboot to reboot, and after that step, the system will request the entry of Google account data if it was previously linked.
What if Recovery does not start?
Bypassing FRP with ADB commands
For more advanced users, there is an ADB debugging bridge, which requires a computer and basic command line knowledge, and allows you to interact with the system at a deep level.
First, you need to install the Platform Tools package on your computer, and once you connect your phone (if you have access to the ADB-enabled system or recovery menu), you can send commands.
Open the command line or terminal in the ADB tool folder. Enter the command to check the connection:
adb devicesIf the device appears in the list, you can delete the account configuration files, but on modern versions of Android (10, 11, 12 and above), this method is often blocked due to increased security requirements.
However, some versions of MIUI firmware have a team working to reset the counter of failed attempts or cleaned partitions:
adb shell pm clear com.google.android.gsfThis command cleans up Google service data, which in some cases helps to reset the authorization request the next time you download it, but it doesn't guarantee new devices.
π‘
ADB is only effective on older versions of Android or if there are specific vulnerabilities in a particular version of MIUI. It is often useless on new security patches.
Specialized utilities for resetting binding
There are a number of software solutions developed by enthusiasts and repair specialists.Tools like Xiaomi ADB/Fastboot Tools or FRP Bypass APK can automate the process.
Their principle of operation is often to exploit vulnerabilities in the system or to use hidden debugging functions. APK-files allow you to open your browser or Wi-Fi settings at the time of greeting, which gives you access to the system.
Use these programs requires caution: only download tools from trusted forums such as 4PDA or XDA Developers. Files from unverified sources may contain malicious code.
The process is usually this: you plug in your phone, run a program on your PC, select a device model, and click on the Remove FRP or Unlink Account button, and the program will execute the scripts it needs.
Restoring access through a Google account
The safest and most effective way to do this is to restore access to a forgotten account, and if you remember even a sample login or phone number linked to your profile, the chances of success are high.
Go to the Google account recovery page from any other device, enter your email or phone number, and the system will offer confirmation options: a code from a text message, a call, a backup email, or a response to a check question.
Once successful, simply enter new details on a locked Xiaomi phone. the lock will be removed and you will have full access to the device.
β οΈ Note: After changing your Google account password, your phone may need to wait 24 hours before logging in.
If you created an account a long time ago and lost data, try to remember which services were connected: YouTube, Google Play, Google Photos. The history of activities in these services can tell you the exact email address.