1. 程式人生 > >Android P 上 remount of the / superblock failed: Permission denied

Android P 上 remount of the / superblock failed: Permission denied

現象:

$ 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