{"slug": "show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux", "title": "Show HN: It's now easy to install Linux on an Android Phone – Android2linux", "summary": "A developer released Android2linux, a public repository of guides, per-phone notes, and an agent skill for installing Linux — specifically postmarketOS — as a secondary OS on Android phones, after getting it running on a Xiaomi device with 4G, SMS, a terminal, and SSH. The developer used Claude for most of the work and made two fixes: patching 14 bytes of U-Boot's device-tree match strings so it recognized the phone model, and resolving a modem failure caused by a packaged TFTP server mishandling file-size queries, which an upstream build fixed. On that phone the charger driver, cameras, and banking apps still do not work, and success depends on the target phone having an existing port.", "body_md": "Hey HN!\n\nOne of my biggest dreams (really) was to have a Linux phone. I tried to install on some phones in the past, even the ones that would be marked as compatible and it was always so difficult that I couldn't really do it. Yesterday I decided to try again, this time using Claude to do most of the work. A couple hours later it runs postmarketOS as my second phone: 4G, SMS, a terminal, SSH.\n\nIt took two fixes. U-Boot didn't recognise my phone model, so I patched 14 bytes of its device-tree match strings. Then the modem wasn't working, because the packaged TFTP server that lends the modem a folder mishandled its file-size queries but an upstream build fixed it.\n\nThe repo is what came out of it: guides for any phone (but specific just for my xiaomi), an agent skill that follows the same method and safety rules, notes per phone, and web apps reworked for a phone screen (WhatsApp Web for desktop with a one-pane layout).\n\nWhat doesn't work (in this phone of mine): no charger driver yet (slow charging), no cameras, and no banking apps, so I keep an Android at home for those. Whether this works for you depends on your phone having a port. reports through the issue forms help, especially for phones that don't work yet.\n\nI think that finally succeeding at having a Linux phone is worth creating a post on HN. I was thinking about a Tell HN but decided to convert the knowledge into a repo so more people can share, discuss, add their phones, new apps, etc. Hope it helps!\n\nComments URL: [https://news.ycombinator.com/item?id=50593862](https://news.ycombinator.com/item?id=50593862)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux", "canonical_source": "https://github.com/android2linux/android2linux", "published_at": "2026-11-21 21:34:54+00:00", "updated_at": "2026-11-21 21:44:07.755897+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Android2linux", "postmarketOS", "Claude", "U-Boot", "Xiaomi", "Hacker News"], "also_reported_by": [], "takeaway": "Patching 14 bytes of U-Boot's device-tree match strings made it recognize the phone model, and swapping in an upstream TFTP server build fixed the modem's file-size query handling.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux", "markdown": "https://wpnews.pro/news/show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux.md", "text": "https://wpnews.pro/news/show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux.txt", "jsonld": "https://wpnews.pro/news/show-hn-it-s-now-easy-to-install-linux-on-an-android-phone-android2linux.jsonld"}}