How to change the bottom buttons on Xiaomi smartphones: all the ways to MIUI and AOSP

The bottom navigation bar on Xiaomi smartphones is one of the most talked-about interface details. Some are used to the classic Back, Home and Recent buttons, others prefer gesture control, and still others want to reassign actions to their tasks. In this article, we will analyze all possible ways to change the bottom buttons on Xiaomi, Redmi devices, POCO Black Shark โ€“ from standard settings MIUI Up to hidden functions and third-party utilities.

The problem is that the manufacturer often limits the flexibility of the setting, especially on budget models. For example, on the Redmi Note 12 you can not swap buttons without additional manipulation, and on the Xiaomi 13 Ultra with a different set of keys. MIUI 15 some of the options are hidden in the developer, and we tested all the methods on the actual firmware (2026) and identified those that work consistently.

If you want not just to change the order of the buttons, but to completely redefine their functionality (for example, double-click on Home to start the camera or long-term retention for a voice assistant), solutions using the use of voice assistant will be useful. ADB Or apps like Button Mapper, but everything in order.

1. MIUI Standard Settings: What You Can Change Without Root

Starting with MIUI 12, Xiaomi added basic customization options to the bottom panel, but their functionality depends on the firmware version and the device model":

The path to settings: Settings โ†’ Display. โ†’ Full-screen display โ†’ Type of navigation

Here you will see three options:

  • ๐Ÿ“ฑ Navigation buttons โ€“ classic three buttons (you can change order).
  • ๐Ÿ‘† Gesture management MIUI โ€” Swipes instead of buttons (configured separately).
  • ๐Ÿ”„ Android Gestures โ€“ Googleโ€™s Standard Gestures (not available on all models).

If you select Navigation Buttons, you will see the option "Back button location" where you can swap "Back" and "Recent" (left/right position) on some devices (e.g, POCO F5) There is also a "Show the menu button" switch, which adds a fourth button to call the context menu in the applications.

โš ๏ธ Note: On the Black Shark and some Redmi models with custom firmware, this section may not be available. ADB third-party.

Also in Settings โ†’ Additionally. โ†’ Special facilities โ†’ System navigation sometimes hides the option "Duration of pressing" - it allows you to configure the delay of the buttons (useful if you accidentally activate the wrong actions).

๐Ÿ“Š What navigation you use on Xiaomi?
Classic buttons
MIUI gestures
Android gestures
Other

2. Reassign buttons through developer modes

Hidden settings MIUI They allow you to extend customization, but you need to activate them with "Developer Mode." Here's how to do it:

Steps to include:

  1. Open the Settings. โ†’ The phone.
  2. Find the line "Version" MIUI" And tap it 7 times in a row.
  3. Enter a password/pattern lock if required.
  4. Return to the main settings menu and a new section for developers will appear.

Now we move on to Settings. โ†’ For developers and looking for the following options:

  • ๐Ÿ”ง "Showing the presses" - visualizes touches (useful for debugging).
  • ๐Ÿ”„ "Transition animation โ€“ affects the speed of button reaction.
  • ๐ŸŽฏ "Debugging by USB" โ€” need to work with ADB (below).
  • ๐Ÿ”‘ "Unlocking OEM" โ€” required for some modifications (cautiously, may reset data!).

Unfortunately, in standard developer mode, Xiaomi does not provide a direct option for reassigning buttons. However, here you can turn off animations, which will speed up the response to clicks, or turn on "Fictitious location" for gesture testing.

๐Ÿ’ก

If the developer menu does not have the necessary options, update the firmware to the latest version. MIUI 15 there are additional settings for gesture control.

3.Use of ADB deep-customize

