如何在 Android 手机上仅使用命令行上的 ADB 启用 MTP 模式? 屏幕无法使用,我需要访问文件。 不过,我启用了 USB 调试。
adb shell svc usb setFunction mtp
不起作用。
最佳答案
“setFunctions”中缺少“s”。
"adb shell svc usb setFunctions mtp" worked for me in Android 9 (lineage OS).
关于android - 使用 ADB 启用 MTP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54959259/