Show HN: It's now easy to install Linux on an Android Phone – Android2linux gith...
HN Best 200 @best
Show HN: It's now easy to install Linux on an Android Phone – Android2linux github.com · 6 points · 2 comments · HN thread
TL;DR The author's Show HN post introduces android2linux, a GitHub repository that documents how to install Linux (postmarketOS or Ubuntu Touch) on Android phones, built with help from Claude. The author got postmarketOS running on a Xiaomi Redmi Note 9 Pro Max after patching U-Boot and fixing a TFTP server for the modem. The repo includes guides, an agent skill, per-phone notes and phone-friendly web app wrappers.
- The author got postmarketOS running on a Xiaomi Redmi Note 9 Pro Max with 4G, SMS, a terminal and SSH, working in a couple of hours with an AI assistant doing most of the work.
- Two fixes were needed: patching 14 bytes of U-Boot device-tree match strings so it recognised the phone, and using an upstream tqftpserv build because the packaged TFTP server mishandled file-size queries for the modem.
- Known gaps on this phone: no charger driver (slow charging), no cameras, and no banking apps, so the author keeps an Android phone at home.
- The repo offers a Claude Code agent skill, guides for any phone, per-phone folders, and web apps (WhatsApp, Lichess) adapted for phone screens.
- Safety rules include never relocking a modified bootloader, never flashing an image for another codename, respecting anti-rollback indexes, and backing up before wiping.
- The project is MIT-licensed, contains no vendor firmware, and invites issue reports and pull requests, including for phones that cannot run Linux yet.
Discussion The thread is very small, with only two comments. The mood is positive and curious. One commenter says they have wanted a Linux phone for a while and found a Xiaomi easier to get than the Linux phones they liked, which made this repo appealing. A reply points out that older Google Pixel phones are likely easier to install Linux on, while noting Xiaomi phones are much cheaper.
- Enthusiastic about a more accessible route to a Linux phone (some): A commenter says they have long wanted a Linux phone and that importing the phones they liked was a problem. This project makes a Xiaomi a practical option for them.
- Pixel phones are easier targets than Xiaomi (a few): One reply argues that older Google Pixel phones are likely simpler to install Linux on, though Xiaomi phones cost less.