How kowx712/playintegrityfix works
Play Integrity Fix is a rooted Android module that configures spoofing behavior through a WebUI and applies it inside target processes via Zygisk. The user workflow is to edit options or fetch/generate a device profile, persist pif.prop, then have the injected runtime read configuration and virtualize properties; Java hooks add keystore-provider and package-signature behavior. The README also documents automatic security-patch handling and spoofBuild, spoofProps, spoofProvider, spoofSignature, and Play Store SDK options. UI/runtime wiring is based on excerpts and SOURCE INDEX references; several native and Java details are therefore omitted where invocation evidence is unavailable.
Main entry points: App.tsx WebUI shell · Update.ts Profile updater · EntryPoint.java Java entry point · PifConfig.ts Profile state
Components 21
Configuration WebUI
- WebUI shell
webui/src/App.tsx - Spoof controls
webui/src/data/spoofConfig.ts - Device fetch
webui/src/components/dialog/FetchDialog.tsx - Output terminal
webui/src/lib/Terminal.ts
Profile and updates
- Profile updater
webui/src/lib/Update.ts - Profile state
webui/src/lib/PifConfig.ts - PROP format
webui/src/lib/PROP.ts - Module file I/O
webui/src/lib/File.ts - Root command bridge
webui/src/lib/Cli.ts
Zygisk runtime
- Zygisk entry
zygisk/src/main/cpp/zygisk.cpp - Native config
zygisk/src/main/cpp/pif_config.cpp - Property virtualizer
zygisk/src/main/cpp/property_virtualizer.cpp
Java spoofing
- Java entry point
zygisk/src/main/java/es/chiteroman/playintegrityfix/EntryPoint.java - Custom keystore SPI
zygisk/src/main/java/es/chiteroman/playintegrityfix/CustomKeyStoreSpi.java - Custom provider
zygisk/src/main/java/es/chiteroman/playintegrityfix/CustomProvider.java - Package info spoof
zygisk/src/main/java/es/chiteroman/playintegrityfix/CustomPackageInfoCreator.java
Other components
- Device owner
- Profile repository
- pif.prop
- Android target apps
- Root shell
Connections 27
- Device owner → WebUI shell: configures
README.md - WebUI shell → Spoof controls: renders options
webui/src/App.tsx - WebUI shell → Profile state: loads and toggles
webui/src/App.tsx - WebUI shell → Profile updater: creates updater
webui/src/App.tsx - WebUI shell → Device fetch: opens dialog
webui/src/App.tsx - WebUI shell → Output terminal: subscribes output
webui/src/App.tsx - Device fetch → Profile updater: requests profile
webui/src/components/dialog/FetchDialog.tsx - Profile updater → Profile repository: fetches profile
webui/src/lib/Update.ts - Profile updater → Profile state: writes and reloads
webui/src/lib/Update.ts - Profile state → PROP format: parses and serializes
webui/src/lib/PifConfig.ts - Profile state → Module file I/O: reads and writes
webui/src/lib/PifConfig.ts - Module file I/O → pif.prop: persists profile
- Profile updater → Root command bridge: runs scripts
webui/src/lib/Update.ts - Profile updater → Output terminal: reports progress
webui/src/lib/Update.ts - WebUI shell → Root command bridge: checks device state
webui/src/App.tsx - Device owner → Zygisk entry: requires Zygisk
README.md - Zygisk entry → Native config: uses config
zygisk/src/main/cpp/zygisk.cpp - Zygisk entry → Property virtualizer: uses virtualizer
zygisk/src/main/cpp/zygisk.cpp - Native config → pif.prop: reads profile
- Property virtualizer → Android target apps: virtualizes properties
- Java entry point → Custom keystore SPI: configures SPI
zygisk/src/main/java/es/chiteroman/playintegrityfix/EntryPoint.java - Java entry point → Custom provider: installs provider
zygisk/src/main/java/es/chiteroman/playintegrityfix/EntryPoint.java - Java entry point → Package info spoof: spoofs package info
zygisk/src/main/java/es/chiteroman/playintegrityfix/EntryPoint.java - Custom provider → Custom keystore SPI: delegates SPI
zygisk/src/main/java/es/chiteroman/playintegrityfix/CustomProvider.java - Java entry point → Android target apps: changes attestation inputs
zygisk/src/main/java/es/chiteroman/playintegrityfix/EntryPoint.java - Root command bridge → Root shell: executes commands
webui/src/lib/Cli.ts - Root shell → pif.prop: accesses profile files