Xiaomiβs MIUI-based smartphones offer a unique combination of features from the manufacturer and Google services, but sometimes users have problems trying to log in to an account, which may be due to regional settings, the absence of Google Play Services, or even locking at the firmware level. In this article, we will discuss all the current authorization methods, including bypassing typical errors such as βDevice is not certifiedβ or βIt is impossible to connect to the server.β
Xiaomi is a company that makes both global ROM and Chinese ROM devices, which often lacks Google's pre-installed services, which creates additional complications. If you buy a phone from AliExpress or another Chinese marketplace, the chances of getting one are higher, but don't worry, even then there are solutions.
Before you go to the instructions, make sure you have:
- π± Xiaomi smartphone on the MIUI 12/13/14/15 HyperOS (for new models) 2026 year-end)
- π A stable connection to the Internet (preferably via Wi-Fi)
- π§ A valid Google account (or the ability to create one)
- βοΈ Access to phone settings (unless the device is locked)
1. Standard login via phone settings
The easiest way to add a Google account is through the settings menu, which works on most Global ROM devices where Google services are pre-installed.
Open the Settings app (cog icon) and go to Accounts and Sync (on MIUI 14/15, the path may be called Passwords and Accounts).
- Click Add Add Account β Choose Google.
- Enter your email and password. If you have two-factor authentication enabled, confirm your login via SMS or Google Authenticator.
- Accept the terms of use and configure the synchronization parameters (contacts, calendar, backups).
If you fail to connect to Google servers after entering the data, check:
- π Internet connection (turn off) VPN, if he's active).
- β³ Date and time on the phone (must correspond to the current time zone).
- π Updates for Google Play Services in the Play Store.
π‘
If you add an account, the system asks you to confirm possession of the device via SMS, but the message does not come, try using a different number or restart the phone.
2. Sign in via Google app (if settings are not available)
Some Xiaomi firmware (especially Chinese) may have their account section hidden or blocked, in which case you can use the official Google app:
Download. APK-Google application file (for example, from APKMirror site) and install it manually:
- Click on the profile icon in the upper right corner.
- Select Add an Account β Google.
- Enter the login details. If the system requests an update to Google Play Services, agree.
If Google is not available in the Play Store, it's a sure sign of Chinese firmware, so go to method 3.
What to do if the Google app is not installed?
3. Install Google Play Services on Chinese firmware (China ROM)
The Chinese versions of MIUI (China ROM) do not include Google services due to local regulatory requirements, and to add them, you will need to manually install the Google Mobile Services (GMS) package.
β οΈ Attention: Incorrect installation GMS This can cause unstable phone operation.We recommend you back up your data before starting.
Follow the instructions:
- Download the archive from the GMS for your Xiaomi model (for example, from the Xiaomi.eu forum or 4PDA).
- Unpack the archive and install it. APK-filelets that way: π± Google Account Manager π§ Google Services Framework π οΈ Google Play Services π Google Play Store
Reboot the phone.
Settings β Accounts
If the apps are not updated after installing Google Play Services, clear the Play Store cache and data:
Settings β Applications β Application Management β Google Play Store β Storage β Clear cache / Clear dataDownload the correct version of GMS for your model
Make a backup copy of the data
Installation from unknown sources
Disable the antivirus (can block the installation)
Charge your phone at least 50 times%-->
4. bypassing the error "Device not certified"
This error occurs if your Xiaomi has not passed Google certification (typical for Chinese firmware or custom builds).
Method 1: Registration of the device through Google
Go to the Google Device Registration website and enter your phone's Google Account ID to find out:
- Install Device ID from APKMirror.
- Copy the value of the Google Service Framework (GSF).
- Insert it on Googleβs website and register the device.
Method 2: Using Magisk (for root users)
If you have root access, install Universal SafetyNet Fix via Magisk, which will trick Google into believing it is certified.
β οΈ Note: Using Magisk may disrupt banking applications and security check services (e.g. Google Pay).
| Bypass method | Root is required. | Difficulty | Risks. |
|---|---|---|---|
| Registration through GSF ID | β No. | β Low. | Maybe you'll drop off after you drop your phone. |
| Universal SafetyNet Fix | β Yes. | ββ Medium | Possible problems with banking applications |
| Install custom firmware (for example, Xiaomi.eu) | β Yes. | βββ Tall. | Loss of warranty, risk of "bricking" |
5. Browser login (alternative method)
If standard methods do not work, try logging in via a mobile browser:
- Open Chrome or Mi Browser.
- Go to myaccount.google.com.
- Enter your account information. If the system requests confirmation, select This is me.
- After successfully logging in, go back to your phone settings and check if your account appears on the list.
This method works even on Chinese firmware, as it does not require Google Play Services on the device, but synchronizing data (contacts, mail) may not work properly.
π‘
Browser authorization is a temporary solution, and Googleβs Play Store, Gmail, Drive services will still require GMS installation to work properly.
6. Solving Two-Factor Authentication Problems (2FA)
If Google requires a confirmation code when you sign in, but you canβt get one, use one of the following methods:
- π± SMS-Code: Make sure the number is linked to your account and there are enough funds on your phone to receive the message.
- π Backup Codes: If you have previously saved backup codes (when configured) 2FA), Use them.
- π§ Email confirmation: Google can send the code to backup email.
- π€ Authenticator: If you use Google Authenticator, check the time synchronization in the app.
If you lose your account completely, restore it through the recovery page.
- A phone number or backup email linked to your account.
- Answers to control questions (if they were set up)
- Information about recent activity in your account (e.g., recent emails to Gmail).
Important: If you bought a Xiaomi phone with your hands and the previous owner did not log out of your Google account, reset to factory settings (Settings β About Phone β Settings Reset). Otherwise, the device may be locked through Factory Reset Protection (FRP).
7. Frequent errors and their correction
Letβs discuss the typical problems when logging into Google services on Xiaomi and how to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| I was unable to connect to the server. | Blocking traffic, incorrect network settings | Turn off VPN, check date/time, change DNS to 8.8.8 |
| The device is not certified. | Lack of GMS or custom firmware | Register GSF ID or install Magisk with Universal SafetyNet Fix module |
| This account has already been added. | Synchronization Glitch or duplicate account | Delete your account through Settings β Accounts and add again |
| Authentication error | Incorrect password or account lock | Reset your password through accounts.google.com |
If none of the methods worked, check:
- π Firmware updates (Settings) β The phone. β Updating the system).
- π οΈ Root rights (they may interfere with the work of Google Play Services).
- π΅ Block traffic with antivirus or firewall (turn them off temporarily).