Buttons on Xiaomi smartphones are not just controls, but keys to the user-friendliness of the device: from physical on/lock keys to touch areas on the screen, each of them can be reassigned to your needs. But what if the button stops working? Or how to activate hidden functions that are not talked about in the standard manual?
In this article, we will analyze all the ways to configure buttons on Xiaomi, Redmi and other devices. POCO β From basic changes to the Settings menu to deep modifications through the engineering menu, you'll learn how to return dead keys to work, reassign the functions of touch-sensitive navigation buttons, and even add hidden gestures to quickly access applications. IR-port, then you will find instructions for setting the buttons of the remote control directly in the smartphone.
The material is relevant for devices on MIUI 14/15 And HyperOS, but most of the methods work on older versions of the firmware!
1. Standard ways to adjust buttons in MIUI
To start with, the simplest of them all are built-in options that are available without superuser rights, and even if you've never delved into Xiaomi's settings, these features will help make device management more intuitive.
The main button parameters are hidden in the Settings menu β Display. β Navigation buttons (for models with physical keys, the path may be different: Settings) β System system β Gestures. You can do this:
- π Change the order of the navigation buttons (for example, change the places "Back" and "Recent").
- π― Activate gestures instead of classic buttons (full screen control).
- β‘ Configure the sensitivity of touch keys (relevant for devices with AMOLED-screen).
- π Turn off vibration when pressed (useful for battery saving).
On models with physical buttons (for example, Xiaomi Mi). A2 or Redmi Note 7 in the Settings menu β System system β Additional buttons available for additional options:
- π Locking the power button in your pocket (protection against accidental pressing).
- π± Double tap to start the camera (even on a locked screen).
- π Disabling the power button when connecting the charging (prevents wear of the mechanism).
It's important! On some models, for example, POCO F5) The path to button settings may be different. If you don't find the right section, search Settings for "buttons" or "gestures".
β οΈ Attention: Changing the sensitivity of touch buttons to the maximum value can lead to false positives when touching the screen with the palm of your hand β 70-80% scale-up.
2. Reassign buttons without root rights
If built-in options aren't enough, you can go further by reassigning button functions with third-party apps, which is true, for example, if you want to:
- π΅ Run the player by double pressing the volume button.
- πΈ Take a screenshot with one click of the power button.
- π¦ Turn on the flashlight by holding the lock button.
This will be done with the following annexes:
| Annex | Functions | Compatibility | Limitations |
|---|---|---|---|
| Button Mapper | Reassign physical and touch buttons, create gestures | MIUI 12+ | It doesnβt work for some models. POCO hyperOS |
| SecondScreen | Adding virtual buttons to the screen | All versions of MIUI | Requires permission to impose |
| Volume Button Controller | Control media and camera through volume buttons | Android 10+ | Doesn't support gestures. |
Letβs look at the Button Mapper example:
- Download the app from Google Play.
- Grant permission for Special Access (in Android settings).
- Select a button to reassign (such as the volume button).
- Assign Action: Launch the Application, Gesture or Command ADB.
- Save the settings and restart the device.
Enable debugging over USB in the developer settings |
Provide Button Mapper with access to special features|
Disable battery optimization for the application|
Reboot the smartphone after settings-->
HyperOS models (such as Xiaomi 14) may require additional permission via the ADB. To do this, connect the phone to the PC and execute the command:
adb shell pm grant flar2.homebutton android.permission.WRITE_SECURE_SETTINGSβ οΈ Warning: Reassigning the emergency call button (e.g., triple power tap) may disrupt emergency services!
3. Customize buttons via the engineering menu (#4636###)
The engineering menu is a hidden settings section that allows you to test the hardware components of a smartphone, including buttons, and access it through a secret code:
- Open the Phone app.
- Enter the combination: ##4636###.
- Go to the Hardware Testing section (on some models β Device Testing).
- Choose Buttons or Key Test.
Here you will see a list of all the physical buttons of the device and their current status:
- π’ Green β The button works correctly.
- π΄ Red color β the button does not respond to pressing.
- π‘ Yellow β the button is triggered with a delay (possible wear of contacts).
What if the button is not specified in the engineering menu?
In the engineering menu, you can also calibrate buttons if they are too sensitive or require a strong press.
- Press the button on the list.
- Follow the instructions on the screen (usually you need to press the button). 5-10 once).
- Save calibration and restart the device.
On some models (for example, Redmi Note 10 Pro) in the engineering menu is available Key Backlight option β here you can configure the backlight of touch buttons (brightness and timeout).
Repair of broken buttons: from cleaning to replacement
If the button stops working, don't rush to bring the phone to the service. In 60% of cases, the problem can be fixed yourself.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| The button doesn't press or "stick" | Getting dust/dirty under the key | Cleaning with alcohol and compressed air |
| The button works again. | Wear of the contact area | Replacement of a button or plume |
| The button works, but without clicking. | Broken spring (mechanism) | Replacement of the assembled button |
| The lock button turns on/off the screen itself | Problems with the power circuit | Diagnostics at the service center |
Step-by-step instructions for cleaning buttons:
- Turn off your smartphone and remove it. SIM-map.
- With a plastic shoulder blade, gently slap the button (start at the corner).
- Remove the dust with a dry brush or compressed air.
- Wipe the contacts with isopropyl alcohol (at least 90%).
- Let me dry. 10-15 minutes and collect the button back.
π‘
If the power button stopped working after the fall, do not try to disassemble the phone yourself - in 90% of cases, the problem lies in the disconnected motherboard plume.
To replace the button, you will need:
- π§ Set of screwdrivers (star) T3-T5).
- π§² Magnetic screw mat.
- π₯ Hair dryer or adhesive heating station (for models with adhesive casing).
- π οΈ New button (only order the original part for your model!).
YouTube has detailed video demos for popular Xiaomi models, such as the Redmi Note 9 Pro, which takes a lot of time to change the power button. ~20 minutes:
The Redmi Note 9 Pro power button replacement guideβ οΈ Note: When disassembling phones from IP-With certification (e.g. Xiaomi 13 Pro) you risk losing water and dust protection. After repair, it is recommended to check the leakproofness with a waterproof test (immerse the device in water for 30 seconds without any water. SIM-map).
5. Customization of the DU remote buttons (IR-blaster)
Many Xiaomi and Redmi smartphones are equipped with an infrared port (IR-It's a blaster that allows you to control your appliances, but what you don't know is that you can reassign your remote buttons and create custom scenarios.
First, check if there is any IR-port:
- π± Xiaomi Mi 11, Mi 10, Mi 9 β there.
- π± Redmi Note 11 Pro+, Note 10 Pro - there.
- π± POCO F4, POCO X5 Pro - no.
If the port is present, install the official Mi Remote app (available from the App Store for HyperOS).
- Open Mi Remote and add a new device (like a TV).
- Choose a brand of technology from the list (if you donβt have one, try Universal).
- Test the buttons β if some donβt work, click Edit the remote.
- In the editing menu you can: π Change the buttons (for example, make the button "Up" instead of "Up"). β Add new commands (e.g. launch Netflix* on the TV). ποΈ Remove unnecessary buttons (to avoid confusion).
For advanced users, you can create macros, which are sequences of commands, for example, a single button can:
6. Hidden button features on Xiaomi
The manufacturer hides some button features that can be activated through the developerβs settings or ADB-Here are the most useful ones:
1. Quick launch of Google Assistant
On models with HyperOS, you can configure the start of the voice assistant by holding the Power button:
- Activate Developer Settings (click 7 times on Version) MIUI at the Settings β The phone).
- Go to Settings β Additional β For developers.
- Find the Power button Hold option and select Google Assistant.
2. Double press to turn on the screen
On some models (e.g. Xiaomi) 12T) You can turn on the screen by double pressing the volume button:
adb shell settings put global double_tap_power_gesture 13. Touch gestures on volume buttons
With Button Mapper (mentioned earlier), you can assign swipes to the volume buttons:
- π Swipe up - deploy the notification panel.
- π Swipe down - open the Quick Settings Panel.
- βοΈ Double swipe - start the camera.
4. Lock button as satellite key
On HyperOS devices, the power button can be used to quickly switch between applications:
- Activate Settings β System system β Gestures β Power button.
- Enable the option of Double-click for the last application.
How to return the standard button functions after experiments?
7. Frequent problems and their solutions
Even after you set it right, the buttons can crash, and we'll look at the typical situations and the ways to fix them.
Problem 1: Volume button doesnβt regulate sound in apps
Decision:
- Check if the button is assigned to another action via Button Mapper.
- Disable Separate Media and Call Management in Settings β Sound.
- Update an app that doesnβt have adjustments (like YouTube or Spotify).
Problem 2: The power button turns on the screen, but does not block it
Decision:
- Check if the option is activated Double tap to wake up in Settings β Lock screen.
- Calibrate the button through the engineering menu (section 3 of the article).
- If the problem remains, replace the button (the micro-switch may wear).
Problem 3: Touch navigation buttons are missing after the update
Decision:
- Go to Settings. β Display. β Navigation buttons and select Three buttons.
- If the option is inactive, reset settings through Settings. β System system β Resetting settings β Resetting interface settings.
- HyperOS may require a rollback to a previous firmware version (if the bug is confirmed on forums).
Problem 4: The remote control buttons stopped working
Decision:
- Check if it's closed. IR-harbour.
- Update the Mi Remote app to the latest version.
- Reboot your smartphone β sometimes IR-The module "hangs" after long-term use.
- If nothing works, test the port with the command: adb shell dumpsys sensorservice | grep -i "If the answer does not contain a line with IR Blaster, the module is faulty.
π‘
After the update MIUI missing button functions, try to clear the cache of system applications: go to Settings β Annexes β Application management β Three points. β Show system-based β Find the System Interface and clear the cache.