| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||
|---|---|---|---|
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Link: https://www.muttmutt.us/geeky-stuff/portable-web-server-on-an-android-phone-for-offline-access/
I had an old Google Pixel 3a XL sitting around and decided to see if it could handle running as a fully offline, self-contained web server. I flashed postmarketOS 26.06 (headless Alpine Linux base) to it and set up a portable media node that broadcasts its own Wi-Fi AP, serves static pages, and streams video over a captive portal - no cell data or upstream internet needed. Quick Hardware/Tech Stack Breakdown:
Performance & Power Draw: Under a test load streaming 720p video to 4 concurrent devices, total CPU usage averaged around 5% (load avg 0.51). Power draw stayed around ~2.4W off the internal battery, with temps holding steady at 54°C. Why build this? Mainly as an offline entertainment and information node. I run a non-profit foundation providing SCUBA training to young survivors of childhood abuse, and having a tiny, battery-powered web node lets us provide offline information and videos to people while traveling. I will also be able to use it to provide training videos if I am teaching in a location that does not have internet access available. I wrote up a complete overview covering the setup, and performance metrics if anyone wants to replicate it or build something similar. Over the coming weeks I will be posting configs and some other information to Github with a link from my site. https://www.muttmutt.us/geeky-stuff/portable-web-server-on-an-android-phone-for-offline-access/ Happy to answer any questions about postmarketOS setup or the networking config! |
||
| 203 Original | |||
|
xSikes
feddit.online
xSikes@feddit.online Joined: 2026-01-29 |
Curious if I can do something similar with the pixel 3… |
||
| 5 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
I love this. As I get older, I realize that the myriad of lower-power devices I have a perfectly suitable to fill roles in my infra in this way. |
||
| 34 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Curious if I can do something similar with the pixel 3…
Yes you can. PostmarketOS supports a ton of devices but they all have their caveats. https://wiki.postmarketos.org/wiki/Google_Pixel_3_(google-blueline) There can be some caveats however. On the 3a XL you can act as an AP for WiFi but it didn't work as a client. I believe the Pixel 3 has issues with USB OTG so once setup everything would likely have to be configured over WiFi. |
||
| 7 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
I love this. As I get older, I realize that the myriad of lower-power devices I have a perfectly suitable to fill roles in my infra in this way.
If the bootloader can be unlocked you can do a ton of things like this. If not you are limited to using Termux and the packages you can install without roof permissions. |
||
| 13 | |||
|
SolacefromSilence
fedia.io
SolacefromSilence@fedia.io Joined: 2024-04-22 |
Very nice and very cool, although please don't trust their batteries. The pixel line is known for spicy pillows and I have personal experience with the pixel 3xl going bad. |
||
| 26 | |||
Mercury
lemmy.world
Mercury1337@lemmy.worldJoined: 2023-07-10 |
Really cool project - well done! |
||
| 8 | |||
|
Dagnet
lemmy.world
Dagnet@lemmy.world Joined: 2023-07-07 |
Very nice and very cool, although please don't trust their batteries. The pixel line is known for spicy pillows and I have personal experience with the pixel 3xl going bad.
Yeah, I had to replace the battery on my 3a. Wish I knew how to mod it to run without a battery so I could use it to upload pics to google photos for free |
||
| 11 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
If the bootloader can be unlocked you can do a ton of things like this. If not you are limited to using Termux and the packages you can install without roof permissions.
Yeah, I keep a oneplus 6t to test Linux images, but maybe it can do other things for a bit... Postmarketos runs well on it. |
||
| 3 | |||
|
thallamabond
lemmy.world
thallamabond@lemmy.world Joined: 2023-06-14 |
Yeah, I had to replace the battery on my 3a. Wish I knew how to mod it to run without a battery so I could use it to upload pics to google photos for free
Don't take this as advice, just more info. This guy pulled off the same thing on a different phone |
||
| 9 | |||
|
Dagnet
lemmy.world
Dagnet@lemmy.world Joined: 2023-07-07 |
Don't take this as advice, just more info. This guy pulled off the same thing on a different phone https://m.youtube.com/watch?v=0cOEc7ZG6rg
Cool but I really dont have the technical know how to do that haha |
||
| 5 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Very nice and very cool, although please don't trust their batteries. The pixel line is known for spicy pillows and I have personal experience with the pixel 3xl going bad.
Yeah, I don't trust any of the device batteries truthfully. This one has a little swelling because my stepson used it for a while and had the bright idea to leave it constantly plugged in. I will not be flying with it for sure and when I do travel it will not get packed where I can't access it easily. |
||
| 7 | |||
|
frongt
lemmy.zip
frongt@lemmy.zip Joined: 2025-07-31 |
huh |
||
| 7 | |||
|
thallamabond
lemmy.world
thallamabond@lemmy.world Joined: 2023-06-14 |
Cool but I really dont have the technical know how to do that haha
If there is a makerspace/hackerspace near you, I'm sure someone there could help you out. |
||
| 7 | |||
|
fegular
lemmy.zip
fegular@lemmy.zip Joined: 2026-09-19 |
offline web server huh
Yes, my thought as well |
||
| 5 | |||
|
fegular
lemmy.zip
fegular@lemmy.zip Joined: 2026-09-19 |
Yeah, I don't trust any of the device batteries truthfully. This one has a little swelling because my stepson used it for a while and had the bright idea to leave it constantly plugged in. I will not be flying with it for sure and when I do travel it will not get packed where I can't access it easily.
I miss the days when batteries could be removed |
||
| 10 | |||
|
Joined: 2025-01-19 |
I miss the days when batteries could be removed
@fegular @MuttMutt I also miss hardware off switches where you know that once you flip them nothing is getting any power |
||
| 9 | |||
|
Dagnet
lemmy.world
Dagnet@lemmy.world Joined: 2023-07-07 |
If there is a makerspace/hackerspace near you, I'm sure someone there could help you out.
I wish I knew, its a big city so the odds are good. Might try to ask around |
||
| 6 | |||
|
zergtoshi
lemmy.world
zergtoshi@lemmy.world Joined: 2023-10-24 |
offline web server huh
The local web, duh! |
||
| 16 | |||
dmalteseknight
programming.dev
dmalteseknight@programming.devJoined: 2023-06-17 |
If the bootloader can be unlocked you can do a ton of things like this. If not you are limited to using Termux and the packages you can install without roof permissions.
What are you planning on doing on the roof? |
||
| 9 | |||
|
abcdqfr
lemmy.world
abcdqfr@lemmy.world Joined: 2024-07-17 |
Yeah, I don't trust any of the device batteries truthfully. This one has a little swelling because my stepson used it for a while and had the bright idea to leave it constantly plugged in. I will not be flying with it for sure and when I do travel it will not get packed where I can't access it easily.
Might want to look into methods for charging to 80 percent tops most times and allow some discharge time. Let the lithium breathe. Only reason it never tolerated 24/7 power out of the box is lack of considerate design. |
||
| 3 | |||
K☰NOPSIK
piefed.social
kenopsik@piefed.socialJoined: 2025-06-06 |
What are you planning on doing on the roof?
Hopefully installing solar panels on spite of the HOA |
||
| 1 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
What are you planning on doing on the roof?
Damn swype... I replaced the roof 2 years ago. And I mean that literally tore it off completely all (4 layers) and put a new one on by myself. |
||
| 4 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Hopefully installing solar panels on spite of the HOA
Yes on the solar panels. No on the HOA. Small town life is good. I installed the system controller 3, IQ Combiner 5, and two IQ 5P battery's already. Never pulled a single permit, nor had anyone tell me I couldn't do it. 7.2KW with IQ8A's will be on the roof soon. |
||
| 4 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Might want to look into methods for charging to 80 percent tops most times and allow some discharge time. Let the lithium breathe. Only reason it never tolerated 24/7 power out of the box is lack of considerate design.
On my wall mounted stuff at home I use HomeAssistant and turn the charger on when the batteries get to 50 percent and off at 80 percent. Not really an option for this device while on the go though. |
||
| 4 | |||
dmalteseknight
programming.dev
dmalteseknight@programming.devJoined: 2023-06-17 |
Damn swype... I replaced the roof 2 years ago. And I mean that literally tore it off completely all (4 layers) and put a new one on by myself.
Who gave you permission to do that!? |
||
| 1 | |||
|
MuttMutt
lemmy.world
MuttMutt@lemmy.world Joined: 2023-06-18 |
Who gave you permission to do that!?
I did. |
||
| 2 | |||
| Post Reply |
Back to top |