Disabling the touch screen on Xiaomi, Redmi or POCO smartphones can be necessary in a variety of situations, from protecting the device from accidental pressing to diagnosing hardware malfunctions, for example, if the display is damaged and reacts to touch spontaneously, or you want to prevent children from accessing the phone without completely turning off. In this article, we will examine all the current methods, from standard MIUI functions to hidden commands for power users.
Itโs important to understand that completely disabling the sensor (not just locking the screen) is not a typical option in smartphone settings. Manufacturers do not provide such a feature out of the box, so most methods require access to an engineering menu, ADB-We'll describe each option in detail, with the level of difficulty and the possible risks. If you're a beginner, start with the first way, if you have experience with Android, pay attention to advanced methods.
Temporary sensor lock via "Package flashlight mode"
The easiest and safest way is to use the built-in Pocket Mode, which turns off the sensor when the screen is off. This is not a complete shutdown, but prevents accidental taps in your pocket or bag.
How to activate:
- ๐ฑ Open the Settings. โ Screen. โ Advanced settings.
- ๐ Find the option Pocket flashlight mode (on some firmware โ Protection against accidental pressing).
- ๐ Turn on the slider and select sensitivity (e.g. High for full lock).
Limitations of the method:
- โ The sensor will work with the screen on.
- โ Not suitable for diagnosing a faulty display.
- โ Safe for all Xiaomi models (including the Redmi Note 12, POCO X5).
๐ก
If the option is not available in the settings, check the version of MIUI. On firmware older than 12.5, the function may be called "Block in your pocket" and be in Settings โ Lock and Protection.
2. Disable the sensor via the engineering menu (#3646633##)
The Engineering Mode allows you to test the hardware components of a smartphone, including the touch screen, which is suitable for temporarily turning off the touchscreen without root rights, but requires caution - incorrect settings can disrupt the display.
Step-by-step:
- Open the Phone app and type the combination: ##3646633## (on some models - ##4636##).
- Go to the Hardware Testing โ Touch Screen section (can be called Sensor or TP Test).
- Find the Touch Panel Switch (or Disable Touch) option and set the Off value.
- Confirm the changes and restart the device.
Warnings:
โ ๏ธ Attention: On some firmware MIUI 14+ The engineering menu can be blocked. If nothing happens after you enter the code, try using the ADB-teams (described below).
| Xiaomi model | Does the engineering menu support | Alternative method |
|---|---|---|
| Redmi Note 10/11 | โ Yes. | ADB or MTK Engineering Application |
| POCO F4/F5 | โ ๏ธ Partially (requires root) | Fastboot teams |
| Xiaomi 13/14 | โ No (locked) | Only ADB. |
3.Use of ADB-commands to turn off touchscreen
If the engineering menu is not available, the most reliable way is to disable the sensor via Android Debug Bridge (ADB), a method that works on all Xiaomi models, but requires a PC connection and enabled USB debugging.
What you need:
- ๐ฅ๏ธ Computer with installed ADB-driver.
- ๐ฑ Included debugging by USB (Settings โ The phone. โ Version. MIUI โ 7 times press to unlock the developer mode, then Settings โ Additionally. โ For developers โ Debugging by USB).
- ๐ USB-cable (preferably original).
Instructions:
- Connect your smartphone to your PC and confirm the debugging permission on your phone screen.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su
echo 0 > /sys/class/touchscreen/unified_touch/disable_touch- If the command fails, try an alternative path (depending on the model):
echo 0 > /sys/bus/platform/drivers/fts_ts/disable_touchTo get the sensor back to work, replace the 0 by 1 commands above.
โ ๏ธ Note: On some devices after the sensor is turned off ADB Fingerprint unlock may stop working. To avoid this, disable biometric authorization in settings before executing commands.
USB debugging enabled
Installed ADB drivers on PC
The smartphone is connected in the mode "File transfer"
Battery charge > 50%-->
Disable the sensor via TWRP (for advanced users)
If your Xiaomi has a custom TWRP recavator installed, you can turn off the sensor by editing system files.This method is suitable for permanent shutdown, but requires an unlocked bootloader and is dangerous for beginners.
Step-by-step:
- ๐ง Boot in. TWRP (hold on to the power + Volume Up when switched on).
- ๐ Go to Advanced. โ File Manager.
- ๐ Find the file. /system/usr/idc/[name sensor].idc (e.g. fts.idc for Redmi Note) 9).
- โ๏ธ Open the file and replace the touch.deviceType line = touchScreen on touch.deviceType = none.
- ๐พ Save the changes and reboot.
Risks of the method:
- โ Incorrect editing can cause the screen to lose its sensitivity forever.
- โ Some of the updates after the update MIUI change.
- โ ๏ธ It is recommended to make a backup section /system before editing.
How to find the correct.idc file?
5. Sensor locking applications (without root)
If you need to temporarily disable the sensor without complex manipulations, you can use third-party applications. They don't turn off the touchscreen completely, but block the presses on top of the standard interface.
Top.-3 applications:
- ๐ Touch Lock creates a transparent overlay that blocks all touches, works without root, but requires permission to overlay other applications.
- ๐ก๏ธ NoTouch โ allows you to configure screen areas that will ignore the taps (useful for gaming or reading).
- ๐ฑ Sensor Disabler is a more advanced tool, but requires a ADB-permissions for working with sensors.
How to set up Touch Lock:
- Install the app from Google Play.
- Launch it and give access to Special Opportunities.
- Activate the lock via a notification or widget.
โ ๏ธ Note: Apps donโt turn off the sensor at the hardware level, and in some cases (such as a damaged display), they may not work.
6. Hardware Sensor Shutdown (for repair)
If the touch screen is faulty and responds to ghost touches, it can be physically disabled by disconnecting the plume from the motherboard, a method used in service centers that requires disassembling the device.
How it works:
- ๐ ๏ธ Touch screen connected to board via flexible plume (FPC-cable).
- ๐ If you disconnect this plume, the touchscreen will stop working, but the display itself will remain on.
- โ ๏ธ Without Xiaomiโs disassembly experience, you can damage other components (e.g., battery or camera).
When it's relevant:
- ๐ง Diagnostics of malfunction (checking whether sensor glitch is related to hardware breakdown).
- ๐ฑ Temporary use of the phone without touch screen (for example, through the OTG-mouse).
- ๐ฐ Savings on repairs if the sensor is completely out of order.
๐ก
Physically turning off the sensor is the only way to completely de-energize the touchscreen without software restrictions. USB-mouse ADB-team.
Frequent Mistakes and How to Avoid Them
When you turn off the sensor, you often have typical problems, and here are the most common ones and the ways you can solve them:
| Problem. | Reason. | Decision |
|---|---|---|
| The sensor does not shut down via ADB | The wrong path to the sensor file | Check the list of devices in /sys/class/touchscreen/ or /sys/bus/i2c/drivers/ |
| After restarting, the sensor is back on. | Changes not saved in the system | Use chmod to change file rights or edit through Magisk |
| Phone does not respond to commands after sensor shutdown | USB OTG or ADB is disabled | Connect. USB-Mouse in advance or use adb reboot to reboot |
Critical information: On Qualcomm Snapdragon-based devices (e.g., POCO X3, Redmi K40), the path to sensor files may be different. If standard commands don't work, check logcat with touch filter.