Skip to content

Commit

Permalink
Remove unnecessary/unenforced adb prop spoofs
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored Jan 5, 2025
1 parent da0fad7 commit abe69d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/src/main/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ static void modify_callback(void *cookie, const char *name, const char *value, u

std::string prop(name);

// Spoof specific property values
if (prop == "init.svc.adbd") {
value = "stopped";
} else if (prop == "sys.usb.state") {
value = "mtp";
}

if (jsonProps.count(prop)) {
// Exact property match
value = jsonProps[prop].c_str();
Expand Down

0 comments on commit abe69d2

Please sign in to comment.