mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 03:22:39 +02:00
New beta update!
This commit is contained in:
parent
1c1d63492f
commit
59ff2abd77
@ -5,7 +5,7 @@
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
||||
<option name="gradleJvm" value="jbr-17" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
|
@ -111,7 +111,7 @@ tasks.register<Zip>("zip") {
|
||||
}
|
||||
|
||||
tasks.register<Zip>("zip-resetprop") {
|
||||
dependsOn("copyFiles")
|
||||
dependsOn("copyFiles-resetprop")
|
||||
|
||||
archiveFileName.set("PlayIntegrityFix-resetprop.zip")
|
||||
destinationDirectory.set(project.rootDir.resolve("out"))
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#define JSON_FILE_PATH "/data/adb/pif.json"
|
||||
|
||||
#define DEFAULT_FIRST_API_LEVEL "23"
|
||||
|
||||
static std::string FIRST_API_LEVEL, SECURITY_PATCH;
|
||||
|
||||
typedef void (*T_Callback)(void *, const char *, const char *, uint32_t);
|
||||
@ -26,7 +28,8 @@ static void modify_callback(void *cookie, const char *name, const char *value, u
|
||||
|
||||
if (prop.ends_with("api_level")) {
|
||||
if (FIRST_API_LEVEL.empty()) {
|
||||
return o_callback(cookie, name, "23", serial);
|
||||
LOGD("[%s]: %s -> %s", name, value, DEFAULT_FIRST_API_LEVEL);
|
||||
return o_callback(cookie, name, DEFAULT_FIRST_API_LEVEL, serial);
|
||||
} else {
|
||||
LOGD("[%s]: %s -> %s", name, value, FIRST_API_LEVEL.c_str());
|
||||
return o_callback(cookie, name, FIRST_API_LEVEL.c_str(), serial);
|
||||
|
@ -5,7 +5,7 @@ fi
|
||||
|
||||
# Copy default pif.json if it doesn't exist.
|
||||
if [ ! -e /data/adb/pif.json ]; then
|
||||
mv -f $MODPATH/pif.json /data/adb/pif.json
|
||||
cp -af $MODPATH/pif.json /data/adb/pif.json
|
||||
ui_print "Moved default pif.json file!"
|
||||
fi
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
id=playintegrityfix
|
||||
name=Play Integrity Fix
|
||||
version=v14.0-BETA
|
||||
version=v14.0-BETA-2
|
||||
versionCode=139
|
||||
author=chiteroman
|
||||
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity).
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"PRODUCT": "WW_Phone",
|
||||
"DEVICE": "ASUS_Z012D",
|
||||
"MANUFACTURER": "asus",
|
||||
"BRAND": "asus",
|
||||
"MODEL": "ASUS_Z012D",
|
||||
"FINGERPRINT": "asus/WW_Phone/ASUS_Z012D:7.0/NRD90M/14.2015.1701.8-20170222:user/release-keys",
|
||||
"SECURITY_PATCH": "2017-01-01",
|
||||
"FIRST_API_LEVEL": null
|
||||
"PRODUCT": "",
|
||||
"DEVICE": "",
|
||||
"MANUFACTURER": "",
|
||||
"BRAND": "",
|
||||
"MODEL": "",
|
||||
"FINGERPRINT": "",
|
||||
"SECURITY_PATCH": "",
|
||||
"FIRST_API_LEVEL": ""
|
||||
}
|
@ -5,7 +5,7 @@ fi
|
||||
|
||||
# Copy default pif.json if it doesn't exist.
|
||||
if [ ! -e /data/adb/pif.json ]; then
|
||||
mv -f $MODPATH/pif.json /data/adb/pif.json
|
||||
cp -af $MODPATH/pif.json /data/adb/pif.json
|
||||
ui_print "- Moved default pif.json file!"
|
||||
fi
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
id=playintegrityfix
|
||||
name=Play Integrity Fix (resetprop)
|
||||
version=v14.0-BETA-resetprop
|
||||
version=v14.0-resetprop-BETA-2
|
||||
versionCode=139
|
||||
author=chiteroman
|
||||
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity).
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"PRODUCT": "WW_Phone",
|
||||
"DEVICE": "ASUS_Z012D",
|
||||
"MANUFACTURER": "asus",
|
||||
"BRAND": "asus",
|
||||
"MODEL": "ASUS_Z012D",
|
||||
"FINGERPRINT": "asus/WW_Phone/ASUS_Z012D:7.0/NRD90M/14.2015.1701.8-20170222:user/release-keys",
|
||||
"SECURITY_PATCH": "2017-01-01",
|
||||
"FIRST_API_LEVEL": null
|
||||
"PRODUCT": "",
|
||||
"DEVICE": "",
|
||||
"MANUFACTURER": "",
|
||||
"BRAND": "",
|
||||
"MODEL": "",
|
||||
"FINGERPRINT": "",
|
||||
"SECURITY_PATCH": "",
|
||||
"FIRST_API_LEVEL": ""
|
||||
}
|
Loading…
Reference in New Issue
Block a user