dsh-go-plugin-adb: Let the Agent open an adb shell on the phone for itself
`jminn0/dsh-go-plugin-adb` is a workflow plugin maintained by JMINN0 for DSH. It embeds the ADB client and adbd within the same device, allowing the Agent to connect to the loopback address `127.0.0.1:5555` to operate locally. It requires no root access, no PC, and remains functional even when Wi-Fi is turned off. The article covers prerequisites, installation (`dsh plugin --profile web add .`), engine restart, and verification, following the one-time pairing sequence of `adb pair`/`adb connect`. It also explains why using `adb tcpip 5555` is not recommended (as it restarts adbd and disconnects clients like Shizuku). Subsequently, it presents the parameters and practical limits of six tools: `adb_devices`, `adb_shell`, `adb_install`, `adb_logcat`, `adb_screencap`, and `adb_reconnect`. Finally, it outlines applicable scenarios and precautions: tools run with DSH process permissions, are unintercepted, have been verified on a single device model, and have not been published to the npm registry. You should read the source code before installation.
Read More