How to add a Google account to Xiaomi: all ways + error solving

Synchronizing with a Google account on Xiaomi smartphones opens up access to key services such as Play Market, contact backup, Google Drive calendar and cloud storage. However, the process of adding an account may vary depending on the version of MIUI, regional firmware and even device model. In this article, we will discuss all the current ways to associate an account, including bypassing typical errors such as “failed to establish a connection with Google servers” or “Device is not certified”.

Xiaomi’s smartphone has a dual ecosystem: in addition to Google’s services, it also uses its own Mi Account, which sometimes causes confusion among users, especially when you first turn on the device, and we’ll take a closer look at how to add a Google account on new and used phones, and what to do if the system blocks login attempts.

Important: the instructions in this article are relevant for MIUI 14/15 (including global and Chinese firmware versions). If your device is running on an older version, some menu items may differ - in this case, we recommend you to pre-update the software through Settings → About Phone → System Update.

1. Adding a Google Account When You First Include Xiaomi

The easiest way to link an account is to do so during the initial setup of the smartphone, and the system will prompt you to log in to Google services at one stage.

  1. Turn on your smartphone and select a language, region, connect to Wi-Fi.
  2. On the Copy Data screen, click “Pass” (unless you need to recover data from another device).
  3. Go to the "Google Services" item - here the system will prompt "Add Account".
  4. Enter your email address and password from your Google account, follow the system’s prompts.
  5. Accept the terms of use and configure the synchronization parameters (contacts, calendar, backups).

⚠️ Note: Later you can add the account through the settings, but some users report that the initial setup method is more stable for Chinese ROMs (especially on models like Redmi Note 12 or). POCO X5).

💡

If you have a Chinese firmware version (CN ROM), set India or Russia in the settings before adding a Google account, which will help you avoid errors with the certification of the device.

2. Adding an account through Xiaomi settings

If you missed the step when you first turned on or need to add a second Google account, do so through the settings menu.The instructions are suitable for all models on MIUI 12-15, including Xiaomi 13T, Redmi A2 and POCO F5:

  1. Open the settings (cog icon on the desktop).
  2. Go to Accounts and Sync (or Passwords and Security → Accounts on some models).
  3. Click "Add Account" → Choose "Google".
  4. Enter your login details (email and password) If you use two-factor authentication, confirm your login via SMS or Google Authenticator.
  5. Set up synchronization settings (we recommend leaving Contacts, Calendar and Backup enabled).

After successful authorization, a notification will appear at the top of the screen, "Google Account Added." To check that everything is working correctly, open the Play Market - if the application runs without errors, the sync was successful.

Play Market Opens Without Errors|Contacts are synced with Google Contacts|A notification of backup appears|The account settings display status "Synced"-->

3. Solve the error "Device not certified"

One of the most common problems on Xiaomi is the message, "Device not certified. This device was not certified for Google services," which is a mistake for Chinese firmware (CN ROM) or devices with unofficial MIUI builds. Here's how to fix it:

Method 1: Through the Developer's Settings

  1. Activate Developer Mode: Go to Settings → About Phone and click on MIUI Version 7 times.
  2. Return to the main settings menu, open Additional → for developers.
  3. Find the "OEM-unlock" item and turn it on.
  4. Restart your phone and try adding your account again.

Method 2: Resetting Google Certificates

If the first method didn’t work, try resetting Google’s services:

  1. Go to Settings → Applications → Application Management.
  2. Find Google Play Services, open it and click Storage → Delete Data.
  3. Repeat the same for Google Play Market and Google Services Framework.
  4. Restart the device and try to log in again.
What should I do if the error remains?
If the issue persists after the certificate reset, you may have a modified firmware installed on your device (e.g. Xiaomi.EU) in which case you will need to flash the official global version of MIUI via Fastboot or Recovery. Please note that this will result in complete loss of data on the phone!

4. Adding an account to Xiaomi with Chinese firmware (CN ROM)

Devices with CN ROM (such as Xiaomi 12S Ultra or Redmi K50 Gaming) often come without Google services preinstalled. To add an account, you first need to install Google Apps (GApps).

Step 1: Install Google Installer

Download the official Google Installer app from the forum XDA Developers or through APKCombo. APK-file by pre-allowing installation from unknown sources (Settings) → Annexes → Special rights → Installation of unknown applications).

