![](/img/trans.png)
[英]How can I remount my Android/system as read-write in a bash script using adb?
[英]Cannot remount system (read only) as read/write on my Android TV Box using the adb shell
我正在尝试使用 adb 和 shell 在我的 Android 电视盒上将根级别 (/)(或 / 系统级别)的文件系统的访问权限从只读更改为读/写。我的 Android 电视盒运行为 Android 7.1 .2
安装命令返回:
1|q201:/ $ mount rootfs on / type rootfs (ro,seclabel)...
以下命令:
1|q201:/ $ mount -o rw,remount mtd:rootfs /
回报:
mount: '/' not in /proc/mounts
cat /proc/mounts命令返回:
q201:/ $ cat /proc/mounts rootfs / rootfs ro,seclabel 0 0...
以下命令:
1|q201:/ $ mount -o rw,remount /
回报:
mount: 'rootfs' not user mountable in fstab
在根级别启动 adb
adb root
不会改变任何东西。有人可以帮忙吗?
您不能在rw
模式下重新安装rootfs
,而只能在系统分区上重新安装。
看看安装了什么:
cat /proc/mounts
或可用分区:
cat /proc/partitions
设备必须植根!
su
mount -o rw,remount /
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.