How to link a Google account to a Xiaomi phone: all ways and solutions to errors

Synchronizing your Google account with your Xiaomi phone (including Redmi, POCO and Black Shark models) gives you access to key Android features: backup of contacts, calendars, photos in Google Photos, as well as automatic installation of apps from Google Play after a reset. Without binding, you will lose the ability to use Gmail, YouTube, Google Maps and other services to the fullest.

However, MIUI users often face unique challenges: the system can block adding an account due to regional restrictions (especially on Chinese firmware), require confirmation via SMS when two-factor authentication is enabled (2FA), or issue an error β€œI failed to connect to Google servers.” In this article, we will analyze all the current ways of linking an account – from the standard method to bypassing restrictions through ADB and alternative services.

Importantly, the procedure is different for phones with global (Global ROM), Chinese (China ROM) and custom firmware. If your Xiaomi is bought in China or stitched informally, some methods may not work - for such cases, we have prepared separate solutions in the "Error Solving" section.

Preparing your phone before adding a Google account

Before you link your account, follow the mandatory steps to avoid errors:

  • πŸ“Ά Connect to a stable Wi-Fi or mobile network (3G/4G/5G). Google servers can block authorization via proxy or VPN.
  • ⏳ Update. MIUI to the latest version: go to Settings β†’ The phone. β†’ Update: Chinese firmware may require Google services to be unlocked first.
  • πŸ”’ Turn it off. VPN/Proxies and antiviruses (such as Mi Security) that can block connection to Google servers.
  • πŸ“± Check date and time: Incorrect settings can cause an error "failed to establish a reliable connection." Enable automatic synchronization in Settings β†’ Additionally. β†’ Date and time.

If you have previously tried to add an account and have an error, reset your Google Play Services settings:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Google Play Services (or Google Play Services).
  3. Click Warehouse β†’ Clear the data and Clear the cache.
  4. Reboot the phone.
πŸ“Š What firmware is used by your Xiaomi?
Global ROM (Global ROM)
Chinese (China ROM)
European (EEA ROM)
Custom (LineageOS, PixelExperience, etc.)
I don't know.

Standard method: add an account through MIUI settings

This is the basic method that works on most Xiaomi phones with global or European firmware.

  1. Open the Settings. β†’ Accounts and synchronization (or Settings) β†’ PapaSSWORD & SECURITY β†’ Accounts on new versions MIUI).
  2. Click Add Add Account β†’ Google.
  3. Enter your email address and password. If two-factor authentication (2FA) is enabled, confirm your login via SMS or Google Authenticator.
  4. Accept the terms of use and configure the synchronization parameters (contacts, calendars, backups).

If the error "This device is not certified" appears after entering the data, it means that your Xiaomi has not passed the Google Mobile Services (GMS) validation.

β˜‘οΈ What to do when you make an error: Device is not certified"

Done: 0 / 4

Critical information: The standard method on Chinese firmware (China ROM) does not work – Google services are removed at the system level, and for such cases, you need to unlock through Mi Unlock or install global firmware.

Alternative ways to add a Google account

If the standard method doesn’t work, try one of these options:

1. Through the browser (to bypass MIUI locks)

  1. Open the Chrome browser or Mi Browser.
  2. Go to https://accounts.google.com.
  3. Log in to your account.
  4. After successful login, return to Settings β†’ Accounts – the account should appear automatically.

2. via the Gmail app

If Gmail is pre-installed:

  1. Open the Gmail app.
  2. Click on the profile icon in the upper right corner β†’ Add another account.
  3. Choose Google and follow the instructions.

3. via ADB (for power users)

This method is suitable if MIUI blocks the addition of an account at the system level, you will need a computer with ADB-tools installed.

adb shell pm clear com.google.android.gms


adb shell pm clear com.google.android.gsf




adb shell am start -n com.google.android.gsf.login/

After completing the commands, restart the phone and try adding the account again.

Why does MIUI block the addition of a Google account?
Google services have been removed on Chinese firmware as required by local law, and the manufacturer also limits the addition of accounts on devices with an unlocked bootloader due to the risk of installing uncertified software.

Solving common errors when linking an account

Let’s look at the typical problems and their solutions:

Mistake.Reason.Decision
β€œI couldn’t connect to Google’s servers.”Blocking MIUI connection, incorrect network settingsDisable VPN, check date/time, reset network settings
"Device not certified"No GMS certificate (often on custom firmware)Check out the model on Google or run a global MIUI
This account has already been added to another device.Synchronization conflict or Google restrictionDelete your account from other devices via myaccount.google.com
"Owner's Confirmation Required" (at 2FA)Two-factor authentication is enabled, but no SMS/email access is available.Use backup codes or Google Authenticator app

