Android 9 userdebug版本执行adb remount出现:
remount of the / superblock failed: Permission denied
remount failed
发生的原因:
android 9及以后版本google启用avb(Android Verified Boot)2.0,verified boot and DM-verity默认启用策略发生了变化
解决方法:
1.kernel-4.4 和 kernel-3.18:
- adb root
- adb disable-verity
- adb reboot
- adb root
- adb remount
2.kernel-4.9以及更高版本:
- 在Setting -> System -> Developer options -> OEM unlocking打开
- adb reboot bootloader
- fastboot flashing unlock
- press volume up key
- fastboot reboot
- adb root
- adb disable-verity
- adb reboot
- adb root
- adb remount