The touchscreen on Xiaomi Redmi smartphones is a key control, but sometimes it needs to be temporarily or completely turned off, and the reasons can range from protection against accidental pressing (for example, when transferring a phone to a child) to diagnosing faults when the touchscreen is triggered spontaneously. In this article, we will discuss 5 working methods, including software settings, engineering menus and hardware solutions.
It's important to understand that turning off the sensor completely will prevent you from interacting with your phone through the screen. So most of the ways involve temporarily blocking or partially limiting functions. If your goal is to protect against accidental touch, just activate the "In your pocket" or "No sound" mode. To diagnose malfunctions (for example, when ghost touch - spontaneous pressing) will require deeper settings.
This article is relevant for all modern Redmi models, including the Note 12/11/10/9 series, Redmi A2/A1, Redmi K50/K40 and others based on MIUI 12-14 or HyperOS. If your phone runs on custom firmware (for example, LineageOS), some menu items may differ.
1. Temporary locking of the sensor through "Mode in the pocket"
The easiest and safest way is to use the built-in Mode in Your Pocket feature, which turns off the sensor when the screen is off, preventing accidental taps, a method that does not require superuser rights and works on all Xiaomi smartphones.
How to activate:
- π± Open the Settings. β Screen. β Pocket mode.
- π Turn on the switch (if the function is missing, check the section Additionally). β Special facilities).
- βοΈ Select the Standard (locking when the screen is completely darkened) or High (responds even to partial cover).
Limitations of the method:
- β The sensor is locked only when the screen is off.
- β Not suitable for diagnosing malfunctions (for example, ghost touch).
- β Suitable for protection from accidental pressing in a bag or pocket.
β οΈ Note: On some models (Redmi Note 8 Pro, Redmi) 9A) The function may be called Protection against Accidental Presses and may be located in the Blocking and Protection section.
2. disable the sensor via "Special Features" (without root)
If you want to completely block the touchscreen (for example, to use your phone as an HDMI media player), you can use the pointer control function in special features settings. This method does not physically turn off the sensor, but makes it inoperable for most actions.
Step-by-step:
- Go to Settings β Special Options β Control pointer.
- Activate the option Virtual Joystick or Keyboard Control (depending on the MIUI version).
- Return to the main settings menu and select System β Gestures β Disable all gestures.
- Reboot the phone.
After this action, the sensor will stop responding to touch, but the screen will display the image. To return to normal operation, you just need to turn off the pointer control and restart the device.
βοΈ Preparation for sensor shutdown
β οΈ Attention: MIUI 14 and HyperOS may have different paths to settings. If pointer control is not available, try activating TalkBack, which will also block some of the sensor's functions.
3.Use of the engineering menu (#3646633##)
For power users, there is a way to disable the sensor through an engineering menu, a method that requires caution, as incorrect actions can lead to malfunctions in the phone. Suitable for Redmi models based on Qualcomm processors (for example, Redmi Note 10 Pro, Redmi K40).
Instructions:
- Open the Phone app and enter the combination: ##3646633##.
- In the engineering menu, select Hardware Testing β Touch Screen.
- Press the Touch Screen Test and wait for the test to be completed.
- Go back to the main menu of the engineering mode and select Disable Touch (if you donβt have an option, this method isnβt suitable for your model).
Warnings:
- π§ Some firmware may not have the Disable Touch option.
- π After disabling the sensor, it can only be returned to work through a reboot or reset settings.
- π It is not recommended to use this method on devices with MediaTek (e.g. Redmi). 9/9A/9C) β high risk of system hanging.
What to do if the engineering menu is not opened?
Disable the sensor via ADB (for advanced users)
If standard methods do not work, you can turn off the sensor using the ADB-This method requires connecting the phone to your computer and enabling developer mode. Suitable for all Xiaomi Redmi models, but permanently disables the touchscreen until the next reboot or reset settings.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone β MIUI version and press 7 times.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC, install ADB drivers (for example, via Mi PC Suite).
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su
echo 0 > /sys/class/touchscreen/unified_touch/disable_touch
exitIf the team doesnβt work, try an alternative:
adb shell input disableTo return the sensor to work, restart the phone or type in:
adb shell input enableβ οΈ Attention: MIUI 13+ and HyperOS path to file disable_touch If the command returns a Permission denied error, root rights are required (see next section).
π‘
Before using ADB, check if the OEM Unlock option is enabled in the developer settings, and without it, some commands may not execute.
5. Complete shutdown of the root sensor (Magisk)
If you need to permanently disable the sensor (for example, to use the phone as a server or media center), superuser rights (root) will be required.This method is only suitable for unlocked downloaders and stitched custom recavators (for example, TWRP).
Instructions:
- Install Magisk and get root access.
- Download the Disable Touchscreen module from the Magisk Modules repository or create your own script:
#!/system/bin/sh
echo 0 > /sys/class/touchscreen/unified_touch/enable- Save the file as disable_touch.sh file /data/adb/service.d/.
- Grant the rights to execution: chmod 755 /data/adb/service.d/disable_touch.sh.
- Reboot the phone.
To return the sensor to work, delete the script or edit it by replacing 0 with 1.
| Method | Root is required. | Reversibility | Suitable for diagnosis |
|---|---|---|---|
| Pocket mode. | β No. | β Yes. | β No. |
| Special facilities | β No. | β Yes. | β οΈ Partially. |
| Engineering menu | β No. | β After the reboot. | β Yes. |
| ADB-team | β No. | β After the reboot. | β Yes. |
| Root + Magisk | β Yes. | β οΈ File editing required | β Yes. |
6. fault diagnosis: when switching off the sensor does not help
If you try to turn off the sensor due to spontaneous taps or other malfunctions, and the problem remains, the reasons may be hardware:
- π Bloating the battery that presses on the screen.
How to check:
- π Visually inspect the screen for cracks or detachments.
- π± Connect your phone to your PC and check if random taps are recorded in mode ADB logcat.
- π Remove the battery (if possible) and check it for bloating.
If the hardware malfunctions, a temporary shutdown of the sensor won't help.
- π± Screen replacement (relevant for physical damage).
π‘
If the sensor turns off spontaneously or responds to touch without touching, the problem is 90% hardware, and a temporary shutdown through the software will not eliminate the cause, but only mask the symptoms.