Commit Graph

116 Commits

Author SHA1 Message Date
Chris Renshaw 027e5855a0 Begin next development cycle 2024-09-11 18:25:54 -03:00
osm0sis 481491758c Hotfix v10(103000) 2024-08-18 21:23:44 -03:00
Chris Renshaw b42773671a Add missing ro.adb.secure prop early with the others 2024-08-18 19:24:15 -03:00
Chris Renshaw 3d55dc59c1 Work around PixelPropsUtils framework spoof conflict where supported 2024-08-18 19:03:51 -03:00
Chris Renshaw 2857e3d2f8 autopif.sh: prefer and use my busybox directly if somehow not on PATH 2024-08-16 14:52:37 -03:00
Chris Renshaw 4b8d6497d0 Hotfix v10(102000) 2024-08-16 00:37:23 -03:00
Chris Renshaw f3a7f3d5e9 Move Xiaomi fix even later to avoid bootloops on yet more devices 2024-08-16 00:20:49 -03:00
osm0sis dd4db53ca2 Hotfix v10(101000) 2024-08-14 01:00:22 -03:00
osm0sis c30b3ab8a8 Fix bootloop on some Xiaomi devices 2024-08-14 00:50:48 -03:00
osm0sis 9d0a67d119 Prepare v10 2024-08-12 23:35:33 -03:00
Chris Renshaw 6e7377b3de autopif.sh: tidy using existing if 2024-08-09 12:15:02 -03:00
pershoot 98ab70a0b6 autopif.sh: Do not execute killgms.sh if not in default directory 2024-08-08 22:05:51 -03:00
osm0sis 44420c89ab autopif.sh: retain previous Advanced Settings values, fixes 2024-08-07 12:01:16 -03:00
osm0sis adcdd80d65 migrate.sh: tidy up now that functions are multi-line 2024-08-07 11:48:06 -03:00
Chris Renshaw 096c8941b9 migrate.sh: retain previous Advanced Settings values 2024-08-05 22:52:14 -03:00
osm0sis a926c520f2 Restore resetprop_hexpatch for older Magisk which still needs it 2024-08-04 00:06:54 -03:00
osm0sis 9ef7a7f04e Revert "Use resetprop -w to wait for boot_completed"
This reverts commit 0bc9a45.

