This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation.
NOTE
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. 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 with Zygisk enabled.
- KernelSU with ZygiskNext module installed.
- APatch with 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, you should get this result:
- MEETS_BASIC_INTEGRITY ✅
- MEETS_DEVICE_INTEGRITY ✅
- MEETS_STRONG_INTEGRITY ❌
- MEETS_VIRTUAL_INTEGRITY ❌ (this is for emulators only)
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.
Acknowledgments
- kdrag0n & Displax for the original idea.
- osm0sis for his original autopif2.sh script, and backslashxx & KOWX712 for improving it (action.sh).
FAQ
https://xdaforums.com/t/pif-faq.4653307/
Download
https://github.com/chiteroman/PlayIntegrityFix/releases/latest
Donations
Download
Module Info
Other modules
Tricky Store
A trick of keystore. Android 10 or above is required. This module is used for modifying the certificate chain generated for android key attestation. Stop opening source / 停止开源 Due to the rampant misuse and the contributions received after open-sourcing being less than expected, this module will be …...
AudioFX LineageOS Magisk Module
DISCLAIMER LineageOS apps and blobs are owned by LineageOS�. The MIT license specified here is for the Magisk Module only, not for LineageOS apps and blobs. Descriptions Equalizer soundfx ported from LineageOS ROM and integrated as a Magisk Module for all supported and rooted devices with Magisk …...
AdAway
Tired of intrusive ads cluttering your Android screen? AdAway is a powerful open-source solution that gives you control over your mobile browsing and app experience. By leveraging the “hosts” file, AdAway effectively blocks ads across your device, leading to a cleaner, faster, and more …...
Android Hardware Optimization Magisk Ksu Module
Increase performance and improve display smoothness/responsiveness also change rendering from software to hardware rendering. Link Pling ...
Force Dark Mode Chrome
Force Dark mode Chrome Link Download ...
SUI
Modern super user interface (SUI) implementation on Android. The name, Sui, also comes from a character. Introduction Sui provides Java APIs, Shizuku API, for root apps. It mainly provides the ability to use Android APIs directly (almost in Java as the identity of the root, and start app’s own …...
AOSP Gesture bar for OxygenOS
Love the sleek gestures of AOSP (Android Open Source Project) but stuck with OxygenOS on your OnePlus device? This Magisk Module brings the minimalist AOSP gesture bar to your OxygenOS phone, offering a cleaner and more streamlined navigation experience. What Does It Do OxygenOS, while feature-rich, …...
Bluetooth Library Patcher
Description This module attends to avoid losing bluetooth pairings after reboot or airplane mode switch on rooted samsung devices. It patches on the fly the bluetooth library and should support most of samsung devices on android Nougat, Oreo, Pie, 10, 11, 12, 13 and 14. This patch is NOT applicable …...
Android Logger Booting
This module functions to record logs when booting Android and will be saved in /data/local/logger. This module is suitable for developers to find bootloop problems on ROM. Tips combine with Bootloop saver module Link Download ...
Cache Cleaner
A simple module that allows your device to clean all apps cache automatically if the total cache size is more than 1GB and can be done manually by typing su -c cleaner in the Terminal To disable the automatic cleaning feature, create an empty file with the name disable in the …...