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! # CUSTOM SPOOF FORK v3
If you want to share your knowledge join:
https://t.me/playintegrityfix
# CUSTOM SPOOF v2.1 - 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
DO NOT USE THIS BUILD IF YOU AREN'T A DEVELOPER, ALWAYS USE LATEST STABLE. - Use custom.pif.json for custom spoofing if it exists, self-contained in the module directory, and restore it after module updates
THIS BUILD IS JUST FOR TESTING PURPOSES. - Move props that need to be changed earlier into post-fs-data.sh
- Warn of possible conflict if MagiskHidePropsConfig (MHPC) is installed
- Removed custom resetprop.
- Fix JSON parsing.
- Less libs size.
- Few code improvements.

View File

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

View File

@@ -1,15 +1,15 @@
# Error on < Android 8 # Error on < Android 8
if [ "$API" -lt 26 ]; then 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 fi
# Remove/warn if conflicting modules are installed # Remove/warn if conflicting modules are installed
if [ -d /data/adb/modules/safetynet-fix ]; then if [ -d /data/adb/modules/safetynet-fix ]; then
touch /data/adb/modules/safetynet-fix/remove 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 fi
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then 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 fi
# Copy any custom.pif.json to updated module # Copy any custom.pif.json to updated module

View File

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

View File

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