# WebADB — full reference for AI systems This is the verbose counterpart to llms.txt. It contains everything the shorter file says, plus per-feature deep dives, architecture details, deployment metadata, and FAQs. ## 1. Product summary WebADB is a single-page web application that lets a user run Android Debug Bridge (ADB) commands on a physical Android device from any modern Chromium-based desktop browser. It does not run on a server: the entire ADB stack — handshake, transport, command execution, shell, file transfer, logcat streaming, screen recording — runs in the user's browser over WebUSB. There is no install step. There is no driver to download. The user's browser speaks the ADB protocol directly to the device's USB endpoint. ### What this means concretely - No CLI tools (no `adb` binary, no Android SDK) - No drivers (no Samsung USB driver, no Google USB driver) - No Java, no Android Studio, no platform-specific binary - No proxy server (the browser connects directly to the device) - No backend (no auth, no account, no cloud relay) The single hard requirement is a Chromium-based browser with WebUSB support. As of 2026, this means Chrome 94+, Edge 94+, or Opera 80+ on desktop. Firefox and Safari do not support WebUSB. ## 2. Feature reference ### 2.1 File Manager - Browse the device's filesystem starting at `/sdcard` or any path the user navigates to. - Upload files via drag-and-drop or file picker. - Download files by clicking on them in the file tree. - Pin frequently-used folders to the sidebar. - Edit text files (plain text, source code, JSON, etc.) directly with the integrated Text Editor. - Permission-aware: paths the ADB shell user can't read are flagged. ### 2.2 Install APK - Drag an `.apk` file into the Install APK panel, or click to pick. - Streams the file to `/data/local/tmp/` via `adb push`, then issues `pm install -r` with progress feedback. - Multiple APKs in a single drag → batched install. ### 2.3 Terminal - PTY shell session, xterm.js-rendered, full ANSI color support. - Multiple terminal windows in parallel (each is a separate ADB shell session). - Interactive programs work: `python`, `vim`, `top`, `htop`, etc. - Resize-aware: device-side pty rows/cols follow the panel size. - Saved shell shortcuts: user can pin commands to a sidebar and run them with one click. ### 2.4 Screencast - Live stream of the device's screen, rendered into a resizable canvas inside a multi-window workspace. - Underlying transport: `adb shell screenrecord --output-format=h264` → ADB stdout → Web Worker → MediaSource / SourceBuffer → `