Xiaomi Mi Key: Hidden button features you didn't use

Have you ever noticed a small circular button on your Xiaomi smartphone with the Mi logo โ€” usually on the left side? โ€” that is the Mi Key, which many users donโ€™t even know exists, and that button can be a real Swiss knife for quick access to features if you set it up correctly.

In this article, we will not only explain what the Mi Key is, but also reveal all its hidden features, from standard features to little-known life hacks. You will learn how to reassign a button to your needs, why it sometimes doesnโ€™t work, and how to use it to control the Xiaomi smart home.

If you own a Redmi Note 12, POCO X5, Xiaomi 13T or any other model with this button, this article will help you unlock its potential 100%, even if you think you already know everything about your smartphone!

What is Mi Key and why is it needed?

The Mi Key is a hardware button that Xiaomi began installing on its smartphones in 2020, which looks like a small round or oval switch with the brand logo on the left side of the case, originally positioned as a quick way to call the voice assistant Xiao AI, but its functionality has expanded significantly over time.

Today, the Mi Key can perform up to 10 different actions, from launching the camera to activating the Do Not Disturb mode, while it can be customized to specific use cases: for example, one tap for a flashlight, double tap for a screenshot, and long hold for turning on Google Assistant, making the button a versatile tool that saves time in everyday tasks.

Fun fact: on some models (like the Redmi Note 11 Pro+), the Mi Key has a haptic recoil, which allows you to distinguish it from the volume buttons even blindly. And in the POCO lineup, this button is sometimes programmed to start the game mode by default.

  • ๐Ÿ” Where: On the left side of the smartphone, between the volume buttons and the SIM- card slot
  • ๐Ÿ“ฑ What models are available: Redmi Note 10/11/12, POCO X3/X4/X5, Xiaomi 11T/12T/13T, Mi 11 Lite, etc.
  • ๐Ÿ› ๏ธ Can I disable: Yes, you can deactivate the button completely in the settings
๐Ÿ“Š Have you used Mi Key on your Xiaomi?
Yes, I am actively using it.
I tried it, but it didn't come in handy.
I didn't know she existed.
I don't have that button.

Mi Key: What can be done out of the box

By default, Xiaomi offers a few basic Mi Key actions that you can choose without any additional settings. Here is the full list of standard features (available on MIUI 14 and later):

Type of pressingDefault actionAlternatives
Single tapLaunch of voice assistant Xiao AIFlashlight, screenshot, camera launch, app opening
Double-pushOpening of the last annexStarting Google Assistant, enabling Do Not Disturb mode
Long-term retentionActivation of Google AssistantLaunching Mi Remote, enabling mobile hotspot

The most useful feature out of the box is a quick double-press camera start, which is especially useful when you need to take a quick shot: instead of unlocking the screen and finding the camera icon, you just double-press the Mi Key, and the app opens immediately, and the camera starts even if the smartphone is locked โ€” this works on all models with MIUI 12.5 and later.

Another hidden possibility is that if you press the button for 3 seconds, it will trigger an emergency call menu (useful in emergencies) on some firmwares, but this feature is often disabled in global versions of MIUI.

โš ๏ธ Warning: On POCO smartphones, the standard Mi Key settings may differ โ€“ instead of Xiao AI, the default is often to launch the POCO Launcher game space.

How to reassign Mi Key: step-by-step instructions

If you don't like the standard features, you can completely reconfigure the button to suit your needs.

  1. Open Settings โ†’ Special Features โ†’ Physical buttons (on some firmwares, the path may be Settings โ†’ Additional โ†’ Mi button).
  2. Choose the type of pressing: single, double or long.
  3. In the list of available actions, select the right one or click Other Applications to assign the launch of a specific program.
  4. Save the changes โ€“ the button will work in a new way.

Among the non-obvious options for reassignment:

  • ๐Ÿ”ฆ Flashlight: one press is on, the second is off (comfortable at night)
  • ๐Ÿ“ธ Serial shooting: Double pressing triggers the camera in serial shooting mode
  • ๐Ÿ”‡ Do Not Disturb Mode: Long-term retention activates silent mode
  • ๐ŸŽฎ Game Mode: One tap opens Game Turbo (useful for gamers)

Select the type of pressing (single/double/long-term)|Check the list of available actions|If necessary, appoint the launch of a third-party application|Testing the new setting in real-world conditions-->

For advanced users, there is a way to assign their own commands to the button via ADB. For example, you can program a script to run or send a USSD- request.

adb shell settings put global mi_key_single_press 123


adb shell settings put global mi_key_single_press_app com.example.app

Where 123 is the action code and com.example.app is the batch name of the application.

โš ๏ธ Warning: After the MIUI update, the Mi Key custom settings may be reset to factory settings. It is recommended to back up the settings via Settings โ†’ System โ†’ Backup.

Mi Key and Smart Home: Xiaomi Device Management

One of the most useful features of the Mi Key is the ability to control Xiaomi smart devices without unlocking the smartphone.

  1. Make sure that the smartphone has the Mi Home app installed and all devices are added to it.
  2. In the Mi Key settings, select Smart Home Management (available on MIUI 13 and later).
  3. Assign a specific device or script to a single/double press.

