Commit Graph

27 Commits

Author SHA1 Message Date
osm0sis
e2cb4e1523 More logging
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com>
2024-01-19 14:44:35 -04:00
Chris Renshaw
e0931c829d Reduce somewhat unnecessary extra Build field spoofing calls
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com>
2024-01-16 20:28:28 -04:00
osm0sis
b57f46eed0 Revert "Fix seemingly unnecessary extra Build field spoofing calls"
This reverts commit 05927c60e1.

Seemingly necessary on some ROMs that do their own framework-level spoofing. May our logcats forgive us.
2024-01-16 14:44:29 -04:00
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
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
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
osm0sis
b87ebf75b1 More housekeeping 2023-12-01 22:55:07 -04: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
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