From 0b957b13b9f7397f7dbe20ac8a0427a64a05657b Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sun, 8 Jun 2025 01:34:30 -0300 Subject: [PATCH] Add support for disabling more PIHooks variants --- module/common_setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/common_setup.sh b/module/common_setup.sh index c50bf13..a4a9714 100644 --- a/module/common_setup.sh +++ b/module/common_setup.sh @@ -67,10 +67,11 @@ if [ -n "$(resetprop ro.aospa.version)" -o -n "$(resetprop net.pixelos.version)" fi # Work around supported custom ROM PropImitationHooks/PixelPropsUtils (and hybrids) conflict when spoofProvider is disabled -if resetprop | grep -qE "persist.sys.pihooks|persist.sys.entryhooks|persist.sys.pixelprops"; then +if resetprop | grep -qE "persist.sys.pihooks|persist.sys.entryhooks|persist.sys.spoof|persist.sys.pixelprops" || [ -f /data/system/gms_certified_props.json ]; then persistprop persist.sys.pihooks.disable.gms_props true persistprop persist.sys.pihooks.disable.gms_key_attestation_block true persistprop persist.sys.entryhooks_enabled false + persistprop persist.sys.spoof.gms false persistprop persist.sys.pixelprops.gms false persistprop persist.sys.pixelprops.gapps false persistprop persist.sys.pixelprops.google false