Skip to content

Commit

Permalink
v18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chiteroman committed Dec 24, 2024
1 parent 18da0ce commit fde296f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
applicationId = "es.chiteroman.playintegrityfix"
minSdk = 26
targetSdk = 35
versionCode = 18100
versionName = "v18.1"
versionCode = 18200
versionName = "v18.2"
multiDexEnabled = false

externalNativeBuild {
Expand Down
5 changes: 4 additions & 1 deletion app/src/main/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@ static void companion(int fd) {
xwrite(fd, json.data(), jsonSize * sizeof(uint8_t));
}

bool trickyStore = std::filesystem::exists(TS_PATH);
std::string ts(TS_PATH);
bool trickyStore = std::filesystem::exists(ts) &&
!std::filesystem::exists(ts + "/disable") &&
!std::filesystem::exists(ts + "/remove");
xwrite(fd, &trickyStore, sizeof(trickyStore));

bool testSignedRom = checkOtaZip();
Expand Down
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ If you are using TrickyStore and you have a valid keybox, but Strong
isn't passing, maybe you should change the ROM.
Stock ROMs gives the best results.

# v18.1
# v18.2

- Update fingerprint
- Add action.sh (to auto update fingerprint to latest beta)

Thanks to osm0sis, backslashxx and KOWX712
5 changes: 2 additions & 3 deletions module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ fi

# Check custom fingerprint
if [ -f "/data/adb/pif.json" ]; then
ui_print "!!! WARNING !!!"
ui_print "- You are using custom pif.json (/data/adb/pif.json)"
ui_print "- Remove that file if you can't pass attestation test!"
ui_print "- Backup custom pif.json"
mv -f /data/adb/pif.json /data/adb/pif.json.old
fi
4 changes: 2 additions & 2 deletions module/module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=playintegrityfix
name=Play Integrity Fix
version=v18.1
versionCode=18100
version=v18.2
versionCode=18200
author=chiteroman
description=Universal modular fix for Play Integrity (and SafetyNet) on devices running Android 8-15
updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json
6 changes: 3 additions & 3 deletions module/pif.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FINGERPRINT": "google/tokay_beta/tokay:15/BP11.241025.006/12620009:user/release-keys",
"FINGERPRINT": "google/oriole_beta/oriole:Baklava/BP21.241121.009/12787338:user/release-keys",
"MANUFACTURER": "Google",
"MODEL": "Pixel 9",
"SECURITY_PATCH": "2024-11-05",
"MODEL": "Pixel 6",
"SECURITY_PATCH": "2024-12-05",
"DEVICE_INITIAL_SDK_INT": 21
}
6 changes: 3 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "v18.1",
"versionCode": 18100,
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v18.1/PlayIntegrityFix_v18.1.zip",
"version": "v18.2",
"versionCode": 18200,
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v18.2/PlayIntegrityFix_v18.2.zip",
"changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md"
}

0 comments on commit fde296f

Please sign in to comment.