Repository navigation
OpenCode Android v4.0.0-beta.8 (Next)
Pre-release
Pre-release
Beta 8 fixes root commands from the agent and adds battery cycles.
- The sandbox shipped util-linux su, which cannot elevate under proot: root attempts failed with 'Accessed denied/Trap' even on a rooted phone. su is now a wrapper over the app's real Magisk access.
- The agent gets notes (AGENTS.md) explaining opencode-root and the phone API.
- termux-battery-status now includes cycle_count when root is granted.
- Verified on a rooted test Android 15 arm64 device: the agent returned the battery cycle count.