Below is the adb command that let user can remote control to show shutdown menu.
 

adb root
timeout 3
adb shell sendevent /dev/input/event0 0001 116 1
timeout 2
adb shell sendevent /dev/input/event0 0000 0000 00000000
timeout 2
adb shell sendevent /dev/input/event0 0001 116 00000000
timeout 2
adb shell sendevent /dev/input/event0 0000 0000 00000000

 

 

CuteParrot 發表在 痞客邦 留言(0) 人氣()