On Xiaomi smartphones (including Redmi, POCO, and Black Shark models), it is often necessary to delete a second Google account β whether it is an old profile, a corporate account or a randomly added account. The problem is that MIUI does not always allow this to be done by standard means: the delete button can be inactive, and synchronization attempts can lead to errors. In this article, we will discuss all the current methods, including hidden settings, resetting through ADB and bypassing locks without losing data.
Xiaomi devices are very well integrated with the MIUI shell. For example, on Redmi Note 12 or Xiaomi 13T models, linking an account to a device can block its deletion if it is used for Find My Device, backup or payment in Google Play. We will look at not only basic methods, but also unique solutions for cases where the system requires a password from the previous owner or gives an error "Account is managed by an organization."
Before you start, make sure you have access to your primary Google account (the one you plan to keep). If you delete your employer or school account, check if your corporate data is tied to it β the loss may be irreversible. Also back up your contacts, photos and notes, even if you plan to use the method without resetting.
Why canβt you just delete your Google account through your settings?
On most Xiaomi smartphones, when trying to delete a Google account in the Settings β Accounts and Sync menu, users face one of the following problems:
- π The button "Delete account" is inactive (grey) - typical for devices with MIUI 13/14, where the account is linked to security services.
- π Constant sync β the system automatically restores the account after the reboot, even if it was deleted.
- π’ The message βAccount is managed by an organizationβ means that the account is added via Google Workspace (formerly G Suite) and requires administrator rights.
- π Requesting the password of the previous owner is relevant for used devices where a reset before sale was not performed.
These restrictions are related to the security policies of Android and MIUI:
- Factory Reset Protection (FRP) β If a Google account was the last to be added, deleting it may require a factory reset.
- Corporate governance β Google Workspace accounts are blocked by the domain administrator.
- Cache errors β corrupted data in /data/system/users/0/accounts.db may interfere with deletion.
β οΈ Note: If you buy a used Xiaomi smartphone, always ask the seller to delete all Google accounts before resetting. Otherwise, you risk getting a locked device requiring the username / password of the previous owner.
Method 1: Standard removal through MIUI settings
This method will work if:
- π± You. MIUI 12 or later (older versions may have different interfaces).
- π The account is not the administrator of the device (check Settings). β Security β Device administrators).
- π The account is not linked to Google Pay or other payment services.
Instructions:
- Open Settings β Accounts and Synchronization.
- Select Google β tap on the desired account.
- Click Delete your account (if the button is active).
- Confirm the action by entering PIN-code, pattern lock or fingerprint.
If the Delete Account button is inactive:
Make sure your account is not used for Google Pay|Turn off sync for this account|Check if he is the administrator of the device.|Reboot your smartphone and try again.-->
Some models (such as the POCO F5 or Xiaomi 12 Lite) may need to first disable sync for all Google services:
Settings β Accounts and Sync β Google β [Account] β Account Sync β Disable All SwitchesMethod 2: Remove by resetting settings (if the account is not the main one)
If the second Google account is not the main one (i.e. there is at least one other account on the device), it can be deleted through a reset without losing data. MIUI 14 and newer.
Important: before resetting it is necessary to:
- π Create a backup through Settings β The phone. β Backup.
- π Make sure you remember the password from your main Google account.
- πΆ Connect to Wi-Fi β after reset, you will need to re-authorize.
Steps:
- Go to Settings β About the phone β Reset settings.
- Select Resetting (not βDelete all data!β).
- Confirm action. The device will restart.
- After rebooting, log in to your main Google account and the second account will be deleted.
β οΈ Note: Some models (e.g. Redmi Note 11 Pro)+) Resetting your settings can result in deleting all accounts if they were added after the last device setup. Before you do this, check if the second account is the "last added" in the Settings section. β Accounts. β Account history.
Standard removal through settings|Resetting settings|ADB-team|Called in support of Xiaomi|I've tried nothing.-->
Method 3: Removal via ADB (for power users)
If the standard methods donβt work, you can delete your Google account via Android Debug Bridge (ADB), a method that requires connecting your smartphone to your computer and enabling debugging over USB.
Warning: improper use of ADB may result in data loss or soft-brick (software breakdown) of the device.
Steps:
- Turn on Developer Mode: Settings β About Phone β MIUI Version (shap 7 times)
- Activate USB Debugging: Settings β Additional β For Developers β Debugging by USB
- Connect your smartphone to your PC through USB-cable (original!).
- Open the command line (Windows) or Terminal (macOS/Linux) and type: adb devices Make sure the device is identified (its serial number should appear).
- Execute the command to delete the account (replace the email)@example.com adb shell pm clear com.google.android.gms && adb shell content delete --uri content://com.android.providers.settings.settings --where "name='account_to_remove'" --with-value "email@example.com"
- Reboot the device: adb reboot
If the command fails, try an alternative method using SQLite:
adb shell
su
sqlite3 /data/data/com.google.android.gms/databases/accounts.db "DELETE FROM accounts WHERE email='email@example.com';"
exit
exitβ οΈ Attention: On devices with MIUI 14 and later, it may be necessary to unlock the bootloader (Bootloader Unlock) to perform some of the ADB-This will cancel the warranty and erase all data. FAQ.
π‘
If ADB does not recognize the device, try installing official Xiaomi drivers from MIUI Download or using the Mi PC Suite program.
Method 4: Bypassing the lock through Safe Mode (if the account is managed by the organization)
If you try to delete an account, you see a message saying βAccount is managed by an organization,β it means that the account has been added via Google Workspace (for example, corporate or educational), in which case it can only be deleted in Safe Mode, where all third-party applications and administrator policies are disabled.
Instructions:
- Turn off your smartphone.
- Press the power button and hold it until the Xiaomi logo appears.
- Once the logo appears, press and hold the volume button until the device boots into Safe Mode (there will be a sign at the bottom of the screen).
- Go to Settings β Accounts β Google and delete the problematic account.
- Restart the device in normal mode.
If your account is not deleted, try:
- π§ Remove all related job profiles in Settings β Accounts. β Profiles of work.
- π Disable device management in Settings β Google β Device and safety β Device control.
- π± Reset the settings of the Google application in Settings β Annexes β Application management β Google β Warehouse β Clear the data.
Method 5: Delete via Mi Account (if Xiaomi account is linked to Google)
On Xiaomi devices, the Mi Account is closely integrated with Google services, and if a second Google account was added via Mi Cloud or Xiaomi Services, it can be deleted via the Mi Account settings.
Steps:
- Open Settings β Accounts and Sync β Mi Account.
- Tap your Xiaomi profile and select Account Management.
- Scroll down to the Linked Accounts section and find Google.
- Click on the cart icon next to the unnecessary account.
- Confirm the deletion via SMS or password from Mi Account.
If this method does not work, try:
| Problem. | Decision |
|---|---|
| Remove button is inactive | Untie your Google account from Mi Cloud in Settings β Mi Account β Cloud β Sync |
| Confirmation by SMS is required | Use a backup phone number linked to your Mi Account |
| "Failure to delete" error | Clear the Mi Account cache in Settings β Applications β Management β Mi Account β Storage |
| The account is not displayed in the associated | Check the settings in Settings β Google β Linked accounts |
What to do if your Mi Account is blocked?
Frequent mistakes and their solutions
When you delete a second Google account on Xiaomi, users often face the following problems:
- π The account returns after the reboot, which means it syncs through Mi Cloud.Solution: disable account sync in Settings β Mi Account β Cloud.
- π The password of the previous owner is required β the device is tied to the FRP. Solution: complete reset (see para. FAQ).
- π΅ The "failed to communicate with the server" error is a problem with the Internet connection or Google servers. Solution: connect to another network or use the Internet. VPN.
- π Message "Delete is forbidden by the administrator" - the account is managed through Google Workspace. Solution: contact the domain administrator or use Safe Mode.
If none of the methods worked, check:
- Whether the device has custom firmware (such as LineageOS or Pixel Experience) may require flashing to an official MIUI.
- Is Find My Device mode activated for the deleted account, disable it via the web version of the service.
- If you are using your account to pay for subscriptions (such as YouTube Premium or Google One) then transfer your subscriptions to another account.
π‘
If you buy a used Xiaomi smartphone, always ask the seller to provide proof of deletion of all accounts (screenshot of the "Accounts" section in the settings). FRP post-discharge.