From Smartphone To A House Server

Editorial Team
3 Min Read


Some folks like their homelabs to be as huge and fancy as potential, with racks of recent or surplus server {hardware} sucking down energy. [Hardware Haven] evidently has the other thought, given he simply made a video about making the most cost effective, smallest server potential: an Android telephone.

Positive, it’s not going to be streaming terabytes of information at a number of gigabytes per second, however that’s not everybody’s use case. Don’t overlook, flagship telephones had a number of cores and gigabytes of RAM a decade in the past, so even an previous and busted smartphone has greater than sufficient energy for one thing like House Assistant, which is what will get put in on this video.

After contemplating loading termux and rooting his machine for Docker-on-Android, he opted for postmarketOS, the premiere Linux for previous smartphones. That’s not as a result of the Linux setting you get with termux wouldn’t work; it’s simply that he needed one thing native. To that finish, he purchased a considerably worse-for-wear Xiaomi Mi A1 from eBay to get {hardware} Alpine-based postmarket may use.

Software program smart, it was only a matter of following directions and studying manuals — Linux is Linux, in spite of everything. The firewall proved to be his principal problem, although making an attempt to department out from House Assistant to run Minecraft Server did run into Java points [Hardware Haven] had little interest in troubleshooting. {Hardware} smart, although, effectively — do you wish to depart a telephone plugged in completely? Smokey the Bear suggests you not, particularly should you dwell close to a forest. Apart from, you most likely don’t need your server on WiFi, and at the very least this smartphone wouldn’t cost when utilizing a networking dongle.

That meant telephone surgical procedure: the battery got here out, and 5 V from an previous USB charger was piped into the battery cost controller by way of a diode. The diode was used for its voltage drop, to carry the 5 V provide all the way down to a plausible battery voltage — a buck converter may need been higher, however you utilize what you might have, and the diode drop doesn’t dissipate a lot energy. Energy dissipation remains to be one watt at idle, six throughout a stress check.

Given how low cost the telephone was, and the way little energy this factor sips, [Hardware Heaven] has a superb reply to those that say homelabbing is a wealthy individual’s passion. This venture additionally reminds us that whereas our telephones may not be as hackable as we’d like, they’re nonetheless removed from completely locked down. You possibly can even run NixOS on (a few of) them.

Share This Article