首页 > IT职业 > IT图书 > ADB 操作命令(三)
adb shell screencap -p /sdcard/test.png
adb shell testrecord /sdcard/test.mp4
adb shell
su
cat /data/misc/wifi/*.conf
adb shell
su
date -s 20180930.170000
表示将系统日期和时间更改为 2018 年 09 月 30 日 17 点 00 分 00 秒。
adb reboot
adb shell
su
此时命令行提示符是 $ 则表示没有 root 权限,是 # 则表示已 root。
开启 WiFi:
adb root
adb shell svc wifi enable
关闭 WiFi:
adb root
adb shell svc wifi disable
若执行成功,输出为空;若未取得 root 权限执行此命令,将执行失败,输出 Killed。
adb reboot recovery
adb reboot
adb reboot bootloader
**
**
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1627/viewspace-2814579/ ,如需转载,请注明出处,否则将追究法律责任。