How to replace Google Assistant with Alice in Xiaomi Redmi 9: full instructions

Voice assistants have become an integral part of modern smartphones, but not all users of Xiaomi Redmi 9 are comfortable with the standard Google Assistant. Russian users often need Yandex Alice - it better understands Russian speech, is integrated with local services and offers more relevant answers. However, the manufacturer by default does not allow you to easily change the assistant: Google Assistant is sewn in the system, and the voice search button is tied to it.

In this article, we’ll look at all the working ways to make Alice the primary voice assistant on Redmi 9, including customization through standard MIUI tools, using third-party utilities, and even modifying system files for advanced users. You’ll learn how to reassign the call button, disable Google Assistant without losing functionality, and what applications will be required to fully work Alice. Importantly, some methods require unlocking the bootloader and root rights β€” we’ll show you where this is necessary and where you can do without radical measures.

Why is Alice better than Google Assistant for Redmi 9?

Before we proceed to the setup, let’s understand what are the advantages of Alice Yandex over the standard assistant from Google on Xiaomi devices:

  • πŸ—£οΈ Better understanding of Russian: Alice is trained on a larger base of Russian-language queries, recognizes accents and dialects more accurately than Google.
  • πŸ“ Local services: integration with Yandex.Maps, Taxi, Music, Weather and other services relevant to Russia.
  • 🎡 Offline team support: Some features (such as music management or alarm clocks) work without the internet.
  • πŸ”„ More flexible settings: the ability to change voice, speech speed and even add custom scripts through Yandex Dialogues.

There are downsides, though: Alice can’t manage some MIUI system features (such as power saving mode or screen settings), and she needs a separate app to work with her, and Google Assistant is more integrated into Android, but often provides answers in English or offers irrelevant services.

πŸ“Š What voice assistant do you use on your smartphone?
Yandex Alice
Google Assistant
Siri (if iPhone)
Other
Not using.

Preparation of the smartphone: what to do before setting up

Before you replace your assistant, follow a few mandatory steps to avoid disruptions and ensure Alice works correctly:

  1. Update MIUI to the latest version. Old firmware may not have the right settings or conflicts. Check for relevance in Settings β†’ About Phone β†’ System Update.
  2. Install the official Alice app from Google Play or AppGallery. downloading APK from third-party sources is not recommended - this can lead to data leaks.
  3. Clear the Google Services cache. Go to Settings β†’ Apps β†’ App Management β†’ Google, click Storage β†’ Clear the cache.
  4. Turn off battery optimization for Alice. Otherwise, the assistant may not respond to voice commands. Way: Settings β†’ Battery β†’ Battery Optimization β†’ All applications β†’ Yandex β†’ Do not optimize.

Update MIUI last-minute|Install the official application Yandex Alice|Clear the Google cache and Google Play Services|Turn off battery optimization for Alice|Check the microphone (record voice notes)-->

If you plan to use methods with root rights or modify system files, additionally:

  • Make a backup of the data through Settings β†’ Additional β†’ Backup and Reset.
  • Make sure that the battery is at least 50%, which will prevent a sudden shutdown during the procedures.
  • Download Magisk Manager (for rooting) or ADB Tools (for computer commands).

πŸ’‘

If after installing Alice she does not respond to the phrase "Hi Alice", check the permissions of the application. Go to Settings β†’ Applications β†’ Yandex β†’ Permissions and enable access to the microphone, geodata and autorun.

Method 1: Reassign the assistant call button without root (official method)

The easiest way is to use the built-in MIUI settings to link Alice's call to a physical button (like a long home press or power button). Unfortunately, this option is hidden in standard Redmi 9 firmware, but it can be activated via ADB.

You'll need:

  • πŸ–₯️ Computer with installed ADB Fastboot Tools (you can download from the site) XDA Developers).
  • πŸ“± USB-cable to connect Redmi 9 to PC.
  • πŸ”§ Initiated Debugging Mode USB (Path: Settings β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).

Instructions:

  1. Connect your smartphone to your computer and confirm the debugging permission on the phone screen.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices must appear serial number of your Redmi 9.
  4. Use the command to unlock hidden assistant settings: adb shell settings put secure assistant "com.yandex.browser/ru.yandex.voiceassistant.ui.AssistantActivity"
  5. Reboot your smartphone. Now in Settings β†’ Buttons and gestures β†’ Home button will be the option to select an assistant.

If the option does not appear after the reboot, try the alternative command:

adb shell am start -n com.miui.home/.launcher.AssistantSettingsActivity
What if the ADB can’t see the device?
If the adb device command returns an empty list: 1. Check if the Xiaomi drivers are installed USB Drivers on PC. 2. Try another one USB-cable (preferably original). 3. Enable the debugging option in the developer settings USB (security parameters) and allow debugging ADB Charge only. 4. Reboot both the phone and the computer.

Method 2: Use the Button Mapper app (without root)

If ADB commands don’t work or seem too complicated, you can use the Button Mapper app (available on Google Play), which allows you to reassign button actions without superuser rights, but with some restrictions.

Step-by-step:

  1. Download and install Button Mapper from Google Play.
  2. Open the application and give it access to Special Opportunities (necessary to intercept clicks).
  3. Select the button you want to reassign (such as Long Click on Home).
  4. In the action list, find the Application Launch and indicate the path to Yandex Alice: com.yandex.browser/ru.yandex.voiceassistant.ui.AssistantActivity
  5. Save the settings and test the work.

Limitations of the method:

  • ⚠️ The app may conflict with some versions MIUI, delaying.
  • ⚠️ After updating the system, the settings may reset.
  • ⚠️ Not all buttons can be reassigned without root (for example, double-clicking the power button is often blocked).