ADB (Android Debug Bridge is a tool for interacting with an Android device via a computer, which can change system settings, including reassigning buttons. The method works on most Xiaomi models, but requires a PC connection.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/macOS/Linux.
  • ๐Ÿ”Œ Cable USB (preferably original).
  • ๐Ÿ“ฅ Installed drivers Xiaomi and ADB Tools.

Step-by-step:

  1. Download Googleโ€™s Platform Tools and unpack the archive.
  2. Turn on the phone "Debugging by" USB" (Settings โ†’ For developers).
  3. Connect your smartphone to your PC and type in the command line: adb devices (the name of your device should appear).
  4. Use the following commands: adb shell settings put secure sysui_nav_bar "Space,back;home;recent: Where back, home, recent are button identifiers.

Examples of commands for popular configurations:

PurposeADB Team TeamNote
Switch back and recent.adb shell settings put secure sysui_nav_bar "space,recent;home;back"It works at MIUI 14+.
Remove the "Menu" button.adb shell settings put secure sysui_nav_bar "space,back;home;recent,menu"Some models require a reboot.
Add a long click on "Home" for Google Assistantadb shell settings put secure assistant "com.google.android.googlequicksearchbox"Requires an installed Google Assistant

โš ๏ธ Attention: Wrong commands ADB This can cause buttons to lose functionality or the interface to freeze!

โ˜‘๏ธ Preparation for work with ADB

Done: 0 / 4

4. Third-party applications for button reassignment

If standard methods don't work, Google Play apps come to the rescue, allowing you to reassign not only the bottom buttons, but also hardware keys (such as volume control).

1. Button Mapper (No Root)

  • ๐Ÿ”„ Reassign any buttons (including Bixby on some models).
  • ๐ŸŽฏ Support for long taps and double taps.
  • โš ๏ธ Requires permission for special opportunities.

2. NavStar (for gesture control)

  • ๐Ÿ‘† Customization of swipes (for example, swipe up to run an application).
  • ๐ŸŽจ Changes in color and transparency of the navigation panel.
  • ๐Ÿ”’ It works without root, but some functions are paid.

3. Tasker + AutoInput (Advanced Automation)

  • ๐Ÿค– Creating complex scripts (for example, running a script while holding a button).
  • ๐Ÿ“ฑ Integration with other applications.
  • โš™๏ธ Requires customization and knowledge of the basics of automation.

Instructions for Button Mapper:

  1. Install the app from Google Play.
  2. Launch and provide access to "Special Features" (Settings) โ†’ Special opportunities โ†’ Button Mapper).
  3. Select a button to reassign (for example, "Back").
  4. Assign a new action: launch the application, simulate clicking, call the menu, etc.
What to do if the Button Mapper is not working?
Make sure that the security settings allow you to run from unknown sources, and check if the application blocks an antivirus or an optimizer (such as Xiaomiโ€™s Security).

5. Features for specific Xiaomi models

Some Xiaomi devices have unique nuances when setting buttons. We collected data from popular series:

Redmi Note 11/12/13 and POCO X5/F5:

  • ๐Ÿ”„ Nana MIUI 14 The option "Show the menu button" is available in the navigation settings.

