How to set up “OK Google” on Android Xiaomi: from A to Z

Modern Xiaomi smartphones running on the Android operating system have powerful functionality that is often hidden behind the layers of the proprietary shell MIUI or HyperOS. One of the most useful, but not always correctly working tools is the voice assistant Google Assistant. Users often face a situation when after buying a new device or updating the system, the phrase “OK Google” ceases to be recognized, or the assistant does not respond to commands at all. This can be due to both the restrictions of regional settings and the aggressive energy savings characteristic of the firmware of the Chinese manufacturer.

In this article, we will take a look at all the steps in voice activation, from basic checks in the system menu to fine-tuning the permissions for applications. Competent configuration will allow you to control your phone without touching the screen, dictate messages, search for information and run applications only by voice command. We will also look at the specific nuances that arise on different versions of Android and in different regions of use of the device.

It is worth noting that for the full operation of the service requires a stable Internet connection and a correctly configured Google account. If you just changed your phone or upgraded to the latest version of MIUI, it is recommended to follow all the instructions consistently to eliminate the likelihood of software conflicts.

Basic activation via Google settings

The first and most obvious step is to check the status of the voice assistant in the system settings of the Google app itself. Often, the feature is simply disabled after resetting or initial installation of the system. You need to open the Google app (the G icon) on your desktop or in the application menu. Then click on your profile avatar in the upper right corner of the screen and select Settings.

In the menu that opens, look for the Google Assistant section, which is where all the key settings for the smart assistant are concentrated. Go to the All Assist settings section and make sure the switch is active. If you see a message here that the Assistant is unavailable in your region, this may indicate that you need to change your account settings or use additional activation methods, which we will discuss below.

Next, select the device you want to activate the feature on. The list should show your smartphones and tablets that are tied to your current account. Click on the name of your Xiaomi smartphone. Make sure the Google Assistant slider is on. If it's turned off, the system will prompt you to undergo a short voice training procedure so that the assistant can better recognize your diction and timbre.

⚠️ Note: If your phone is not on the list of devices, check if you are logged in to your Google account in Android system settings, not just in the Play Market store.

Once the basic function is enabled, the system can suggest setting up "Hey Google" (OK Google). This is a critical step, because without it, activation on a voice command will not work. Click "Select a language" and make sure that you choose Russian or the language you plan to give commands in. Multilingual support allows the assistant to switch between languages automatically, which is very convenient for bilingual users.

Configure the recognition of the phrase “OK Google”

The most important step to be comfortable with is learning how to recognize your activation phrase. Without that, the phone will only respond to a long-term home button or swipe from the corner of the screen, but ignore the voice. In the Assistant's settings menu, find "Hey Google" and "Voice match," where the system will prompt you to say the phrase "OK Google" and "Hey Google" several times at different paces and intonations.

Less than a minute of learning, but the quality of learning has a direct impact on the sensitivity of the microphone. Try to pronounce the command the way you normally do in life: calmly, without screaming, but not whispering. If you plan to use the phone in noisy places or in a car, you can try to say the phrase a little louder during one of the stages of learning.

☑️ Verification of voice control activation

Done: 0 / 1

Once the training is completed, the system will confirm that it now recognizes your voice. However, on Xiaomi devices, there is an important nuance: Voice Match sometimes doesn't work properly due to battery optimization. So it's recommended to include the option "Clocked Screen Access" in the same menu, which will allow you to call an assistant even if the phone screen is off, which is one of the main advantages of the technology.

If the system says it can't recognize your voice, try restarting your smartphone and repeating the procedure. Also make sure that nothing covers the bottom of the screen where the noise reduction microphones are located. The cleanliness of the dynamic grid and the absence of protective films in the microphone area can significantly improve the quality of sound capture.

Specifics of work on the shell of MIUI and HyperOS

Xiaomi smartphone owners are well aware that MIUI (and its successor HyperOS) has an aggressive energy management policy, which seeks to kill background processes to save battery life, and often Google services are at risk.

Go to Settings on your phone, select Apps, and search in Google. Go to Activity Control (or Energy Consumption) and select No Limits mode, which will prevent the system from forcibly stopping Google's process, which is necessary for the user to listen to the activation phrase constantly. Without this step, the assistant can "fall asleep" a few minutes after unlocking the screen.

Why is MIUI blocking Google Assistant?
MIUI uses its own memory cleaning algorithms, which are different from stock Android. They consider the services of constant listening to the microphone harmful to autonomy, so require manual permission for background work.

Also worth checking is the autorun of apps. Search for Google in the Apps menu and make sure the Autostart slider is on, which ensures that Google services start immediately after turning on the phone without waiting for users to manually open the app for the first time.

