Standard Android app sandboxes cannot run compilers, Git, or Python directly, while Termux provides a full Linux userland. Blorple Code links the two over a small Go loopback daemon bound strictly to 127.0.0.1 (with zero binaries bundled inside the APK), letting your chosen model work inside a real workspace folder on your phone.
Pair Termux in four steps
- Install Termux (from F-Droid or GitHub Releases) and Blorple.
- Open Code from the Blorple sidebar, copy the setup line, and run it in Termux:
curl -fsSL https://www.blorple.app/setup.sh -o ~/blorple-setup.sh && bash ~/blorple-setup.sh- The script verifies the bridge SHA-256 checksum, mints a 256-bit bearer token, acquires
termux-wake-lock, and opensblorple://pair. Tap Pair bridge? to connect. - Start a Code session and describe what to build. Install compilers or interpreters in Termux as needed (for example
pkg install python git).
A real test on a Pixel 10
Running Gemma 4 E2B locally on a Pixel 10, we asked Code mode to write squares.sh printing the first five square numbers and run it with bash. In Manual mode, Blorple showed the full file diff for approval first, then showed an approval card for bash squares.sh, and returned 1, 4, 9, 16, 25. With an on-device model reasoning through tool steps, expect multi-step coding runs to take a couple of minutes.
Five permission modes
| Mode | Behaviour |
|---|---|
| Manual | Asks before every file write and shell command. |
| Accept edits | Applies workspace file writes automatically; asks before commands. |
| Plan | Read-only inspection; file writes and mutating commands are blocked. |
| Build | Allows standard workspace build and test commands automatically. |
| Bypass all | Skips routine prompts after a warning dialog, while still holding catastrophic commands and sensitive Termux APIs. |
Practical tips for phone coding
- Keep Manual mode on first: inspect each shell command and path before tapping Approve.
- Scope tasks tightly: small phone models succeed far more often on one script or one bug fix than on sweeping refactors.
- Use the multi-terminal drawer: tap
+ New terminalto run your own shell beside the agent and send terminal output back into chat with one tap. - Pair a desktop model for big repos: connect Code mode to LM Studio or Ollama on your PC over Wi-Fi or Tailscale when you want 30B+ coding models driving your phone's shell.
Sources
Keep reading