How to delete Google account from Xiaomi phone if you forget your password

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
πŸ“Š What method of deleting your account have you tried?
Reset via settings
Removal via MIUI
Fastboot teams
I've been to the service.
I haven't tried it yet.

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:

  1. Open the Settings app β†’ The phone.
  2. Tap 7-10 times on the MIUI version until the notification β€œYou became a developer!” appears.
  3. Go back to the main menu of settings β†’ Additional β†’ For developers.
  4. Activate the debugging switch over USB and confirm the action.
  5. Connect your phone to your PC, install ADB drivers, and execute the command:
adb shell pm uninstall -k --user 0 com.google.android.gms

Once 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:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up at the same time until the Mi logo appears.
  3. In the Recovery menu, select the language (if required) then:
  4. Go to Wipe Data β†’ Wipe All Data.
  5. Confirm the reset (some models will require a pattern lock).
  6. 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?
If after reset, the system still requires a password from Google, you will need to flash the phone through Fastboot with a complete erasure of the frp section. This requires: 1. Unlocked bootloader. 2. firmware for your model (downloaded from the Xiaomi site). 3. Mi Flash Tool utility or Fastboot commands for manual erasure of the partition.

Xiaomi modelAndroid versionDoes the reset through Recovery work?Whether required FRP-circumvention?
Redmi Note 10 ProAndroid 11 (MIUI 12.5)Yes.No.
Xiaomi Mi 11Android 12 (MIUI 13)Yes.Yes (via test menu)
POCO X3 ProAndroid 11 (MIUI 12.5)Yes.No.
Redmi 9AAndroid 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:

  1. Turn off the phone and press Power + Volume down to log into Fastboot.
  2. Connect the device to the PC and check the connection with the command:
fastboot devices
  1. Launch the Mi Flash Tool, select the downloaded firmware and press Refresh.
  2. At the bottom, select Clean All (complete erasure) and click Flash.
  3. 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:

  1. Upload the phone to TWRP (clamp Power + Volume up).
  2. Go to Advanced β†’ File Manager.
  3. Open /data/system/ and delete the files: accounts.db accounts.db-wal accounts.db-shm

Google

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.img

Method 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 FastbootUnlocked BootloaderUnlocking with Mi Unlock Tool
After reset, Google’s password is required again.FRP section not deletedSwipe your phone with the Clean All option or manually erase frp via Fastboot:
adb: no devices foundADB drivers are not installed or the cable is faultyInstall drivers from the Android Developer website
"Mi Account is locked"The phone is tied to Xiaomi, not GoogleRemove 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.

Can I delete my Google account without resetting my phone?
Yes, but only if you have access to the system. Use ADB to delete Google packets (see Method 1) or TWRP to edit system files (see Method 4). However, on newer devices (Android 13+), this can lead to MIUI errors.
What if the phone asks for a password from Mi Account?
This means that the phone is tied to a Xiaomi account, not Google. To remove the link: Go to the Mi Account website. Log in to your account and find the device in the list. Click "Delete the device." If you do not have access to the account, contact the Xiaomi service center with documents on the phone.
Does FRP bypass work by calling an emergency number?
On older versions of MIUI (before Android 10), you could bypass FRP by calling an emergency number (e.g. 112) and accessing settings. On newer devices (Xiaomi 11/12/13, Redmi Note 10/11/12), this method doesn’t work β€” Xiaomi has closed the vulnerability.
Can I recover data after a Fastboot reset?
No. The firmware with the Clean All option completely erases the /data partition where photos, messages and apps are stored. If you want to save data, try extracting it first via TWRP (if installed), or connect your phone to your PC in Fastboot mode and use utilities like the SP Flash Tool (only for devices on MediaTek).
Why is Xiaomi blocking Google account deletion?
This is a requirement from Google, not Xiaomi. Factory Reset Protection (FRP) is introduced to protect users from device theft. If a phone is stolen, a thief will not be able to reset it and use it without knowing the password from the associated account. Xiaomi additionally has a binding to Mi Account, which makes it difficult to bypass the lock.