Why you canβt just delete your Google account through your settings
Xiaomiβs MIUI-based smartphones are integrated with Google services at the system level.This means that even if you delete the Google Play Store app or reset the phone to factory settings via menus, the account will remain tied to the device, the reason being the Factory Reset Protection (FRP) mechanism, the reset protection Google has implemented in Android 5.1+ to combat device theft.
If you forget your account password, standard deletion methods will not work: after reset, the system will require you to enter the username and password from the last associated account. On Xiaomi, this manifests itself as a window with the error "This device was reset. To continue, log into the Google account that was previously used on this device." You can circumvent this restriction, but you will need technical manipulations - from using hidden MIUI menus to firmware via Fastboot.
It's important to understand that deleting an account without a password is not just "remove the icon"; it's completely untying the device from Google's servers, which can lead to:
- π Loss of access to purchased apps and media on Google Play
- π± Resetting all data (photos, contacts, messages) with some methods
- β οΈ The risk of βbrickingβ the phone with incorrect actions in Fastboot
Method 1: Remove via hidden MIUI menu (without data reset)
This method works on most Xiaomi, Redmi and POCO devices with MIUI 12-14.It allows you to delete your Google account without losing data, but requires access to the phoneβs main screen.
Instructions:
- Open the Settings app β The phone.
- Tap 7-10 times on the MIUI version until the notification βYou became a developer!β appears.
- Go back to the main menu of settings β Additional β For developers.
- Activate the debugging switch over USB and confirm the action.
- Connect your phone to your PC, install ADB drivers, and execute the command:
adb shell pm uninstall -k --user 0 com.google.android.gmsOnce you have completed the command, restart your device. Your Google account will be deleted, but some services (such as the Google Play Store) may not work properly.
- π¦ com.google.android.gsf (Google Services Framework)
- π¦ com.android.vending (Google Play Store)
- π¦ com.google.android.syncadapters.contacts (Contact Synchronization)
Install the drivers. ADB PC-only|Put the debugging on. USB Xiaomi|Connect your phone with the original cable|Check the connection with the team `adb devices`-->
β οΈ Note: Deleting Google system packages can lead to errors in the work MIUI, Especially on Android 13 devices+. If the phone stops loading, you will need firmware through Fastboot.
Method 2: Reset via Recovery with FRP bypass
If access to the system is blocked and MIUI Recovery does not request a password from Google, you can try resetting through this menu.
Step-by-step:
- Turn off the phone.
- Press the Power + Volume buttons up at the same time until the Mi logo appears.
- In the Recovery menu, select the language (if required) then:
- Go to Wipe Data β Wipe All Data.
- Confirm the reset (some models will require a pattern lock).
- After rebooting at the setup stage, skip the Google account binding by selecting βSkipβ or βUse without an account.β
On new devices (Xiaomi 12/13, Redmi Note 11/12), an FRP window may appear after reset.
- π Connect your phone to Wi-Fi.
- π At the stage of entering the password, type ##4636## (test menu).
- π Go back and try to skip the account linking step.
What to do if the FRP is not circumvented?
| Xiaomi model | Android version | Does the reset through Recovery work? | Whether required FRP-circumvention? |
|---|---|---|---|
| Redmi Note 10 Pro | Android 11 (MIUI 12.5) | Yes. | No. |
| Xiaomi Mi 11 | Android 12 (MIUI 13) | Yes. | Yes (via test menu) |
| POCO X3 Pro | Android 11 (MIUI 12.5) | Yes. | No. |
| Redmi 9A | Android 10 (MIUI 12) | Yes. | No. |
Method 3: Fastboot Firmware (for power users)
If the previous methods didn't work, the radical way is to run the phone through Fastboot mode, which will delete all the data, including the data. FRP-locking, but will require unlocking the loader.
What you need:
- π₯οΈ Computer with Mi Flash Tool drivers installed.
- π₯ Fastboot firmware for your model (download from xiaomifirmwareupdater.com).
- π Unlocked Bootloader (if not unlocked, follow Xiaomiβs official instructions).
Instructions:
- Turn off the phone and press Power + Volume down to log into Fastboot.
- Connect the device to the PC and check the connection with the command:
fastboot devices- Launch the Mi Flash Tool, select the downloaded firmware and press Refresh.
- At the bottom, select Clean All (complete erasure) and click Flash.
- Wait for the process to finish (5-10 minutes) and the phone will restart to the clean system.
β οΈ Note: Fastboot firmware with Clean All option deletes all data, including photos, messages and apps. If your phone had important files, try extracting them first. TWRP (if established).
π‘
Before you run your firmware, check the MIUI version on Xiaomiβs website.Installing an older firmware may result in the device being locked due to the Anti-Rollback policy (starting with the Xiaomi Mi 8 and later).
Method 4: Using TWRP to delete Google account
If your Xiaomi has a custom TWRP recavator installed, you can delete your Google account without completely resetting.This method saves user data, but requires the pre-installing of TWRP.
How to delete your account via TWRP:
- Upload the phone to TWRP (clamp Power + Volume up).
- Go to Advanced β File Manager.
- Open /data/system/ and delete the files: accounts.db accounts.db-wal accounts.db-shm
If TWRP is not installed, you can flash it through Fastboot (requires an unlocked Bootloader). Download the image of the recovery for your model from twrp.me and follow the command:
fastboot flash recovery twrp.img
fastboot boot twrp.imgMethod 5: Contact Xiaomi Service Center
If the self-delete Google account failed, the official way remains to contact the service center Xiaomi.This is true for devices with a blocked Bootloader or new models (Xiaomi 13/14, Redmi Note 12), where circumvention of FRP is difficult.
What will be required to delete the account in the service:
- π Document confirming the purchase (check, warranty card).
- π Passport of the owner (to confirm ownership).
- π± The device is in working condition (even if it is locked).
Xiaomi service centers in Russia and the CIS usually remove FRP for free if the phone is warranty. In other cases, the cost of the service is 500-1500 rubles.
π‘
The official service is the only legal way to delete a Google account without risking damaging your phone. TWRP can deprive.
Frequent Mistakes and How to Avoid Them
When trying to delete a Google account, Xiaomi users often face typical problems, including the most common ones and ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| "Device is locked" on Fastboot | Unlocked Bootloader | Unlocking with Mi Unlock Tool |
| After reset, Googleβs password is required again. | FRP section not deleted | Swipe your phone with the Clean All option or manually erase frp via Fastboot: |
| adb: no devices found | ADB drivers are not installed or the cable is faulty | Install drivers from the Android Developer website |
| "Mi Account is locked" | The phone is tied to Xiaomi, not Google | Remove the link via Mi Account or reset via Fastboot |
Another common mistake is to try to use utilities like FRP Bypass APK or D&G Unlock Tool, which often contain malware or do not work on newer versions of MIUI. Xiaomi regularly closes vulnerabilities through which FRP is circumvented, so you should only trust official methods or proven instructions.