From ffcc2df8b56fb1373cf7774f56c44e4368b80dbd Mon Sep 17 00:00:00 2001 From: osm0sis Date: Wed, 29 Nov 2023 12:55:27 -0400 Subject: [PATCH] Warn of possible conflict if MagiskHidePropsConfig is installed --- module/customize.sh | 5 ++++- module/post-fs-data.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/module/customize.sh b/module/customize.sh index cc5a94d..0b02fdf 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -3,11 +3,14 @@ if [ "$API" -lt 26 ]; then abort "!!! You can't use this module on Android < 8.0" fi -# Remove safetynet-fix module if installed +# Remove/warn if conflicting modules are installed if [ -d /data/adb/modules/safetynet-fix ]; then touch /data/adb/modules/safetynet-fix/remove ui_print "- 'safetynet-fix' module will be removed on next reboot" fi +if [ -d /data/adb/modules/MagiskHidePropsConf ]; then + ui_print "- Warning, 'MagiskHidePropsConf' module may cause issues with PIF" +fi # Copy any custom.pif.json to updated module if [ -f /data/adb/modules/playintegrityfix/custom.pif.json ]; then diff --git a/module/post-fs-data.sh b/module/post-fs-data.sh index 42a4ccf..f19aae2 100644 --- a/module/post-fs-data.sh +++ b/module/post-fs-data.sh @@ -3,7 +3,7 @@ if magisk --denylist status; then magisk --denylist rm com.google.android.gms fi -# Remove safetynet-fix module if installed +# Remove conflicting modules if installed if [ -d /data/adb/modules/safetynet-fix ]; then touch /data/adb/modules/safetynet-fix/remove fi