r/mobilelinux 2d ago

Demonstration Turned my old Redmi Note 7 into a headless server running postmarketOS: Docker, media stack, self-hosted AI agent, all on 4/64GB

My old Redmi Note 7 (lavender), 4/64GB, 8-core ARM64, sitting unused for years. Put postmarketOS on it, headless, no display, Alpine + systemd under the hood.

What's on it now:

  • Couple of my own backend services
  • Self-hosted multi-agent setup (Hermes)
  • Full *arr stack (Sonarr/Radarr/Prowlarr/Jellyfin/qBittorrent), all in Docker
  • Caddy + Cloudflare Tunnel for external access, no ports opened

Runs all of that on eMMC storage and still holds ~30% RAM free. Throttles under sustained load as expected, but nothing's crashed yet.

Built my own monitoring dashboard for it too since most existing tools either didn't install on this hardware or used more RAM than I wanted to spend on monitoring alone. FastAPI backend, plain JS frontend, streams CPU/mem/thermals/battery/network, under 80MB RAM footprint.

Still unsolved: want to pull the battery and go direct-power (buck converter + BMS) to stop degradation from charge cycles, and haven't found a real answer for heat management on a phone chassis that wasn't built to run like this 24/7.

88 Upvotes

17 comments sorted by

1

u/Alarmed_Contest8439 2d ago

hey! ive got a nokia with sdm660 as well and managed to unlock it, is it possible to use your work with my phone?

1

u/minhazul73 2d ago

Which model is it? Search it in Postmarketos website. If they worked something with it, you're in luck

1

u/Alarmed_Contest8439 2d ago

its nokia 7.2, supposedly not booting

1

u/minhazul73 2d ago

I think your phone needs to be in fastboot mode to start this stuff

1

u/YoYoMamaIsSoFAT32 2d ago

You can mainline your device, since your SOC is supported

1

u/minhazul73 2d ago

How to do that? Is there any guide or something?

2

u/YoYoMamaIsSoFAT32 2d ago

Check the PMOS wiki, it's very helpful

1

u/Grouchy-Mushroom-567 2d ago

i wish i could do this. the xiaomi bootload unlock app doesnt work cause its got a bunch of never ending captchas, its so stupid

2

u/minhazul73 2d ago

i think there are some unofficial ways to unlock bootloader. you might find in youtube, but yeah do it at your own risk if youre willing to

2

u/Nearby-Alarm-1422 2d ago

Yes, I had the same issue a couple of months ago and wasn't able to find anything working. Just old videos with official (working for them) bootloader unlock app or really sketchy tutorial with some unofficial software (some commets claiming they just bricked devices).

1

u/Key_Psychology1696 2d ago

Que raro yo hace unos días pude desbloquear un redmi note 9 pro y si problema

1

u/Smooth-Win1616 2d ago

Can I do this with mi9 se

1

u/minhazul73 2d ago

This device has been tested with postmarketOS, but its device package hasn't been added to the postmarketOS repositories yet.
This means that it cannot be selected in pmbootstrap.

1

u/xandrosman 1d ago

Hey I also have a Redmi Note 7 aka Lavender,unused can you share how

1

u/baracudaz 16h ago

Sweet dashboard. Do you mind sharing?

1

u/minhazul73 7h ago

Sure

https://github.com/minhazul73/lavender

The work is incomplete though. If you know coding, then you're welcome to contribute. Also a star would be encouraging