Skip to content

Commit

Permalink
Prepare v5
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis committed Dec 27, 2023
1 parent 29a97b4 commit c3ff39c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Custom Fork v4
## Custom Fork v5
- Allow spoofing literally any system property, supporting * lead wildcard to match multiple
- Remove all backwards compat cruft and deprecated entries
- Add log levels with VERBOSE_LOGS last json entry of 0, 1, 2, 3 or 100
- Spoof sys.usb.state to DroidGuard by default to hide USB Debugging
- Update example json for properties
- Add migration script to automatically upgrade old custom.pif.json during install/update (may also be run manually)

## Custom Fork v4
- Very verbose logging (for now)
- Allow spoofing literally any field from android.os.Build or android.os.Build.VERSION
- Add BUILD_ID and VNDK_VERSION support to keep cross-fork API compatibility
- Add exceptions for FIRST_API_VERSION (actually DEVICE_INITIAL_SDK_INT) and BUILD_ID (actually ID) for backwards API compatibility
- Add empty example.pif.json with reference link
- Fix GMS crashes if a null/bad value was read from json

# Custom Fork v3
- Combine system.prop (runs at post-fs-data) entries into service.sh so that they're only set if needed
- Clean up GMS data pif.prop/pif.json files left over from previous releases to ensure they don't trigger detection
- Use custom.pif.json for custom spoofing if it exists, self-contained in the module directory, and restore it after module updates
- Move props that need to be changed earlier into post-fs-data.sh
- Warn of possible conflict if MagiskHidePropsConfig (MHPC) is installed
- Continue to use ShadowHook for now

###[Previous changelogs](https://github.com/osm0sis/PlayIntegrityFork/releases)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ You can fill out the included template [example.pif.json](https://raw.githubuser

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

Older formatted custom.pif.json files from cross-forks and previous releases will be automatically migrated to the latest format.

<details>
<summary>Resources</summary>

Expand Down
4 changes: 2 additions & 2 deletions module/module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=playintegrityfix
name=Play Integrity Fork
version=v4
versionCode=4001
version=v5
versionCode=5000
author=osm0sis & chiteroman @ xda-developers
description=Fix CTS profile (SafetyNet) and DEVICE verdict (Play Integrity)
updateJson=https://raw.githubusercontent.com/osm0sis/PlayIntegrityFork/main/update.json
6 changes: 3 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "v4",
"versionCode": 4000,
"zipUrl": "https://github.com/osm0sis/PlayIntegrityFork/releases/download/v4/PlayIntegrityFork-v4.zip",
"version": "v5",
"versionCode": 5000,
"zipUrl": "https://github.com/osm0sis/PlayIntegrityFork/releases/download/v5/PlayIntegrityFork-v5.zip",
"changelog": "https://raw.githubusercontent.com/osm0sis/PlayIntegrityFork/main/CHANGELOG.md"
}

0 comments on commit c3ff39c

Please sign in to comment.