From 5a44c31e450ba772d3c34bfaf3886bd46fe6fcc7 Mon Sep 17 00:00:00 2001 From: Kyle Harrison Date: Mon, 18 Oct 2021 15:05:02 +0100 Subject: [PATCH] sdm660-common: props: 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: If6430597d8459e62dd78aa458c58237c71618970 Signed-off-by: pix106 --- sdm660.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdm660.mk b/sdm660.mk index b91f37b9..feb0e800 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -528,6 +528,10 @@ PRODUCT_SOONG_NAMESPACES += \ hardware/google/interfaces \ hardware/google/pixel +# System +PRODUCT_PROPERTY_OVERRIDES += \ + persist.sys.binary_xml=false + # Tetheroffload PRODUCT_PACKAGES += \ ipacm \