Voice assistants have long been an integral part of smartphones, but not all users of Xiaomi Redmi Note 9 know that the standard Google Assistant can be replaced by Alice from Yandex. MIUI By default, it blocks the assistant from changing through normal settings. Depending on the firmware version and the applications installed, the process can vary from simply changing the application by default to using the app. ADB-team.
Many people face a problem when, after installing Yandex.Browser or Alice application, the voice assistant is not activated by a button or a voice command. MIUI, But it's possible to get around these limitations, and we'll show you how to do it safely and without risk to your device.
Why doesnโt Alice become the default assistant automatically?
The fact is that Android splits voice assistants into two types: system (built into firmware) and side (user-installed). Xiaomi Redmi Note 9 out of the box comes with a pre-installed Google Assistant, which has system app privileges.
- ๐น The voice button (long-term press on Home or special key) always calls Google Assistant, even if Alice is installed.
- ๐น The โOK, Googleโ command is tightly tied to Google Assistant and is not reassigned.
- ๐น Default settings in the App menu โ By default, do not contain a point for changing voice assistant.
Besides, MIUI Actively blocks changes to standard applications for key functions (calls, SMS, browser, assistant, to ensure the stability of the system, but this does not mean that the change is impossible, it just requires a workaround.
โ ๏ธ Attention: On devices with MIUI 13+ Android 12+ Some methods (e.g. disabling Google Assistant via Google Assistant) ADB) You may require additional permissions or cause failures.We recommend backing up your data before changing your system settings.
Another reason is the application conflict: if the phone has a Yandex.Browser, a separate Alice app and a separate Yandex Launcher app installed at the same time, the system may misidentify which one should be responsible for voice commands, in which case cleaning the cache or prioritizing one of the applications helps.
Preparation of the smartphone: what to do before setting up
Before you start changing your voice assistant, make sure your Redmi Note 9 meets the minimum requirements:
- ๐ฑ Version. MIUI: 12 or newer (on MIUI 11 and below some methods may not work).
- ๐ค Android version: 10 and higher (Android 9 requires manual editing of system files).
- ๐ง Developer rights: included (instruction below).
- ๐ฅ Installed applications: Yandex.Browser (last version) or separate application Alice.
If the developer rights are not activated, do so:
- Go to Settings. โ The phone.
- Find the MIUI version and tap it 7 times in a row until the notification โYouโve become a developer!โ appears.
- Go back to the main settings menu and open a new section for developers.
We also recommend:
- ๐ Update all Yandex apps to the latest versions via Google Play.
- ๐งน Clear the cache and data of Google and Yandex applications in the Settings menu โ Annexes.
- ๐ Disable battery optimization for Yandex applications (in battery settings).
โ ๏ธ Note: If your Redmi Note 9 has custom firmware installed (like LineageOS or Pixel Experience), the process may be different. In some cases, you will need to manually edit the build.prop file or install patches through Magisk.
Install Yandex.Browser or Alice application|
Include developer rights|
Update all Yandex applications|
Clear the cache of Google and Yandex|
Disable battery optimization for Yandex applications-->
Method 1: Configure through standard parameters MIUI (without ADB)
This method is suitable for users who already have Alice installed, but not activated by voice command or button. It does not require a PC connection and works on most versions. MIUI 12-14.
Step 1: Open Yandex.Browser and log in to your account. Go to your browser settings (โฎ โ Settings) and find the Alice section. Make sure the Voice Assistant switch is on.
Step 2: Go back to the home screen and say "OK, Yandex" or "Hi, Alice." If the assistant answers but doesn't activate on the button, move on to the next step.
Step 3: Go to Settings โ Annexes โ Application management โ Select the "Voice Assistant" option (if any) and select Yandex.Browser or Alice.
| Action. | MIUI 12 | MIUI 13/14 |
|---|---|---|
| The presence of the item "Voice assistant" in the settings | โ There is. | โ No (required) ADB) |
| Activation of Alice by the Home button | โ ๏ธ Partially (only after Google Assistant is disabled) | โ No. |
| The work of the voice command "OK, Yandex" | โ Yes. | โ Yes. |
If there is no "Voice Assistant" option in the settings, try an alternative path:
- Open the settings โ System โ Gestures.
- Find the section "Long pressing the home button".
- Select "Voice Search" and specify Yandex.Browser.
๐ก
If after changing the assistant Alice does not respond to voice commands, restart the phone and repeat setting voice gong in Yandex.Browser (Settings) โ Alice. โ Voice match).
Method 2: Using ADB to force a change of assistant
If the standard settings do not help, you will have to use Android Debug Bridge (ADB) โ It's a debugging tool that allows you to change system parameters. MIUI 13/14 and requires a smartphone connection to the PC.
Step 1: Download and install ADB-computer-driver:
- ๐ฅ๏ธ For Windows: Google's Platform Tools.
- ๐ For macOS/Linux: Install it with brew install android-platform-tools).
Step 2: Connect Redmi Note 9 to PC via USB, Turn on the debugging. USB Developer settings and confirm trust in the computer.
Step 3: Open the command line (or Terminal) and type:
adb devicesMake sure your device appears in the list. Then follow the command to disable Google Assistant:
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchboxThis command does not remove the application completely, but only disables it for the current user.
- Reboot the phone.
- Try activating Alice with a long press on Home or a voice command.
โ ๏ธ Attention: On some firmware MIUI 14 this command may cause the system launcher to crash. If a black screen appears after the reboot or the System Interface Stopped error appears after the reboot, reset the launcher settings via ADB: adb shell pm clear com.miui.home
If Alice is still out of work, try an alternative command to force the default assistant:
adb shell cmd appops set com.yandex.browser android:default_assistant ALLOWEDWhat if the ADB canโt see the device?
Method 3: Use of third-party launchers (Nova, Yandex Launcher)
If previous methods have not worked, the restrictions can be avoided. MIUI It's an alternative launcher, and it doesn't require that. ADB It is suitable for users who do not want to interfere with system settings.
Step 1: Install Yandex Launcher or Nova Launcher from Google Play. After installation, select it as the default launcher in your application settings.
Step 2: In the settings of the selected launcher, find the "Voice Assistant" or "Gestural" section:
- ๐ In Yandex Launcher: Settings โ Alice. โ Default voice assistant.
- ๐ In Nova Launcher: Settings โ Gestures and entrances โ Long home-pressing.
Step 3: Assign Alice or Yandex.Browser as a long-press activation application on Home.
Advantages of this method:
- ๐น No, he doesn't. ADB or superuser rights.
- ๐น It even works on MIUI 14 with Android 13.
- ๐น Allows flexibility to customize other gestures (e.g. swipe up to call an assistant).
Disadvantages:
- ๐ธ Changes the appearance of the desktop (when using Yandex Launcher).
- ๐ธ Some system features (e.g., โOK, Googleโ) will remain tied to Google Assistant.
๐ก
Using a third-party launcher is the safest way to change voice assistant, as it does not affect system files and easily rolls back.
Solving problems: Alice fails to respond or resets
Even after a successful setup, Redmi Note 9 users may face typical problems:
| Problem. | Possible cause | Decision |
|---|---|---|
| Alice is not activated by the Home button | Google Assistant conflict or reset after update MIUI | Repeat the setting through ADB or change launcher |
| Voice commands (OK, Yandex) do not work. | The microphone for Yandex.Browser or Alice is turned off | Check the permissions in Settings โ Annexes โ Yandex.Browser โ Permits |
| After resetting, the default assistant is reset. | MIUI Resets settings due to optimization | Turn off battery optimization for Yandex applications |
| Alice opens up but doesn't follow commands | No Internet connection or outdated version of the application | Update Yandex.Browser and check the connection to the network |
If Alice stopped working after the update MIUI, It's probably back to Google Assistant:
- Repeat. ADB-command to disable Google Assistant.
- Clear the cache and data of Google and Yandex applications.
- Reinstall Yandex.Browser.
On the Redmi Note 9 with firmware MIUI 13.0.6+ You may need an additional command to block the automatic recovery of Google Assistant:
adb shell pm disable-user --user 0 com.google.android.googlequicksearchboxThis command completely disables the application for the current user, but does not remove it from the system.
๐ก
After the update MIUI Alice stopped responding to voice commands, try to retrain the voice match: open Yandex.Browser, go to Settings โ Alice. โ Voice match and go through the procedure again.
Alternative ways to call Alice (without changing the default assistant)
If none of the methods worked, or you donโt want to risk the stability of the system, you can use alternative ways to quickly call Alice:
- ๐ Desktop widget: Add Yandex.Browser or Alice widget with voice search button.
- ๐ Quick action in the notification panel: In the settings of Yandex.Browser, enable the option "Show in the notification panel".
- ๐ค Voice activation via Bluetooth devices: Some headphones (such as Xiaomi AirDots) allow you to assign Alice a double-press call.
- ๐ฑ Gesture in settings MIUI: Assign a swipe over the lock screen to Alice's call (Settings) โ Lock screen โ Gestures).
For users who often use voice search, it is convenient to set up Google Assistant to call Alice.
- Open Google Assistant and say, โOpen Yandex.Browser.โ
- Create a routine in Google Assistant: When I say โAliceโ Run: Open Yandex.Browser
This will not replace the default assistant, but will allow you to quickly switch between them.