命令:
adb reboot
adb shell su
此时命令行提示符是 $ 则表示没有 root 权限,是 # 则表示已 root。
$
#
adb(14)-设备重启/检测root
原文:https://www.cnblogs.com/jiablogs/p/8794553.html