remount of the / superblock failed: Permission denied

将编译的模块通过"adb push"到/system文件夹中,须执行"adb remount",但是Android9.0的会出现失败提示"remount of the / superblock failed: Permission denied"

  • 报错
C:\Users\Admin>adb root
restarting adbd as root

C:\Users\Admin>adb remount
remount of the / superblock failed: Permission denied
remount failed
  • 解决
C:\Users\Admin>adb disable-verity
Successfully disabled verity
Now reboot your device for settings to take effect

C:\Users\Admin>adb reboot

C:\Users\Admin>adb root
restarting adbd as root

C:\Users\Admin>adb remount
remount succeeded

猜你喜欢

转载自blog.csdn.net/weixin_44008788/article/details/107506962