android开发chmod无效重新挂载文件系统解决问题
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为读写模式
2. chmod +x [文件] 修改文件的可执行权限
1. 使用cp或者mv命令将文件复制到/system目录下
2. 使用 chmod +x [文件] 可以成功修改文件的可执行权限