How to completely untie Gmail from the smartphone Xiaomi: 5 proven ways

Decoupling a Gmail account from a Xiaomi smartphone is a procedure that users experience when selling a device, resetting to a factory setting or switching to another sync service. However, many people do not realize that simply deleting email through MIUI settings does not always lead to a complete disconnection between the device and the Google account, which can result in a Factory Reset Protection (FRP) – a protection against theft that requires the username and password of the previous owner.

In this article, we will discuss 5 working methods of decoupling Gmail from Xiaomi (including models on the MIUI 14/13 HyperOS, and we will explain how to get around it. FRP-locking without loss of data, and caution against typical errors that lead to a β€œbrick” of the device, especially for devices with unlocked bootloader and those who use two-factor authentication (2FA).

Why you can’t just delete Gmail through your settings

Many users mistakenly believe that deleting a Google account through the Settings menu β†’ Accounts and sync completely breaks the connection between the device and the mail. In fact, this only works until the first hard reset (Wipe Data:

  • πŸ”’ Block the screen to require you to enter your previous account data (FRP-lock).
  • πŸ“± Refuse to activate new ones SIM-Cards before confirmation of ownership.
  • ⚠️ Remove access to Mi Cloud if your mail was linked to Xiaomi services.

The reason lies in the Factory Reset Protection mechanism, which Google has implemented in Android 5.1+.This feature links the hardware device identifier to the account, and even after deleting mail through the MIUI interface, the communication is stored in the system partition (/data/system).

πŸ“Š How often do you change your Google accounts on your smartphone?
Every year.
Every 2-3 years
Only when selling the device
Never changed.

Method 1: Standardly delete your Google account (without resetting)

This is a good method if you don’t plan to reset your smartphone to factory settings and just want to unplug Gmail from current services. Importantly, after this procedure, apps from Google Play will stop updating, and Gmail, YouTube and other services will require re-entry.

  1. Open Settings β†’ Accounts and Synchronization.
  2. Select Google and tap the right account.
  3. Click Delete Account (in some versions of MIUI – Disable Sync β†’ Delete).
  4. Confirm the action with a password or fingerprint.

⚠️ Note: If you then reset through Settings β†’ The phone. β†’ Resetting, the device will require you to enter your remote account information when you first set up. To avoid this, use Method 3 or Method 4.

Make a backup of contacts and photos

Remember the password from your Google account

Turn off two-factor authentication (if enabled)

Check that the device is charged at least 50 times%-->

Method 2: Remove from the developer settings (for MIUI 14/HyperOS)

This method allows you to completely erase Google account data from system files, but requires you to turn on the developer mode.Suitable for devices on MIUI 14 and later, where standard deletion does not work due to Google policy.

  1. Activate Developer Mode: Go to Settings β†’ About Phone. Tap 7 times on MIUI. Enter the device password if needed.

Settings β†’ Additional β†’ For Developers

OEM-unlock

Settings β†’ Accounts and Synchronization β†’ Google

Reset the device.

After this procedure, the communication between Gmail and the smartphone will be severed at the system partition level, and FRP-However, some models (such as Xiaomi 13 Pro or Redmi Note 12) may require additional disabling of the Mi Account.

What if the β€œOEM-unlock” option is inactive?
If the OEM unlock point is gray and does not press, it means that the device bootloader is locked. In this case: 1. Connect the smartphone to the PC and install the Mi Flash Tool drivers. 2. Run the command to the device ADB: fastboot oem unlock-go 3. After unlocking, repeat the steps from the instructions. ⚠️ In some models (for example, POCO F5) This will result in the reset of all data!

Method 3: Bypass FRP via Fastboot (for locked devices)

If you have already done the reset and are faced with FRP-By locking (a screen requiring you to enter your previous account information), this method will help bypass the protection without entering a password. 2019–2023 year of release, but requires a computer with installed drivers ADB/Fastboot.

  1. Download and install Google’s Platform Tools.
  2. Connect the locked smartphone to the PC through USB-cable.
  3. Press Volume Down + Power to enter Fastboot.
  4. In the command line (on PC) run: fastboot erase frp
  5. Reboot the device with command: fastboot reboot

⚠️ Note: Some models (e.g. Xiaomi) 12T or Redmi K50) This command may not work because of the protected partition frp. In this case, try an alternative method:

fastboot erase config


fastboot reboot

Once the device is rebooted, it will prompt you to configure it as new, without requiring you to enter an old account, but this method can result in loss of /data data, including photos and messages.

Method 4: Use of Mi Unlock Tool (official method)

If previous methods did not work, you can use the official tool from Xiaomi – Mi Unlock Tool. This method is suitable for devices with an unlocked bootloader and allows you to completely erase the binding to Mi Account and Gmail.

  1. Download Mi Unlock Tool from the official website.
  2. Sign in to the tool using the same Mi Account that is linked to the phone.
  3. Connect your smartphone in Fastboot mode (clip Volume down + Power).
  4. Press Unlock and wait until the process is complete (it can take up to 10 minutes).
Xiaomi modelSupports Mi Unlock?Waiting is required.
Redmi Note 11/12βœ… Yes.72 hours
Xiaomi 13/13 Proβœ… Yes.168 hours (7 days)
POCO F4/F5βœ… Yes.48 hours.
Xiaomi Pad 6❌ No.β€”

⚠️ Note: Once the bootloader is unlocked, all data on the device will be permanently deleted, and Xiaomi can block the ability to unlock for 3-7 days if you have previously performed this procedure.

1. Connect the smartphone to another USB-port (preferably 2.0).

2. disable the antivirus on the PC.

3. Use the original Xiaomi cable (not all USB-Type C cables support data transfer to Fastboot).-->

Method 5: Manual file editing (for advanced users)

This method is suitable for those who have root rights or custom recovery (such as TWRP), which allows you to manually delete the files responsible for linking Gmail and FRP without resorting to a complete reset.

  1. Install TWRP Recovery or another custom recovery.
  2. Load into the recaveri (Loudness up + Nutrition).
  3. Go to Advanced β†’ File Manager.
  4. Delete the following files: /data/system/gesture.key (if any) /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm /data/system/frp/ (whole folder)

Reset the device.

After that, the smartphone will boot without requiring Gmail input, but all security settings (including the pattern lock and PIN) will be reset. This method does not work on devices with FBE (File-Based Encryption) encryption, used in Android 10+.

πŸ’‘

If the device does not boot after deleting the files, restore them from the backup or perform a full reset via TWRP.

Frequent Mistakes and How to Avoid Them

When uncoupling Gmail from Xiaomi, users often face typical preventable problems:

  • πŸ”„ Cyclical reboot after reset - occurs if you do not delete the frp partition. Solution: use Method 3 or Method 5.
  • πŸ”‘ Requests for proof of ownership – appear if you do not disable Mi Account. Solution: before reset, delete Xiaomi account in Settings β†’ Mi Account.
  • ⏳ Waiting 72-168 hours in Mi Unlock is related to Xiaomi’s policy.Solution: link the device to your account in advance (3-7 days before unlocking).

Another common mistake is using informal FRP bypass tools (such as FRP Bypass APK), which often contain malicious code or do not work on newer versions of MIUI, and instead, use the official methods in this article.

Can I unplug Gmail without a data dump?
Yes, unless you plan to perform a hard reset (Wipe Data). Just delete your account through Settings β†’ Accounts and Sync β†’ Google. However, after the reset, the device may require you to enter your remote account (FRP) details.
What to do if you forget the password from Gmail linked to Xiaomi?
Restor your account through Google Restore. If two-factor authentication (2FA) is tied to that device, use backup codes or contact Google Support. Method 3 (via Fastboot) will do the trick to bypass FRP without a password.
Will the method work with fastboot erase frp on Xiaomi 14?
On new flagships (such as Xiaomi 14 or 14 Pro), the frp partition can be protected by AVB 2.0 (Android Verified Boot), in which case the command will not work, and you will need to use the Mi Unlock Tool or an official reset via Mi Account.
How to check if Gmail has been removed after resetting?
After the reset, turn on the device and go to the setup stage. If the system does not require you to enter the data of the previous Google account, the link is successfully deleted. If the request appears, then FRP is not bypassed, and you need to repeat the procedure.
Can you sell Xiaomi without Gmail?
Technically possible, but the new owner will not be able to use the device after the reset, it is recommended to completely untie the account (through Method 2 or Method 4) and perform a hard reset (Wipe All Data in Recovery).