1. 重新挂载/system文件系统方法:

1. adb root
	  //adbd is already running as root
2. adb disable-verity
	  using overlayfs for /vendor
  	  Verity disabled on /vendor
  	  using overlayfs for /
  	  Verity disabled on /
  	  Now reboot your device for settings to take effect
3. adb reboot
      //设备重启
4. adb root
      //重新以root身份运行adb
5. adb remount
	可以成功remount /system为读写模式
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.

2. chmod +x [文件] 修改文件的可执行权限

1. 使用cp或者mv命令将文件复制到/system目录下
2. 使用 chmod +x [文件] 可以成功修改文件的可执行权限
  • 1.
  • 2.