Examples of useful scenarios:

  • ๐Ÿ’ก Lights on: one tap โ€“ turns on the Yeelight lamp in the room
  • ๐Ÿšช Opening the door: double pressing โ€“ unlocks the smart lock Xiaomi Smart Door Lock
  • ๐ŸŒก๏ธ Home Mode: Long-term retention โ€“ activates the "I'm at home" scenario (turns on the heater, turns off the alarm)

An important nuance: to work this feature, the smartphone and smart devices must be connected to the same Wi-Fi network. If you use Mi Home over the cloud (manage from anywhere in the world), then Mi Key will work only if there is Internet.

๐Ÿ’ก

If you have multiple Xiaomi smart bulbs, you can assign different lamps to different types of pressing, such as single lamps for the kitchen, double lamps for the bedroom.

Common Mi Key Problems and Solutions

Despite its usefulness, the Mi Key sometimes doesn't work properly, and here are the most common problems and ways to fix them:

Problem.Possible causeDecision
The button does not respond to the pressingDisabled in settings or physical damageCheck Settings โ†’ Special features โ†’ Physical buttons. If it doesn't work, contact the service
Actions are triggered by accidentThe sensitivity of the button is too highReduce sensitivity in settings or reassign actions to double press
After the update, the settings were reset.Reset to factory parametersSet the button up again or restore the settings from the backup

If the Mi Key stopped working after the smartphone crashed, the problem is probably mechanical.

  1. Reboot your phone (sometimes helps with software failures).
  2. Check if the button connector is clogged with dust (clean the toothpick carefully).
  3. Reset the button settings to factory via Settings โ†’ System โ†’ Resetting the settings โ†’ Resetting the button settings.
What do you do if the Mi Key is stuck?
If the button is physically stuck (for example, after getting a liquid), do not try to squeeze it by force. It is better to immediately take the phone to the service center, as self-repair attempts can damage the plume.

On some firmware (especially custom ones), the Mi Key can conflict with other gestures, for example, if you have Double-press to wake up, it can interfere with the button, in which case you have to choose one or adjust the exceptions.

Hidden opportunities: what else can Mi Key

Besides the obvious features, the Mi Key has a few hidden features that few people know about:

  1. Hidden menus: On some models (Redmi Note 11 Pro+), triple tap opens the engineering menu for testing equipment.
  2. Quick switching of SIM- cards: You can assign a change to the button of the active SIM (useful for dual-sim phones).
  3. Activation of In-Pack mode: Prolonged retention can lock the screen and turn off sensors to avoid accidental taps.
  4. Tasker Scripts Run: You can link a button to Tasker tasks via ADB (e.g., automatically turning on a VPN when you connect to a particular network).

Another interesting life hack: if you set the Mi Remote app to run on the Mi Key, the button turns into a universal remote for controlling a TV, air conditioner or other infrared devices, and you don't even need to unlock the phone, you just press a button and point the smartphone at the equipment.

For developers, you can use Mi Key in your applications through the Xiaomi Open API, which allows you to create unique interaction scenarios, for example, you can make one click open your enterprise application, and double click to launch a specific report.

๐Ÿ’ก

The Mi Key can completely replace the power button on some Xiaomi models if you set it up correctly, which is especially useful if the main power button fails.

Mi Key vs. Google Assistant Button: What's the difference?

Many people confuse the Mi Key with the Google Assistant button, which is available on some smartphones (for example, on the Pixel).

CharacteristicsMi Key (Xiaomi)Google Assistant Button
ManufacturerOnly on Xiaomi/Redmi/POCO devicesOn smartphones of different brands (for example, Nokia, Pixel)
FunctionalityMultitasking (any action can be assigned)Just a voice assistant call.
Setting upDeep Customization through MIUILimited settings (usually sensitivity only)
Working without the InternetYes (e.g. flashlight or camera launch)No (connection required for assistant work)

The Mi Keyโ€™s main advantage is flexibility. While the Google Assistant button is tightly tied to one action, Xiaomiโ€™s button can perform dozens of different tasks, and the Mi Key works even on a locked screen, making it more versatile.

However, there is a drawback: on some firmware (especially global ones), the functionality of the Mi Key can be reduced, for example, in European versions of MIUI, it is sometimes impossible to assign an arbitrary application to the button.

FAQ: Frequent questions about Mi Key

Can I turn off the Mi Key completely if it interferes?
Yes, for that, go to Settings โ†’ Special Features โ†’ Physical buttons and select Disable for all types of clicks. The button will stop responding to the presses, but will physically stay in place.
Why is Mi Key not working after the MIUI update?
This is a common problem โ€” after major updates, the settings can be reset. Try reconfiguring it. If that doesn't help, reset the settings through Settings โ†’ System โ†’ Reset the settings โ†’ Reset the buttons.
Can I use Mi Key to manage smart devices from other brands (not Xiaomi)?
Theoretically, yes, but with reservations, it requires that the device support integration via Google Home or IFTTT, which will be more difficult to set up than native Xiaomi devices.
Is there a Mi Key on Xiaomiโ€™s flagship models (like the Xiaomi 14)?
Starting with Xiaomi 13 and newer, the company is gradually abandoning the physical Mi Key button in favor of software gestures, but in some markets (such as India), the button can be saved even on flagships.
Can I reassign Mi Key to run an arbitrary command via ADB?
Yes, but this requires developer rights and knowledge of ADB commands. For example, to assign a single-click script launch, use: adb shell settings put global mi_key_single_press 130 adb shell start am -a android.intent.action.VIEW -d "Your team" Be careful - the wrong commands can disrupt the system.