OpenCode Termux v0.2.0 (OpenCode 1.3.13)
·
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; plainopencoderenders 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
opencodeTermux pacman:
pacman -U opencode-1.3.13-1-aarch64.pkg.tar.xz
opencodeStandalone zip:
unzip opencode-1.3.13-android-aarch64.zip -d $PREFIX/bin/
chmod +x $PREFIX/bin/opencode $PREFIX/bin/opencode.bin
opencodeFixes
- Disabled Android bionic heap pointer tagging inside the OpenCode process with
libtagfix.so, avoidingPointer tag ... was truncatedaborts 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.soas a real filesystem library and setOPENTUI_LIB_PATH, avoiding broken/$bunfs/root/...native-library loads on Android. - Patched
libopentui.soto includeNEEDED: libc.so, so Android's dynamic linker resolves symbols such asgetauxvalduringdlopen(). - Omitted the Linux/glibc
librust_pty_arm64.sofrom Android packages unless a real Android/Bionic build is available, preventinglibpthread.so.0/libc.so.6loader failures. - Added CI package verification to block releases with missing
libc.sodependency, 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-ptyis available. The main OpenCode TUI works. - If opencode still crashes with a Zig panic, run
opencode-debugfrom 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