Commit Graph

425 Commits

Author SHA1 Message Date
Chris Renshaw
7ec4d37949 Update Action to run autopif2 --strong since Pixel Betas no longer pass Device 2025-07-23 18:42:13 -03:00
Chris Renshaw
72e2124a8e autopif2.sh: also support Simple dashed date, ensure newline 2025-07-17 23:05:38 -03:00
Chris Renshaw
8cd6155ffb autopif2.sh: Support updating TS security_patch.txt in Simple format 2025-07-17 22:25:59 -03:00
Chris Renshaw
c9d4064dfe Update NDK 2025-07-10 21:16:20 -03:00
Chris Renshaw
a99ebc6689 Update AGP 2025-07-10 21:12:14 -03:00
Chris Renshaw
ed312200cb autopif2.sh: inform to install wget2 when 32bit busybox is the likely issue 2025-07-08 22:53:58 -03:00
osm0sis
0a964415f3 Update C++ Standard 2025-07-04 22:36:54 -03:00
osm0sis
f12b85d67f Update Java 2025-07-04 21:42:34 -03:00
osm0sis
59a1eea076 Update Gradle 2025-07-04 20:55:48 -03:00
Halhadus
51619d2de4 Added open source module alternative for KernelSUs and APatch. 2025-07-01 14:49:38 -03:00
Chris Renshaw
fcb6a2df3e Update AGP 2025-06-28 21:44:06 -03:00
Chris Renshaw
1afd4278be Avoid potential issues from greedy matching 2025-06-28 01:19:15 -03:00
Chris Renshaw
77d5ccdc99 Cosmetic changes to match other cut usage 2025-06-28 01:06:52 -03:00
Chris Renshaw
a2f726b633 Improve overlay AndroidManifest.xml parsing, support PixelOS 15 2025-06-28 00:52:06 -03:00
Chris Renshaw
38631f685a Allow CI builds on demand 2025-06-23 19:17:21 -03:00
osm0sis
39d2610579 Refine proguard rules further
Thanks @TheFreeman193!
2025-06-22 20:38:24 -03:00
Chris Renshaw
0132ebb272 Fix persistprop during installation
Thanks geekboy38 on xda!
2025-06-20 09:03:18 -03:00
osm0sis
a82914221e README: document spoofVendingSdk, add credit for original PIF repo, fixes 2025-06-16 23:03:10 -03:00
Chris Renshaw
4755f88180 Promote autopif2 --match to documented feature
-m or --match will attempt to match the print to your current device if run on a Pixel, and will otherwise fall back to random

- make matching the Action button default since there was some evidence that matching your actual Pixel device may be important for accessing the Pixel exclusive features for your device
2025-06-11 23:05:58 -03:00
Chris Renshaw
62150ce6d4 Add Advanced Settings to example.pif.json
- needing the Advanced Settings is the more likely scenario nowadays, so display them more prominently to help people know how to use them
2025-06-11 22:36:15 -03:00
Chris Renshaw
88573ca743 Show Advanced Settings by default from install migrate and autopif2 2025-06-11 22:17:29 -03:00
Chris Renshaw
89de098a83 Update SDK Build Tools 2025-06-11 10:22:04 -03:00
Chris Renshaw
c6739dfa42 Promote experimental spoofVendingSdk to Advanced Settings
- many are experimenting and using it already across forks anyway 
- proper documentation to come for next stable release with known issues and potential use cases
2025-06-11 10:19:34 -03:00
osm0sis
a7dd416873 Revert "Disable R8 until proguard rules can be reimplemented correctly"
- resolved in 539ff7351a

This reverts commit 2cdee60781.
2025-06-11 01:16:44 -03:00
osm0sis
539ff7351a Fix proguard rules for AGP 8.9.0+
- CustomPackageInfoCreator public methods must now be explicitly kept to avoid spoofSignature crashes documented in 2cdee60781
2025-06-11 01:14:03 -03:00
osm0sis
0cd56584df Update AGP 2025-06-09 23:06:39 -03:00
osm0sis
2cdee60781 Disable R8 until proguard rules can be reimplemented correctly
- most Java classes were being kept fully unoptimized anyway, which should be generally avoided
- AGP 8.9.0-alpha07 is the last where spoofSignature works with R8 enabled, alpha08 and all later AGP results in:
  msg: java.lang.StackOverflowError: stack size 8188KB
  stacktrace: java.lang.StackOverflowError: stack size 8188KB
	at es.chiteroman.playintegrityfix.CustomPackageInfoCreator.createFromParcel(Unknown Source:2)
  [TRUNCATED 3288424 CHARS]
	at es.chiteroman.playintegrityfix.CustomPackageInfoCreator.createFromParcel(Unknown Source:2)
	at android.os.Parcel.readTypedObject(Parcel.java:4025)
	at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:4470)
	at android.content.pm.PackageManager.getPackageInfoAsUserUncached(PackageManager.java:10969)
	at android.content.pm.PackageManager.-$$Nest$smgetPackageInfoAsUserUncached(Unknown Source:0)
	at android.content.pm.PackageManager$2.recompute(PackageManager.java:10982)
	at android.content.pm.PackageManager$2.recompute(PackageManager.java:10979)
	at android.app.PropertyInvalidatedCache.query(PropertyInvalidatedCache.java:999)
	at android.content.pm.PackageManager.getPackageInfoAsUserCached(PackageManager.java:10996)
	at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:1215)
	at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1448)
	at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1405)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7029)
	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2262)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8282)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:554)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:885)
