openstf / adbkit

A pure Node.js client for the Android Debug Bridge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

execute 'adb shell reboot' , return 'Operation not permitted'

AlexWinters-I opened this issue · comments

Here's a device 'Samsung N7100'
The question is, I execute 'adb shell reboot' in the cmd, get 'Operation not permitted', but using STF Advanced-Maintenance-RestartDevices on the page, It worked, I didn't find out why in your adbkit source code, Just this._send 'reboot:', Could you explain it a little for me, I really want to know how to implement the 'reboot'
very thanks for any help

A bit embarrassing, I really didn't expect to try adb reboot.
Yes, it worked, very grateful.
BTW,here is one point Unfortunately, adb reboot can't impelment 'poweroff' just like adb shell reboot -p
Do you have any other method about shutdown?
Thanks again

It's ok, still very grateful for your help