To disable touch feedback (i.e., the touchscreen input) on an Android device using ADB, you can use the following method:
Identify the touchscreen input device: The touchscreen is usually represented by a file in /dev/input/, such as /dev/input/event2 or /dev/input/event3. The exact file may vary depending on your device.
Disable the touchscreen: Once you've identified the correct file, you can remove it to disable touch input. For example:
bashadb shell su rm /dev/input/event2
This will disable the touchscreen until the device is rebooted.
Re-enable the touchscreen: To re-enable touch input, you can recreate the file:
bashtouch /dev/input/event2
Note: This method requires root access on your Android device. If you don't have root, this approach will not work. Also, the exact event file (e.g., event2, event3) may differ between devices, so you may need to check the /dev/input/ directory to find the correct file for your device.
If you want to disable only haptic feedback (vibration) and not the touchscreen itself, you can use the following ADB command:
bashadb shell settings put system haptic_feedback_enabled 0
To re-enable haptic feedback:
bashadb shell settings put system haptic_feedback_enabled 1
Would you like more details on either of these methods?
This Chat is read-only. Login to resume chatting.