From ee2cf80cdf05f76598aa304e55744a448951df29 Mon Sep 17 00:00:00 2001 From: Kyle Harrison Date: Mon, 18 Oct 2021 15:05:02 +0100 Subject: [PATCH] sdm710-common: Don't write binary XML files - Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml - This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format. Change-Id: Ibc6ee9a611cdda5947145603218465e17ed11ff8 --- product.prop | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product.prop b/product.prop index 9ae3134..3006961 100644 --- a/product.prop +++ b/product.prop @@ -74,6 +74,10 @@ ro.surface_flinger.force_hwc_copy_for_virtual_displays=true ro.surface_flinger.max_virtual_display_dimension=4096 ro.surface_flinger.protected_contents=true +# XML +PRODUCT_PROPERTY_OVERRIDES += \ + persist.sys.binary_xml=false + # Zram ro.zram.mark_idle_delay_mins=60 ro.zram.first_wb_delay_mins=1440