Replacing Google with Alice in Xiaomi: The Complete Guide

Modern Xiaomi smartphones offer many features, but the Google Assistant pre-installed by default does not suit all users. Many owners of devices based on MIUI and HyperOS prefer the domestic voice assistant Alice from Yandex for its better understanding of the Russian language and integration with local services. However, the standard procedure for calling an assistant through the power button or long pressing of the home button is strictly tied to the Google ecosystem.

Fortunately, the Android architecture allows you to reassign these activities by replacing one assistant with another. You don't have to have superuser rights or flash the device to get the desired result. The process involves several steps of configuring the system applications and the assistants themselves, which will take just a few minutes of your time.

In this article, we will discuss how to completely switch voice input control to Yandex. We will look at methods for different firmware versions, including new HyperOS updates, where Xiaomi has strengthened the protection of system settings. You will learn how to make sure that Alice is activated when you press the power button or pronounce a keyword.

Preparation of the system and installation of necessary components

Before you start deep customization, you need to make sure that your device has the latest versions of all applications. The basic requirement is the presence of the Yandex application with a built-in assistant. If you have a lightweight version of the browser or a separate Alice application, the functionality may be limited, so it is recommended to use the full service package.

Go to Google Play Market or GetApps and check for updates. You should pay special attention to the Google app, because it manages the assistant system calls. Sometimes, reassignment requires that the basic Google service be updated to the latest version, even if you plan to ignore it, to work properly.

⚠️ Note: Some global versions of the firmware MIUI without Google services (Chinese versions), the procedure may differ, since there is initially no native Google Assistant. In this case, the installation of Yandex is normal, but the system reassignment of the power button may not require complex manipulations.

Also make sure that the security settings allow you to install apps from unknown sources if you plan to download modified versions of the launcher or specialized button reassignment utilities. Xiaomi's standard app store doesn't usually require additional permissions for the underlying programs.

Basic Alice setup and Hotword activation

Once you install Yandex, the first thing you need to do is log in to your account. Without logging in, the voice assistant won't be able to save your request history and provide personalized responses. Open the app and click on the round assistant icon in the corner of the screen, or say "Listen to Yandex" if the microphone is already activated.

In order for Alice to respond to voice commands without touching the screen, you need to activate the Hotword function (keyword). In the application settings, find the "Voice commands" or "Voice activation" section, where you will need to allow the application to access the microphone and possibly record a sample of your voice for better recognition.

  • πŸ“± Open the Yandex application and go to profile.
  • 🎀 Select the assistant settings and find the item "Voice activation".
  • πŸ—£οΈ Say the phrase β€œListen to Yandex” several times for calibration.
  • βœ… Make sure the Always Listen switch is active (works in the background).

It is important to understand that background listening to keywords can consume additional battery power. Android strictly controls background processes, so the system needs time to β€œget used” to the constant presence of Yandex in memory. On Xiaomi devices with aggressive power optimization this is a critical point.

πŸ“Š Which voice assistant do you like better?
Google Assistant
Yandex Alice
Siri
Bixby

Replacement of the system assistant through Android settings

The most reliable and regular way to replace Google with Alice is to use the built-in digital assistant selection menu, which works on most Xiaomi devices running Android 9 and above, and allows you to reassign a system call, which is usually activated by a long press of the home button or a swipe from the corner of the screen.

To start, open the standard Settings app on your smartphone. The path to the menu may vary slightly depending on the version of MIUI, but the logic remains the same. You need to find the section responsible for default applications or special features of the system. Often it is hidden in the submenu of "Apps" or "Advanced Settings".

Settings β†’ Applications β†’ Application configuration β†’ Three dots (top right) β†’ Default apps (default apps)

In the list that opens, look for the Digital Assistant App. Google is the default option. Click on this, and the system will suggest a list of installed assistants. Select Yandex. After that, the system will try to run Alice using standard assistant gestures.

MIUI/HyperOS versionThe path to adjustmentFeatures
MIUI 11-12Settings β†’ Applications β†’ Application Management β†’ Three Points β†’ Default AppsThe classic path, it works stably
MIUI 13-14Settings β†’ Applications β†’ Default apps β†’ Digital AssistantMay require security confirmation
HyperOS 1.0Settings β†’ Additional settings β†’ Digital AssistantInterface changed, item can be hidden
Global ROMSettings β†’ Google β†’ Settings Google AssistantDepends on the availability of Google services