2025-06-09 23:03:47 -03:00
Chris Renshaw
7e376e5627 Update libcxx 2025-06-08 01:59:21 -03:00
Chris Renshaw
ec34417cd9 Also add new PIHooks detection to empty prop workaround 2025-06-08 01:46:26 -03:00
Chris Renshaw
0b957b13b9 Add support for disabling more PIHooks variants 2025-06-08 01:34:30 -03:00
Chris Renshaw
ec374a7d9b Fix persist prop deletion 2025-06-08 00:38:26 -03:00
Chris Renshaw
17db1e7177 Keep uninstall.sh through updates
- uninstall.sh is generated at first install so it must be kept to ensure it has the original states/values for the persist props
- run then remove uninstall.sh if it exists when switching to Scripts-Only Mode
2025-06-07 23:54:50 -03:00
osm0sis
451769c341 Clean up any modified custom ROM persist props on uninstall 2025-06-07 23:54:48 -03:00
osm0sis
77f91e3a85 Add new persistprop common function 2025-06-07 08:57:58 -03:00
osm0sis
b4eae8a6b6 Update Gradle 2025-06-07 08:38:53 -03:00
Chris Renshaw
05520f7881 autopif2.sh: abort if --depth arg is not a single digit positive integer 2025-06-01 21:54:05 -03:00
Chris Renshaw
1745060524 No stacktraces needed though
The remaining Gradle deprecation warnings are from Android Gradle Plugin (AGP), so figuring out why AGP 8.9.x+ breaks spoofSignature, and fixing that so that AGP can be updated is the only way to resolve things for Gradle 9.0:

Declaring an 'is-' property with a Boolean type has been deprecated. Starting with Gradle 9.0, this property will be ignored by Gradle.
[...]
Add a method named 'getCrunchPngs' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.gradle.internal.dsl.BuildType$AgpDecorated.isCrunchPngs' (and the setter) to 'boolean'. [...]
Add a method named 'getUseProguard' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.gradle.internal.dsl.BuildType.isUseProguard' (and the setter) to 'boolean'. [...]
Add a method named 'getWearAppUnbundled' with the same behavior and mark the old one with @Deprecated, or change the type of 'com.android.build.api.variant.impl.ApplicationVariantImpl.isWearAppUnbundled' (and the setter) to 'boolean'. [...]
2025-06-01 20:49:48 -03:00
Chris Renshaw
512ed8a1f1 Show all Gradle warnings in CI 2025-05-31 23:45:56 -03:00
osm0sis
0d8d090014 Suppress PackageInfo signatures deprecated API warning 2025-05-31 21:51:15 -03:00
osm0sis
0d03f99499 Fix Gradle Task.project execution time deprecation warning 2025-05-31 21:24:48 -03:00
osm0sis
85dd219ea3 Update Gradle 2025-05-31 11:32:11 -03:00
osm0sis
36cc9573ba Update Dobby submodule to JingMatrix fork 2025-05-31 11:27:28 -03:00
osm0sis
d72fc9ee04 Update nlohmann/json submodule to v3.12.0 2025-05-31 11:02:11 -03:00
Chris Renshaw
84adafc3ac autopif2.sh: retain experimental spoofVendingSdk entry and value if it exists 2025-05-30 10:14:34 -03:00
Chris Renshaw
cb49481c45 Begin next development cycle 2025-05-30 09:55:23 -03:00
Chris Renshaw
b5a9b26b70 README: update for May 20th legacyDeviceRecognitionVerdict removal from PI API 2025-05-20 22:37:32 -03:00
osm0sis
39922653db README: fix KSU-Next link typo v13 2025-05-16 16:35:48 -03:00
osm0sis
58f2c2de57 Prepare v13 2025-05-16 16:29:06 -03:00
Chris Renshaw
e858134828 Update HiddenApiBypass 2025-05-16 13:49:22 -03:00
Chris Renshaw
fafaf418e4 Update NDK 2025-04-29 21:59:01 -03:00