Release v14.1

This commit is contained in:
chiteroman 2023-12-03 21:12:15 +01:00
parent c1f1c77811
commit 8bba7b8a4d
No known key found for this signature in database
GPG Key ID: 19171A27D600CC72
17 changed files with 65 additions and 33 deletions

View File

@ -235,8 +235,17 @@ static void companion(int fd) {
fclose(dex);
}
FILE *json;
if (std::filesystem::exists(JSON_FILE_PATH)) {
FILE *json = fopen(JSON_FILE_PATH, "rb");
json = fopen(JSON_FILE_PATH, "rb");
} else {
std::filesystem::remove(JSON_TEMP_FILE);
system("/data/adb/modules/playintegrityfix/curl -o /data/adb/modules/playintegrityfix/temp https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/pif.json");
json = fopen(JSON_TEMP_FILE, "rb");
}
if (json) {
fseek(json, 0, SEEK_END);
@ -248,20 +257,6 @@ static void companion(int fd) {
fclose(json);
}
} else if (std::filesystem::exists(JSON_TEMP_FILE)) {
FILE *json = fopen(JSON_TEMP_FILE, "rb");
if (json) {
fseek(json, 0, SEEK_END);
jsonSize = ftell(json);
fseek(json, 0, SEEK_SET);
jsonVector.resize(jsonSize);
fread(jsonVector.data(), 1, jsonSize, json);
fclose(json);
}
}
write(fd, &dexSize, sizeof(long));
write(fd, &jsonSize, sizeof(long));

View File

@ -2,10 +2,18 @@ We have a Telegram channel!
If you want to share your knowledge join:
https://t.me/playintegrityfix
# v14.0
# v14.1
Google banned v13.9 fingerprint.
If you don't want to use your custom props to spoof, remove the file.
Now you must search a valid fingerprint, you must modify /data/adb/pif.json file to spoof a valid certified device.
On terminal as root: rm -f /data/adb/pif.json
Good luck.
I will try to update the fingerprint when Google bans it.
Instead reinstalling the module you only need to kill GMS unstable process.
On terminal as root: killall com.google.android.gms.unstable
When installing this version you must reboot the device.
Any problem report on GitHub :)

BIN
module/bin/arm64-v8a/curl Normal file

Binary file not shown.

BIN
module/bin/armeabi-v7a/curl Normal file

Binary file not shown.

BIN
module/bin/x86/curl Normal file

Binary file not shown.

BIN
module/bin/x86_64/curl Normal file

Binary file not shown.

View File

@ -3,6 +3,13 @@ if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
fi
# Check custom pif.json
if [ -e /data/adb/pif.json ]; then
ui_print "!!! WARNING, You are using a custom pif.json. Module will use it."
ui_print "!!! If you want to use recommended one, remove this file."
ui_print "!!! To remove it, execute as root: rm -f /data/adb/pif.json"
fi
# 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
@ -13,3 +20,8 @@ fi
if [ -d /data/adb/modules/MagiskHidePropsConf ]; then
ui_print "!!! WARNING, 'MagiskHidePropsConf' module may cause issues with PIF"
fi
# curl
mv -f $MODPATH/bin/$ABI/curl $MODPATH
rm -rf $MODPATH/bin
set_perm $MODPATH/curl root root 777

View File

@ -1,7 +1,7 @@
id=playintegrityfix
name=Play Integrity Fix
version=v14.0
versionCode=14000
version=v14.1
versionCode=14100
author=chiteroman
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity).
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json

View File

@ -1,3 +1,6 @@
// THIS IS A TEMPLATE, IF YOU WANT TO USE YOUR CUSTOM PROPS
// MOVE THIS FILE TO /data/adb/pif.json AND MODIFY IT
// REMOVE THIS LINES
{
"PRODUCT": "",
"DEVICE": "",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,6 +3,13 @@ if [ "$API" -lt 26 ]; then
abort "!!! You can't use this module on Android < 8.0"
fi
# Check custom pif.json
if [ -e /data/adb/pif.json ]; then
ui_print "!!! WARNING, You are using a custom pif.json. Module will use it."
ui_print "!!! If you want to use recommended one, remove this file."
ui_print "!!! To remove it, execute as root: rm -f /data/adb/pif.json"
fi
# 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
@ -14,7 +21,11 @@ if [ -d /data/adb/modules/MagiskHidePropsConf ]; then
ui_print "!!! WARNING, MagiskHidePropsConf module may cause issues with PIF"
fi
# use our resetprop
# curl & resetprop
mv -f $MODPATH/bin/$ABI/curl $MODPATH
mv -f $MODPATH/bin/$ABI/resetprop $MODPATH
rm -rf $MODPATH/bin
set_perm $MODPATH/resetprop root root 755
set_perm $MODPATH/curl root root 777
set_perm $MODPATH/resetprop root root 777

View File

@ -1,7 +1,7 @@
id=playintegrityfix
name=Play Integrity Fix (resetprop)
version=v14.0-resetprop
versionCode=14000
version=v14.1-resetprop
versionCode=14100
author=chiteroman
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity).
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json

View File

@ -1,3 +1,6 @@
// THIS IS A TEMPLATE, IF YOU WANT TO USE YOUR CUSTOM PROPS
// MOVE THIS FILE TO /data/adb/pif.json AND MODIFY IT
// REMOVE THIS LINES
{
"PRODUCT": "",
"DEVICE": "",

View File

@ -1,6 +1,6 @@
{
"version": "v14.0",
"versionCode": 14000,
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v14.0/PlayIntegrityFix_v14.0.zip",
"version": "v14.1",
"versionCode": 14100,
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v14.1/PlayIntegrityFix_v14.1.zip",
"changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md"
}