NotePublic/Software/Development/System/Android/Modules/USB/Android_USB_模式切换.md

9 lines
184 B
Markdown
Raw Normal View History

# Android USB 模式切换
```bash
# 切换到 ADB 模式
setprop sys.usb.config none
setprop sys.usb.config adb
echo peripheral > /sys/devices/platform/soc/ee080200.usb-phy/role
```