You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
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
This commit is contained in:
@@ -30,8 +30,10 @@ static void modify_callback(void *cookie, const char *name, const char *value, u
|
||||
std::string prop(name);
|
||||
|
||||
// Spoof specific property values
|
||||
if (prop == "sys.usb.state") {
|
||||
value = "mtp"; // Hide USB Debugging
|
||||
if (prop == "init.svc.adbd") {
|
||||
value = "stopped";
|
||||
} else if (prop == "sys.usb.state") {
|
||||
value = "mtp";
|
||||
}
|
||||
|
||||
if (jsonProps.count(prop)) {
|
||||
|
||||
Reference in New Issue
Block a user