1.录屏命令

adb shell screenrecord /sdcard/demo.mp4

adb pull /sdcard/demo.mp4 D:/

2.截图命令

adb shell screenshot /sdcard/demo.jpg

adb pull /sdcard/demo.jpg D:/

3.蓝牙相关指令

获取蓝牙设备的连接状态 ,绑定名称,已配对设备

adb shell dumpsys bluetooth_manager

4.wifi相关指令

开启wifi

adb shell svc wifi enable

关闭Wifi

adb shell svc wifi disable

获取wifi的连接状态

adb shell wpa_cli -i wlan0 status

5.获取USB连接状态为2.0还是3.0

adb shell
cd /sys/devices/platform/soc/4e00000.ssusb/4e00000.dwc3/udc/4e00000.dwc3/
cat current_speed
6.获取连接的U盘速度

adb shell

cat /sys/kernel/debug/usb/devices

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