Commit Graph

309 Commits

Author SHA1 Message Date
osm0sis
c925553198 Fix GMS crashes by aborting Java JSON read if a null/bad value is found 2023-12-13 13:20:47 -04:00
osm0sis
2a65fe624e Fix Gradle buildDir deprecation warnings, match CI Java
w: app/build.gradle.kts:50:31: 'getter for buildDir: File!' is deprecated. Deprecated in Java
w: app/build.gradle.kts:51:29: 'getter for buildDir: File!' is deprecated. Deprecated in Java
2023-12-13 11:40:52 -04:00
Yiğit
0a3d163264 Add missing support for Boolean and Long fields (#4)
e.g. IS_TREBLE_ENABLED, IS_DEBUGGABLE and TIME

Reference:
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/Build.java
2023-12-13 11:17:29 -04:00
Chris Renshaw
e4dad4a2d3 Add empty example json with reference link 2023-12-12 08:05:59 -04:00
Chris Renshaw
72717f6948 Change function name to setField to be more accurate 2023-12-11 22:18:50 -04:00
osm0sis
ecfa0bbbdf Future proof to allow spoofing all fields
- very verbose logging (for now)
- combine setProp and setVersionProp into a single universal function
- iterate through all entries to allow modifying any matching android.os.Build or android.os.Build.VERSION field
- add BUILD_ID and VNDK_VERSION support to keep cross-fork API compatibility
- add exceptions for FIRST_API_VERSION (actually DEVICE_INITIAL_SDK_INT) and BUILD_ID (actually ID) for backwards API compatibility
2023-12-11 14:41:49 -04:00
osm0sis
093cf04232 Fix .gitignore 2023-12-10 20:56:22 -04:00
Chris Renshaw
42cffcbe62 Fix fallback to pif.json if included
- pif.json is only to be used in building the module if at some point in the future it's safe to include pif.json in the module zip again
- custom.pif.json is still the correct name to use for retaining the custom file through a module update
2023-12-09 20:49:30 -04:00
osm0sis
9cd7ab38bb Tweak CI wording for clarity 2023-12-05 12:07:06 -04:00
osm0sis
b64cc7e5bb README: Always provide credit where credit is due 2023-12-05 11:59:05 -04:00
Chris Renshaw
7a73d252b1 Update gradle 2023-12-03 08:59:48 -04:00
nyakze
fc500605b7 Update README.md (#1)
Add another very useful post
2023-12-02 12:06:55 -04:00
osm0sis
1dc48e17c3 .github: Display Sponsor button 2023-12-02 00:14:30 -04:00
osm0sis
e4f37428a8 Fix shadowhook submodule v3 2023-12-01 23:25:25 -04:00
osm0sis
be415c03f3 Remove unused Dobby resources 2023-12-01 22:59:49 -04:00
osm0sis
b87ebf75b1 More housekeeping 2023-12-01 22:55:07 -04:00
osm0sis
7c0769c2c2 Artifact zip is now module zip 2023-12-01 22:20:27 -04:00
osm0sis
e3687e9715 Fix libcxx submodule 2023-12-01 22:12:34 -04:00
Chris Renshaw
c94d0e858f Set up Android CI 2023-12-01 21:36:02 -04:00
osm0sis
5464ec90fe Prep module files 2023-12-01 21:09:52 -04:00
osm0sis
025f879a3b Clean up README 2023-12-01 20:31:31 -04:00
osm0sis
e86e39b365 Merge remote-tracking branch 'upstream/custom' into upstream 2023-11-30 08:48:54 -04:00
Marcos
bc1ef14c8d Merge pull request #103 from osm0sis/custom
custom.pif.json check, use and restore; enable custom branch module updates, and more (custom)
2023-11-30 13:27:34 +01:00
osm0sis
e7ed2db1cb Switch to simplest file check for custom json 2023-11-30 08:17:22 -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
Marcos
0731653100 Merge pull request #100 from osm0sis/patch-1
Update .gitignore: hide included pif.json from git tree
2023-11-29 09:01:51 +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
Marcos
d9c7b1204e Merge pull request #97 from osm0sis/main
README fixes/improvements (custom)
2023-11-28 10:31:44 +01:00
osm0sis
ab73481f52 README fixes/improvements 2023-11-27 20:49:56 -04:00
chiteroman
4dcf53b340 New version for custom spoof! 2023-11-27 17:25:34 +01:00
chiteroman
a728533ed6 New update! v13.8 2023-11-27 14:18:58 +01:00
chiteroman
96e201d786 Added auto module zip! 2023-11-27 12:37:26 +01:00
Marcos
34b2550bba Merge pull request #92 from HuskyDG/script
Fix detect resetprop
2023-11-27 10:51:46 +01:00
shìwēi nguyen
4641985342 Fix detect resetprop 2023-11-27 14:29:30 +07:00
chiteroman
599c27e833 Fix JSON parsing and reformat code 2023-11-26 22:22:56 +01:00
Marcos
8eaa0f2490 Merge pull request #91 from HuskyDG/main
fix zygisk companion crash when fopen fails
2023-11-26 21:36:05 +01:00
shìwēi nguyen
ff8a3481ab fix accessing the array dexBuffer, jsonBuffer out of bounds 2023-11-27 00:42:57 +07:00
shìwēi nguyen
98bd06eb44 Handle reading file properly 2023-11-27 00:32:01 +07:00
chiteroman
b72efd6f71 v13.8-beta 2023-11-26 17:02:51 +01:00
Marcos
9b7b6f6712 Merge pull request #88 from VisionR1/patch-1
Update README.md more specifically for Google Play Services
2023-11-26 15:57:21 +01:00
VisionR1
10e1fff970 Update README.md more specifically for Google Play Services 2023-11-26 16:44:25 +02:00
chiteroman
a36c4a5033 Added module files 2023-11-26 15:00:21 +01:00
chiteroman
913cc6f795 PROPS-v1.2 2023-11-26 10:51:22 +01:00
chiteroman
edffde9b1a Custom props! 2023-11-25 17:31:37 +01:00