Git Product home page Git Product logo

cyclonekid / playintegrityfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chiteroman/playintegrityfix

0.0 0.0 0.0 2.15 MB

Fix Play Integrity (and SafetyNet) verdicts.

Home Page: https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/

License: GNU General Public License v3.0

C++ 87.66% Java 0.50% Shell 0.70% CMake 1.83% C 8.45% Objective-C++ 0.10% Dockerfile 0.02% Python 0.51% Assembly 0.24%

playintegrityfix's Introduction

Play Integrity Fix

A Zygisk module which fixes "ctsProfileMatch" (SafetyNet) and "MEETS_DEVICE_INTEGRITY" (Play Integrity).

To use this module you must have one of the following:

  • Magisk with Zygisk enabled.
  • KernelSU with ZygiskNext module installed.

Download the latest here.

Telegram group

https://t.me/playintegrityfix

Donations

Official posts

About module

It injects a classes.dex file to modify a few fields in the android.os.Build class. Also, it creates a hook in the native code to modify system properties. These are spoofed only to Google Play Services' DroidGuard (SafetyNet/Play Integrity) service.

The purpose of the module is to avoid a hardware attestation.

About 'custom.pif.json' file

You can create this file in the module directory to spoof custom values to the GMS unstable process. It will be used instead of the included pif.json.

You can't use values from recent devices due them triggering hardware backed attestation.

Troubleshooting

Failing BASIC verdict

If you are failing basicIntegrity (SafetyNet) or MEETS_BASIC_INTEGRITY (Play Integrity) something is wrong in your setup. Recommended steps in order to find the problem:

  • Disable all modules except this one

Some modules which modify system can trigger DroidGuard detection, never hook GMS processes.

Failing DEVICE verdict (on KernelSU)

  • Disable ZygiskNext
  • Reboot
  • Enable ZygiskNext

Play Protect/Store Certification and Google Wallet Tap To Pay Setup Security Requirements

Follow these steps:

  • Flash the module in Magisk/KernelSU
  • Clear Google Wallet cache (if you have it)
  • Clear Google Play Store cache and data
  • Clear Google Play Services (com.google.android.gms) cache and data (Optionally skip clearing data and wait some time, ~24h, for it to resolve on its own)
  • Reboot
Guide

Google services cache Removing all data

Read module logs

You can read module logs using this command directly after boot:

adb shell "logcat | grep 'PIF'"

Can this module pass MEETS_STRONG_INTEGRITY?

No.

About Play Integrity, SafetyNet is deprecated

You can read more info here: click me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.