现象:

$ adb push /d/Aaron/Desktop/libreference-ril-LS.so system/lib

failed to copy 'D:/Aaron/Desktop/libreference-ril-LS.so' to 'system/lib/libreference-ril-LS.so': Read-only file system

 

解决办法(必须有root权限):

$ adb shell

// 修改文件系统为可读写权限

root@xxx:/ # mount -o remount,rw /system

mount -o remount,rw /system

Ctrl+c退出shell命令行

$ adb push /d/Aaron/Desktop/libreference-ril-LS.so system/lib

1519 KB/s (104284 bytes in 0.067s)

// 恢复文件系统为只读权限

root@xxx:/ # mount -o remount,ro /system

mount -o remount,ro /system

 

相关文章:

  • 2021-12-05
  • 2021-09-25
  • 2021-05-22
  • 2021-11-28
  • 2021-10-28
  • 2021-06-02
  • 2021-10-12
  • 2021-04-22
猜你喜欢
  • 2021-12-05
  • 2021-08-18
  • 2021-12-05
  • 2021-12-05
  • 2021-04-05
  • 2021-09-18
  • 2021-12-15
  • 2021-12-05
相关资源
相似解决方案