The situation when a user forgets the password from his Google account on a Xiaomi smartphone is quite common, this can happen after buying a used device, resetting the settings to factory settings, or simply because of a long break in use of the gadget. Android security system, known as FRP (Factory Reset Protection), blocks access to the device, requiring authorization of the last synchronized profile.
For owners of Xiaomi, Redmi and Poco, the unlock procedure has its own features associated with the MIUI shell or the new HyperOS. Unlike pure Android, additional steps may be required to bypass the binding to Mi Account and Google ID. It is important to understand that the complete deletion of the account is possible only if you have access to the settings menu or through special recovery methods.
In this guide, we will consider all the current ways to solve the problem: from the regular removal of the profile through the menu to the use of engineering menus and the use of the following: ADB-We'll also look at how to avoid lockdown in the future and what to do if standard methods don't work.
What is FRP Protection and Why is it Needed?
Factory Reset Protection is a security mechanism Google has implemented to prevent stolen or lost smartphones from being used, and if the device is reset to the factory settings without first logging out, it will require you to enter a login and password from a Google profile that was synced earlier on, making it pointless for attackers to steal the phone.
On Xiaomi devices, this system works in conjunction with its own Mi Account. Dual protection creates an additional barrier, but also complicates life for legitimate owners who have forgotten their data. Bypassing FRP without losing data is impossible, since the very essence of protection is to deny access to the system without proof of ownership.
β οΈ Attention: Attempts to circumvent FRP On devices that do not belong to you, it may be a violation of the law, and all of the methods described are intended solely to restore access to your own gadgets.
There are several versions of security that depend on the Android version and the security patch. On older versions (Android 7-9), there were more vulnerabilities, modern versions (Android 11-14) require more complex manipulation or use of specialized software. Understanding the principle of FRP helps you choose the right unlock method.
Preparation for the procedure of resetting the account
Before you start taking active action to delete your account, you need to conduct thorough preparation. Unpreparedness can lead to blocking IMEI or complete failure of the device. First of all, make sure that the smartphone is charged at least 60%, as the process can take time and interruption of power is unacceptable.
You will need a stable Wi-Fi connection. Mobile Internet (3G/4G) may be unstable or blocked by the operator during certain network settings manipulation during the bypass, and it is also recommended to prepare a computer with the Windows operating system if you plan to use software reset methods.
- π± Charge your Xiaomi device to a level of at least 60-70%.
- π‘ Prepare a stable Wi-Fi network with Internet access.
- π» Find it. USB-cable (preferably original) and PC.
- π’ Write it down. IMEI Device (on the box or under the battery) may be needed to check the lock status.
If you have access to your Google account from another device (computer or phone), try to restore access through the standard password recovery procedure.This is the easiest and most secure way, often ignored in favor of complex technical solutions. Go to the Google recovery page and follow the instructions.
βοΈ Preparation for discharge FRP
Deleting your account through settings
If you have access to your smartphone desktop and you just want to untie the device before selling or transferring it to another person, use the standard method. This is the only way to ensure that there are no activation problems in the future.
Under Accounts and Sync (or simply Accounts depending on the MIUI version), you will see a list of all associated profiles. Find the Google account you want, click on it and select Delete Account. The system will alert you that all data associated with that profile will be deleted from the device.
Why canβt you just reset without deleting your account?
Once you delete your Google profile, you also need to unplug Mi Account. Find Mi Account in your settings, log in to it and click Out. Only after you do these two steps can you safely reset your data completely through the Advanced Settings menu β Reset Settings β Erase all data.
It is important to note that on some versions of firmware with Device Search enabled, deleting your account may require entering a password. If the password is forgotten, this method will not work and you will have to resort to more complex options described below.
Use of engineering menus and codes for resetting
One popular method, but not always used on newer versions of Android, is the use of an engineering menu, which allows you to access hidden testing features through which you can sometimes bypass the activation screen. To log into the menu, the code ##4636## is often used, but on the MIUI shell it can be blocked by the manufacturer.
If the code works, you'll be taken to the Testing menu, and you can try to find the Usage statistics section or Wi-Fi settings, which in some versions of the firmware allowed you to start a browser or Wi-Fi settings, and from there you can download the necessary data. APK-dumper FRP. However, on Android 10 and above, this method is almost completely closed.
β οΈ Warning: Do not change random settings in the engineering menu. Changing the radio module settings or screen calibration can cause the communication or display to malfunction.
There are also button combinations when turned on, such as pressing the volume and power key, which puts the phone in Recovery or Fastboot mode. In Recovery mode, you can try to do Wipe Data, but this will not remove FRP, but only confirm its presence. Fastboot mode (Volume Down + Power) is used to flash the device over the PC, which is a more radical method.
Reset via Fastboot mode and flashing
If the software methods on the device don't work, there's a flashing option. For Xiaomi devices, this is the most effective way, since it replaces the system partition completely. You'll need the Mi Flash Tool utility and the official firmware for your model in.tgz format (for Fastboot), which can be found on miui.com.
The process is as follows: download and install the ADB and Fastboot drivers, as well as the Mi Flash Tool itself. Upload the phone to Fastboot mode (clamping Volume Down + Power). Connect the phone to your PC, open the Mi Flash Tool, select the downloaded firmware and press the Flash button. Important: before firmware, it is often necessary to unlock the bootloader through the Mi Unlock site, which requires a wait of 7 days (168 hours) after the account is attached.
fastboot devices
fastboot oem unlock
fastboot flash recovery recovery.img
fastboot rebootFlashing with the bootloader unlocked completely erases the data partition and security settings, allowing you to configure the phone as new. However, if the Google account was deeply tied, in some cases (especially on global versions) protection can be maintained.
π‘
Fastboot flashing is the most reliable way to programmatically clean the system, but requires unlocking the bootloader, which takes 7 days to wait.
Comparison of Xiaomi Unlocking Methods
The choice of method depends on your technical background, Android version and availability of a PC. Below is a table comparing the main ways to unblock a Google account on Xiaomi.
| Method | A PC is needed. | Risk of data loss | Difficulty | Efficiency on Android 12+ |
|---|---|---|---|---|
| Through Settings. | No. | Yes (on subsequent discharge) | Low. | 100% (if available) |
| Password recovery | Preferably. | No. | Low. | 100% |
| Engineering menu | No. | No. | Medium | Low (often not working) |
| Flashing (Fastboot) | Yes. | Yes (full) | Tall. | High (requires BL unlocking) |
| Service centre | No. | Depends on the method. | Low for the user | 100% (officially with a check) |
As you can see from the table, for modern devices, the most reliable is either restoring access through the Google site or official flashing with the expectation of unlocking the bootloader. The use of security holes ( exploits) becomes less relevant with each update of security patches.
If none of the software methods helps, you can contact the authorized service center Xiaomi. If you have a check, a box and documents confirming the purchase, specialists can unblock the hardware level or through special service accounts.
π‘
Always keep the box and check from your smartphone for the entire lifetime of your device. For Xiaomi, this is the only proof of legal ownership when blocking FRP or Mi Account.