1、adb remount 重新挂载system分区,实现对system分区重新挂载,重新挂载的时候将修改分区的属性,常见的修改参数为分区的读写。
使用该命令主要是因为android系统的system分区在启动之后是只读分区,但在开发过程中需要对system分区进行修改,则需重新挂载成读写模式。
命令行如下:
2,adb root
adb remount
adb disable-verity
adb reboot
adb root
adb remount
3,在将文件 push 到 '/system' 文件夹之前,必须先输入命令 'adb remount'。
'adb remount' 的作用相当于 'adb shell mount -o rw,remount,rw /system'。