backup_exclusions: exclude /data/extm folder from backup
exclude this dir to prevent "error 255" on MIUI
Change-Id: I7e31006617775d575cc1f37a0234369a345c372d
diff --git a/partition.cpp b/partition.cpp
index f040620..f767db6 100755
--- a/partition.cpp
+++ b/partition.cpp
@@ -1242,6 +1242,7 @@
backup_exclusions.add_absolute_dir("/data/vendor/dumpsys");
backup_exclusions.add_absolute_dir("/data/cache");
backup_exclusions.add_absolute_dir("/data/misc/apexdata/com.android.art"); // exclude this dir to prevent "error 255" on AOSP Android 12
+ backup_exclusions.add_absolute_dir("/data/extm"); //exclude this dir to prevent "error 255" on MIUI
wipe_exclusions.add_absolute_dir(Mount_Point + "/misc/vold"); // adopted storage keys
ExcludeAll(Mount_Point + "/system/storage.xml");
} else {