How to completely or temporarily disable touchscreen on Xiaomi smartphones

Touchscreen on Xiaomi smartphones is both a major advantage and a potential problem. In some situations, users need to temporarily or completely turn off the touchscreen: for example, when using the device as a media player for children, while repairing the display, or if the sensor began to malfunction and react to touch spontaneously. Unlike button phones, where it was enough to remove the battery, modern smartphones require more complex manipulations.

In this article, weโ€™ll look at all the current ways to disable touchscreen on Xiaomi, Redmi and POCO devices, from standard MIUI features to hidden commands for developers. Itโ€™s important to understand that turning off the sensor completely prevents you from interacting with the phone through the screen, so most methods involve alternative ways of controlling (for example, via USB OTG or ADB). If your goal is simply to block random taps, you may also need standard features like Mode for children or Screen Lock.

Before you start settings, make sure that your device unlocks the bootloader (if you plan to use ADB or Fastboot), and back up the data.Some methods can result in a reset or even a device blink if performed incorrectly.

๐Ÿ“Š Why You Need to Turn Off the Touch Screen on Xiaomi?
The device is used as a player for the child
The sensor crashes and spontaneously presses
You need to protect the screen during repairs.
Experimenting with settings
Other

1. Standard ways to lock touchscreen without turning off

If you donโ€™t need to deactivate the sensor completely, but rather prevent accidental taps, use the built-in MIUI features. These methods do not require super-user rights (root) and are suitable for most models, including the Xiaomi 13, Redmi Note 12 and POCO X5.

The easiest way is to activate the mode for children:

  • ๐Ÿ“ฑ Open the Settings. โ†’ Special facilities โ†’ Regime for children.
  • ๐Ÿ”’ Set a password (required!) and select the apps that will be available.
  • ๐ŸŽฎ In this mode, the screen is blocked from random pressing, but remains sensitive to unlock gestures.

For a more rigid lock, use PIN-coded screen lock or pattern lock, but note that this does not turn off the sensor completely - it will respond to unlock. Alternatively, the Pocket Mode Protection feature (Settings โ†’ Display โ†’ Pocket Mode), which ignores accidental touches when the phone is in your pocket.

โš ๏ธ Attention: B MIUI 14 and later, Child Mode may not be available on some models, in which case use third-party apps like Kids Place or AppLock, but they also don't turn off the sensor completely.

2. Disabling the touchscreen through the Developer Settings

Hidden developer settings in MIUI allow you to deactivate touch input, but this method does not work on all devices and may require additional manipulation.

  1. Go to Settings. โ†’ The phone.
  2. Click 7 times on the MIUI version (you will be notified of becoming a developer!).
  3. Back to Settings โ†’ Additionally. โ†’ For developers.

Now look for the option to turn off touch input (Disable touch input or Touch screen off). On some firmware, this feature may be called differently or not. If there is no option, try an alternative way:

  • ๐Ÿ”ง Turn on the debugging. USB developer-setting.
  • ๐Ÿ–ฅ๏ธ Connect your phone to your PC and use it. ADB-team (more on this below).

On devices with MIUI 13 and older, sometimes turning off gestures: go to Settings โ†’ Display โ†’ Navigation Type and select Buttons instead of Gestures. This will not turn off the sensor completely, but will reduce the number of false positives.

โ˜‘๏ธ Preparation for touchscreen shutdown

Done: 0 / 5

3.Use of ADB to deactivate the sensor

Android Debug Bridge (ADB) is the most reliable way to disable touchscreen on Xiaomi, but it requires a computer connection and basic command line knowledge.This method works on most models, including the Xiaomi Mi 11, Redmi 10 and POCO F4, regardless of the version of MIUI.

First, install ADB on your PC:

  • ๐Ÿ’ป Download Platform Tools from the official Android website.
  • ๐Ÿ“‚ Unpack the archive in any folder (for example, C:\adb).
  • ๐Ÿ”Œ Connect your phone to your PC through USB and select the File Transfer Mode.

Now run the following commands in Command Prompt (or Terminal on Mac/Linux):

adb devices

If the device appears in the list, enter:

adb shell settings put system touchscreen_off 1

To return the sensor to working condition, use:

adb shell settings put system touchscreen_off 0

โš ๏ธ Attention: On some firmware MIUI This command may not work due to manufacturer limitations, in which case try an alternative method through Fastboot (described below) or use apps like Touchscreen Toggle (requires root).

What if the ADB canโ€™t see the device?
1. Check if debugging is included on USB 2. Install drivers for your Xiaomi model (you can download it on the website) MIUI Downloads). 3. Try another one. USB-cable (preferably original). 4. Restart your phone and PC. 5. If you use Windows, run the command prompt on behalf of the administrator.

4. Disabling touchscreen via Fastboot

If ADB didnโ€™t work, try disabling the sensor via Fastboot, a firmware mode available even on locked devices, a technique that is suitable for models with an unlocked bootloader (e.g. Xiaomi 12T, Redmi K50).

Instructions:

  1. Turn off your phone and press the Power button + Volume down to log into the Fastboot.
  2. Connect the device to your PC and open the command line in the folder with ADB.
  3. Check the connection by the team:
fastboot devices
  1. Enter the command to disable the touchscreen:
fastboot oem touch off

