← all repositories
DSH-APP/DSHA

A 177 MB APK That Smuggles Ubuntu Onto Your Phone for AI Agents

It stuffs a full Ubuntu environment into an APK so DeepSeek Harness can run on a phone without root or Termux.

500 stars Java Coding AssistantsAgents
DSHA
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does

DSHA is an Android launcher for DeepSeek Harness, the vendor’s official agent framework. It ships as a single APK that unpacks into a full Ubuntu 24.04 rootfs with glibc, apt, PTY support, and Node.js, letting the desktop-first harness run on arm64 phones. The app handles environment setup, Web UI hosting, ADB device control, and data persistence without asking the user to type a shell command.

The interesting bit

Instead of relying on traditional proot’s ptrace-based syscall interception, DSHA uses a custom “proroot” runtime that patches binaries via LD_PRELOAD to translate paths in-process. The README claims this cuts overhead significantly—up to 94% faster tar and 82% faster stat on a tested vivo device—while still falling back to standard proot if files go missing.

Key highlights

  • Runs a full Ubuntu 24.04 userland (not a stripped container) with native module compilation, Python, and git inside a standard APK.
  • Bundles its own ADB wireless stack so the agent can tap, screenshot, and install apps on the host phone without Shizuku or root.
  • Persists chats and settings to the public Documents/dshdata directory, encrypts API keys in Android Keystore, and supports granular backup/restore with cross-device path rewriting.
  • Surfaces a real-time floating overlay for AI output and a built-in terminal that survives screen rotation and language switches.
  • Ships with 23 self-check diagnostics, 15 self-healing scripts, and a watchdog that attempts to restart the Web UI if it dies.

Caveats

  • The project warns it is undergoing a large-scale refactor and updates are currently slow.
  • Direct upgrade paths from the older 1.1.10 architecture have not been re-verified for the current release.
  • Final-round testing did not cover Android 6/7, real 16 KiB page devices, or certain third-party Shizuku variants.

Verdict

Worth a look if you want to carry a fully capable coding agent in your pocket without maintaining a Termux installation. Skip it if you need broad architecture support beyond arm64 or want a project with a rapid release cadence.

Frequently asked

What is DSH-APP/DSHA?
It stuffs a full Ubuntu environment into an APK so DeepSeek Harness can run on a phone without root or Termux.
Is DSHA open source?
Yes — DSH-APP/DSHA is open source, released under the MIT license.
What language is DSHA written in?
DSH-APP/DSHA is primarily written in Java.
How popular is DSHA?
DSH-APP/DSHA has 500 stars on GitHub.
Where can I find DSHA?
DSH-APP/DSHA is on GitHub at https://github.com/DSH-APP/DSHA.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.