πŸ’‘

Button Mapper is the easiest solution for users without root, but it does not guarantee stable operation on all versions. MIUI. For reliable results it is better to use ADB root-methods.

Method 3: Completely replace Google Assistant with Alice (root required)

If you're willing to take drastic measures, you can completely remove Google Assistant and make Alice the default assistant, which requires an unlocked bootloader and root rights, but gives you maximum stability.

Warnings:

⚠️ Note: Removal of system applications may cause some functions to fail MIUI, For example, voice search in Google App or integration with Google services. TWRP beforehand.

Steps:

  1. Unlock the Redmi 9 bootloader through the official Mi Unlock Tool (instructions on the Xiaomi website).
  2. Install Magisk to obtain root rights.
  3. Download and install Titanium Backup or Root Explorer.
  4. Go to /system/priv-app/Velvet and rename the Velvet.apk file (that is Google Assistant) to Velvet.bak.
  5. Reboot your smartphone. Now, if you press the Home button long enough, Alice will start.

To return the standard assistant, return the original file name or restore it from the backup.

MethodNeed root?StabilityDifficultyLimitations
ADB-team❌ No.⭐⭐⭐⭐MediumMay be reset after the update
Button Mapper❌ No.⭐⭐⭐Low.Delays, not all buttons are available
Deletion of Velvet.apkβœ… Yes.⭐⭐⭐⭐⭐Tall.The risk of disrupting Google services
Tasker + AutoInput❌ No.⭐⭐⭐Tall.The complex setup, depends on the version of MIUI

Method 4: Automation via Tasker (for advanced users)

If you like automation, you can set up Alice's startup via Tasker + AutoInput plugin.This method doesn't require root, but it takes time to set up.

Algorithm:

  1. Install Tasker and AutoInput from Google Play.
  2. Create a new profile in Tasker with condition β†’ Gesture β†’ Long press on the home button.
  3. Add action Plugin β†’ AutoInput β†’ Press Simulation and specify the coordinates of Alice’s launch (can be found via AutoInput Query).
  4. Alternatively, use the action Launch the application β†’ Yandex with the activity ru.yandex.voiceassistant.ui.AssistantActivity.

Pros of the method:

  • πŸŽ›οΈ Flexible setup (you can add delays, checks, etc.).
  • πŸ”„ It works even after the updates. MIUI.

Cons:

  • ⚠️ Requires precise coordinate adjustment (when changing the screen resolution may break).
  • ⚠️ Tasker paid application (there is a trial period).

Solving problems: Alice doesn't respond or conflicts with Google

If Alice doesn’t start or conflicts with Google Assistant after setting up, check the following points:

  • πŸ”Š Microphone: Make sure no other apps use a microphone (e.g. WhatsApp while voicemailing).
  • πŸ“΅ Internet: Alice needs a network connection for most teams (except offline mode).
  • πŸ”„ Helper conflict: If both assistants are activated, they can block each other. disable Google Assistant in Settings β†’ Google β†’ Settings for Google apps β†’ Search, helper and voice β†’ Google Assistant β†’ Shut down.
  • πŸ”‹ Battery Optimization: Check again that Alice has optimised (see Preparation section").

If Alice starts but doesn't respond to her voice:

  1. Reinstall the Yandex application.
  2. Clear the cache and application data in Settings β†’ Applications β†’ Yandex β†’ Storage.
  3. Update the voice model in Alice’s settings: open the app, go to Settings β†’ Voice Assistant β†’ Update the model.

⚠️ Attention: On some firmware MIUI Redmi 9 (e.g. global version) may not support Russian in the system components, in which case Alice will work, but voice input in other applications (e.g. Google Docs) may fail.

FAQ: Frequent questions about setting up Alice on Redmi 9

Can I get my Google Assistant back after I replace it with Alice?
Yes. If you used ADB, repeat the command by specifying the standard assistant: adb shell settings put secure assistant "com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity" If you deleted Velvet.apk through root, restore the file from the backup or reflash the system partition.
Why doesn't Alice work with headphones?
The problem could be Bluetooth settings or the headphones themselves. Check: Are the headphones enabled as an I/O device in Settings β†’ Connected devices β†’ Bluetooth. Do the headphones support a microphone (some cheap models only transmit sound) Alice's settings include the option to use an external microphone. If the problem persists, try other headphones.
Will Alice work on custom firmware (like LineageOS)?
On most custom firmware (like LineageOS or Pixel Experience), Alice is more stable than on MIUI, as there are no Xiaomi restrictions. However: You will need to install GApps separately (unless they are sewn into firmware). Some MIUI features (like gesture control) may not be available. Button Mapper or build.prop editing will be required to reassign the buttons.
How to make Alice run by voice (alice's name)?
To do this: Open Yandex and go to Settings β†’ Voice Assistant. Enable Alice Occupy. Get voice training (say the phrase several times). In Settings β†’ Battery, add the app to the optimization exceptions. If the Occupy doesn't work: Check if MIUI Security is blocking access (in the security settings, turn off restrictions for Yandex). Make sure the microphone isn't busy with another application.
Can I use Alice to control Redmi 9 system functions (such as Wi-Fi or brightness)?
Alice can do it, partly: πŸ”Š Manage media volume and alarm clocks. πŸ“Ά Turn on/off Wi-Fi and Bluetooth (requires permission in the application settings). πŸ”¦ She can't run a flashlight: ❌ Change system settings MIUI (For example, energy saving or theme of design). ❌ Control screen resolution or refresh rate. Advanced control will require Tasker or applications like MacroDroid.