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.
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:
- 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.
- 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.
- Clear the Google Services cache. Go to Settings β Apps β App Management β Google, click Storage β Clear the cache.
- 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:
- Connect your smartphone to your computer and confirm the debugging permission on the phone screen.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter the command to check the connection: Adb devices must appear serial number of your Redmi 9.
- Use the command to unlock hidden assistant settings: adb shell settings put secure assistant "com.yandex.browser/ru.yandex.voiceassistant.ui.AssistantActivity"
- 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.AssistantSettingsActivityWhat if the ADB canβt see the device?
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:
- Download and install Button Mapper from Google Play.
- Open the application and give it access to Special Opportunities (necessary to intercept clicks).
- Select the button you want to reassign (such as Long Click on Home).
- In the action list, find the Application Launch and indicate the path to Yandex Alice: com.yandex.browser/ru.yandex.voiceassistant.ui.AssistantActivity
- 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:
- Unlock the Redmi 9 bootloader through the official Mi Unlock Tool (instructions on the Xiaomi website).
- Install Magisk to obtain root rights.
- Download and install Titanium Backup or Root Explorer.
- Go to /system/priv-app/Velvet and rename the Velvet.apk file (that is Google Assistant) to Velvet.bak.
- 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.
| Method | Need root? | Stability | Difficulty | Limitations |
|---|---|---|---|---|
| ADB-team | β No. | ββββ | Medium | May 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:
- Install Tasker and AutoInput from Google Play.
- Create a new profile in Tasker with condition β Gesture β Long press on the home button.
- Add action Plugin β AutoInput β Press Simulation and specify the coordinates of Aliceβs launch (can be found via AutoInput Query).
- 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:
- Reinstall the Yandex application.
- Clear the cache and application data in Settings β Applications β Yandex β Storage.
- 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.