I need to disable and enable touchscreen on my android device. I tried this
adb shell su rm -rf /dev/input/event2
and
adb shell su rm -rf /dev/input/event0
but have
tmp-mksh: tmp-mksh: - : unknown option
What command do I need to send to turn touch screen off and then on?
I know, much too late for you, but maybe it might help others (as me, who found your thread). This is how it finally worked out for me with separate commands.
event1 can even be any other of the events in that folder. From my experience these events restore fully on reboot, so don't hesitate to try deleting them one by one. adb root
adb shell
rm -rf /dev/input/event1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With