Commit Graph

15 Commits

Author SHA1 Message Date
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