码迷,mamicode.com
首页 > 数据库 > 详细

adb(14)-设备重启/检测root

时间:2018-04-11 15:01:04      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:adb shell   shell   手机   pre   bsp   head   表示   shel   root   

重启手机

命令:

adb reboot

检测设备是否已 root

命令:

adb shell
su

此时命令行提示符是 $ 则表示没有 root 权限,是 # 则表示已 root。

adb(14)-设备重启/检测root

标签:adb shell   shell   手机   pre   bsp   head   表示   shel   root   

原文地址:https://www.cnblogs.com/jiablogs/p/8794553.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!