Skip to content

OpenCode Android 4.0.0

Choose a tag to compare

@Dajeovv Dajeovv released this 26 Oct 01:52
· 30 commits to main since this release

OpenCode Android 4.0.0 is an unofficial Android client for
opencode. It is not affiliated with,
endorsed by, or sponsored by the upstream project.

This is the standalone 4.0.0 build (com.opencode.launcher.next, versionCode
171). The agent runs entirely on the phone: no Termux, no PC, no root, no
setup
. Install the APK, open it, grant storage access, and the chat starts.

  • The bundled opencode 1.19.3 server runs natively inside the app. git,
    python3, grep, find and the rest of the core toolbox are launched
    through /system/bin/linker64; proot is only used for pkg/apt and
    scripts that need the conventional prefix.
  • LD_LIBRARY_PATH is scoped to those launches, so dumpsys, pm, cmd and
    other Android binaries load their own libraries.
  • termux-wifi-connectioninfo reports transport, IPv4/IPv6, DNS, routes,
    gateway, RSSI, signal level, frequency, Wi-Fi standard, link speeds, DHCP and
    all visible networks. SSID/BSSID are omitted because the app does not request
    location.
  • Android 8-10: legacy storage permission, requestLegacyExternalStorage, and
    a private-folder fallback when Android 10 keeps scoped storage. Sharing
    retries after the permission prompt.
  • Commands with dashes (termux-*) are routed to proot instead of being
    skipped.
  • The share sheet shows the real destination folder.

Verified on an Android 15 arm64 device: server healthy on 4098,
LD_LIBRARY_PATH empty in the agent shell, system commands work, Wi-Fi JSON
answers, and sharing creates a session and delivers the message.

Known limitations:

  • Only Android 15 arm64 has been tested. Android 8-14, other OEMs, tablets and
    16 KB-page devices are untested.
  • The Android 8-10 storage fallback compiles but has not run on real hardware.
  • SSID/BSSID need location, which is not requested. dumpsys wifi, settings
    and ip/ifconfig/netstat still need root.
  • First run needs internet (npm dependencies and the package index). Low-RAM
    phones may see the server killed in the background.
  • GitHub Releases only; not published on Google Play.

APK: arm64-v8a, minSdk 26, targetSdk 34, 133,063,699 bytes.

SHA-256:
00be5e30da650d71f6f630fd4974e93788ac0ef640f0acbeba1d2df18bbd8a19