ios-adb-controller

Control an Android device over ADB TCP from an iOS app packaged for TrollStore. Remote shell, screen mirroring, touch input, and device management in a single-panel dashboard.

Features

TCP Connection

Connect to any ADB-enabled Android device on your local network by IP address and port.

Screen Mirroring

Low-latency screen preview via ADB screenrecord piped through a WebSocket relay.

Remote Control

Tap, swipe, and type on the mirrored screen. Translates touch events into ADB input commands.

Device Management

Reboot the device or install APK files directly from the dashboard sidebar.

Architecture

The app is built with TanStack Start (React + Vite + Nitro) as a web shell that can be bundled into a native WKWebView via Capacitor. The ADB protocol runs over a WebSocket proxy in development, or a native TCP socket plugin in production (TrollStore). The src/services/adb-client.ts module documents the full ADB TCP handshake, packet framing, auth flow, and shell command protocol.