Live data from Hacker News

How to repurpose your old phone into a web server

far.computer

101–110 of 122 posts

Re: How to repurpose your old phone into a web server

#102
post #78
post #42

If the device can run PostmarketOS with a mainstream kernel, then it can run any Linux distribution. (I put Arch ARM on such devices, since I like that distro.) That's the big hurdle though - mainstream kernel support. For most devices, even if they can be rooted and jailbroken, you're stuck with the kernel they come with. Doesn't have a new feature you need? A horrible security flaw in the network stack? You're out…

s/mainstream/mainline/ But yes, this is definitely an issue. I've been playing with a 2013-era Samsung device that came with a 3.0 kernel. It can run pmos with said kernel but there are multiple root LPE vulns. I've been looking into getting it to run a mainline kernel just for fun, but it's not going to be easy.

This is the kind of task I've found tools like Codex to be pretty good at. You just have to be able to give it good enough access to test and debug its work.

Re: How to repurpose your old phone into a web server

#103

Earlier quoted context omitted.

Arch is working to officially support ARM and non x86_64 archs. https://rfc.archlinux.page/0032-arch-linux-ports/

That RFC says "New ports are added by proposing them in an RFC. At least two package maintainers have to lead a port to ensure it will be developed longer term." but I'm not finding any RFC for ARM support, so can one say work is really officially happening on ARM?

The first step is setting up the project to allow other ports. That it can be done, what it will require, etc.

Once that’s done, then the ports can be submitted.

Look at the maintainers and contributors on the unofficial arm port. Orce this RFC gets accepted, the arm port can propose and figure out how to merge things together.

Re: How to repurpose your old phone into a web server

#104
post #41

Earlier quoted context omitted.

Most phones can have battery removed somewhat destructively, but without affecting the rest of the phone. Generally, as long as you keep the phone plugged in, the battery should be safe virtually indefinitely - the battery management on board will keep it in a state where its a constant charge which means the chemistry will be stable.

There were several generalizations in that statement that align with my similar fears to the OP. Most firmware should minimize the charge cycling, most batteries should be stable at constant charge... most isn't great for something that I want to sit in the corner undisturbed for a decade just chugging along - I have a few old desktops I use whenever I need a stand alone server or to host something web-live for a whi…

What makes your UPS any less of a fire timebomb?

Re: How to repurpose your old phone into a web server

#105

Earlier quoted context omitted.

That RFC says "New ports are added by proposing them in an RFC. At least two package maintainers have to lead a port to ensure it will be developed longer term." but I'm not finding any RFC for ARM support, so can one say work is really officially happening on ARM?

The first step is setting up the project to allow other ports. That it can be done, what it will require, etc. Once that’s done, then the ports can be submitted. Look at the maintainers and contributors on the unofficial arm port. Orce this RFC gets accepted, the arm port can propose and figure out how to merge things together.

Yeah, that sounds right to me, and sounds like you're agreeing with me that it isn't yet an official effort, as the RFC hasn't yet been merged, in contrast to what parent claimed.

Re: How to repurpose your old phone into a web server

#106
post #104
post #41

Earlier quoted context omitted.

There were several generalizations in that statement that align with my similar fears to the OP. Most firmware should minimize the charge cycling, most batteries should be stable at constant charge... most isn't great for something that I want to sit in the corner undisturbed for a decade just chugging along - I have a few old desktops I use whenever I need a stand alone server or to host something web-live for a whi…

What makes your UPS any less of a fire timebomb?

It uses lead-acid batteries, for one.
Post reply on HN