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
48014b9450
Revert "Hook uname to spoof kernel release version string"
...
This reverts commit 7997954f74 .
Hook wasn't functional for intercepting the uname call despite many attempted methods, both on .gms and .gms.unstable
See: https://github.com/chiteroman/PlayIntegrityFix/issues/236
2024-02-01 09:37:52 -04:00
osm0sis
9cc8451c90
VERBOSE_LOGS is now verbose_logs
...
- differentiate advanced settings better from a Build field (all caps) or a System property (has .)
- match new advanced setting uname_release
2024-01-29 13:27:18 -04:00
osm0sis
7997954f74
Hook uname to spoof kernel release version string
...
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com >
2024-01-29 13:15:11 -04:00
osm0sis
0b34f95282
Use app data dir to detect GMS package
...
Prevent injecting into unrelated apps because apps can use whatever process name. This effectively restores df20bdb but with null checks added to prevent crash.
Reference: topjohnwu/Magisk@07c22cc
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com >
Co-authored-by: Wang Han <416810799@qq.com >
2024-01-22 19:34:23 -04:00
Chris Renshaw
63e4c571bf
Hide adbd service state since DroidGuard looks at it
...
- not currently enforced, but play it safe and spoof it by default like with USB state
2024-01-21 00:50:27 -04:00
osm0sis
e2cb4e1523
More logging
...
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com >
2024-01-19 14:44:35 -04:00
osm0sis
475185c3ee
Switch hooking method to Dobby
...
- Android 14 QPR2 (currently in Beta and due for Stable in March) breaks ShadowHook libc hooking needed for property spoofing
- there are currently no signs of life over at ShadowHook to resolve this despite my reporting it to them over a month ago
Co-authored-by: Nicholas Bissell <thefreeman193@hotmail.com >
Co-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com >
2024-01-15 23:16:21 -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
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
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
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