diff --git a/Software/Development/OperatingSystem/Android/Modules/USB/Android_USB_模式切换.md b/Software/Development/OperatingSystem/Android/Modules/USB/Android_USB_模式切换.md new file mode 100644 index 0000000..54e954d --- /dev/null +++ b/Software/Development/OperatingSystem/Android/Modules/USB/Android_USB_模式切换.md @@ -0,0 +1,8 @@ +# Android USB 模式切换 + +```bash +# 切换到 ADB 模式 +setprop sys.usb.config none +setprop sys.usb.config adb +echo peripheral > /sys/devices/platform/soc/ee080200.usb-phy/role +```