31 Commits

Author SHA1 Message Date
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
osm0sis bbfdc87724 Add new files to scripts-only-mode removals 2024-05-06 13:14:56 -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
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 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
osm0sis ffd510aee5 Fix retaining disabled ROM apps through module updates in some scenarios
- KernelSU or APatch have completely hidden directories/files so would not get recreated
- for .apk files with a config.xml the config.xml would not get recreated due to the 0-size/hidden .apk
2024-03-04 13:48:16 -04:00
osm0sis 79052ff455 Separate common installation and boot-time scripts and source it 2024-03-02 22:49:46 -04:00
osm0sis bdd846add6 Tidy scripts, clarify KernelSU/APatch hide files/directories 2024-02-08 00:08:57 -04:00
osm0sis 608e60adbb Allow files on the app replace list 2024-02-02 16:46:59 -04:00
osm0sis 198c2e5486 Fix ROM injection app replacement when using APatch 2024-01-23 12:31:36 -04:00
osm0sis bdcfd283f1 Fix ROM injection app replacement when using KernelSU 2024-01-20 23:21:53 -04:00
osm0sis 5901844ce3 Add XiaomiEUInject-Stub to the default/example replace list 2024-01-19 09:46:54 -04:00
osm0sis d36b35b7e9 Fix ROM injection app replacement on partitions other than /system 2024-01-18 14:27:55 -04:00
osm0sis 21a309dd12 More consistent replace file naming, retain custom through an update 2024-01-09 10:52:17 -04:00
osm0sis d106e2a964 Allow customizable path replacement for conflicting custom ROM apps 2024-01-08 16:06:24 -04:00
osm0sis 38f8861f30 Add custom.pif.json migration script
- runs during install/update when an old format file is detected and upgrades it to the current default format which now properly separates Build fields and system properties
- supports all previously used deprecated entries, e.g. BUILD_ID, FIRST_API_LEVEL and VNDK_VERSION
- extracts any missing information for default added fields from the FINGERPRINT
- may also be run manually from command prompt with `sh migrate.sh` or with file explorer app supporting scripts like FX File Explorer
2023-12-24 14:52:44 -04:00
osm0sis 5464ec90fe Prep module files 2023-12-01 21:09:52 -04:00
osm0sis ffcc2df8b5 Warn of possible conflict if MagiskHidePropsConfig is installed 2023-11-30 08:11:39 -04:00
osm0sis 502dae9c45 Use custom.pif.json for custom spoofing, restore after update, fix lines 2023-11-29 11:23:21 -04:00
chiteroman 72f3882054 Fix JSON parsing, less libs size and few code updates! 2023-11-29 10:10:07 +01:00
osm0sis 1a9eb9d2e7 Module scripts fixes/improvements
- add back check_resetprop but rename functions to make their use more clear (thanks HuskyDG)
- combine system.prop (runs at post-fs-data) entries into service.sh so that they're only set if needed (note that they therefore wouldn't need to be late props)
- use a uniform style in all scripts (only necessary quoting and brackets, add trailing newlines, spaces not tabs :P)
- remove GMS data pif.prop/pif.json files left over from previous releases to ensure they don't trigger detection at some point (these lines can be removed again in a later release once we're satisfied everyone affected has this resolved)
2023-11-29 00:20:02 -04:00
chiteroman 4dcf53b340 New version for custom spoof! 2023-11-27 17:25:34 +01:00
chiteroman b72efd6f71 v13.8-beta 2023-11-26 17:02:51 +01:00
chiteroman a36c4a5033 Added module files 2023-11-26 15:00:21 +01:00
chiteroman 27c00e2ce7 v13.7 2023-11-25 02:13:22 +01:00
chiteroman bed9055fd3 v13.6 2023-11-24 20:58:30 +01:00
chiteroman f1f271b744 Better code 2023-11-22 00:32:52 +01:00
chiteroman 177501647c v13.2 2023-11-21 14:34:33 +01:00