Navigation buttons at the bottom of the Xiaomi Redmi screen are one of the most talked-about topics among smartphone owners of the brand. β Home. β Recent" isn't always convenient, especially for left-handed people or users accustomed to alternative staging on other Android devices, MIUI Offers several ways to reassign buttons, including hidden settings and developer tools.
In this article, we will analyze all current methods - from built-in functions to use. ADB-You'll learn how to swap buttons on Redmi Note. 10/11/12, Redmi 9/10 and other models that work on MIUI 12, 13 or 14. Particular attention will be paid to the nuances for devices with gesture control and without root access (root).
Before you start, check your firmware version in Settings β About Phone β MIUI version. Some methods may not work on custom firmware or beta versions of the software. Also note that on models with hardware buttons (for example, Redmi 4X), reassignment is software impossible β you will need physical modification.
1. Method: Built-in MIUI settings (for gesture control)
If your Xiaomi Redmi runs on MIUI 12 and later with gestures enabled, the easiest way to change buttons is to use the built-in system options.This method does not require superuser rights and is suitable for most modern models, including the Redmi Note 11 Pro+ and Redmi K50.
Instructions:
- π± Open the Settings. β Display.
- π Scroll down and select a full-screen display.
- π In the Navigation Type section, click Navigation buttons (if you use gestures, switch to buttons first).
- π Slap the icon. βοΈ (Additionally) next to the button option.
- π Select the reverse order of the buttons (Back) β Home. β Recent changes to Recent β Home. β Back up).
If you don't have the option Backorder, your model doesn't support this function through the standard menu, so move on to the following.
2. Method: ADB-teams (without root)
For devices where the built-in option is not available, you can use Android Debug Bridge (ADB). This method works on all versions of MIUI and does not require root rights, but requires connecting the smartphone to the computer. Importantly, after completing the commands, the buttons will reset to standard order when resetting settings or updating the firmware.
Step-by-step:
- Download and install ADB Tools on PC.
- Turn on the smartphone Developer Mode (7 times tap the version of MIUI in Settings β About phone).
- Activate Debugging by USB in Settings β Additional β For developers.
- Connect Redmi to your computer and confirm the debugging permission.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
Enter a command to check the connection:
adb devicesIf the device is displayed, do:
adb shell settings put secure sysui_nav_bar "space,recent,home,back,space"To return to standard order:
adb shell settings put secure sysui_nav_bar "space,back,home,recent,space"Download ADB Tools on PC
Enable the developer mode on Xiaomi
Activate debugging over USB
Connect the phone to the computer
Check the connection of the adb device team-->
If the buttons have not changed after the commands are executed, restart the device. Some firmware may require an additional command:
adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGSMethod 3: Applications for button reassignment
If previous methods didn't work, you can use third-party utilities, and we tested several apps and selected the most reliable ones for Xiaomi Redmi:
| Annex | Need root? | Support for MIUI | Reference |
|---|---|---|---|
| Button Mapper | β No. | β Yes (limitedly) | Google Play |
| NavBar Apps | β No. | β Yes (MIUI 12+) | Google Play |
| Xposed Edge | β Yes. | β All versions. | Xposed Repo |
For the use of Button Mapper:
- Install the app from Google Play.
- Grant permission for Special Features (in your phone settings).
- Select the Navigation Bar in the app menu.
- Slip the button you want to reassign and select a new action.
π‘
If the app doesnβt see the navigation bar, try temporarily disabling gesture control in the MIUI settings.
Limitations:
- π« Nana MIUI 14 Some applications may not work due to changes in security policies.
- π After the system update, reconfiguration may be required.
- β οΈ Applications without root cannot completely replace system buttons, but only emulate them.
Method: Editing system files (root only)
If your Xiaomi Redmi has superuser rights, you can manually edit the system files that are responsible for the location of the buttons. This method provides maximum flexibility, but requires caution - incorrect changes can lead to a bootloop.
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /system/usr/keylayout.
- Find the Generic.kl file (or qwerty.kl for some models).
- Copy the file to internal memory for backup.
- Open the original file in the text editor.
Find the lines:
key 139 MENU WAKE_DROPPED
key 158 BACK WAKE
key 172 HOME WAKE_DROPPED
key 219 APP_SWITCH WAKE_DROPPEDChange seats. BACK (158) and APP_SWITCH (219), key-number:
key 139 MENU WAKE_DROPPED
key 158 APP_SWITCH WAKE
key 172 HOME WAKE_DROPPED
key 219 BACK WAKE_DROPPEDSave the file, set resolutions 644 (rw-r--r---) and restart the device.
What if the phone doesnβt turn on after editing?
5. Method: Castom firmware (for advanced users)
If standard methods don't work, you can install custom firmware with flexible navigation settings.
- π± LineageOS β supports button reassignment through Settings β System system β Gestures.
- π§ Pixel Experience β offers a navigation bar setup as on Google Pixel.
- β‘ Havoc-OS β includes advanced options for buttons and gestures.
Installation process:
- Unlock the bootloader through the Mi Unlock Tool.
- Install custom recovery (such as TWRP).
- Download the firmware from the official website (for example, LineageOS).
- Sweat through recovery, having previously made a backup.
π‘
Custom firmware gives you maximum customization freedom, but it is not warranty and can contain bugs. Check compatibility with your Redmi model before installing.
After installation, go to Settings β System β Buttons and select the desired order. In some firmware, you can even set up a double tap or long press buttons.
6. Frequent problems and solutions
When reassigning buttons to Xiaomi Redmi, users experience common errors, and hereβs how to avoid or fix them:
β οΈ Note: If after use ADB-The buttons are gone, reset the navigation bar: adb shell settings delete secure sysui_nav_bar Then restart the device.
| Problem. | Reason. | Decision |
|---|---|---|
| The buttons don't change after ADB-team | System cache not updated | Adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS or reboot the phone. |
| Button Mapper app is not working. | MIUI limitations for special features | Turn off gesture control in the settings and re-set the settings |
| After editing Generic.kl, the phone does not turn on | Syntactic error in the file | Restore the file via TWRP or ADB (see spoiler above) |
| Buttons are reset after the update | System settings are overwritten | Repeat the setting or use Tasker to automatically apply commands after the update |
If none of the methods worked, check:
- π Compatibility of your Redmi model with the selected method (e.g. Redmi) 7A does not support reassignment through ADB).
- π The relevance of firmware (in beta versions) MIUI It could be bugs).
- π οΈ Conflicting applications (e.g. launchers like Nova Launcher sometimes block system buttons).