当前位置:   article > 正文

雷电模拟器mount: ‘/system‘ not in /proc/mounts_mount: '/system' not in /proc/mounts

mount: '/system' not in /proc/mounts

报错:Read-only file system

报错原因:/system 是以只读的形式挂载上来的,所以无论你怎么chmod都无法修改其权限。

解决办法:重新挂载,挂载读写执行权限

  1. gracelte:/ $ su
  2.  
  3. # 重新挂载/system 文件夹
  4. :/ #  mount -o rw,remount /system
  5. mount: '/system' not in /proc/mounts

报错:mount: '/system' not in /proc/mounts

  1. # 在windows窗口运行以下命令,不要进到adb shell 里面运行
  2. D:\platform-tools> adb root
  3. # 解锁分区(需要升级到最新版本adb,才有disable-verity工具)
  4. D:\platform-tools> adb disable-verity
  5. # 重新挂载,没加权限 表示rwx全部挂上
  6. D:\platform-tools> adb remount

 雷电9模拟器

  1. # 在windows窗口运行以下命令,不要进到adb shell 里面运行
  2. D:\platform-tools> adb root
  3. # 雷电模拟器,直接在设置打开磁盘写入功能
  4. # 重新挂载,没加权限 表示rwx全部挂上
  5. D:\platform-tools> adb remount
  6. # 进入adb shell
  7. D:platform-tools>adb shell

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号