mayukh4 writes a pair of bash scripts that transform a stock Android phone into either a GPU-accelerated Linux desktop (XFCE4, KDE Plasma, LXQt, or MATE) or an always-on Home Assistant smart home hub, all running inside Termux via proot-distro and Termux-X11. No root, no PC, and no cloud dependency are required—just an arm64 device with 3+ GB of RAM.
- GPU acceleration uses the open-source Turnip driver on Qualcomm Adreno chips, falling back to Zink + SwRast for Mali and other GPUs
- A custom `safe_install_pkg` function resolves Termux package conflicts by evaluating version constraints and `Provides`/`Replaces` declarations, preventing mid-install failures
- Home Assistant Core is deprecated upstream (2025) but remains the only realistic HA install method on a phone since HA OS and Container both require Docker or bare metal
- Wine is available via Hangover + Box64 for running Windows x86 apps on ARM64
- The repo has a companion YouTube walkthrough and a Chinese translation of the README
Ayush Pande writes about transforming an outdated Poco M6 Pro smartphone into a functional local LLM server using llama.cpp via Termux. By utilizing lightweight inference engines and specific edge models like Gemma 4 E2B, the author was able to perform productivity tasks such as OCR reports, document summarization, and email proofreading locally on the device with respectable performance levels.
- The setup uses Termux to install dependencies and llama.cpp for ultra-minimalist resource consumption.
- Gemma 4 E2B is highlighted for its Per-Layer Embeddings architecture, which allows it to maintain high reasoning capabilities despite a small footprint.
- The phone achieved an average speed of 5-6 tokens per second while running the model and other containerized services.
- While capable of mobile productivity, the setup is not intended to replace heavy home lab nodes for complex coding or automation tasks.
Ayush Pande writes that he repurposed an old Poco M6 Pro into a portable self-hosted server using Podroid instead of rooting, running an Alpine Linux VM with Docker and Podman to host FOSS apps on the go while avoiding the limitations of Termux and PRoot. He accepts caveats like no privileged ports under 1024, making services like Pi-hole unusable, but can otherwise run containers such as ConvertX, BentoPDF, n8n and BeaverHabits from his phone.
- Podroid runs a full Alpine Linux VM with Docker, Podman and LXCs preinstalled
- Port forwarding requires `podroid-forward add android_port vm_port` as system ports are blocked
- Phone is Poco M6 Pro 4G with MediaTek chipset and no actively maintained custom ROMs
- Rooting avoided via Shizuku + Canta for debloating to prevent bricking
- VM uses 2-4 GB RAM and 4 CPU cores with USB passthrough, SSH, shared Downloads folder, X11 desktop and backup facility
Termux is an Android terminal application and Linux environment. The app's repository; includes links to various installation packages.