Chris Renshaw
b10828f199
Update NDK
2024-09-18 23:01:36 -03:00
osm0sis
726aecb2be
Add nlohmann/json as submodule
2024-09-18 21:35:00 -03:00
osm0sis
418e7306e3
Fix advanced spoofing always displaying enabled in logs
2024-08-07 14:16:09 -03:00
osm0sis
e9c1ec1d5d
Clearer log messages for advanced spoof options
2024-08-03 23:49:14 -03:00
osm0sis
a7c2f348ea
Add granular advanced spoofing options
2024-08-02 15:30:52 -03:00
4h9fbZ
a5d9980ea7
Fix Signature Data
2024-08-01 23:42:08 -03:00
4h9fbZ
58db03d596
Implement system signature spoofing
2024-08-01 23:42:08 -03:00
Chris Renshaw
914750104f
Update libcxx prefab
2024-07-17 23:36:00 -03:00
Chris Renshaw
1db82e2ccb
Update NDK
2024-07-17 23:01:56 -03:00
Wang Han
6d173fb3a1
Use unique project name
...
This also works around a shamiko bug which will be
fixed later.
2024-07-04 14:29:20 -03:00
Chris Renshaw
7f1bdf69c5
Update NDK
2024-04-24 22:34:18 -03:00
Chris Renshaw
009815692c
Update NDK
2024-03-12 01:56:54 -03:00
Chris Renshaw
d620dcdecb
Fix CI with AGP 8.3.0
2024-03-09 21:59:52 -04:00
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
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
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
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