现象:
$ 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