This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
40 additions
and
207 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,3 @@ | ||
# Play Integrity Fix | ||
# Zygisk-KeystoreInjection | ||
|
||
This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation. | ||
|
||
## NOTE | ||
If you use a custom ROM, make sure it is signed with the maintainer's private keys, otherwise, you will never be able to pass the Device verdict. | ||
|
||
This module is not made to hide the root, nor to avoid detections in other apps. It only serves to obtain the Device verdict in the Play Integrity tests and certify your device. | ||
All issues created to report a non-Google app not working will be closed without notice. | ||
|
||
## Tutorial | ||
|
||
You will need root and Zygisk, so you must choose ONE of this three setups: | ||
|
||
- [Magisk](https://github.com/topjohnwu/Magisk) with Zygisk enabled. | ||
- [KernelSU](https://github.com/tiann/KernelSU) with [ZygiskNext](https://github.com/Dr-TSNG/ZygiskNext) module installed. | ||
- [APatch](https://github.com/bmax121/APatch) with [ZygiskNext](https://github.com/Dr-TSNG/ZygiskNext) module installed. | ||
|
||
After flashing and reboot your device, you can check PI and SN using these apps: | ||
|
||
- Play Integrity -> https://play.google.com/store/apps/details?id=gr.nikolasspyr.integritycheck | ||
- SafetyNet -> https://play.google.com/store/apps/details?id=rikka.safetynetchecker | ||
|
||
NOTE: if you get an error message about a limit, you need to use another app, this is because a lot of users are requesting an attestation. | ||
|
||
NOTE: SafetyNet is obsolete, more info here: https://developer.android.com/privacy-and-security/safetynet/deprecation-timeline | ||
|
||
Also, if you are using custom rom or custom kernel, be sure that your kernel name isn't blacklisted, you can check it running ```uname -r``` command. This is a list of banned strings: https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 | ||
|
||
## Verdicts | ||
|
||
After requesting an attestation in Play Integrity API you should get this result: | ||
|
||
- MEETS_BASIC_INTEGRITY ✅ | ||
- MEETS_DEVICE_INTEGRITY ✅ | ||
- MEETS_STRONG_INTEGRITY ❌ | ||
- MEETS_VIRTUAL_INTEGRITY ❌ | ||
|
||
You can know more about verdicts in this post: https://xdaforums.com/t/info-play-integrity-api-replacement-for-safetynet.4479337/ | ||
|
||
And in SafetyNet you should get this: | ||
|
||
- basicIntegrity: true | ||
- ctsProfileMatch: true | ||
- evaluationType: BASIC | ||
|
||
NOTE: Strong verdict is impossible to pass on unlocked bootloader devices, there are few devices and "exploits" which will allow you to pass it, but, in normal conditions, this verdict will be green only if you are using stock ROM and locked bootloader. The old posts talking about Strong pass was an "exploit" in Google servers, obviously, now it's patched. | ||
|
||
## FAQ | ||
https://xdaforums.com/t/pif-faq.4653307/ | ||
|
||
## Download | ||
https://github.com/chiteroman/PlayIntegrityFix/releases/latest | ||
|
||
## Donations | ||
[PayPal](https://www.paypal.com/paypalme/chiteroman) | ||
This module tries to Generate a valid certificate chain by injecting custom Keystore provider. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hiteroman/playintegrityfix/CertUtils.java → .../aviraxp/keystoreinjection/CertUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ix/CustomKeyStoreKeyPairGeneratorSpi.java → ...on/CustomKeyStoreKeyPairGeneratorSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/playintegrityfix/CustomKeyStoreSpi.java → .../keystoreinjection/CustomKeyStoreSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package es.chiteroman.playintegrityfix; | ||
package io.github.aviraxp.keystoreinjection; | ||
|
||
import android.util.Log; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...oman/playintegrityfix/CustomProvider.java → ...axp/keystoreinjection/CustomProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/chiteroman/playintegrityfix/Keybox.java → ...hub/aviraxp/keystoreinjection/Keybox.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hiteroman/playintegrityfix/XMLParser.java → .../aviraxp/keystoreinjection/XMLParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Error on < Android 8. | ||
if [ "$API" -lt 26 ]; then | ||
abort "- !!! You can't use this module on Android < 8.0" | ||
# Error on < Android 14. | ||
if [ "$API" -lt 34 ]; then | ||
abort "- !!! You can't use this module on Android < 14" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
id=playintegrityfix | ||
name=Play Integrity Fix | ||
version=v15.9.9 | ||
versionCode=15990 | ||
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 | ||
id=keystoreinjection | ||
name=Keystore Injection | ||
version=v0.1.0 | ||
versionCode=10 | ||
author=aviraxp | ||
description=Generate a valid certificate chain by injecting custom Keystore provider. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"version": "v15.9.9", | ||
"versionCode": 15990, | ||
"zipUrl": "https://github.com/chiteroman/PlayIntegrityFix/releases/download/v15.9.9/PlayIntegrityFix_v15.9.9.zip", | ||
"changelog": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/changelog.md" | ||
"version": "v0.1.0", | ||
"versionCode": 10 | ||
} |