android - Why does adb fail to remount? Trying to copy burp ca certificate to the cacerts folder - Stack Overflow

admin2025-05-02  2

adb remount fails with the following error. I'm not running on a production build and running adb as root. Tried on various API versions and its always the same error

$ adb remount
avb_ops_user.cpp:217: ERROR: Error writing data.
avb_user_verity.c:205: ERROR: Error writing to partition 'vbmeta'
Skipping /system for remount
[liblp]bool android::fs_mgr::WritePrimaryMetadata(int, const android::fs_mgr::LpMetadata &, uint32_t, const std::string &, const std::function<bool (int, const std::string &)> &) write 740 bytes failed: Operation not permitted
[libfs_mgr]add partition scratch
[liblp]bool android::fs_mgr::WritePrimaryMetadata(int, const android::fs_mgr::LpMetadata &, uint32_t, const std::string &, const std::function<bool (int, const std::string &)> &) write 740 bytes failed: Operation not permitted
[libfs_mgr]add partition scratch
[liblp]bool android::fs_mgr::WritePrimaryMetadata(int, const android::fs_mgr::LpMetadata &, uint32_t, const std::string &, const std::function<bool (int, const std::string &)> &) write 740 bytes failed: Operation not permitted
[libfs_mgr]add partition scratch
Can not mount overlayfs for partitions: No such file or directory
failed to remount partition dev:/dev/block/dm-3 mnt:/vendor: Read-only file system
Consider providing all the dependencies to enable overlayfs
failed to remount partition dev:/dev/block/dm-2 mnt:/product: Read-only file system
Consider providing all the dependencies to enable overlayfs
failed to remount partition dev:/dev/block/dm-1 mnt:/system_ext: Read-only file system
Consider providing all the dependencies to enable overlayfs
remount failed
转载请注明原文地址:http://www.anycun.com/QandA/1746124512a92013.html