backup_exclusions: exclude /data/extm folder from backup
exclude this dir to prevent "error 255" on MIUI Change-Id: I7e31006617775d575cc1f37a0234369a345c372d (cherry picked from commit 05ca8766bff3e0cb22e1d69be56fa8d9f1d9ef19)
This commit is contained in:
@@ -1242,6 +1242,7 @@ void TWPartition::Setup_Data_Media() {
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user