From ec34417cd9f5061197394f1f528b9680f637fd6a Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sun, 8 Jun 2025 01:46:26 -0300 Subject: [PATCH] Also add new PIHooks detection to empty prop workaround --- module/common_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common_setup.sh b/module/common_setup.sh index a4a9714..3ddcb14 100644 --- a/module/common_setup.sh +++ b/module/common_setup.sh @@ -60,7 +60,7 @@ for APP in $(grep -v '^#' $LIST); do done # Work around custom ROM PropImitationHooks conflict when their persist props don't exist -if [ -n "$(resetprop ro.aospa.version)" -o -n "$(resetprop net.pixelos.version)" -o -n "$(resetprop ro.afterlife.version)" ]; then +if [ -n "$(resetprop ro.aospa.version)" -o -n "$(resetprop net.pixelos.version)" -o -n "$(resetprop ro.afterlife.version)" -o -f /data/system/gms_certified_props.json ]; then for PROP in persist.sys.pihooks.first_api_level persist.sys.pihooks.security_patch; do resetprop | grep -q "\[$PROP\]" || persistprop "$PROP" "" done