If none of the methods worked, check:

  • πŸ”„ Version MIUI: on old firmware (below) MIUI 12) may not be available for the required Google components.
  • πŸ“¦ Google services: Chinese firmware must be installed manually through the Mi App Store (search for Google Installer").
  • πŸ”“ bootloader status: Unlocked bootloader can cause certification errors. check status with fastboot oem device-info command.

πŸ’‘

If you bought Xiaomi in China, check out the model on MIUI Download. It may have an official global firmware that you can install through the Mi Flash Tool.

Features of binding on Chinese firmware (China ROM)

Xiaomi phones with Chinese firmware (China ROM) do not have pre-installed Google services. To add an account, follow the following steps:

1. Installation of Google Installer

  1. Download Google Installer from the Mi App Store (search for "Google").
  2. Install the application and launch it.
  3. Select the service package (Google Play Services + Framework is recommended).
  4. After installation, restart the phone.

2 Unlocking through Mi Unlock (for advanced users)

If Google Installer is not working, you will need to unlock the bootloader and flash the global version of MIUI:

  1. Apply for unlocking through the official Xiaomi website.
  2. Connect your phone to your PC in Fastboot mode (press Power + Vol Down).
  3. Start the Mi Unlock Tool and follow the instructions.
  4. Once unlocked, run Global ROM through the Mi Flash Tool.

πŸ’‘

Unlocking the bootloader resets all the data on the phone! make a backup through Settings β†’ Additional β†’ Backup and Reset.

⚠️ Warning: Unlocking the bootloader will void the warranty on devices purchased from Xiaomi’s official stores in Russia and Europe.

Security: How to Protect Your Linked Account

After successfully linking your account, set up additional security measures:

  • πŸ” Enable two-factor authentication (2FA) In the Google account settings, use the Google Authenticator app instead of SMS β€” It's more reliable.
  • πŸ“± Set up the lock. MIUI: Go to Settings. β†’ Lock screen β†’ Block apps and add Gmail, Google Play and Account Settings to secure apps.
  • πŸ”„ Check out active sessions on the page myaccount.google.com/security. Remove unknown devices.
  • πŸ›‘οΈ Turn off autocomplete passwords for Google account in Settings β†’ Passwords and security β†’ Autocomplete if the phone is used by other people.

If you are selling or transferring a phone, you must:

  1. Delete your Google account in Settings β†’ Accounts β†’ Google β†’ Delete your account.
  2. Perform a factory reset (Settings β†’ Additional β†’ Backup and Reset β†’ Resetting).
  3. Check that the phone is not tied to Mi Account (you can do this at account.xiaomi.com).

⚠️ Note: Xiaomi phones with Mi Account tied may require username/password entry after reset (Mi Cloud Lock protection). If you forget the data, it will be difficult to restore access - you will need to contact Xiaomi with a confirmation of purchase.

FAQ: Answers to Frequent Questions

Can I add a Google account without an internet connection?
No, you need an active Internet connection to log in, but after you first log in, you can use some offline features (e.g., view saved Gmail emails or contacts).
Why didn’t your Google account automatically recover after a phone reset?
This happens if you didn’t back up your phone to Settings β†’ Google β†’ Backup before reset, and check that the phone has Google Play Services installed (at least 24.00).
How to delete a Google account from Xiaomi if it is not deleted through settings?
Try: Delete your account through the Google Account web version (Security β†’ Your Devices section), Reset the settings of the Google Play Services app (see Preparing Your Phone section). If the account is corporate (managed by an organization), contact your administrator.
Can I use one Google account on two Xiaomi phones at the same time?
Yes, you can add one account to an unlimited number of devices. However, some features may have limitations: Google Photos: backups from multiple devices are summarized in one store. Google Play: apps purchased on one device will be available on all. Gmail and Calendar: data synced in real time. Limitation: if the account is enabled with protection against unauthorized access, when you log in from a new device, you may need to confirm via email or SMS.
What if after the MIUI update, the Google account is no longer synced?
This is a typical problem after major updates (e.g., MIUI 13 to MIUI 14). Solutions: Go to Settings β†’ Applications β†’ App Management β†’ Google Play Services and clear the cache. Delete the account and add it again. Check if sync is disabled in Settings β†’ Accounts β†’ Google β†’ Account Sync. If the problem persists, roll back to the previous version of MIUI or wait for a patch from Xiaomi.