一、系统分区的的含义,查看,修改
1.解决系统adb remount 失败
dm_verity is enabled on the system and vendor partitions.Use "adb disable-verity" to disable verity.If you do not, remount may succeed,
however, you will still not be able to write to these volumes.remount of /system failed: Read-only file systemremount failed
1.use2root to get root privilege (adb shell setprop ro.debuggable 1)
2.adb shell setenforce 0
3.adb disable-verity
4.adb reboot
5.after poweron ,use2root to get root privilege again
6.adb shell setenforce 0
7.adb remount
二、不同的分区对应的系统镜像
我们在查看不同的镜像内容之前先查看一下编译出来的镜像和手机硬件中的分区对于情况:对于linux目录树和挂载点相关内容查阅相关知识
root@bullhead:/system # df 查看的目标是google nexus 5x的信息
Filesystem Size Used Free Blksize
/dev 900.9M 40.0K 900.9M 4096
/sys/fs/cgroup 900.9M 12.0