New beta update!

This commit is contained in:
chiteroman 2023-12-01 11:53:55 +01:00
parent 1c1d63492f
commit 59ff2abd77
No known key found for this signature in database
GPG Key ID: 19171A27D600CC72
9 changed files with 26 additions and 23 deletions

View File

@ -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$" />

View File

@ -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"))

View File

@ -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);

View File

@ -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

View File

@ -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).

View File

@ -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": ""
}

View File

@ -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

View File

@ -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).

View File

@ -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": ""
}