Cater to the lowest common denominator (older Magisk) at least until after next Magisk stable
2024-08-03 23:49:42 -03:00
osm0sis a7c2f348ea Add granular advanced spoofing options 2024-08-02 15:30:52 -03:00
Chris Renshaw 64e412c351 Correct module description 2024-07-18 23:07:01 -03:00
Chris Renshaw ebfd0c292a Make example.pif.json reference more clear 2024-07-11 00:04:08 -03:00
osm0sis 3e58be1e24 Correct type prop heading, add another missing prop
- if sys.oem_unlock_allowed is reset to 0 before sys.boot_completed is 1 it results in a boot hang and then reboot or poweroff
- even though sys.oem_unlock_allowed has been reset to 0 the act of opening Developer Options will set it back to 1 until next reboot
2024-07-05 16:35:04 -03:00
Chris Renshaw 662b9c59c7 Ensure all prop changes bypass property_service
- resetprop only bypasses for ro.* properties by default
2024-07-05 14:15:19 -03:00
Chris Renshaw 0bc9a4543a Use resetprop -w to wait for boot_completed 2024-07-05 12:10:42 -03:00
Chris Renshaw e3e4bbb95f Match file code style correctly 2024-07-04 15:41:41 -03:00
Chris Renshaw 7c3d0bd8dd Fix all tags and type props, add missing prop 2024-07-04 14:55:45 -03:00
Chris Renshaw b26b043a02 Remove resetprop_hexpatch since counter is fixed in Magisk Canary 2024-07-04 14:43:50 -03:00
Chris Renshaw 5aabd4b6b5 Don't remove killgms.sh in Scripts-only mode
- it's still useful for testing purposes
2024-07-04 14:36:29 -03:00
Chris Renshaw 8756c3963a Begin next development cycle 2024-07-04 14:22:45 -03:00
osm0sis dc1ac51008 Prepare v9 2024-06-13 22:17:57 -03:00
Chris Renshaw ae1322b907 Work around AOSPA PropImitationHooks conflict 2024-06-01 01:50:52 -03:00
Chris Renshaw ee8e56b401 migrate.sh: check only trailing quote
- fixes grep_check_json for prop entries with leading wildcard
2024-05-31 10:00:02 -03:00
Chris Renshaw 2dd7a17ac2 autopif.sh: don't use half-baked wget-curl wrapper some ROMs include 2024-05-19 04:01:56 -03:00
Chris Renshaw c7b87b944f autopif.sh: catch Termux issues properly 2024-05-15 23:36:56 -03:00
Chris Renshaw 31adf6b3b9 autopif.sh: install/output improvements
- back up old json if running as built-in to module
- keep Advanced Settings if present in old json
2024-05-11 09:10:13 -03:00
Chris Renshaw 2027b7ba74 migrate.sh: keep Advanced Settings if present in old json 2024-05-11 09:02:58 -03:00
osm0sis bbfdc87724 Add new files to scripts-only-mode removals 2024-05-06 13:14:56 -03:00
Chris Renshaw 4d116c6a42 Add DroidGuard process killing script 2024-05-06 09:59:41 -03:00
Chris Renshaw afddeaf340 Add Xiaomi.eu custom.pif.json extraction script 2024-05-06 09:58:44 -03:00
Chris Renshaw ee714d1e21 Fix description sed with forgotten in-place flag 2024-04-09 08:44:14 -03:00
Chris Renshaw 6aa58bbc5e Indicate scripts-only mode in module description 2024-04-09 08:24:33 -03:00
Chris Renshaw 25262ce07e migrate.sh: fix parsing/formatting regressions
- DEVICE_INITIAL_SDK_INT value would erroneously be used for DEVICE if DEVICE was missing
- a malformed json trailing , on the last input file entry would break the output format
2024-04-07 02:40:51 -03:00
Chris Renshaw b4821fb03e migrate.sh: fix parsing for \" and , in json values 2024-04-07 01:45:25 -03:00
Chris Renshaw 8e4e7d1cef migrate.sh: add option to override values using derived fingerprint values 2024-04-06 01:37:55 -03:00
Chris Renshaw 58e04392bf migrate.sh: fix deriving from FINGERPRINT values with unexpected spaces 2024-04-05 16:14:14 -03:00
osm0sis 2c13b924ed Tweak/update comments 2024-03-30 15:19:30 -03:00
Chris Renshaw 8215587745 Make scripts-only mode opt-in only
- older custom ROMs may be able to pass only with the Zygisk components active, since the custom ROM doesn't have the correct stock ROM values
2024-03-28 11:33:08 -03:00
Chris Renshaw 8414785806 migrate.sh: allow specifying an output file 2024-03-27 02:27:15 -03:00
Chris Renshaw 75cf629015 Fix mistakenly forced scripts-only mode on clean installs
- use manual opt-in trigger of a scripts-only-mode file existing in the PIF module subdirectory
- clarify installer message since Magisk Zygisk actually functions on Android < 8 now, but the Zygisk attestation fallback and device spoofing aren't necessary to pass on these (and also some later) devices
2024-03-27 00:59:20 -03:00
osm0sis 36ce25f154 Bring back USNF's scripts-only mode for older Android, but better
- do scripts-only mode automatically on Android < 8.0 since it doesn't support Zygisk and generally doesn't need a PIF module to pass at all
- clean up all unused files in scripts-only mode, and modify script behaviors for it, including allowing GMS on DenyList, and even add it if missing since it's necessary on some scripts-only configurations
- allow manually entering scripts-only mode by deleting the zygisk directory of the currently installed module and reinstalling
- intentionally don't alter the Enforce DenyList state, since we don't know what other modules are installed that might depend on it one way or the other, so leave that up to the user
2024-03-25 15:00:49 -03:00
Chris Renshaw af7063d055 migrate.sh: support compacted json and some CR/LF mangling 2024-03-23 00:26:20 -03:00