mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 19:05:01 +08:00
1a9eb9d2e7
- add back check_resetprop but rename functions to make their use more clear (thanks HuskyDG) - combine system.prop (runs at post-fs-data) entries into service.sh so that they're only set if needed (note that they therefore wouldn't need to be late props) - use a uniform style in all scripts (only necessary quoting and brackets, add trailing newlines, spaces not tabs :P) - remove GMS data pif.prop/pif.json files left over from previous releases to ensure they don't trigger detection at some point (these lines can be removed again in a later release once we're satisfied everyone affected has this resolved)
10 lines
295 B
Bash
10 lines
295 B
Bash
# Remove Play Services from Magisk Denylist when set to enforcing
|
|
if magisk --denylist status; then
|
|
magisk --denylist rm com.google.android.gms
|
|
fi
|
|
|
|
# Remove safetynet-fix module if installed
|
|
if [ -d /data/adb/modules/safetynet-fix ]; then
|
|
touch /data/adb/modules/safetynet-fix/remove
|
|
fi
|