fs_mgr: Load DM table as RW for debuggable recoveries

Change-Id: I34ed2c0796e9d16d3ff035f67e3fb45484cd6d77
This commit is contained in:
LuK1337 2024-02-18 10:11:16 +01:00 committed by Fazil Sheik
parent e9ebe78e24
commit 802ff917b1
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ bool CreateLogicalPartitions(const LpMetadata& metadata, const std::string& supe
CreateLogicalPartitionParams params = {
.block_device = super_device,
.metadata = &metadata,
#if defined(__ANDROID_RECOVERY__) && defined(ALLOW_ADBD_DISABLE_VERITY)
.force_writable = true,
#endif
};
for (const auto& partition : metadata.partitions) {
if (!partition.num_extents) {