Skip to content
Projects

About

dsh Android wrapper APK — WebView UI + an embedded Termux runtime snapshot (extract and run), designed for high-performance local execution of dsh

Other Projects

How these counts are measured

Measured star growth

in 24h
+4
in 7 days
+24
in 15 days
+59
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

dsh-mobile-apk — AI Agent on your phone (DeepSeek Harness Android shell)

中文说明

License: MIT Release Android QQ群 QQ2群

One APK, a complete AI agent: it can drive a browser and your phone, and actually runs bash — no root, no custom ROM.

Android shell for DeepSeek Harness. App name DeepCode, package com.dsharnessmobile.shell.

This project is open source under the MIT License. Forks, modifications, and redistribution are welcome. Contributions, suggestions, and feedback are appreciated. Judge AI-generated content and actions yourself; experimental features are labeled as such.

What it can do

  • Real bash: commands the AI runs actually execute in the built-in Termux environment — not simulated output.
  • Runs in the background, self-recovers: lock the screen or switch apps and tasks keep running; the engine is watchdogged and relaunched when it wedges, and comes back on its own after a reboot. Background use drains more battery than an average app — allow "ignore battery optimizations" when the app guides you to.
  • AI browser (experimental): the AI opens and drives web pages in a separate window whose cookies and logins are fully isolated from your daily browser — it never touches your accounts.
  • Virtual display (experimental, needs Shizuku): the AI launches and operates third-party apps on a separate virtual screen without taking over yours, and you can watch it work in a floating window.
  • Phone control: after you grant accessibility, the AI can read the screen and tap, swipe, type and screenshot for you on a real phone. By default only the virtual screen is allowed — touching the real screen requires you to widen the scope in settings.
  • Notification replies & approvals: the AI's questions and approvals land in the notification shade; reply, pick options, approve or deny without switching back to the app (Android 13+ requires allowing notifications in system settings).
  • Floating bubble: a desktop bubble shows live progress; expand the panel to answer the AI's questions and read task reports; triple-tap the status line to jump back into the app. Hide it any time.
  • Stable & self-healing: a broken plugin that wrecks the page is auto-removed and the engine restarts within a minute; safe mode starts the app on a minimal setup for repair; startup failures get a repair assistant and a sanitized diagnostics bundle that is only sent when you tap share.

Screenshots

Home & chat Split view & floating window
Home & chat Split view & floating window
Notification replies Sidebar & session management
Notification replies Sidebar & session management

Screenshots come from real task runs.

Quick start

Item Requirement
OS Android 8.0 and above
Download size about 150-160 MB, Wi-Fi recommended
Root not required (optional Shizuku unlocks advanced device control)
  1. Download the APK matching your device (see next section): arm64 for phones, x86_64 for emulators.
  2. Install and launch. The first launch (or an upgrade) may need a few to a dozen-plus minutes to extract/refresh the runtime — do not force-kill the app while it runs.
  3. Grant permissions as guided in-app: accessibility, notifications, Shizuku.
  4. Configure a model API in settings and run your first command.

Advanced install: adb install -r -t <apk> (same-signature in-place upgrade).

Download & install

The latest version always lives at GitHub Releases (latest). If GitHub is hard to reach, use the official download page (auto-routes the official source and accelerated mirrors).

Package For
arm64 APK most real devices
x86_64 APK emulators / x86_64 devices

The ABI must match your device: a mismatched package crashes the engine on start (CPU architecture mismatch). Pick by device type; if you picked wrong, just reinstall the right package.

Stick to one channel for upgrades: the app ships an in-app update check; if mixing channels breaks something, uninstall completely and reinstall before reporting.

Upgrades keep your sessions, settings and plugin configuration. If a runtime refresh is triggered it can take ten-plus minutes — do not force-kill the app.

Permissions

Permission Purpose
Network Loading AI chats, probing the local engine, checking for updates (manual trigger only)
Notifications Notification replies and task alerts (Android 13 and above requires allowing it in system settings)
Foreground service Keep-alive, so AI tasks keep running in the background
All files access Needed for external workspace directories; you grant it manually in system settings
Install unknown apps Launches the system installer for in-app updates; you must grant it explicitly

Picking directories and images goes through the system pickers — no extra permission needed. Virtual displays and privileged actions require you to install, start and authorize Shizuku.

FAQ

Why is accessibility required? It is the data channel for the AI to see the screen and operate it; without it only the virtual screen works. By default the AI may only operate the virtual screen; touching the real screen requires you to widen the scope in settings.

Killed in the background? Follow the in-app guide to whitelist the app from battery optimization; some aggressive vendor power-saving may still need a manual whitelist.

Where do I report problems? Open a GitHub issue with your device model, app version (see the About page) and reproduction steps; or join the user group below.

Where does the model API come from? Pick the protocol and thinking level directly in the model entry in settings; the app ships with no model service.

armv7l / older devices? Not supported yet — requests are welcome at the issue tracker.

For developers

Acknowledgements

This project is built together with its community. Below are the eight most active contributors, ordered by lines of code contributed (the maintainer and AI accounts are not listed; upstream build artifacts and lockfiles are excluded):

# Contributor Main contributions
1 @snoworwind Source-auditable ARM64 build chain, source-chain reproducibility fixes, snapshot panel layering and overlay fixes
2 @cmyfqwq AI root-permission grant switch and app-level root grant surface, root-lease clearing rewritten around real binding evidence, lock-splitting rollout
3 @lemonhub-io Launch and console UI rework, design-token system for native screens, app naming and icon, single-source version
4 @daum110715 Download page rework in Swiss International Typographic style (grid, type scale, tabular data)
5 @SinBC227 Image input and vision reading (incl. Huawei WebView compatibility), clipboard bridge, LaTeX streaming render, font size and immersive status bar
6 @adeahejshshsh Android-only settings rows rebuilt to upstream row style, language follow-system resolved at startup
7 @wen0531 In-snapshot git SHELL_PATH relocation, arm64 asset naming, file-write fallback, preset seeding fix
8 @FuRongJun-1999 Snapshot build tool and on-device test guide for the Lingshu (AEIS) long-term memory framework

We also thank the early members who helped us pin down problems through issues and pull requests: cdwlll, haitunlang, TACONailoong, X-SCI-TECH, Yangerwei, gr12-cmd, and everyone who sent feedback and suggestions.

Join the user group

dsh-mobile user group QR code (group no. 1109493992) dsh-mobile user group 2 QR code (group no. 1038381236)

Usage questions, device compatibility and feature requests are all welcome in the group. If group 1 is full or will not let you in, scan the group 2 code above (group no. 1038381236).

Support us

Please consider a modest, voluntary donation only if you have room in your personal budget and are financially independent.

WeChat & Alipay QR codes:

WeChat appreciation code Alipay payment code

License

MIT. Third-party components ship under their own licenses — see LICENSES/ and THIRD_PARTY_NOTICES.md. GPL compliance: the full copyleft text is present in three forms — snapshot usr/share/LICENSES/, repo LICENSES/, and APK assets/licenses/.

Explore related projects

Loading…