On Xiaomi smartphones with MIUI firmware, there is often a situation where a user accidentally adds a second Google account - for example, when setting up a new device or after resetting to factory settings. An extra profile not only takes up space in memory, but can also cause conflicts when synchronizing data, notifications or working with Google Play. Unlike other Android devices, on Xiaomi, deleting an additional account has its own nuances due to the features of the MIUI shell.
In this article, you will find 5 working ways to delete a second Google account, from standard settings to hidden MIUI features and even manual intervention through ADB. We will discuss why the Remove button is sometimes inactive, how to bypass the manufacturerโs lock and what to do if the account is tied to corporate policy. All instructions are relevant for Redmi, POCO and Mi models based on MIUI 12-14 and HyperOS.
Why canโt you just delete your Google account through your settings?
On most Android devices, deleting a Google account takes a couple of clicks: go to your profile settings and click "Delete." But on Xiaomi, this option is often blocked or missing.
- ๐ Security policy MIUI. Xiaomi firmware by default blocks the deletion of the main Google account if it is tied to Find My Device or Google Pay services.
- ๐ข Corporate profiles: If an account is added via Android Enterprise (e.g., work mail), deleting it requires administrator rights.
- ๐ฑ Manufacturer's limitations: on some models (e.g, POCO F5 Redmi Note 12 - Remove feature hidden in deep settings.
- ๐ Synchronization: If an account is used for backup, the system can prevent it from being deleted without first disabling synchronization.
Another common problem is the grey color of the Delete button in the account menu, which means that the profile is protected by Google policies (for example, if the device is tied to an organization) or by blocking MIUI, which will require workarounds, which we will discuss below.
Method 1: Standard removal via MIUI settings
If the Remove button is active, use the simplest method, which works on most Xiaomi devices with MIUI 12-14 and HyperOS, unless the account is a primary account and is not tied to corporate policies.
- Open Settings โ Accounts and Sync (or Google depending on the version of MIUI).
- Choose the account you want to delete. If there are more than one, focus on your email address.
- Press three points (โฎ) in the upper right corner or find the option to delete the account.
- Confirm the action by entering the password or pattern lock of the device.
What if the "Delete" button is inactive?
- ๐ Disable sync for this account (go to Account Settings) โ Synchronize and deactivate all switches).
- ๐ Make sure youโre logged in to your main account (the one used when you first set up your phone).
- ๐ฑ Reboot the device โ sometimes it unlocks hidden features.
Disable data synchronization | Make sure you have a backup | Remember your account password | Check administrator rights-->
Method 2: Delete via the Users and Accounts menu (hidden section)
MIUI has a hidden menu where you can manage all profiles, including those that donโt show up in the standard settings, which helps if you add your account as a guest or through Android for Work.
- Open the Settings. โ The phone.
- Find the MIUI version and click on it 7 times in a row until the notification โYou became a developerโ appears.
- Go back to the main Settings menu and open a new section for developers.
- Activate the option debugging over USB (if necessary, confirm the action with a password).
- Now go to Settings โ System โ Additional โ Users and accounts (the path may vary depending on the version of MIUI).
- Select an unnecessary account and click Delete.
If your profile is marked as โWork Profileโ or โManaged by an organizationโ in the Users and Accounts menu, its removal will require resetting the settings or superuser rights (root).
What is a MIUI Work Profile?
Method 3: Reset Google Settings (without data loss)
If standard methods donโt work, try resetting Googleโs settings without deleting data from your device, which will delete all accounts but save apps, photos and files.
- Go to Settings โ Google โ Manage your Google account.
- Select the Security tab.
- Scroll down and find the section Your devices โ Device management.
- Select your Xiaomi smartphone and click Exit (or Delete).
- Confirm the action. After that, all Google accounts will be detached from the device.
After these steps have been taken:
- ๐ Reboot the phone.
- ๐ฑ When you sign in to Google Play or Gmail, the system will prompt you to add an account again โ select only the desired profile.
- โ ๏ธ Note: This method does not delete application data, but may require re-authorization on Google services (e.g. YouTube or Google Drive).
๐ก
If you reset your accounts, check if you have automatic sync enabled in Settings โ Accounts โ Auto Synced Data. Disable it before you try again.
Method 4: Remove via ADB (for advanced users)
If all previous methods fail, manual removal via ADB (Android Debug Bridge) is a method that requires connecting the phone to a computer and basic command line knowledge. Careful: the wrong commands can disrupt the system!
What you need:
- ๐ฅ๏ธ A computer with installed Xiaomi drivers and ADB (download).
- ๐ฑ USB-cable (preferably original).
- ๐ Included debugging by USB on the phone (see Method 2).
Step-by-step:
- Connect the phone to the computer and confirm the debugging permission on the smartphone screen.
- Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and type:
adb devices(Your device must be displayed with a serial number.)
- Enter a command to view all accounts:
adb shell dumpsys account(Look for an unnecessary account in the output, it will be marked as com.google with an email address.)
- Delete your account with the team (replace) USER_EMAIL real address):
adb shell pm remove-account --user 0 USER_EMAIL- Reboot the phone:
adb rebootโ ๏ธ Note: If you have an account left after completing the command, check if it is the main one (associated with Find My Device). In this case, its deletion may block the phone.
| ADB Team Team | Description | When to use |
|---|---|---|
| adb shell dumpsys account | Shows all accounts on the device | To search for an unnecessary profile ID |
| adb shell pm list accounts | List of accounts in simplified form | If the dumpsy output is too long |
| adb shell pm remove-account | Deletes said account | Only after checking that the profile is not system-specific |
| adb shell am broadcast -a android.intent.action.MASTER_CLEAR | Reset to factory settings | Extreme case if other methods have not worked |
Method 5: Completely reset your phone (last resort)
If none of these methods work, a hard reset will remove all data from the device, including apps, photos and settings, but it will ensure that all Google accounts are cleared.
How to reset:
- Back up important data (contacts, photos, messages) through Settings โ About Phone โ Backup.
- Open Settings โ About the phone โ Reset settings.
- Choose Delete all data and confirm the action.
- After the reboot, reset the phone by adding only the Google account you want.
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi) 9A or POCO X3) After reset, you may need to enter a login and password from the previous Google account (protection) FRP). Make sure you remember the authorization data!
If the phone requires an old account that you donโt remember after a reset, use Googleโs recovery service or contact Xiaomi with proof of ownership of the device (check, box).
๐ก
Before reset, be sure to untie the phone from your Mi Account (in Settings โ Mi Account โ Sign out), otherwise after the reboot, you will need authorization in Xiaomi!
Frequent Mistakes and How to Avoid Them
When you delete a second Google account on Xiaomi, users often face typical problems.
- ๐ซ "You cannot delete the administrator account" โ Check if you have admin apps installed on your phone (like Find My Device or Mi Cloud). โ Annexes โ Special access โ Device administrators.
- ๐ "The account appears again after deletion" โ Turn off automatic synchronization in Settings โ Accounts. โ Google โ Synchronization.
- ๐ "Password from the previous owner is required" โ It's a lockdown. FRP. If the phone is bought from hand, ask the seller for data to unlock or contact the service center.
- ๐ต "No item 'Delete account'" โ Try to delete your account via Google Chrome: Open Settings โ Managing a Google Account โ Security โ Your devices and remove your phone from there.
If you bought the phone with your hands and can not delete someone elseโs account, do not try to bypass the lock yourself โ this can lead to a complete lock of the device.