Skip to content

Turn Off Screen after boot

michager edited this page Apr 5, 2024 · 5 revisions

execute: unchroot getevent

press power button on your device

you'll get something like this - it depends on device /dev/input/event0: 0001 0074 00000001 /dev/input/event0: 0000 0000 00000000 /dev/input/event0: 0001 0074 00000000

0074 is hex - convert to decimal

add following commands to a startup service script within your linux system

unchroot sendevent /dev/input/event0 1 116 1 unchroot sendevent /dev/input/event0 0 0 0 unchroot sendevent /dev/input/event0 1 116 0 unchroot sendevent /dev/input/event0 0 0 0

--> screen goes off, but also after a while devices cant traceroute to the android linux machine / or ping any more.

Better way seams unchroot echo 0 > /sys/class/leds/lcd-backlight/brightness

http://your_computer:3142/XXXX where XXXX is one of armdebian, armubuntu, or armkali

Clone this wiki locally