adb_shell_open
Open an interactive ADB shell session to any connected Android device, using a device alias to skip probing. Get immediate shell access with initial banner output.
Instructions
Open an interactive ADB shell session to an Android device. Returns the initial banner output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target device alias, e.g. "board-lubancat". PREFER passing the alias when you know the target device: it reads the serialNo bound in config and connects directly without device probing, and the log directory follows the alias. Passing a raw serial number is also accepted — it is auto-resolved back to the alias when bound. Omit only when no specific device is intended; the program then auto-discovers the single connected device (errors out if 0 or >1 devices). There is NO need to call adb_device_list first. |