To turn the sensor back on:

fastboot oem touch on

On some devices, a different command can be used instead of oem touch, such as fastboot oem. disable_touch. If the command is not recognized, check the documentation for your model in forums like XDA Developers.

Xiaomi modelSupported Fastboot teamDo you need to unlock the bootloader?
Xiaomi 11/12/13fastboot oem touch offYes.
Redmi Note 10/11/12fastboot oem disable_touchYes.
POCO F3/F4/F5fastboot oem touchscreen 0No (on some firmware)
Xiaomi Mi A2/A3 (Android One)Not supportedโ€”

๐Ÿ’ก

If after disabling the touchscreen via Fastboot, the phone stopped responding to the buttons, connect it to the PC and use the command fastboot reboot to restart.

5. Disable the sensor with root rights

If your Xiaomi has Magisk or another root rights manager installed, you can turn off the touchscreen through the system files, which gives you maximum control, but requires caution - wrong actions can lead to a device blink.

The safest way to do this is to use the Touchscreen Toggle app from Magisk Modules:

  • ๐Ÿ“ฑ Install Magisk Manager and check root status.
  • ๐Ÿ” Download the Touchscreen Toggle module from the Magisk repository.
  • โš™๏ธ Activate the module and restart the device.
  • ๐Ÿ–๏ธ After the reboot, the touchscreen will be disabled until the next activation via Magisk.

For manual shutdown via Terminal (requires root):

su


echo 0 > /sys/class/touchscreen/touchscreen0/enable

To turn back:

su


echo 1 > /sys/class/touchscreen/touchscreen0/enable

The path to the sensor file may vary depending on the model. To find the right path, use the command:

ls /sys/class/touchscreen/

โš ๏ธ Warning: Changing system files without root or through unverified applications can lead to loss of warranty and unstable operation of the device. MIUI 14+ HyperOS and some paths can be protected by DM-Verity, which requires additional manipulation.

๐Ÿ’ก

Using root rights gives you maximum flexibility, but increases the risk of system damage, and is recommended only for advanced users.

6.Alternative methods: physical locking and third-party applications

If software isn't suitable, consider physical or semi-software solutions, such as:

  • ๐Ÿ›ก๏ธ Touch-blocking protective film โ€“ special films with a metallized layer that interrupt the sensor signal.
  • ๐Ÿ“ฆ Lock case โ€“ some cases (for example, for Xiaomi Pad 6) have a hard cover that physically prevents pressing.
  • ๐Ÿ”Œ USB OTG + mouse/keyboard โ€“ connect peripherals and control your phone without touching the screen.

Among the third-party applications stand out:

  • ๐Ÿ“ฑ Touch Lock โ€“ locks the sensor for a certain time (requires Accessibility Service).
  • ๐Ÿ”’ Screen Off and Lock โ€“ Turns off the screen but leaves the device functional for calls.
  • ๐Ÿ› ๏ธ Button Mapper โ€“ allows you to reassign hardware buttons for control without a sensor.

Note that most third-party applications do not shut down the sensor completely, but only limit its functionality. ADB, Fastboot or root.

7. Frequent problems and their solutions

When you turn off the touchscreen on Xiaomi, users experience common mistakes, and here are the most common ones and ways to fix them:

Problem.Possible causeDecision
Adb shell settings put system touchscreen_off 1 doesn't workLimitations of MIUI firmwareUse fastboot oem touch off or get root
After turning off the touchscreen, the phone does not respond to the buttonsSensor blocks all inputs, including hardware buttonsConnect. USB OTG-Mouse or restart the device through ADB
Fastboot does not recognize the command oem touch offIncompatibility with the model or version of the loaderCheck the supported commands for your model on XDA
After restarting, the sensor is back on.Settings are not saved (typical for MIUI)Use the Magisk module to permanently shut down

If none of the methods worked, your Xiaomi model may have unique limitations.

  1. Check out thematic forums (e.g. 4PDA or MIUI SU).
  2. Update your firmware to the latest version of MIUI or HyperOS.
  3. Contact Xiaomi Service Center โ€“ some models allow you to officially disable the sensor (for example, for corporate customers).

FAQ: Frequently Asked Questions

โ“ Can I turn off the touchscreen on Xiaomi without a computer?
Yes, but with limitations. You can use the Mode for Kids or an app like Touch Lock, but they won't shut down the sensor completely. You'll need root rights to fully deactivate without a PC.
โ“ Will the gestures work after the touchscreen is turned off?
No, disabling the sensor will deactivate all touches, including navigation gestures, so you can only control the phone through the hardware buttons, USB OTG-device ADB.
โ“ How to return the touchscreen back if it is turned off and the screen does not respond?
Connect your phone to your PC and use it. ADB-Adb shell settings put system touchscreen_off 0 If ADB not working, restart the device in Fastboot (clip the power supply) + Volume down) and type: fastboot oem touch on
โ“ Does the touchscreen shutdown work on Xiaomi tablets (e.g. Pad 6)?
Yes, but the teams may be different. 6 Try: adb shell settings put secure touchscreen_off 1 Some tablets require secure instead of system in command.
โ“ Can I turn off the touchscreen only for certain applications?
The standard MIUI means are not, but you can use applications like AppOps to restrict sensor access for specific programs.