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,13 +1,7 @@
We have a Telegram channel!
If you want to share your knowledge join:
https://t.me/playintegrityfix
# CUSTOM SPOOF FORK v3
# CUSTOM SPOOF v2.1
DO NOT USE THIS BUILD IF YOU AREN'T A DEVELOPER, ALWAYS USE LATEST STABLE.
THIS BUILD IS JUST FOR TESTING PURPOSES.
- Removed custom resetprop.
- Fix JSON parsing.
- Less libs size.
- Few code improvements.
- Combine system.prop (runs at post-fs-data) entries into service.sh so that they're only set if needed
- Clean up GMS data pif.prop/pif.json files left over from previous releases to ensure they don't trigger detection
- Use custom.pif.json for custom spoofing if it exists, self-contained in the module directory, and restore it after module updates
- Move props that need to be changed earlier into post-fs-data.sh
- Warn of possible conflict if MagiskHidePropsConfig (MHPC) is installed

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

View File

@@ -1,6 +1,6 @@
{
"version": "v2.1",
"versionCode": 2101,
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/PROPS/PlayIntegrityFix_PROPS-v2.1.zip",
"changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/custom/changelog.md"
"version": "v3",
"versionCode": 3000,
"zipUrl": "https://github.com/osm0sis/PlayIntegrityFork/releases/download/v3/PlayIntegrityFork-v3.zip",
"changelog": "https://raw.githubusercontent.com/osm0sis/PlayIntegrityFork/main/changelog.md"
}