Prep module files

This commit is contained in:
osm0sis
2023-12-01 21:09:52 -04:00
parent 025f879a3b
commit 5464ec90fe
5 changed files with 20 additions and 26 deletions

View File

@@ -1 +1 @@
#MAGISK
#MAGISK

View File

@@ -1,15 +1,15 @@
# Error on < Android 8
if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
abort "! You can't use this module on Android < 8.0"
fi
# 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"
ui_print "! Universal SafetyNet Fix (USNF) 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"
ui_print "! MagiskHidePropsConfig (MHPC) module may cause issues with PIF"
fi
# Copy any custom.pif.json to updated module

View File

@@ -1,7 +1,7 @@
id=playintegrityfix
name=Play Integrity Fix
version=PROPS-v2.1
versionCode=2101
author=chiteroman
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity).
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/custom/update.json
name=Play Integrity Fork
version=v3
versionCode=3000
author=osm0sis & chiteroman @ xda-developers
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity)
updateJson=https://raw.githubusercontent.com/osm0sis/PlayIntegrityFork/main/update.json