Commit Graph

112 Commits

Author SHA1 Message Date
osm0sis
802c0a7617 Improve logging messages further 2024-01-15 17:18:26 -04:00
osm0sis
9a24cd6f23 Tidy JNI JSON sending/receiving code and logging 2024-01-15 17:05:26 -04:00
osm0sis
22e3a14a6f Refactor VERBOSE_LOGS parsing to directly pass level from Native to Java 2024-01-15 16:36:52 -04:00
osm0sis
24db525cf3 Add advanced Build classes field logging
Co-authored-by: Nicholas Bissell <thefreeman193@hotmail.com>
2024-01-13 14:09:29 -04:00
osm0sis
05927c60e1 Fix seemingly unnecessary extra Build field spoofing calls
Co-authored-by: arda99 <arda99@noreply.xdaforums.com>
2024-01-08 21:36:34 -04:00
osm0sis
89348bb75c Remove remaining cross-fork API compatibility hacks 2023-12-21 10:59:57 -04:00
osm0sis
dc10cae2b6 Future proof to allow spoofing all properties
- remove backwards compatibility cruft for all deprecated fields except FIRST_API_LEVEL (for now)
- iterate through all entries with . or * (see next) to allow modifying any matching DroidGuard-checked system property
- allow leading * wildcard to match multiple system properties in one json entry
- add logging levels using VERBOSE_LOGS as the last json entry, with values of 0, 1, 2, 3 or 100
- spoof sys.usb.state to mtp for DroidGuard by default to hide USB Debugging

Co-authored-by: arda99 <arda99@noreply.xdaforums.com>
2023-12-21 01:41:37 -04:00
Chris Renshaw
cff8ca8b61 Adjust hooking error message
Whoops, not anymore! :P
2023-12-14 02:26:58 -04:00
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
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
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
e4f37428a8 Fix shadowhook submodule 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
e3687e9715 Fix libcxx submodule 2023-12-01 22:12:34 -04:00
osm0sis
e86e39b365 Merge remote-tracking branch 'upstream/custom' into upstream 2023-11-30 08:48:54 -04:00
osm0sis
e7ed2db1cb Switch to simplest file check for custom json 2023-11-30 08:17:22 -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
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
chiteroman
599c27e833 Fix JSON parsing and reformat code 2023-11-26 22:22:56 +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
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
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
cc4a2536a0 New code! 2023-11-24 20:34:31 +01:00
chiteroman
35a735672d Remove pif.prop, broke some devices 2023-11-24 11:52:57 +01:00
chiteroman
ed330ac37a v13.5 2023-11-24 01:57:17 +01:00
chiteroman
9774d68b3b v13.5-beta 2023-11-23 20:14:58 +01:00
chiteroman
c31569f249 Release v13.4 2023-11-23 00:07:43 +01:00
chiteroman
78dde206ee Improve code 2023-11-22 18:08:47 +01:00
chiteroman
f1f271b744 Better code 2023-11-22 00:32:52 +01:00
chiteroman
f44e23a90f v13.3 2023-11-21 18:25:33 +01:00
chiteroman
abc57e0a46 Add SECURITY_PATCH and fix null props 2023-11-21 14:04:33 +01:00
chiteroman
bd55606e21 v13.1 2023-11-20 00:42:21 +01:00
osm0sis
de2bb82a75 Merge remote-tracking branch 'old/main' into upstream
Restore deleted commit history from publicly available forks
2023-11-15 08:00:00 -04:00
chiteroman
ef920ff012 fix xiaomi.eu 2023-11-14 13:57:07 +01:00
chiteroman
9e4fcf39ce fix 2023-11-13 14:22:11 +01:00
chiteroman
4b64bbf864 update readme 2023-11-12 19:26:42 +01:00
chiteroman
8c5f87e9ef Fix 2023-11-11 16:05:47 +01:00
chiteroman
d800615e0e Fix 2023-11-11 15:46:53 +01:00
chiteroman
4fd9126a89 v12.3-test 2023-11-11 13:37:02 +01:00