Include virtual buttons on Xiaomi: 4 proven ways (MIUI 12-14)

Virtual buttons on Xiaomi smartphones are a software alternative to physical or touch navigation keys, appearing on the screen as a transparent bar with the Back, Home and Recent buttons (or Review) buttons, which is especially useful if the hardware buttons are out of order, the screen occupies the entire facade of the device (as in the Mi Mix or Redmi Note 12 Pro+ models), or you just prefer gesture control.

In this article, you will find 4 working methods for activating virtual buttons, from standard MIUI settings to hidden commands via ADB. We will also discuss why buttons can suddenly disappear and how to return them without reset to factory settings. All instructions are relevant for MIUI 12-14 firmware and models from Redmi 9 to Xiaomi 14 Ultra.

If your smartphone supports gestures, virtual buttons can be hidden by default, and it can take less than a minute to turn them on, but in some cases, you'll need to connect to your computer, and let's start with the simplest way.

1. Enabling virtual buttons through MIUI settings

The most obvious and safe method is to use built-in system options, which is suitable for 90% of Xiaomi models, except for devices with a pure gesture interface (for example, the POCO F5 or Xiaomi 13T Pro in Full Screen Gestures mode).

To activate the virtual panel:

  1. Open the Settings app (cog icon).
  2. Go to the Screen section.
  3. Select Full Screen Mode or Screen Style (name depends on MIUI version).
  4. Slip the navigation buttons (may be called Virtual buttons).
  5. Select the button option (not "Gests"!).

Then you'll see a three-button bar at the bottom of the screen, and if you don't have Navigation Buttons on the menu, your model uses gestures only, and then you'll move on to the next one.

πŸ“Š Which navigation system do you prefer?
Virtual buttons
Gesture management
Physical buttons
I don't know.

Activation through β€œDevelopers Mode”

On some firmware (especially custom or global versions of MIUI), the virtual button option is hidden, and you can unlock it through the developer menu.

First, turn on the developer mode:

  1. Open the Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row.
  3. You will be notified: You have become a developer.

Now go back to the main settings menu and do:

  1. Go to Settings β†’ Additional β†’ For Developers (or Advanced Settings β†’ Developer Mode).
  2. Scroll down and find the option of Virtual Navigation Buttons or Force Full Screen Display.
  3. Activate the switch and restart the device.

⚠️ Note: On some devices (e.g. Redmi Note 11 Pro) after activation of this mode, buttons may appear, but only work correctly after resetting the screen settings!

πŸ’‘

If the developer menu does not have a virtual button option, try to enter the β€œforce full screen” request in the settings search – sometimes the item is hidden under a different name.

3.Use of ADB-Teams (for experienced users)

If previous methods failed, virtual buttons can be forced to turn on via Android Debug Bridge (ADB), a method suitable for devices with locked bootloader and without root rights.

You'll need:

  • πŸ–₯️ Computer with Windows/macOS/Linux
  • πŸ“± USB-cable (preferably original)
  • πŸ› οΈ Installed Xiaomi drivers and package ADB Tools

Step-by-step:

  1. Download Google’s Platform Tools and unpack the archive.
  2. Turn on the smartphone debugging by USB (Settings β†’ For developers).
  3. Connect the phone to the PC and confirm the debugging permission.
  4. Open the command line (or Terminal) in the folder with the platform-tools.
  5. Enter the command: adb shell settings put global force_fsg_nav_bar 1
  6. Reset the device.

If the buttons don’t appear, try the alternative command:

adb shell cmd overlay enable com.android.internal.systemui.navbar.gestural

⚠️ Note: On some firmware (e.g. HyperOS), these commands can only work after shutting down. MIUI-To do this, do: adb shell settings put global miui_optimization_disabled 1

What if the ADB can’t see the device?
1. Make sure USB debugging is enabled. 2. Try another cable (not all support data transfer). 3. Install drivers manually through Device Manager (select "ADB Interface") 4. Reboot your PC and phone.

4. button recovery after crash or update

Sometimes virtual buttons disappear after updating MIUI or resetting settings, in which case resetting the screen settings without losing data will help:

