1. adb shell打开关闭wifi
#打开wifi
adb shell svc wifi enable
#关闭wifi
adb shell svc wifi disable
2.adb shell打开关闭数据data
#打开数据网络
adb shell svc data enable
#关闭数据网络
adb shell svc data disable
3.adb shell 打开USB模式
#设置为adb模式
adb shell svc usb setFunction adb
#设置为mtp模式
shell svc usb setFunction mtp
4.设置屏幕常亮
adb shell svc power stayon true
5.清除应用用户数据
adb shell pm clear xxx
xxx:包名
其他ADB命令相关博文
1.adb shell input查看此处
2.Adb Shell 下content使用
3.adb命令大全