Skip to content

OpenCode Termux v0.2.0 (OpenCode 1.3.13)

Choose a tag to compare

@github-actions github-actions released this 22 Jun 08:23
· 0 commits to main since this release

NOTE: CURRENT RELEASE HAS ISSUES, WORKING ON A FIX

OpenCode Termux v0.2.0 (OpenCode 1.3.13)

This is the first confirmed Android 12+ and Android 15 working release of the OpenCode Termux package from the Android tagged-pointer fix branch.

Confirmed Working

  • Android 15 LineageOS / Termux: verified with the online release .deb; plain opencode renders the full TUI.
  • Android 12 / Termux: verified by maintainer.
  • Android 16 reporter devices: requested for validation in issues #1 and #2.

Installation

Termux dpkg:

dpkg -i opencode_1.3.13_aarch64.deb
opencode

Termux pacman:

pacman -U opencode-1.3.13-1-aarch64.pkg.tar.xz
opencode

Standalone zip:

unzip opencode-1.3.13-android-aarch64.zip -d $PREFIX/bin/
chmod +x $PREFIX/bin/opencode $PREFIX/bin/opencode.bin
opencode

Fixes

  • Disabled Android bionic heap pointer tagging inside the OpenCode process with libtagfix.so, avoiding Pointer tag ... was truncated aborts on newer Android releases.
  • Fixed the wrapper to prefer the packaged libexec/opencode/opencode.bin, so upgrades do not accidentally run a stale flat-layout binary left in $PREFIX/bin.
  • Shipped libopentui.so as a real filesystem library and set OPENTUI_LIB_PATH, avoiding broken /$bunfs/root/... native-library loads on Android.
  • Patched libopentui.so to include NEEDED: libc.so, so Android's dynamic linker resolves symbols such as getauxval during dlopen().
  • Omitted the Linux/glibc librust_pty_arm64.so from Android packages unless a real Android/Bionic build is available, preventing libpthread.so.0 / libc.so.6 loader failures.
  • Added CI package verification to block releases with missing libc.so dependency, stale wrapper path order, wrong ELF architecture, or glibc-linked native libraries.

Known Limitations

  • PTY helper support is still disabled/omitted until an Android/Bionic build of bun-pty is available. The main OpenCode TUI works.
  • If opencode still crashes with a Zig panic, run opencode-debug from the standalone zip and paste the full stack trace in a GitHub issue.

Build Info

  • Package version: v0.2.0
  • OpenCode: 1.3.13
  • Bun: 1.2.13, cross-compiled for Android aarch64
  • WebKit/JSC: 017930ebf915121f8f593bef61cbbca82d78132d
  • ICU: 75.1
  • Android API level: 24
  • NDK: r28b, 28.1.13356709