Follow the following steps:

  1. Open Settings β†’ System β†’ Resetting settings.
  2. Select Reset Screen Settings (not to be confused with a full reset!).
  3. Confirm the action and wait for the reboot.

If that doesn’t work, check if the buttons are disabled by the system app. For example, on some POCO devices, the function is hidden in the Settings menu β†’ Special Features β†’ System Settings.

Problem.Possible causeDecision
There are buttons but do not respond to the presses.Conflict with shell (launcher)Install a standard MIUI launcher or reset its settings
The buttons disappear after the screen is blocked.Error in security settingsTurn off Smart Lock in Settings β†’ Lock screen
The buttons are too transparentDisplay settingsEnable "Show background buttons" in Settings β†’ Screen β†’ Navigation buttons
Buttons only appear in some applicationsImmersive display modeTurn off Full Screen Mode for problem apps in their settings

Check if the buttons are on in the screen settings |

Make sure that the gesture mode is not activated.|

Reboot the device |

Try another launcher (like Nova Launcher)-->

Alternative solutions: third-party applications

If the built-in methods didn't work, you can use third-party utilities to emulate virtual buttons.

  • πŸ“± Navigation Bar (from Navigation Bar) XDA Developers) – adds customizable panel with gesture support.
  • πŸŽ›οΈ Floating Soft Keys – Floating buttons that can be moved around the screen.
  • πŸ–₯️ Button Mapper – allows you to reassign hardware and virtual buttons.

These applications may require overlay permission (Settings β†’ Special Features β†’ Overlay permissions) and root access (for full functionality).

Important: Third-party apps may contain ads or collect data, install them only from official Google Play and check reviews.

6. Frequent mistakes and how to avoid them

When setting up virtual buttons, users often face typical problems, and here's how to prevent them:

  • ❌ Buttons don't appear after ADB-team β†’ Make sure the debugging is done USB It's enabled and the drivers are installed correctly. Try the adb device command to check the connection.
  • ❌ Buttons interfere with games β†’ Enable the "Game Turbo" mode (Settings) β†’ Special facilities β†’ Play settings) or use immersive mode.
  • ❌ Buttons are reset after the update β†’ It's a known problem. MIUI. After the update, re-configure the setting through ADB or screen settings.

If you use custom firmware (like LineageOS or Pixel Experience), virtual buttons may not work properly, in which case check your firmware settings or consult your build documentation.

πŸ’‘

On HyperOS devices (such as Xiaomi 14), virtual buttons can be removed from the firmware completely, in which case the only way out is to use third-party apps or roll back to MIUI.

Can you include virtual buttons on Xiaomi with gesture control (e.g. POCO F5)?
On most purely gesture models (e.g., POCO F5, Xiaomi 13 Pro), virtual buttons are disabled at the firmware level. They can only be returned via ADB or third-party applications, but this can lead to system glitches. Alternatively, use a launcher with a built-in navigation bar (e.g., Nova Launcher with a TeslaCoil module).
Why did the virtual buttons disappear in the full screen mode in the applications?
This is due to a conflict between navigation settings and immersive mode. To return full-screen display: Open Settings β†’ Apps β†’ App Management. Select a problematic app (like YouTube or a game). Tap Full-screen mode and select Hide navigation buttons.
How to change the order of the navigation buttons (for example, change the "back" and "recent")?
In the standard MIUI The order of the buttons is fixed, but it can be changed in two ways: ADB: Adb shell settings put global settings sysui_nav_bar "space,back;home;recent,space" (replace back and recent with reverse order locations) With the app: Install Button Mapper or NavStar (root required for full customization).
Virtual buttons work, but they're too transparent. How do you make them brighter?
Open the Settings. β†’ Screen. β†’ Navigation buttons and turn on the option to show the background of the buttons. If it is not, try changing the transparency through the ADB: adb shell settings put global navigation_bar_opacity 1 (significance 1 β€” opaque, 0 β€” fully transparent).
Can you transfer virtual buttons to the side of the screen (like Samsung)?
Standard MIUI doesn't have this feature, but it can be emulated using Edge Gestures or Floating Soft Keys. These utilities allow you to create floating navigation bars anywhere on the screen, including the side edges.