Deleting a Google account from a Xiaomi smartphone is a challenge that users face when selling a device, resetting to factory settings or fixing sync errors. However, standard deletion through settings often leads to unexpected consequences, from losing access to applications to activating FRP (Factory Reset Protection) protection. In this article, we will discuss all the current ways to delete an account, including bypassing lock after reset, taking into account the features of MIUI 14 and MIUI 15 firmware.
Xiaomiβs smartphones (including Redmi, Poco and Black Shark sub-brands) are closely integrated with Google services and its own Mi Account ecosystem, which means simply deleting an account through the settings menu may not clear all associated data, and in some cases even lock the device. We analyzed Xiaomiβs official recommendations, user reviews on 4PDA and Mi Community forums, and tested methods on Redmi Note 12 Pro+ and Xiaomi 13T devices.
Importantly, the procedure differs depending on whether you want to simply unplug your account to sell your phone or completely erase its data from the system. Also, note that on devices with an unlocked bootloader or custom firmware (LineageOS, Pixel Experience), the algorithm may differ.
1. Standard deletion of Google account through MIUI settings
The most obvious way is to delete the settings through the settings menu, which is good if you don't plan to reset your phone to factory settings and just want to unplug your account, but keep in mind that this method doesn't delete data from the app cache or reset your sync settings.
The instructions are relevant for MIUI 14/15 on all modern Xiaomi devices:
- Open the Settings app (cog icon).
- Go to the Google section β Managing a Google Account.
- In the upper right corner, click on the profile icon (or your avatar).
- Select Account Management on this device.
- Slip on the desired account, then click Delete account.
- Confirm the action by entering PIN-code, pattern lock or fingerprint.
After removal:
- π± Stop synchronizing Contacts, Calendar and Google Photos.
- π Apps linked to an account (such as Gmail or YouTube) will require re-entry.
- β οΈ FRP-lock is not reset β if you reset your settings, your phone will require you to enter your remote account data.
π‘
Before deleting your account, export your contacts to the VCF file: open the Contacts app β Settings β Import / Export β Export to the file.
2. Complete deletion of the factory reset account (no FRP-lock-in)
If you plan to sell or transfer a smartphone, it is not enough to simply delete your account through settings. You need to perform a full reset with FRP (Factory Reset Protection) protection pre-disabled. Otherwise, the new owner will not be able to activate the device without your data.
The following is the MIUI 14/15 step-by-step instruction:
Unplug Google Account (Section 1)
Delete your Mi Account (Settings β Mi Account β Sign out)
Save backup (Settings β About Phone β Backup)
Remember the data for unlocking SIM-map (PUK-code)
-->
- Delete your Google account from section 1.
- Open Settings β About Phone β Backup and Reset.
- Select Resetting β Delete all data.
- Enter. PIN-device-code.
- Wait for the process to be completed (it will take 5-15 minutes).
Once reset, the phone will reboot and prompt you to set it up as new. Unless you've previously deleted your Google account, the system will request the last associated account, which is what it is. FRP-lockdown.
What to do if you forget your Google account password?
3. Delete Google account after reset (bypassing FRP)
If you've already reset your settings without deleting your Google account, the device will require you to enter your previous account, which is a security measure, but it creates problems when you sell or transfer your phone. FRP-There are several ways to lock on Xiaomi, but most of them require additional tools.
The official way from Xiaomi:
- π Contact the previous owner and ask for account details.
- π If your device is yours but you have forgotten your password, restore access via Googleβs Restore page](https://accounts.google.com/).
Unofficial methods (at your own risk):
- π οΈ Using the Mi Flash Tool to Firmware the Device in Mode EDL (requires an unlocked loader).
- π± Installation of custom recaveri (TWRP) and manual deletion of files FRP through ADB.
- π§ Use of specialized programs such as FRP Bypass Tool (not working on all models).
β οΈ Attention: Informal methods of circumvention FRP In addition, new Xiaomi models (released after 2023) often fail to work due to hardware protection.
| Xiaomi model | MIUI version | Does FRP bypassing through TWRP support | Risks. |
|---|---|---|---|
| Redmi Note 11 Pro+ | MIUI 14 | Yes (with unlocked bootloader) | Loss of warranty, possible brick |
| Xiaomi 12T Pro | MIUI 14 | Partially (requires patched TWRP) | Blocking Mi Accounts |
| Poco F5 | MIUI 15 | No (hardware protection) | Inapplicable. |
| Black Shark 5 Pro | JOYUI 13 | Yes (via Fastboot) | All data dumping |
4. Delete Google account via ADB (for power users)
If standard methods don't work, you can delete your account via Android Debug Bridge (ADB), which is suitable for devices with USB debugging enabled and bootloader unlocked. Importantly, the wrong commands can lead to data loss or soft-brick.
Instructions:
- Activate Developer Mode: Go to Settings β About Phone β tap 7 times on the MIUI version.
- Enable USB debugging in Settings β Additional β For developers.
- Connect your phone to your PC and install ADB drivers (download from [the official Android site](https://developer.android.com/studio/releases/platform-tools)).
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
pm uninstall -k --user 0 com.google.android.gms
pm uninstall -k --user 0 com.google.android.gsf
pm clear com.google.android.gsf.login
pm clear com.google.android.gmsOnce you have completed the commands, restart your device. Your Google account will be deleted, but some system applications may not work properly. For a complete reset, do factory reset via Recovery.
β οΈ Attention: On devices with MIUI 15 and newer teams ADB This can be limited by security policies, and you will need to unlock the bootloader through the Mi Unlock Tool.
5. Delete account on devices with custom firmware
If your Xiaomi has unofficial firmware (LineageOS, Pixel Experience, ArrowOS), the Google account deletion algorithm may be different. Most custom builds use Open GApps, which allows you to manage accounts through the standard Android menu.
Features:
- π§ Accounts are managed through Settings β Accounts (without reference to the MIUI).
- π¦ After removal, it is recommended to clear the cache of Google apps through Settings β Annexes β Show it all. β Google Play Services.
- βοΈ Some firmware (e.g. HavocOS) may require re-authorization in Magisk to work properly with Google services.
If synchronization errors occur after deleting your account, try:
- Reinstall GApps via TWRP (select nano or pico for minimum weight).
- Execute the command in ADB:
adb shell cmd package bg-dexopt-jobThis forcibly reassembles the Dalvik cache for Google apps.
6. Frequent errors and their solutions
When you delete a Google account on Xiaomi, users often face typical problems, and letβs look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| βIt is impossible to delete the administrator accountβ | The account has the rights of the device administrator | Turn off rights to Settings β Security β Device administrators |
| "Password required after reset" | FRP-locking | Restoring access to your Google account or using an official crawl (Section 3) |
| Synchronization does not work after removal. | Residual Google files in the cache | Clear the data of Google Play Services and Google Account Manager |
| "Mi Account is not deleted." | Linking to Mi Cloud | Unplug in Settings β Mi Account β |
If services (such as Google Play Market or Gmail) stop working after deleting your Google account, follow these steps:
- Go to Settings β Applications β Application Management.
- Find Google Play Services and click Clear Cache β Clear Data.
- Restart the device and re-enter the account.
π‘
On devices with MIUI 15 and later, after deleting your Google account, you are also advised to reset your network settings (Settings) β SIM-maps and mobile networks β Reset network settings to avoid Wi-Fi connection issues.