205 Commits

Author SHA1 Message Date
Chris Renshaw
c19224b138 Correct comment 2024-02-16 09:50:43 -04:00
osm0sis
bdd846add6 Tidy scripts, clarify KernelSU/APatch hide files/directories 2024-02-08 00:08:57 -04:00
osm0sis
1a7c5103d1 verbose_logs is now verboseLogs
- differentiate all the ways from a BUILD_FIELD_ENTRY and a system.property_entry
- probably better this way in the long run
2024-02-07 22:53:13 -04:00
osm0sis
484ab2aa63 Documentation: fixes, and moar Resources! 2024-02-07 11:29:51 -04:00
osm0sis
87eb713cbd migrate.sh: be more verbose migrating from v4, catch another edge case 2024-02-04 21:57:42 -04:00
Chris Renshaw
fa418290b3 migrate.sh: optionally add advanced settings to json 2024-02-02 18:49:35 -04:00
osm0sis
608e60adbb Allow files on the app replace list 2024-02-02 16:46:59 -04:00
osm0sis
fc8e5108de Update default/example app replace list 2024-01-28 15:40:52 -04:00
Chris Renshaw
3ec6a4b039 Begin next development cycle 2024-01-25 15:03:42 -04:00
osm0sis
594ac7c8ac Prepare v7 2024-01-24 14:22:23 -04:00
osm0sis
b8e68d059e Correct XInjectModule placement in replace list 2024-01-24 10:41:34 -04:00
osm0sis
198c2e5486 Fix ROM injection app replacement when using APatch 2024-01-23 12:31:36 -04:00
Chris Renshaw
919526bcd7 Add prop hack return codes for testing, tidy other functions 2024-01-23 00:56:47 -04:00
osm0sis
bdcfd283f1 Fix ROM injection app replacement when using KernelSU 2024-01-20 23:21:53 -04:00
osm0sis
dbd60afe68 migrate.sh: allow any filename to be specified as input file
- if none is provided it still falls back to looking for custom.pif.json in the current directory
2024-01-20 15:00:07 -04:00
osm0sis
5901844ce3 Add XiaomiEUInject-Stub to the default/example replace list 2024-01-19 09:46:54 -04:00
osm0sis
efb8ee930a Don't attempt to hack props if we don't have a context file 2024-01-18 16:56:45 -04:00
osm0sis
d36b35b7e9 Fix ROM injection app replacement on partitions other than /system 2024-01-18 14:27:55 -04:00
Chris Renshaw
4c08eb1e42 Begin next development cycle 2024-01-18 14:18:52 -04:00
osm0sis
2fa007afa3 Prepare v6 2024-01-17 16:13:20 -04:00
osm0sis
05c2474963 Fix Realme fingerprint scanners 2024-01-17 16:06:39 -04:00
osm0sis
21a309dd12 More consistent replace file naming, retain custom through an update 2024-01-09 10:52:17 -04:00
osm0sis
93ac718229 Support prop hacking on older Android 2024-01-08 16:44:26 -04:00
osm0sis
d106e2a964 Allow customizable path replacement for conflicting custom ROM apps 2024-01-08 16:06:24 -04:00
osm0sis
a9630901b3 Reorganize slightly and add missing props 2024-01-08 14:15:58 -04:00
osm0sis
d7090f3f73 Use custom function to hack props without increasing prop change counter
- some apps were detecting tampered props from the increased prop_info serial counter using resetprop
- patching doesn't rely on magiskboot hexpatch so should work on KernelSU and APatch as well
- hopefully temporary until all root solutions adopt a patched system_properties repo to fix counters via resetprop
2024-01-08 13:55:55 -04:00
Chris Renshaw
3088f4b179 migrate.sh: remove all use of echo \n to be even more portable 2023-12-28 23:52:50 -04:00
Chris Renshaw
edcb94e179 migrate.sh: add help, add force option, fix on shells without echo -e 2023-12-28 13:21:40 -04:00
osm0sis
a3cbed9a4e Clean up last remaining CR+LF 2023-12-27 23:32:40 -04:00
Chris Renshaw
e9b7289950 Begin next development cycle 2023-12-27 22:44:06 -04:00
osm0sis
c3ff39c00d Prepare v5 2023-12-27 15:18:42 -04:00
Chris Renshaw
29a97b49e3 migrate.sh: Don't allow null as FIRST_API_LEVEL/DEVICE_INITIAL_SDK_INT 2023-12-24 22:43:53 -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
63e4191745 Update example.pif.json for system properties support 2023-12-24 14:01:19 -04:00
Chris Renshaw
6f8706a817 Properly indicate we're in the next development cycle 2023-12-22 00:23:35 -04:00
osm0sis
93c53f5fb5 Prepare v4 2023-12-13 14:28:59 -04:00
Chris Renshaw
e4dad4a2d3 Add empty example json with reference link 2023-12-12 08:05:59 -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
c07e2707b7 Move props that need to be changed earlier into post-fs-data.sh 2023-11-29 12:49:52 -04:00
osm0sis
502dae9c45 Use custom.pif.json for custom spoofing, restore after update, fix lines 2023-11-29 11:23:21 -04:00
osm0sis
06aa2d83e9 Allow PROPS branch builds to update themselves, fix versioning 2023-11-29 11:01:58 -04:00
chiteroman
72f3882054 Fix JSON parsing, less libs size and few code updates! 2023-11-29 10:10:07 +01:00
Marcos
6282b326e3 Merge pull request #102 from osm0sis/custom
Module scripts fixes/improvements (custom)
2023-11-29 09:03:14 +01:00
Chris Renshaw
67b9c68853 Update .gitignore: hide pif.json from git tree 2023-11-29 00:44:35 -04: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
shìwēi nguyen
4641985342 Fix detect resetprop 2023-11-27 14:29:30 +07: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