Commit Graph

30 Commits

Author SHA1 Message Date
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
chiteroman
edffde9b1a Custom props! 2023-11-25 17:31:37 +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