-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdf2a0c
commit a4dc168
Showing
9 changed files
with
88 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
APP_STL := system | ||
APP_CFLAGS := -Oz -fvisibility=hidden -fvisibility-inlines-hidden | ||
APP_CPPFLAGS := -std=c++20 -fno-exceptions -fno-rtti | ||
APP_STL := none | ||
APP_CFLAGS := -fvisibility=hidden -fvisibility-inlines-hidden -O3 -mllvm -polly | ||
APP_CPPFLAGS := -std=c++20 -fno-exceptions -fno-rtti | ||
APP_LDFLAGS := -O3 -mllvm -polly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,42 @@ | ||
# 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 | ||
|
||
# SafetyNet-Fix module is obsolete and it's incompatible with PIF. | ||
# safetynet-fix module is obsolete and it's incompatible with PIF. | ||
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." | ||
abort "- !!! REMOVE safetynet-fix module and do NOT install it again along PIF." | ||
fi | ||
|
||
# MagiskHidePropsConf module is obsolete in Android 8+ but it shouldn't give issues. | ||
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then | ||
ui_print "!!! WARNING, MagiskHidePropsConf module may cause issues with PIF" | ||
ui_print "- ! WARNING, MagiskHidePropsConf module may cause issues with PIF" | ||
fi | ||
|
||
# Check if ROM is xiaomi.eu | ||
if [ "$(resetprop ro.build.host)" = "xiaomi.eu" ] || [ "$(resetprop ro.build.host)" = "EliteDevelopment" ]; then | ||
|
||
ui_print "- ! Detected Xiaomi.eu custom ROM." | ||
|
||
if [ -d "/product/app/XiaomiEUInject" ]; then | ||
|
||
directory="$MODPATH/product/app/XiaomiEUInject" | ||
|
||
[ -d "$directory" ] || mkdir -p "$directory" | ||
|
||
touch "$directory/.replace" | ||
|
||
ui_print "- XiaomiEUInject app removed." | ||
fi | ||
|
||
if [ -d "/system/app/XInjectModule" ]; then | ||
|
||
directory="$MODPATH/system/app/XInjectModule" | ||
|
||
[ -d "$directory" ] || mkdir -p "$directory" | ||
|
||
touch "$directory/.replace" | ||
|
||
ui_print "- XInjectModule app removed." | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
id=playintegrityfix | ||
name=Play Integrity Fix | ||
version=v14.2 | ||
versionCode=14200 | ||
version=v14.2.1 | ||
versionCode=14210 | ||
author=chiteroman | ||
description=Fuck Play Integrity API. | ||
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"version": "v14.2", | ||
"versionCode": 14200, | ||
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v14.2/PlayIntegrityFix_v14.2.zip", | ||
"version": "v14.2.1", | ||
"versionCode": 14210, | ||
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v14.2.1/PlayIntegrityFix_v14.2.1.zip", | ||
"changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" | ||
} |