DSHA — DeepSeek Harness Launcher for Android
Runs a full DeepSeek Harness inside one Android APK — no root, no Termux, install and go.
- Source repo
- DSH-APP/DSHA
- Stars
- ★ 3.7k
- Last updated
- 10d ago
- FARS reviewed
- Oct 16, 2026
- License
- MIT
- Primary language
- Java
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A developer whose only always-available machine is an Android phone and who wants DeepSeek Harness for code edits or quick analysis.
- Not a fit if
- Users on 32-bit or x86 devices, or Android 10 or older
- Teams that need bash inside a kernel-level sandbox such as bubblewrap
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-14+26.0 ★/day over 7 days
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
DSHA is a native Android launcher (package dsh.android.client) that packs a complete glibc environment into an APK of roughly 302 MiB: an Ubuntu 24.04 arm64 rootfs, Node.js 24, pnpm 10.34.5 and @deepseek-ai/dsh 0.2.2-rc.1. On first launch it extracts and verifies that offline environment, boots it through proot by default (proroot optional), and a foreground service brings up the dsh Web UI where you configure provider, model and API key. Beyond a web page, an app bridge on 127.0.0.1:3090 exposes device capabilities to the agent: accessibility-driven screen reading and tapping, wireless ADB pairing (or Shizuku/Root as alternates), SAF-granted directories, sensors, clipboard and notification interaction, plus a real PTY terminal built on Termux terminal-emulator JNI and a LAN proxy on :3081. Supporting machinery includes a six-step install pipeline, component-level self-check and repair, transactional plugin installs, password-free .tar.gz backups, startup diagnostics and an independent emergency DSH. The boundaries are explicit: Android 11+ on arm64-v8a only, no bubblewrap sandbox for bash, and on-device data is not guaranteed to survive an uninstall. The project is MIT-licensed and derives from a community original with contributed terminal, device-capability and mobile UI work merged in.
On first run the install pipeline walks six steps — extract, base tools, Node.js, pnpm, dsh, patches — probing before each action and verifying the unpacked offline rootfs (Ubuntu 24.04 noble arm64); a failed step is re-run alone rather than restarting the whole install. Toolchain versions are pinned in packages.lock.json, and reproducible build inputs are pinned by SHA-256 in ci/sunset-inputs.lock.json. Once the environment is ready, the runtime starts the container with proot by default or proroot optionally, and a foreground service plus watchdog hosts the @deepseek-ai/dsh 0.2.2-rc.1 web server with dsh-web-mobile 3.3.5 as the mobile UI; managed updates boot the new environment in an isolated area and verify port, auth, session read/write and plugin loading before switching, rolling back automatically on failure. While running, the agent calls the app bridge at 127.0.0.1:3090: the accessibility service performs structured screen dumps, tap-by-text or tap-by-coordinate, text input, swipes and PNG screenshots; wireless ADB pairing uses TLS 1.3-PSK with SPAKE2 and needs no Shizuku; device commands pick one channel in Root → Shizuku → ADB order and always pass a shared command whitelist that returns [POLICY_BLOCKED] instead of an “allow anyway” prompt, with SMS queries gated separately. Files move through per-directory SAF grants, artifacts export to Download/DSHA, and credential paths (.dsh, .ssh, .android) are refused for both read and write. The terminal is a real PTY, so vim, htop and tmux work; backups are password-free v5 .tar.gz archives with a default schedule keeping the last three verified copies; critical scripts can hot-update from GitHub and are verified offline against a built-in public key.
- A developer whose only always-available machine is an Android phone and who wants DeepSeek Harness for code edits or quick analysis.
- Someone who needs the agent to drive the phone itself — reading the screen, tapping, installing apps — with only the accessibility service enabled.
- Users who need genuine glibc tooling on mobile (apt, Python, git, compiled native modules such as node-pty) rather than bionic-patched Termux packages.
- Researchers already managing devices through Shizuku or wireless debugging who want a one-time pairing wizard with automatic keep-alive and reconnect after reboot.
- Anyone migrating conversations, attachments, plugins and settings to a new phone via the in-app export/import archive.
- Running dsh on the phone while browsing from a laptop on the same LAN, with fail-closed token auth and a SameSite=Strict cookie once authenticated.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Config files
ci/sunset-inputs.lock.json- Runtime
- Java 17 · Node.js 24 · Python 3.9+
- Install notes cover
- Android
How do you install or deploy this agent?
Download the Standard APK from the latest Release (Android 11+ / arm64, about 302 MiB). The release assets are dsha-0.2.2.apk, dsha-0.2.2.apk.sha256, the source zip and its checksum. Verify before installing:
sha256sum -c dsha-0.2.2.apk.sha256Install the APK and launch it once; DSHA extracts and verifies the bundled offline environment, which takes a while depending on device I/O. Upgrading from the same package name and signing certificate is a direct overwrite (stop DSH cleanly first). Migrating from the older mod package io.github.sunsetrne.dsha or the earlier com.dsh.client requires exporting from the old install and importing into the new one; device grants and accessibility toggles must be re-enabled.
To build it yourself you need JDK 17, Node 24, Python 3.9+, Android SDK 37 and NDK 26, and you restore the pinned inputs first:
python3 tools/ci-assets.py --url "$(python3 -c 'import json;print(json.load(open("ci/sunset-inputs.lock.json"))["url"])')" \
--sha256 "$(python3 -c 'import json;print(json.load(open("ci/sunset-inputs.lock.json"))["sha256"])')"
python3 tools/run-host-tests.py --check-manifest
python3 tools/run-host-tests.py --stage fast
./gradlew :app:testStandardDebugUnitTest :app:lintStandardRelease
./gradlew :app:assembleStandardReleaseHow do you use this agent?
1) After installing, launch once and wait for the home screen to report the environment is extracted and verified; the web service starts in the background. 2) Open the Web UI and set provider, model and API key in the page settings, then start working. 3) Screen reading and tapping need no pairing at all; to let the agent run device commands, pick one channel under “device capability authorization”. The recommended wireless ADB path:
1. Settings → About phone → tap Build number 7 times to enable Developer options
2. Developer options → enable Wireless debugging
3. Wireless debugging → "Pair device with pairing code": note IP:port and the 6-digit code
4. DSHA → device capability authorization → enter both and pair
DSHA then keeps the connection alive and reconnects after a phone reboot.4) Confirm the channel from the in-app terminal:
adb shell id
# uid=2000(shell) means it works5) For laptop access, enable LAN access; the web port is configurable and falls back automatically on conflict, and token authentication is fail-closed. 6) Export a .tar.gz from “Data & backup” before upgrading or switching phones.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- A real Ubuntu 24.04 arm64 rootfs inside the APK: apt, PTY, Python, git and compiled native modules such as node-pty work, so upstream dsh plugins generally run unmodified.
- No command line required: install the APK and go; the six-step pipeline probes before each action and repairs only the failed step.
- Device control works out of the box — accessibility alone covers screen reading and tapping, and wireless ADB pairing with TLS 1.3-PSK plus keep-alive removes the Shizuku dependency.
- Unusually thorough reliability work: isolated pre-switch verification for managed updates, three healthy plus three pre-repair config snapshots, plain-language plugin fault naming, and an independent emergency DSH.
- Data handling is explicit: password-free v5
.tar.gzexport, scoped backups, a default auto-backup schedule keeping three verified copies, and corrupt sessions moved aside tocorrupt-backup. - Clear privacy stance: no telemetry, no network calls beyond updates, plugin downloads and model requests; API keys sit behind Android Keystore with AES/GCM.
- Hard device requirements: arm64-v8a only and Android 11+ (API 30) only; Android 10 and below, 32-bit and x86 devices are unsupported.
- Heavy distribution: a ~302 MiB APK and a long first extraction, and some vendor native dependencies are not guaranteed to be fully reproducible from source.
- No sandbox for bash: bubblewrap needs unprivileged user namespaces that Android sepolicy withholds, and dsh defaults to
danger-full-access, so you must change the permission tier yourself. - Data survival depends on grants: without all-files access the data stays in the private directory and disappears on uninstall, and local copies are not guaranteed to persist.
- proroot, virtual screen and privileged screen execution are device-dependent and explicitly not promised for every model; the overlay bar needs
TYPE_APPLICATION_OVERLAYpermission. - The desktop remote-workspace capability has been withdrawn, leaving phone control and local/LAN access only; 卓易通 and HarmonyOS anco are untested on real hardware.
How does this agent compare with similar options?
The README itself contrasts the two practical routes for running dsh on Android. DSHA is the container camp: proot/proroot over a full glibc rootfs, where installing the APK is the whole setup and apt plus native modules work, at the cost of syscall and file I/O translation overhead. The Termux-bootstrap camp runs Termux packages directly on Android bionic, requiring per-package patches or rebuilds; it has no container layer and is theoretically fastest, but setup means installing Termux and typing commands. Both are constrained by Android sepolicy, so bubblewrap-style sandboxing is unavailable either way. For device command channels, Shizuku (or the compatible manager Stellar) and wireless ADB are the two options, and DSHA ships ADB pairing while explicitly not requiring Shizuku.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| DSHA — DeepSeek Harness Launcher for Android This agent | 61 · Some gaps | Desktop appFree + model costs | ★ 3.7k | 10d ago | Java | — |
| DSH Go | 78 · Good | Desktop appFree + model costs | ★ 31k | today | Dart | — |
| TermFold Debian Coding Terminal | 62 · Some gaps | Desktop appFree + model costs | ★ 36 | 1mo ago | Kotlin | Codex · Claude Code |
| DeepSeek Harness for GitHub | 85 · Good | Chat botFree + model costs | ★ 67 | 24d ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The documentation describes capability-scoped, off-by-default, revocable permissions; per-query SMS confirmation; command allowlisting; Keystore encryption; credential-path blocks; and backup exclusions. These support meaningful privilege and sensitive-data controls. Deductions: many safeguards are asserted only in the README, while the product exposes high-impact ADB, unrestricted bash (default danger-full-access), file, clipboard, sensor, and LAN capabilities whose authorization and impact boundaries are not fully evidenced.
The materials describe component diagnostics, failure logs, staged repair, isolated safe start, configuration snapshots, and a recovery environment. CI workflows enumerate source and unit checks. Deduction: the README identifies the current source as build173 while downloads remain build170 and low-end acceptance is deferred, leaving source, release package, and acceptance status out of sync.
The target is clear: running DeepSeek Harness on Android arm64, with distinctions for editions, Android versions, web engines, ADB, and virtual-display prerequisites. Capability permissions and some limits are also stated. Deduction: device and permission dependencies, plus unverified real-device cases, limit the demonstrated fit.
The README is detailed and organized around setup, features, limitations, versions, and a linked security model; the MIT license text is complete. Maintainer and original author are named. Deductions: release downloads still identify build170 while source notes identify build173; examples and FAQ coverage are sparse, and maintenance continuity is not described in much detail.
Bundling Ubuntu, Harness, phone interaction, and live output in an APK offers clear value for command-line-free phone deployment; the described install and repair flows also target usability. Deductions: APK size is about 273–345 MiB, and default danger-full-access with unavailable bash sandbox isolation creates substantial storage and security costs.
The README provides specific versions, platform requirements, checksum verification paths, selected performance and acceptance status, and distinguishes historical proot benchmarks from unaccepted bxroot performance. CI workflows expose reviewable check steps. Deductions: most product and security claims in the supplied material are README assertions without independent corroboration, so actual runtime behavior cannot be confirmed here.
- The README says bash sandbox isolation is unavailable and danger-full-access is the default permission mode; review and adjust permissions before use.
- Source notes identify build173 while download links still point to build170, and low-end acceptance is deferred; check APK/source alignment and verify the SHA-256.
- Data kept in the app-private directory may be lost on uninstall; export needed data first.
FAQ
Do I need root or a Termux install first?
What can it do if I grant no permissions at all?
Do my conversations and plugins survive uninstalling the app?
.tar.gz archive first and import it on the next device.Will it run on Android 10, an x86 tablet, or a 32-bit phone?
Is DeepSeek the only model provider?
@deepseek-ai/dsh 0.2.2-rc.1, so the concrete provider list is whatever the web settings expose on your build.Is DSHA — DeepSeek Harness Launcher for Android free?
Is DSHA — DeepSeek Harness Launcher for Android open source?
Is DSHA — DeepSeek Harness Launcher for Android still maintained?
Who makes DSHA — DeepSeek Harness Launcher for Android?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.