I own a Samsung Galaxy S4 (GT-I9515L "jfvelte") running Lineage OS 16. It has a broken touchscreen which register random "ghost" touches.
I'm able to use it with the help of a USB mouse. To disable the touchscreen I use
adb to open a shell on
/dev/input and remove
event3, which disables the touchscreen (renaming or moving the file doesn't work, only removing it) - until reboot.
How do I keep it disabled even after reboot? Preferably, I'd like a way that I can enable it later if I ever want to.