版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/afei__/article/details/83058933
现象:
$ adb root
restarting adbd as root
$ adb remount
remount of the / superblock failed: Permission denied
remount failed
原因:
Android P 版本后 google 启用 avb(Android Verified Boot)2.0,verified boot and DM-verity 默认启用策略发生了变化。
多调用一次 "adb disable-verity" 就行。
解决:
$ adb root
$ adb disable-verity
$ adb reboot
$ adb root
$ adb remount