Disable touchscreen input via console
davide,

cat your init.rc and under # Permissions for InputDevices.

chown system radio /sys/class/sec/tsp/cmd
chmod 0660 /sys/class/sec/tsp/input/enabled  &lt;--your device may differ
chown system system /sys/class/sec/tsp/input/enabled &lt;--your device may differ


Add to your scripting setup after verifying, for my device, a samsung galaxy tab 4

echo 0 &gt; /sys/class/sec/tsp/input/enabled


Touchscreen slain.

echo 1 &gt; /sys/class/sec/tsp/input/enabled


Touchscreen re-enabled.

m