25 Commits

Author SHA1 Message Date
osm0sis
ed8501d857 Rename to spoofVendingFinger, add custom FINGERPRINT support, tidy
0 = disabled
1 = enabled and use FINGERPRINT from json for vending (Play Store)
<string> = enabled and use <string> as FINGERPRINT for vending (Play Store)
2025-08-30 22:07:10 -03:00
gavdoc38
9c6f065bb6 Add advanced setting spoofVendingFingerprint (#38)
spoofVendingFingerprint = 0 / 1

When 0, no impact on Vending
When 1, same FINGERPRINT from custom.pif.json is injected into Vending

Unless spoofVendingSdk is enabled also, in which case FINGERPRINT is not injected since it's not used
2025-08-30 15:02:50 -03:00
Chris Renshaw
3c9c13e3ff autopif2: RIP Preview program, hello top level version arg
-p or --preview has been removed since the Platform Preview program has been replaced by Android Canary

-t # or --top # chooses the top level version depth to crawl down the Android version list for when there are multiple active Betas in multiple Android versions, e.g. with 16 as latest the default value of 1 would get its listed QPRs and -t 2 would force it to get the second listed (15)
2025-08-20 22:05:40 -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
ed312200cb autopif2.sh: inform to install wget2 when 32bit busybox is the likely issue 2025-07-08 22:53:58 -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
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
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
84adafc3ac autopif2.sh: retain experimental spoofVendingSdk entry and value if it exists 2025-05-30 10:14:34 -03:00
Chris Renshaw
c2af0fcad5 autopif2.sh: use wget2 over wget since arm busybox doesn't have LFS 2025-02-25 16:10:41 -04:00
osm0sis
1493650b65 autopif2.sh: promote --preview and --depth to documented features
-p or --preview forces not to ignore Android Platform Preview builds (Developer Previews and Betas)
-d # or --depth # chooses the depth to crawl down the QPR Betas list when there are multiple active Betas, e.g. when QPR2 was concurrent with QPR1 the default value of 1 would get the first listed (QPR2) and -d 2 would force it to get the second listed (QPR1)
2025-02-21 23:19:07 -04:00
Chris Renshaw
83b9d96ce4 autopif2.sh: always default to all= since TS system= date parsing seems different/bugged across some devices 2025-02-09 23:31:59 -04:00
Chris Renshaw
4bcf51ccfd autopif2.sh: use all instead of system if boot or vendor 11 months or more old 2025-02-08 20:01:37 -04:00
Chris Renshaw
e653659895 autopif2.sh: automatically update TrickyStore security_patch.txt system date
- opt in by creating /data/adb/tricky_store/security_patch.txt
- OS Patch Level (system= entry in TS 1.2.1+) must match *.security_patch spoofed to gms in order to pass Legacy PI Strong so automatically update with Beta print
- if boot= or vendor= entries are also needed in security_patch.txt to pass New PI Strong (due to an old/custom ROM) these must be manually added, or, all= may be used instead of system= and autopif2 will keep it up to date

Note: TS's OS Patch Level (system=), Boot Patch Level (boot=), and Vendor Patch Level (vendor=) must all be 11 months or less old in order to pass New PI Strong.
2025-02-08 10:50:57 -04:00
Nicholas Bissell
a52cc16b43 No class loading if Java features disabled
- No longer loads custom classes if not needed for respective packages
- Renames isGmsUnstable to isDroidGuardOrVending
- Removes spoofVendingSdk from migrate/autopif scripts (don't document yet)
- Adds missing setAccessible() call for early return in EntryPointVending.init()
- Adds missing set of spoofSignature -> 0 for vending
2025-02-08 10:34:11 -04:00
Nicholas Bissell
4740d2048d Add spoofVendingSdk to force legacy verdicts from new PI
Squashed: Add spoofVendingSdk for forcing new PI legacy verdicts
Squashed: Move vending SDK spoof to EntryPointVending, replace killgms.sh with killpi.sh
2025-02-08 10:34:11 -04:00
Chris Renshaw
d278b77ced autopif2.sh: handle platform preview Betas like Developer Previews 2025-01-23 23:43:24 -04:00
Chris Renshaw
c3ee7e5c0a autopif2.sh: ignore Developer Previews to only use latest Beta 2024-12-07 14:50:19 -04:00
Chris Renshaw
4e96fdef9d autopif2.sh: add -s / --strong output feature, fix grep errors 2024-11-07 19:15:07 -04:00
Chris Renshaw
3f346f3735 autopif2.sh: add test and busybox fallback for broken ROM toybox grep
- outdated/broken toybox grep would ignore -A1 if -m1 was present
2024-10-22 23:14:18 -03:00
Chris Renshaw
7dd9ed8f1d autopif2.sh: don't support Termux tsu or similar root environments 2024-10-19 13:48:54 -03:00
Chris Renshaw
2e74733319 autopif2.sh: fix dates with Termux GNU coreutils 2024-10-19 13:24:47 -03:00
Chris Renshaw
153aefbe57 autopif2.sh: use beta FOTA zip metadata instead of GSI zip name
- adds support for generating from beta point releases (e.g. Beta 1.1, etc.), which also fixes producing potentially bad prints when devices are added/removed from the beta list on a point release
2024-10-19 00:24:30 -03:00
osm0sis
0d05112f38 Replace autopif with autopif2 2024-10-06 18:51:30 -03:00