1 Commits
Author SHA1 Message Date
7f12ed3976 docs: building FAPs on Android with Termux (no PC) (#1060)
* docs: add "Building FAPs on Android with Termux" guide

Documents how to run ufbt inside Termux on a stock Android phone and
build .fap applications on-device - no PC, proot or VM. Adapted with
permission from @CamsShaft's BUILD-FLIPPER-FAPS-IN-TERMUX (MIT), see
issue #1028, with these changes for this repo:

- Point ufbt at the Unleashed update index instead of the official SDK,
  and warn that a plain `ufbt update` silently switches back to it.
- Make the toolchain wrapper loop idempotent and version-agnostic:
  glob the gcc version directory instead of hardcoding 12.3.1, skip
  already-wrapped .real payloads so re-running after a toolchain update
  can't wrap a wrapper, and keep bin/python3 out of it (it points at
  Termux's Bionic Python and must not go through glibc's linker).
- Replace the `ufbt launch` deploy step: Android doesn't expose USB
  CDC-ACM device nodes to Termux, so it can't work unrooted. Copy the
  .fap out via shared storage instead.

Linked from HowToBuild.md and the ReadMe.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* upd changelog: FAPs on Android with Termux doc

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 00:07:19 +03:00