Setup parameterWhere to find out.Recommended valueImpact on work
Activity monitoringSettings -> Applications -> GoogleNo restrictions.Allows background listening
Auto-startSettings -> Applications -> PermissionsIncluded.Starting the service at the start of the OS
Working in the backgroundSettings -> BatteryPermitted.Prevents the “sedation” of the process
Access to the microphoneSettings -> PrivacyAlways allowed.Critical for voice activation

Another important aspect is permissions. Android 12, 13 and 14 have extended privacy settings, so make sure that the Google app is allowed to use the microphone in "Only during use" or, ideally for stable operation, "Always." Without this permission, voice input will not work.

Addressing Language and Region Problems

One of the most common problems is the inability to choose Russian for voice control or the absence of the OK Google feature on the menu, which often happens if your phone or Google account settings indicate a region where the service is not yet supported or is operating with restrictions.

Go to Settings -> Additional -> Language and input. Make sure that Russian (or your primary language) is the first language on the list. Then go to the Gboard keyboard settings (if you use it) and the Google app settings. In Google: Settings -> Languages -> Add Russian and drag it to the top of the list. Also in the Assistant's -> Languages should be selected Russian.

📊 What problem did you face when setting up?
The assistant does not understand Russian
The phrase "OK Google" is not activated
The phone can't hear a command with the screen off.
It's working fine.

If the problem persists, try changing the region in the settings of your Google account. Go to pay.google.com or Play Market settings, Profile -> Settings -> Country and Profiles. Make sure you choose Russia or another CIS country where the service is fully localized. Change the region can take up to 48 hours, but often this is the only way to unlock the functionality.

⚠️ Note: Frequently changing a region on a Google account (more than once a year) can temporarily block the possibility of changing a country.

Configure activation from the screen off

One of the most popular features is the ability to call the assistant from a locked screen. On Xiaomi smartphones, this works through a combination of buttons or a voice command. For voice activation, as mentioned earlier, you need permission to work in the background. To activate with buttons, you need to configure Quick Commands.

In the Google Assistant settings, find the Google Assistant Activation section. Here you can turn on the option “Swipe from the corner of the screen” (does not work on all models) or configure the power button press. On newer versions of MIUI, the power button is often redirected to calling the Mi Assistant (Chinese analog), so this feature needs to be reassigned. Go to the phone’s Settings –> “Additional” –> “Buttons” and select the action for a long press of the power button – set “Google Assistant”.

There's also a way to swipe from the bottom corner of the screen, and this feature can be called Quick Start, or it can be part of gesture settings, and if you can't get it on standard methods, you can use third-party launchers or helper apps, but it can reduce system stability, and native integration is always preferable to third-party solutions.

💡

For quick activation without voice, set up a long press of the home button (if virtual) or the side button. This is the most reliable way to call the assistant in a noisy place.

Diagnostics and troubleshooting

If after all the settings, OK Google still doesn't work, you need to do a deep diagnostic. Often the problem lies in the cache of applications or the conflict of versions. First of all, try to clear the cache and data of the Google application. Go to Settings -> Apps -> Google -> Memory -> Clear cache and Clear data. Fear not, this will not delete your account, but reset the assistant settings that you will need to go through again.

Step two is to check for updates. Go to the Play Market, find the Google app, and click Update. Do the same for Google Assistant and Google Play Services. Outdated versions of components may not interact properly with new Android security patches.

In extreme cases, if nothing works, you can try to remove Google app updates. To do this, click three dots in the corner from the app menu and select "Delete Updates." After that, the phone will return to the factory version of the app. Restart the device, after which the Play Market will automatically install the latest current version. This method often helps to "shake" the system and fix hidden configuration errors.

Why does the assistant keep silent when the phone is down?
This is standard behavior to save energy and prevent false positives. In the Assistant settings, you can find the option “OK Google Recognition”, but on many Xiaomi models, when the screen is down, the microphone can be blocked programmatically or physically by the housing design.
Can I change the activation phrase to my own?
Google does not officially allow users to change the phrase “OK Google” or “Hey Google” to a custom one (for example, “Hi, Xiaomi”), but you can set up “Transport Mode” in the assistant settings, where alternative commands are available, or use third-party launcher apps, although their stability is not guaranteed.
The assistant stopped working after the Android update. What do I do?
After major OS updates (such as switching from Android 12 to 13), permission settings may reset, recheck Activity Control (No Limits mode) and re-learn voice match training as the recognition algorithms may have been updated.
Does the energy saving regime affect the work of OK Google?
Yes, it's critical. In Power Saving or Super-Saving mode, the system turns off background microphone listening to extend battery life, and the voice assistant requires normal operating mode or Performance mode.