root_adb
Restart adbd as root to gain root access on rooted or userdebug Android builds. On production builds, use su via read_file instead.
Instructions
Restart adbd as root (adb root). Only works on rooted/userdebug builds;
on production builds use su via read_file(as_root=True) etc. instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "root_adb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||