From 2e9cb523ae203561adab512d49e25d71a58b3315 Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Mon, 25 Oct 2021 15:48:30 +0900 Subject: [PATCH] universal7885: product.prop: 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. https: //github.com/roberto-sartori-gl/vendor_rs/commit/fbbcddc943b9dcf28bc194b8b06da966f74cd043 Change-Id: I8e0f909ba7ec40c8089077a444b636640aff96d8 Signed-off-by: roynatech2544 --- universal7885-common/product.prop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/universal7885-common/product.prop b/universal7885-common/product.prop index b51497b..a7726c4 100644 --- a/universal7885-common/product.prop +++ b/universal7885-common/product.prop @@ -5,3 +5,5 @@ ro.lmk.kill_heaviest_task=false ro.lmk.log_stats=true ro.lmk.upgrade_pressure=40 ro.lmk.use_psi=false +# xml +persist.sys.binary_xml=false