赞
踩
报错:Read-only file system
报错原因:/system 是以只读的形式挂载上来的,所以无论你怎么chmod都无法修改其权限。
解决办法:重新挂载,挂载读写执行权限
- gracelte:/ $ su
-
- # 重新挂载/system 文件夹
- :/ # mount -o rw,remount /system
- mount: '/system' not in /proc/mounts
报错:mount: '/system' not in /proc/mounts
- # 在windows窗口运行以下命令,不要进到adb shell 里面运行
- D:\platform-tools> adb root
-
- # 解锁分区(需要升级到最新版本adb,才有disable-verity工具)
- D:\platform-tools> adb disable-verity
-
- # 重新挂载,没加权限 表示rwx全部挂上
- D:\platform-tools> adb remount
雷电9模拟器:
- # 在windows窗口运行以下命令,不要进到adb shell 里面运行
- D:\platform-tools> adb root
-
- # 雷电模拟器,直接在设置打开磁盘写入功能
-
- # 重新挂载,没加权限 表示rwx全部挂上
- D:\platform-tools> adb remount
-
- # 进入adb shell
- D:platform-tools>adb shell
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。