Turn your old Android phone into a Linux desktop with just Termux

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Two shell scripts let anyone convert a dusty Android phone into a usable Linux desktop or Home Assistant hub without root, buying hardware, or flashing ROMs.

Read this as

A developer released two free scripts for the Termux terminal app that turn an old Android phone into a small Linux computer. One installs a full desktop with menus and windows you can see in the Termux-X11 app; the other installs Home Assistant, software for controlling smart lights and plugs. You need a 64-bit phone with 3 GB of memory and no technical hacking of the phone itself.

This is a hobbyist project, not a product: two scripts on GitHub (github.com/mayukh4/linux-android) that repurpose spare phones as Linux desktops or smart home controllers, undercutting the typical Raspberry Pi purchase. Requirements are modest, arm64 CPU, 3 GB RAM, 5-10 GB storage, and no root is needed, but it runs on phone hardware and won't replace a main desktop. Cost is zero; support is whatever the README offers.

termux-linux-setup.sh provisions XFCE4 (default), LXQt, MATE or KDE Plasma inside Termux-X11, with GPU acceleration via Turnip/Adreno drivers on Snapdragon and fallback support for Mali. It pre-empts a known libpcre/libandroid-selinux crash and logs to ~/termux-setup.log; installation takes 10-30 minutes. setup-homeassistant.sh installs Home Assistant Core independently. Tested on a OnePlus 5T running LineageOS; Wine is optional.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Termux Termux-X11 Home Assistant XFCE4 KDE Plasma OnePlus 5T F-Droid

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading