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