Xiaomi 12/13/14 Mix Fold 2/3:

    Black Shark 5/6 (gaming-smartphone):

    • ๐ŸŽฎ There is a proprietary application "Shark Space", where you can configure side triggers.

    Table of method compatibility:

    ModelStandard settingsADBButton MapperRoot access
    Redmi Note 12โœ… (limitedly)โœ…โœ…โŒ
    Xiaomi 13 Proโœ…โœ…โœ…โš ๏ธ (partly)
    POCO F4 GTโŒโœ…โœ…โœ…
    Black Shark 6 Proโœ… (playful)โœ…โŒโœ…

    ๐Ÿ’ก

    On Black Shark gaming smartphones, it is better to use branded tools, not universal applications - they are optimized for high loads.

    6 Risks and how to avoid them

    Reassigning buttons is a seemingly harmless procedure, but it can have unexpected consequences. Here are the main risks and ways to minimize them:

    1. Loss of button functionality

    • ๐Ÿ”ง Reason: Wrong commands ADB application conflict.
    • ๐Ÿ› ๏ธ Solution: Reset navigation settings through Settings โ†’ Annexes โ†’ Application management โ†’ System setup โ†’ Warehouse โ†’ Clear the data.

    2. Interface freeze

    • ๐Ÿ”„ Reason: Conflict between gesture control and classic buttons.
    • ๐Ÿ“ฑ Solution: Reboot your phone in Safe Mode (hold the power button) โ†’ "Restarting in Safe Mode").

    3. Reset settings after the update

    • ๐Ÿ”„ Reason: Xiaomi resets customization with major updates.

    โš ๏ธ Note: On Bootloader Unlocked devices, button reassignment may conflict with custom firmware. ROM return the standard settings!

    Checklist before experiments:

    โ˜‘๏ธ Safety when changing buttons

    Done: 0 / 4

    7. Alternative methods: gesture control and virtual buttons

    If you don't like physical buttons, consider switching to gesture controls or virtual panels, and here are the pros and cons:

    Gestures MIUI:

    • โœ… Quick access to multitasking swipe up.
    • โœ… Screen space is being released.
    • โŒ It requires getting used to (especially swipe back).

    Android Gestures (Google):

    • โœ… More intuitive for users of other brands.
    • โœ… Supports a โ€œreverse swipeโ€ for return.
    • โŒ On some models, Xiaomi works with lags.

    Virtual buttons (via applications):

    • ๐ŸŽฏ Apps like Floating Touch or Edge Gestures add floating panels.
    • โš™๏ธ Transparency, size and actions can be customized.
    • โš ๏ธ Increase battery consumption.

    How to turn on gestures MIUI:

    1. Go to Settings. โ†’ Display. โ†’ Full-screen display โ†’ Type of navigation.
    2. Select "Gestural control" MIUI".
    3. In the "Gestural settings" section, adjust the sensitivity of swipes.

    Comparison of methods:

    MethodConvenienceSpeed.CompatibilityBattery
    Classic buttonsโญโญโญโญโญโญโญโญโญโญโญโญโญโญโญโญโญโญ
    MIUI gesturesโญโญโญโญโญโญโญโญโญโญโญโญโญโญโญ
    Android gesturesโญโญโญโญโญโญโญโญโญโญโญโญโญโญ
    Virtual buttonsโญโญโญโญโญโญโญโญโญโญโญ

    FAQ: Frequent questions about changing buttons on Xiaomi

    Can I change the buttons to Xiaomi without a computer?
    Yes, but with limitations. MIUI You can only swap "back" and "recent" places. For deep customization (for example, assigning an application to run for a long press), you will need either ADB (requires a PC), or applications like Button Mapper (work without a PC, but you need special features rights).
    Why did the button settings reset after the MIUI update?
    Xiaomi often resets custom navigation settings with major firmware updates.This is due to a change in system settings. To avoid a problem, save the commands used. ADB to a text file or take screenshots of the Button Mapper settings. After the update, repeat the reassignment procedure.
    How to return the standard buttons if they disappeared after experiments?
    If the buttons stop showing or are not working correctly: Restart the phone. If it does not help, reset the system settings: Settings โ†’ Annexes โ†’ Application management โ†’ System setup โ†’ Warehouse โ†’ Clear the data. For last resort: reset to factory settings (data will be deleted!).
    Can I reassign hardware buttons (volume, power) to Xiaomi?
    Yes, but with reservations: Volume buttons can be reassigned via Button Mapper or Tasker (like making a long press to start a flashlight). The power button is harder to change โ€” you need root access or custom firmware. On Black Shark, hardware triggers are configured through Shark Space's proprietary software.
    Are these methods working on POCO global-fixed?
    Yes, but there are nuances: POCO global MIUI (for example, POCO X5 Pro) all of the methods described work in the same way as on Xiaomi. On custom firmware devices (for example, Pixel Experience), the button settings may differ - use the parameters of the firmware itself or ADB. In some models POCO (for example, POCO F1) There's a gesture-controlled bug, and when you reassign the buttons, the notification panel may disappear. MIUI 12 or use Button Mapper.