Step 2: Starting the installer

  1. Open Google Installer and click "Install" (installation will take 2-5 minutes).
  2. Once completed, restart the device.
  3. Now in the Settings → Accounts menu, you will be able to add a Google account.

⚠️ Note: On some models (e.g, POCO F4 GT s CN ROM) Mi Account may be lost after GApps are installed, in which case we recommend backing up the data before starting the procedure.

Official Global (Global ROM)|Chinese (CN ROM)|European (Xiaomi.EU)|Castom (LineageOS, Pixel Experience)|Don't know-->

5. Alternative ways to add an account

If standard methods don't work, try one of these options, and they're especially useful for devices with manufacturer locks or unofficial firmware.

Method 1: Through the browser

  1. Open a browser (such as Chrome or Mi Browser).
  2. Go to accounts.google.com and log in.
  3. After successfully logging in, go back to Settings → Accounts – your profile should appear in the list.

Method 2: Through the Gmail app

If the Play Market is not available, download it. APK-Gmail from a trusted source (e.g. APKMirror) after installation:

  1. Open Gmail and enter your account details.
  2. The system will automatically add a profile to the device settings.

Method 3: Through ADB (for power users)

If other methods have not worked, you can add an account through ADB.

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


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

This command will open the Google authorization window directly. Attention: the method requires USB debugging enabled and ADB drivers installed.

💡

Use alternative methods only if standard methods do not work. Incorrect actions (for example, installing incompatible GApps) can lead to unstable operation of the system.

6. Frequent errors and their solutions

When you add a Google account to Xiaomi, users face typical problems, and the table below shows the most common mistakes and ways to fix them:

Mistake.Reason.Decision
“We were unable to connect to Google’s servers.”Internet problems or Google blocking on Chinese firmwareCheck your network connection, change DNS to 8.8.8.8, or use a VPN
"This device has been reset. To continue, log in to an account that was previously used on this device."FRP (Factory Reset Protection) is activated.Log in to the account that was linked before the reset, or unlock through the Mi Unlock Tool
Google Play Services are StoppingService version conflict or damaged dataClear the cache and data of Google Play Services in the application settings
"The device is incompatible with this version."Unofficial or outdated firmware installedUpdate MIUI to the latest version or run through the official global firmware

If your error is not listed in the table, try resetting the network settings (Settings → Connections → Reset Wi-Fi, mobile network and Bluetooth settings) or perform a soft reset (reboot with the volume button pressed).

7. How to delete or change your Google account on Xiaomi

If you need to delete your linked account (for example, when selling a phone) or change it to another account, follow this instruction:

  1. Open Settings → Accounts and Synchronization.
  2. Select the Google account you want to delete.
  3. Click on the three dots in the upper right corner → “Delete account”.
  4. Confirm the action (a password or pattern lock may be required).

⚠️ Note: Deleting your account will result in:

  • 📱 Loss of access to purchased apps in the Play Market (they can only be restored after re-authorization).
  • 📇 Remove synchronized contacts (if not stored in the phone’s memory).
  • 🔄 Stopping backups in Google Drive.

If you are selling or transferring your phone to another person, after deleting your account, make sure to reset to factory settings (Settings → About Phone → Settings Reset).

Can I add a Google account to Xiaomi without access to the Internet?
No, you need to connect to a network (Wi-Fi or mobile Internet) to log in to Google services, but once added successfully, your account will work offline for previously synchronized data (such as contacts).
Why does the Play Market not work after adding an account?
This is a typical problem for Chinese firmware (CN ROM).Solution: Install the latest version of Google Play Market manually (download APK from APKMirror). Clear the cache and data of Google Play Services. Check if sync is enabled in your account settings.
How to add a second Google account to Xiaomi?
Go to Settings → Accounts & Sync → Add an account → Google and log in under a new profile. Please note that some apps (like Gmail) allow you to quickly switch between accounts.
What if Xiaomi asks for an old account after a reset?
This is triggered by FRP (Factory Reset Protection) protection. To unlock the device: Log in to the account that was tied before the reset. If you don't remember the data, contact Google Recovery Center. Chinese firmware may require firmware to run the global version of MIUI via Fastboot.
Can I use Xiaomi without a Google account?
Yes, but with limitations: ✅ Basic functions (calls) will be available, SMS, camera). ❌ You can’t install apps from the Play Market (you’ll have to use them). APK-file). ❌ There will be no synchronization of contacts, calendar and backups. ✅ Alternative services can be used (e.g. Mi Cloud for backup).