How to remove switching between applications on Xiaomi: 5 proven methods

Why users want to turn off the switching of applications on Xiaomi

A gesture or button for quick switching between applications (Recent Apps) is a standard MIUI feature that is found on all Xiaomi, Redmi, POCO and Black Shark smartphones. However, many users experience random triggers of this gesture, especially when using swipes in games or applications. For example, in PUBG Mobile or Genshin Impact, careless finger movement can be thrown out of the game at the most critical moment.

Another common problem is the conflict with custom launchers (like Nova Launcher or Lawnchair), where the standard MIUI gesture interferes with the alternative gestures. Finally, some simply prefer a minimalist interface without unnecessary controls. In this article, we will discuss all the working ways to disable application switching, from standard settings to hidden commands for power users.

Important: The methods vary depending on the version of MIUI (13, 14, 15) and the device model. If your smartphone runs on Android 12+ with a MIUI 14/15 shell, some menu items may be called differently - we will specify alternative paths.

Method 1: Disable gestures via MIUI settings (without root)

The easiest way is to use the built-in gesture settings. It is suitable for most devices on MIUI 12-15, including Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5 and others.

Instructions:

  1. Open the Settings β†’ Display.
  2. Select Full-screen Display (in some versions – Gesture Control).
  3. Slip by Navigation Type and select Navigation Buttons (if you use gestures, switch temporarily to buttons).
  4. Return to the Full Screen Display and select Additional Gesture Settings (or Gesture Settings).
  5. Find the app switching gesture option and turn it off.

⚠️ Note: On certain devices (e.g, POCO F4 GT or Black Shark 5) this item may not be available.

β˜‘οΈ Preparation for gesture modification

Done: 0 / 4

Method 2: Using ADB to disable gestures (without root)

If there is no option in the settings to disable the gesture, you can use ADB-This method works on all Xiaomi devices with an unlocked bootloader (does not require root), but requires a connection to a computer.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone and tap the MIUI version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  3. Connect your phone to your PC, install ADB Tools, and execute the command:
adb shell settings put global swipe_up_to_switch_apps_enabled 0

To return the gesture, use:

adb shell settings put global swipe_up_to_switch_apps_enabled 1

⚠️ Attention: After update MIUI To avoid this, create automatic command execution via Tasker or MacroDroid.

What if the ADB does not recognize the device?
Make sure that Xiaomi drivers are installed (download from [official website](https://new.c.mi.com/global/miuidownload/index)). Try using another one. USB-Cable (original) Include the option "Allow debugging by USB (safe-haven)".

Method 3: Disable via the Settings Editor (requires root)

For users with root rights, such as Magisk, a more flexible way is available to edit system files, which is guaranteed to work on all versions of MIUI, including HyperOS.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/usr/keylayout/ and find the Generic.kl file (or qwerty.kl for some models).
  3. Open the file in the text editor and find the line:
key 187   APP_SWITCH

Replace her with:

#key 187   APP_SWITCH
  1. Save the file, restart the device.

⚠️ Warning: Incorrect editing of system files can lead to bootloop ( looped download!

πŸ“Š What method do you prefer to disable the gesture?
Through standard settings
ADB-team
Root-editing
Another way.

Method 4: Use of third-party applications (without root)

If previous methods didn’t work, you can use third-party utilities, for example, the Fluid Navigation Gestures app (available on Google Play) allows you to redefinition standard MIUI gestures to custom ones.

How to set up:

  • πŸ“± Install Fluid. NG Google Play.
  • πŸ”§ Grant permission for Special Features (in the application settings).
  • 🎯 In the Gestures section, select Redefined swipe gesture up and assign it the action to Do Nothing.
  • πŸ”„ Restart the device to apply changes.

Alternative annexes:

AnnexNeed root?Support for MIUIReference
Fluid NG❌ No.βœ… Yes, including MIUI 15)Google Play
Edge Gestures❌ No.βœ… Partially (may conflict)Google Play
Xposed Edgeβœ… Yes (requires LSPosed)βœ… Complete.Xposed Repo

πŸ’‘

If gestures are not working properly after installing a third-party application, clear the system cache in Settings β†’ Applications β†’ Application Management β†’ Three points β†’ Clear the cache.

Method 5: Disable the β€œRecent” button in the navigation bar

If you use navigation buttons (rather than gestures), you can simply remove the recent apps button from the bar, which won’t disable the feature completely, but will make it less accessible.

How to do this:

  1. Go to Settings β†’ Display β†’ Full-screen display β†’ Navigation buttons.
  2. Select Two buttons (instead of three) in this mode, the Recent button will be hidden, but it can be triggered by holding the Home button for a long time.
  3. To completely disable, use ADB (method 2) or root (method 3).

⚠️ Note: Some models (e.g. Xiaomi) 12T or Redmi K50) In two button mode, access to Google Assistant may disappear when holding the Home button.

Frequent problems and solutions

Even after you turn off the gesture, users are faced with nuances.

1.Gestus returns after MIUI update

This is because of the reset of user settings.

  • πŸ”„ Repeat the steps from Method 2 (ADB) post-refresh.
  • πŸ“± Use MacroDroid to automatically apply the command after the reboot.

2. Custom launcher conflict

If you use a Nova Launcher or Lawnchair, a standard MIUI gesture can block the launcher gestures.

  • βš™οΈ In the launcher settings, disable the option Use system gestures.
  • πŸ”§ Apply Method 4 (Third Party Applications) to Override Gestures.

3.The gesture works in some applications

Some apps (like YouTube or TikTok) ignore the system gesture settings.

  • πŸ› οΈ Use it. ADB forced-off:
adb shell settings put secure swipe_up_to_switch_apps_disabled 1

πŸ’‘

If none of the methods worked, check if your device has Anti-Rollback installed, which will require unlocking the bootloader.

❓ Can I turn off the gesture to switch applications without a computer?
Yes, if your version of MIUI has the appropriate option in the settings (see Method 1). If it is not, you will have to use ADB (requires a PC) or third-party applications (for example, Fluid NG).
❓ Why did the "back" button stop working after the gesture was turned off"?
This happens if you have edited the Generic.kl file incorrectly (see Method 3). Restore the original key bar 158 BACK and restart the device. If the problem persists, reset the settings via Settings β†’ System β†’ Reset (without deleting the data).
❓ Will gestures work after upgrading to HyperOS?
HyperOS (the new shell from Xiaomi) retains the same gesture structure as MIUI 15. However, the paths in the menu may change. For example, gesture settings are now in Settings β†’ Screen β†’ System Navigation. Disconnection methods via ADB and root remain relevant.
❓ Can you turn off the gesture only for specific applications?
Yes, but it will require: Install Tasker or MacroDroid. Create a profile with the condition Run the application [select target]. Add the action Run ADB-Team with a team from Method 2. Create the reverse rule to cancel a command when leaving the application. ⚠️ This method requires ADB-Access without PC (configure via Wireless) ADB).
❓ Why not? POCO F5 The gesture is turned off, but comes back after a day?
This is a well-known problem with some devices. POCO and Redmi with MIUI 14. This is due to the com.miui.systemAdSolution background service, which resets settings. Solutions: πŸ”„ Turn off battery optimization for Fluid NG or another grease app. πŸ“΅ Freeze the com.miui.systemAdSolution service through ADB: adb shell pm disable-user --user 0 com.miui.systemAdSolution ⚠️ Disabling system services can lead to unstable operation of the device.