This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation.
This module is not made to hide root, nor to avoid detections in other apps. It only serves to pass Device verdict in the Play Integrity tests and certify your device.
You will need root and Zygisk. Enable Magisk's built-in Zygisk or use ZygiskNext / ReZygisk.
- spoofBuild: spoof fingerprint field, enabled by default.
- spoofProvider: custom keystore provide, enable when not using TrickyStore.
- spoofProps: spoof prop when gms read from sytem prop, enable when not using TrickyStore.
- spoofSignature: spoof rom signature, enable when your rom is signed by testkey. You can check your rom signature by running this command in terminal.
unzip -l /system/etc/security/otacerts.zip | grep -oE "testkey|releasekey"
- spoofVendingSdk: spoof sdk version to 32 to Play Store if your device runs Android 13 or higher, this option will not take effect if your device is running Android 12 or lower.
- Known issue:
- Back gesture/nav button from within the Play Store exits directly to homescreen for all
- Blank account sign-in status and broken app updates for ROMs A14+
- Incorrect app variants may be served for all
- Full Play Store crashes for some setups
- pixel_beta fingerprint can no longer get device verdict even on legacy check, so enabling this option won't help you to get device verdict anymore.
- Known issue:
- inject-vending: Based on the official inject branch, with the added spoofVendingSdk option.
- inject-manual: Based on inject-vending, with auto config (detect TrickyStore and ROM signature) removed.
- inject-s: Based on inject-manual, lightweight since it dropped the JSON format (pif.json -> pif.prop).
Warning
Do not use third-party tools to fetch fingerprints to avoid conflicts. The WebUI provides full control for configurable options.
- The spoofVendingSdk option has been patched by Google; device verdict on A12+ with spoofVendingSdk is no longer possible.
- The inject-vending and inject-manual branches are discontinued, but the branches will not be removed.
- The offical PIF by chiteroman has been removed from GitHub.
- Official untouched main branch: https://github.com/KOWX712/PlayIntegrityFix/tree/main
- Official untouched inject branch: https://github.com/KOWX712/PlayIntegrityFix/tree/inject
- All tags from the official PIF repo are also preserved in this repo.
- kdrag0n & Displax for the original idea.
- This project is forked from the official chiteroman's PIF repo.
- osm0sis for his original autopif2.sh script, and backslashxx & KOWX712 for improving it (action.sh).