Exclude the dumpsys dumps from backups, to avoid error 255 when restoring data backups
Change-Id: I7a83b3789828c1400e31007e868263c54d8eb38c (cherry picked from commit 13b07f8dbe27d85254e0a04f689a9ed6bde7673e)
This commit is contained in:
@@ -1188,6 +1188,7 @@ void TWPartition::Setup_Data_Media() {
|
||||
DataManager::SetValue("tw_has_data_media", 1);
|
||||
backup_exclusions.add_absolute_dir("/data/data/com.google.android.music/files");
|
||||
backup_exclusions.add_absolute_dir("/data/per_boot"); // DJ9,14Jan2020 - exclude this dir to prevent "error 255" on AOSP ROMs that create and lock it
|
||||
backup_exclusions.add_absolute_dir("/data/vendor/dumpsys");
|
||||
backup_exclusions.add_absolute_dir("/data/cache");
|
||||
wipe_exclusions.add_absolute_dir(Mount_Point + "/misc/vold"); // adopted storage keys
|
||||
ExcludeAll(Mount_Point + "/system/storage.xml");
|
||||
|
||||
Reference in New Issue
Block a user