<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj" -->

---
title: I turned my old Android phone into a Home Assistant...
description: An enthusiast documents attempts to repurpose an old Android phone as a Home Assistant server. A first attempt using Podroid to run a Docker-based HASS...
canonical: https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I turned my old Android phone into a Home Assistant server, and it actually works | daily.dev
og:description: An enthusiast documents attempts to repurpose an old Android phone as a Home Assistant server. A first attempt using Podroid to run a Docker-based HASS...
og:url: https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj
og:image: https://api.daily.dev/og/posts/vg3DQI3OJ.png
og:image:alt: I turned my old Android phone into a Home Assistant server, and it actually works
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I turned my old Android phone into a Home Assistant server, and it actually works

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 4 min read · 0 upvotes · 0 comments

## Summary

An enthusiast documents attempts to repurpose an old Android phone as a Home Assistant server. A first attempt using Podroid to run a Docker-based HASS container failed to connect to smart devices despite detecting them. Switching to the Linux-Android repo by developer mayukh4, which runs Home Assistant inside a Termux-powered proot Ubuntu container, worked much better, with most devices, dashboards, automations, and integrations functioning normally. Despite some drawbacks, the setup is presented as a viable, low-cost way to try Home Assistant on a non-rooted phone.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/i-turned-my-old-android-phone-into-a-home-assistant-server>

## Questions this post answers

### How can I run Home Assistant on an old Android phone without rooting it?

Use the Linux-Android repository by developer mayukh4, which runs Home Assistant inside an Ubuntu container via proot using Termux. Install it by running curl -O to fetch the setup-homeassistant.sh script from the mayukh4/linux-android GitHub repo, then executing bash setup-homeassistant.sh, which handles the full setup automatically on a non-rooted phone.

_daily.dev surfaces setups like this for developers turning spare hardware into home lab gear._

### Why won't Home Assistant running in a Podroid Docker container connect to my smart home devices?

Even with the --privileged and --network-host flags set and port forwarding configured via podroid-forward, a Podroid-based Home Assistant container can detect device IPs and credentials but still fail to establish a working connection. Adjusting firewall rules and network settings did not resolve it, suggesting Podroid's networking layer has compatibility issues with privileged container setups needed for local device discovery.

_Developers debugging containerized home automation setups can track similar workarounds on daily.dev._

## Similar posts on daily.dev

- [I turned my old phone into a portable Docker server, and now I carry my self-hosted apps everywhere I go](https://daily.dev/posts/i-turned-my-old-phone-into-a-portable-docker-server-and-now-i-carry-my-self-hosted-apps-everywhere--ngkdojtrj) · XDA Developers · 4 upvotes · 0 comments
- [I used my old Android phone as a Docker server for a month, and it outperformed my expectations](https://daily.dev/posts/i-used-my-old-android-phone-as-a-docker-server-for-a-month-and-it-outperformed-my-expectations-4v1gyqehe) · XDA Developers · 2 upvotes · 0 comments
- [I turned my old phone into a device that does something my $300 smart home gadgets can't](https://daily.dev/posts/i-turned-my-old-phone-into-a-device-that-does-something-my-300-smart-home-gadgets-can-t-tughk4r3c) · XDA Developers · 0 upvotes · 0 comments
- [An old Android phone is a better first home server than a $100 Raspberry Pi in 2026, and you probably already own one](https://daily.dev/posts/an-old-android-phone-is-a-better-first-home-server-than-a-100-raspberry-pi-in-2026-and-you-probabl-kaywi3iss) · XDA Developers · 1 upvotes · 0 comments

---

Tags: [#android](https://daily.dev/tags/android), [#docker](https://daily.dev/tags/docker), [#self-hosting](https://daily.dev/tags/self-hosting)

[View this post on daily.dev](https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I turned my old Android phone into a Home Assistant server, and it actually works","url":"https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj"},"datePublished":"2026-09-16T14:02:51.162Z","dateModified":"2026-09-16T14:47:12.209Z","description":"An enthusiast documents attempts to repurpose an old Android phone as a Home Assistant server. A first attempt using Podroid to run a Docker-based HASS...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a9a32272d6f0cacae9ca95536b9624a0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a9a32272d6f0cacae9ca95536b9624a0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"android,docker,self-hosting","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"I turned my old Android phone into a Home Assistant server, and it actually works"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-turned-my-old-android-phone-into-a-home-assistant-server-and-it-actually-works-vg3dqi3oj#faq","mainEntity":[{"@type":"Question","name":"How can I run Home Assistant on an old Android phone without rooting it?","acceptedAnswer":{"@type":"Answer","text":"Use the Linux-Android repository by developer mayukh4, which runs Home Assistant inside an Ubuntu container via proot using Termux. Install it by running curl -O to fetch the setup-homeassistant.sh script from the mayukh4/linux-android GitHub repo, then executing bash setup-homeassistant.sh, which handles the full setup automatically on a non-rooted phone. daily.dev surfaces setups like this for developers turning spare hardware into home lab gear."}},{"@type":"Question","name":"Why won't Home Assistant running in a Podroid Docker container connect to my smart home devices?","acceptedAnswer":{"@type":"Answer","text":"Even with the --privileged and --network-host flags set and port forwarding configured via podroid-forward, a Podroid-based Home Assistant container can detect device IPs and credentials but still fail to establish a working connection. Adjusting firewall rules and network settings did not resolve it, suggesting Podroid's networking layer has compatibility issues with privileged container setups needed for local device discovery. Developers debugging containerized home automation setups can track similar workarounds on daily.dev."}}]}
```

