From c0d0e424b4e9b66eff01543890baa8531725a95b Mon Sep 17 00:00:00 2001 From: chiteroman <98092901+chiteroman@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:41:33 +0100 Subject: [PATCH] v15.9.2 --- app/build.gradle.kts | 4 ++-- .../es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java | 6 +++--- changelog.md | 5 ++--- module/customize.sh | 4 ++-- module/module.prop | 4 ++-- module/system/app/EliteDevelopmentModule/.replace | 0 module/system/app/XInjectModule/.replace | 0 module/system/product/app/XiaomiEUInject-Stub/.replace | 0 module/system/product/app/XiaomiEUInject/.replace | 0 module/system/system_ext/app/PifPrebuilt/.replace | 0 module/system/system_ext/app/hentaiLewdbSVTDummy/.replace | 0 update.json | 6 +++--- 12 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 module/system/app/EliteDevelopmentModule/.replace create mode 100644 module/system/app/XInjectModule/.replace create mode 100644 module/system/product/app/XiaomiEUInject-Stub/.replace create mode 100644 module/system/product/app/XiaomiEUInject/.replace create mode 100644 module/system/system_ext/app/PifPrebuilt/.replace create mode 100644 module/system/system_ext/app/hentaiLewdbSVTDummy/.replace diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4cb3439..6d672ec 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "es.chiteroman.playintegrityfix" minSdk = 26 targetSdk = 34 - versionCode = 15910 - versionName = "v15.9.1" + versionCode = 15920 + versionName = "v15.9.2" multiDexEnabled = false buildFeatures { diff --git a/app/src/main/java/es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java b/app/src/main/java/es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java index 3c50d9f..7cd1c96 100644 --- a/app/src/main/java/es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java +++ b/app/src/main/java/es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java @@ -30,11 +30,11 @@ public final class CustomKeyStoreSpi extends KeyStoreSpi { Certificate[] certificates; // Check for broken TEE devices... It shouldn't happen because exception is in generateKeyPair - // Just to be sure... + // Also, for custom roms which implement a bypass :D try { certificates = keyStoreSpi.engineGetCertificateChain(alias); } catch (Throwable t) { - EntryPoint.LOG(t.toString()); + EntryPoint.LOG("engineGetCertificateChain: " + t); throw new UnsupportedOperationException(); } @@ -48,7 +48,7 @@ public final class CustomKeyStoreSpi extends KeyStoreSpi { // If leaf certificate has attestation extensions, throw exception! if (certificates[0] instanceof X509Certificate x509Certificate) { if (x509Certificate.getExtensionValue(EAT_OID) != null || x509Certificate.getExtensionValue(ASN1_OID) != null || x509Certificate.getExtensionValue(KNOX_OID) != null) { - EntryPoint.LOG("Certificate leaf with attestation extensions. Throw exception!"); + EntryPoint.LOG("Leaf certificate with attestation extensions. Throw exception!"); throw new UnsupportedOperationException(); } } diff --git a/changelog.md b/changelog.md index d067e7b..7119280 100644 --- a/changelog.md +++ b/changelog.md @@ -5,7 +5,6 @@ https://t.me/playintegrityfix Device verdict should pass by default. If not, try removing /data/adb/pif.json file. -# v15.9.1 +# v15.9.2 -- Correctly remove conflict apps. -- Fix attestation issues in few devices. \ No newline at end of file +- Fix bootloop issue on few devices. \ No newline at end of file diff --git a/module/customize.sh b/module/customize.sh index 42e925d..9198934 100644 --- a/module/customize.sh +++ b/module/customize.sh @@ -18,12 +18,12 @@ fi # Check custom fingerprint if [ -f "/data/adb/pif.json" ]; then ui_print "- You are using custom fingerprint!" - ui_print "- If you are failing DEVICE verdict, remove /data/adb/pif.json file" + ui_print "- If you fail DEVICE verdict, remove /data/adb/pif.json file" ui_print "- If pif.json file doesn't exist, module will use default one" fi # Remove conflict apps -REPLACE=" +REMOVE=" /system/app/EliteDevelopmentModule /system/app/XInjectModule /system/product/app/XiaomiEUInject diff --git a/module/module.prop b/module/module.prop index 68df599..1cb515b 100644 --- a/module/module.prop +++ b/module/module.prop @@ -1,7 +1,7 @@ id=playintegrityfix name=Play Integrity Fix -version=v15.9.1 -versionCode=15910 +version=v15.9.2 +versionCode=15920 author=chiteroman description=Universal modular fix for Play Integrity (and SafetyNet) on devices running Android 8-14. updateJson=https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json diff --git a/module/system/app/EliteDevelopmentModule/.replace b/module/system/app/EliteDevelopmentModule/.replace new file mode 100644 index 0000000..e69de29 diff --git a/module/system/app/XInjectModule/.replace b/module/system/app/XInjectModule/.replace new file mode 100644 index 0000000..e69de29 diff --git a/module/system/product/app/XiaomiEUInject-Stub/.replace b/module/system/product/app/XiaomiEUInject-Stub/.replace new file mode 100644 index 0000000..e69de29 diff --git a/module/system/product/app/XiaomiEUInject/.replace b/module/system/product/app/XiaomiEUInject/.replace new file mode 100644 index 0000000..e69de29 diff --git a/module/system/system_ext/app/PifPrebuilt/.replace b/module/system/system_ext/app/PifPrebuilt/.replace new file mode 100644 index 0000000..e69de29 diff --git a/module/system/system_ext/app/hentaiLewdbSVTDummy/.replace b/module/system/system_ext/app/hentaiLewdbSVTDummy/.replace new file mode 100644 index 0000000..e69de29 diff --git a/update.json b/update.json index ccd63f6..383b897 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version": "v15.9.1", - "versionCode": 15910, - "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.9.1/PlayIntegrityFix_v15.9.1.zip", + "version": "v15.9.2", + "versionCode": 15920, + "zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.9.2/PlayIntegrityFix_v15.9.2.zip", "changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" }