If Google still opens when you select Yandex, try clearing the Google app cache. Go to Settings β†’ Apps β†’ All Apps β†’ Google, select Clean and then Clear Everything. This will reset priorities, and the next time you call, the system will ask you which assistant to use.

Reassign the power button to Xiaomi

A separate and very popular feature is calling the assistant with a long press of the lock button. In newer versions of Xiaomi firmware, this feature triggers Google Assistant by default, and it is not always possible to change this behavior with standard means.

If you have a default settings β†’ Settings β†’ Settings β†’ Assigning buttons doesn’t have an assistant choice, you’ll need a third-party app. One of the most effective solutions is the Button Mapper utility or similar programs available in the Play Market, which allows you to intercept system button events.

  • πŸ”½ Download and install a button reassignment app (e.g. Button Mapper).
  • πŸ” Give the application special access rights (Accessibility) by following the instructions on the screen.
  • πŸ”˜ Find the Power Button or Power Button button and select Long Press).
  • πŸ€– As an action, specify β€œLaunch App” and select Yandex or Alice.

⚠️ Note: On devices with HyperOS and new versions MIUI If the app says that the button is occupied by the system, try to disable the call to Google Assistant in the settings of the power button itself before setting up third-party software.

An alternative method without third-party software is available on some versions of firmware via ADB (Android Debug Bridge), a more complex way that requires a connection to a computer. With the command line, you can change the system flag responsible for the action of long pressing. However, given the risks and complexity, using proven mapper applications is a safer and more convenient option for the average user.

β˜‘οΈ Checking the settings of the power button

Done: 0 / 5

Solving Background and Energy Saving Problems

The most common problem after setting up is that Alice stops responding to voice commands after a while, due to MIUI's aggressive energy saving policy, and the system simply kills Yandex's process when the screen goes out, believing it to be inactive.

To prevent this, you need to manually adjust autostart and background settings. Go to Settings β†’ Applications β†’ All Applications β†’ Yandex. Here you need to activate several critical switches. First of all, turn on Autorun. This will allow the application to start with the system.

Next, go to Energy Saving inside the app settings. Select No Limits mode. This will prevent the system from limiting Yandex background activity. Without this step, the Listen Yandex function will not work, since the microphone will not be active in sleep mode.

Why is Alice silent after the reboot?
After rebooting your smartphone, some versions of MIUI may again restrict background processes. If the problem comes back, recheck your power saving settings. Also make sure that your authorization session window does not come out in the Yandex application. Sometimes you need to re-enter your account after a major system update.> Also, it is worth fixing the application in memory. Open the list of running applications (the menu of recent tasks), find the Yandex window, pull it down (or press the lock, depending on the version of the interface), this signals to the system that the application is important for a major update of the system.> It also needs to fix the application in memory and the main view of the user after the user's successful configuration and has to be built-up. Yandex widgets on the desktop allow you to quickly access search, music and commands without running a full application. On Xiaomi, widgets are customized through long-pressing on an empty desktop space. You can create smart home scenarios if you use the Yandex ecosystem. For example, the "I'm gone" command can turn off the lights and close the curtains. In the Yandex app, go to the "Devices" and configure scripts. Voice control will now work through a reconfigured system call, which makes home management as convenient as possible. Remember that Alice knows the context of dialogue. Can you completely delete Google Assistant after you set up Alice? Completely remove Google Assistant without root rights, as it is an Android system component. However, you can disable it. In the Google app settings, find the Google Assistant section and turn it off. That'll hide it from the list, but system calls can sometimes try to activate it if the reassignment doesn't work properly. Why doesn't Alice hear the "Listen to Yandex" command with the screen off? Most likely, the power saving system went off. MIUI. Check if the "No Limits" mode is worth for Yandex. Also make sure that the "Activate with the Screen Off" option is included in the assistant settings section in the Yandex app itself. On some models, this feature may not work stable due to the limitations of Android itself. Does replacing the assistant affect Google Maps and navigation? No, changing the voice assistant doesn't affect navigation. Google Maps uses its own speech recognition engine to build routes. However, if you call the assistant with a button while navigating, Alice will open, not voice search for maps. To control navigation, it's better to use commands inside the map application itself. Does Alice work on older Xiaomi models (Redmi Note 8, Mi 9)? Yes, Yandex and his assistant support a wide range of devices. However, on older models with a small amount of RAM (3-4 GB), background listening to the key word can have a stronger impact on the autonomy of the card application, the system is not reconfiguring the system to reconfigure the system, the system is constantly reconfiguring the resource.