adb push failed:remote Read-only file system

📅 发布时间:2026/7/16 16:18:29 👁️ 浏览次数:
adb push failed:remote Read-only file system
smd11: 1 file pushed, 0 skipped. 0.6 MB/s (338 bytes in 0.001s)adb: error: failed to copy ‘smd11’ to ‘/etc/ppp/peers/smd11’: remote Read-only file systemchmod: /etc/ppp/peers/smd11: No such file or directoryfinish问题分析remote Read-only file system安卓系统的/etc目录默认挂载为只读ro即使 ROOT 也需要先重新挂载为可读写rw。No such file or directory文件推送失败所以 chmod 找不到目标文件。解决步骤需设备已 ROOT先重新挂载/system或/etc所属分区为可读写确保/etc/ppp/peers/目录存在不存在则创建推送文件并修改权限可选恢复分区为只读提升系统稳定性adb root adb shellmount-oremount,rw / adb push /