Why get an expensive Pi when I have an old phone?

(long.thanks.fish)

482 points | by casi 4 days ago

72 comments

  • deng 11 hours ago
    Nowadays, I just get old laptops with broken screens and take the mainboard out. They are dirt cheap, often even have 16GB of RAM, you can just dump pretty much any linux on them and they are usually way faster than Pis.

    The boards are of course bigger, which I guess will be a non-starter for many. They'll also require active cooling unless you downclock them considerably. They often also require more power, although many mainboards can be configured down two a few watts of power consumption, depending on what peripherals and speed you need.

    Yeah, it's more work than just getting a Pi, but given the current prices, it makes sense for me.

    • throwaway_new_1 7 hours ago
      The goal of raspberry pi's was to have a standard GPIO connected to a moderately powerful and cheap computer for educational purposes. Then it slowly evolved into many use cases because of it's vast community and standardization and availability, not to mention the large number of boards that connect to it. The standardization did erode a little but it still maintains that reputation because of the community and availability and now because its turned into a big brand. Many industrial projects depend on it.

      If you use the raspberry pi for homeservers or general compute (which I did/do sometimes) then the value proposition is quite poor regardless of pre AI prices unless you have very strict power requirements (in which case it probably fits the above use case already). The comparison with NUCs or mini PCs or laptop boards feels like it's a wrong comparison.

      The chips used in PIs are repurposed Broadcom SOCs that have inferior bus speeds compared to a general purpose processor from intel or amd, even few generations old. For any general purpose computing these chips will always be slower. its like comparing apples and oranges. I never really understood why people did that.

      • deng 6 hours ago
        > its like comparing apples and oranges.

        Yeah, I don't disagree, but I would argue the Raspberry was always an applorange, and that's exactly what made it popular (together with the cheap price in the beginning, which made it basically an impulse buy). It brought people into microcontroller/embedded systems territory without having to actually deal with all of the stuff that made this so daunting. As you said, it is basically a normal Linux PC, just that it runs Arm and has GPIO. People who are really into electronics/embedded systems will use a proper microcontroller nowadays anyway, these have gotten so powerful and easy to use that there's really no reason for a Pi anymore. And on the other side, people who want a little server, a pi-hole, tailscale or octoprint or whatever, can just use an old used laptop/miniPC or similar. Since the Pi has gotten so expensive, I see basically no reason to get one anymore.

        • andoando 5 hours ago
          Pi still makes the Pi Zero for like $15 that runs linux, if you want a cheap low power general computer running linux
          • deng 3 hours ago
            At least where I live, the Pi Zero is pretty much impossible to get, and when it's available, it's more like 60$.
            • arthurcolle 1 hour ago
              Where do you live? I'll send you a Pi Zero if you need one
              • zx8080 1 hour ago
                Sending would probably cost the difference, but check first where the gp lives.
          • Muhammad523 1 hour ago
            You can run any OS on any Pi board other than the pico

            By the way, I got a zero 2W a few months ago and it costed me 47€

      • derefr 6 hours ago
        I would argue that even if you need "a cheap SBC with GPIOs", at this point you'd be better served by connecting a tiny $5 microcontroller-powered board with a USB PHY + its own GPIO headers, to any cheap "computer" (i.e. a GPIO-less SBC, or an old laptop, or a phone like in the article, etc.) over USB; where the MCU board essentially serves the host a "GPIO gadget."

        You can make such a dongle yourself from ~any MCU dev board, but there are also productized "USB GPIO breakout" adapter boards, e.g. the Adafruit MCP2221A.

        The "Pi as an SBC with GPIOs" case now only makes sense if you really, really require the Pi's compactness and/or monolithic-ness (as might be the case for e.g. ruggedized embedded systems like robots.)

        • kube-system 3 hours ago
          I always thought the value-prop of a Pi was the monolithic nature. If you needed GPIO and Linux, you didn't have to glue two things together to make a solution, you could just buy one device that met the requirements.
      • criemen 6 hours ago
        I use a pi (4th? generation) to run homeassistant, calendar sync target and a few other random small services on. It's great. It works, it doesn't make noise, it's small, it plugs into USB-C, the power brick is small, too. The SSD I'm storing everything on because I had a few failed SD cards has a larger footprint than the rest of the computer. What not to like? Nothing I run on it requires faster CPU, and the small footprint is worth something to me. Sure, if you have a big house with a dedicated server room/hobby space, you might as well have a NUC/old laptop/whatever.
      • Rohansi 7 hours ago
        > The comparison with NUCs or mini PCs or laptop boards feels like it's a wrong comparison.

        For many (maybe even most) people they do the same thing. Some just want a HTPC, basic desktop, or small server, no GPIO needed. Raspberry Pis were definitely cheaper early on because you could actually buy boards at or near MSRP, but over time the price rose and mini PCs became cheaper.

        • throwaway_new_1 7 hours ago
          >mini PCs became cheaper

          or maybe the mini pcs started becoming available at all. I think these were a concept since core 2 duo and first gen i3 era. before then the chips were too much wattage for a mini pc. and the first generation mini pcs were also costly for enterprises to adopt in bulk. its only after 4th and 6th gen intel that these were adopted in large quantities in enterprises and once they dumped those in the used market they became comparable in pricing and somewhat in power to a rpi.

          Used powerful PCs have always been available for dirt cheap on eBay even when the first pi was launched. just that mini pcs are a more recent thing.

          • jack_pp 3 hours ago
            i worked with Intel NUCs in 2013-2014, not exactly recent and they were good enough then.
          • to11mtm 4 hours ago
            Well, the earlier Mini-PCs were a good bit more anemic, that's why adoption was slow; I had one or two earlier ones; both were AMD Bobcat cores; one was a 'not quite finished' thing where I took a dreamcast and put a small board in it (Where did that go, anyway?) and the other was a small, almost router-sized box. And both of those were, well... good for most of what I wanted (i.e. 8/16 bit console emulation and basic media/browsing) but definitely constrained. (As a side rant, I still wish AMD didn't kneecap non-console Jaguar parts, that single channel limit always struck me as a 'we don't want to show how much we fucked up with bulldozer' sort of thing...)

            As far as mini-pcs... The first Intel NUC was a Sandy bridge, i.e. Gen2, FWIW. And we did have the 'Mac Mini' as far back as 2005, buuuuut that wasn't cheap because Apple.

            I think SSDs were another big part of mini-PCs though; it's easy to forget for granted the risks of having a hard drive in a poor thermal environment, as well as the general size constraints one imposes. [0]

            [0] - Surrrre, you could use a 2.5 inch HDD instead, but 2.5 inch HDDs almost always were slower than a 3.5 inch HDD (excluding the VelociRaptor, but that would only be more demanding as far as thermal...)

      • Aurornis 5 hours ago
        > The goal of raspberry pi's was to have a standard GPIO connected to a moderately powerful and cheap computer for educational purposes.

        At first it was a blessing that the Raspberry Pi gained popularity as a general purpose computer, not just for education and embedded applications. The additional demand and popularity brought more money and development attention to the ecosystem.

        At some point, which I could never really put my finger on, this general purpose computer popularity grew so large that the embedded systems and educational aspects of Raspberry Pi seemed almost forgotten by the mainstream users. At a local in-person meetup group it was a running theme for people to brag about how many Raspberry Pis they owned for different purposes and to boast about using them for applications where they didn’t really fit. In person I’ve heard more about Raspberry Pi NAS systems (where people are always disappointed with the performance and the price of forcing a Pi into this role) or Raspberry Pi Kubernetes clusters (which mostly sat idle and could have been replaced by a single PC with more RAM).

        This reached such a critical mass that it almost seemed like the mainstream discussion forgot the original purpose of the Pi and thought it was literally just another computer, but small. Most people who tried to use it for this purpose were left slightly frustrated by how it didn’t perform like they wanted a computer to perform.

        So now every discussion about Raspberry Pi attracts comments about how nobody should buy a Pi when you can buy a NUC or laptop or some other used piece of hardware and it’s so much “better”. This is the right advice for a lot of people who wanted a powerful general computer but bought a Pi instead, but it’s also furthering the misunderstanding of what the Pi is for.

        The real advice is that everyone should be shopping for the right tool for the job. There are a lot of cool applications for the Pi where a NUC or old laptop or phone doesn’t make sense because you actually need the compact size, the low-level I/O, or some other feature. However anyone who can put a NUC or laptop side by side with a Raspberry Pi and consider them both viable options for their project probably shouldn’t have been looking at a single board computer to begin with.

        There is a parallel situation happening with the “just buy an ESP32” arguments. If an ESP32 solves your problem, you also probably shouldn’t have been in the market for a Raspberry Pi.

        • II2II 38 minutes ago
          > There is a parallel situation happening with the “just buy an ESP32” arguments. If an ESP32 solves your problem, you also probably shouldn’t have been in the market for a Raspberry Pi.

          I have mixed feelings on that.

          For the longest time it was safe to say "just buy a Raspberry Pi" because they were cheap enough and powerful enough. If memory serves me correctly, the base board cost roughly the same as an Arduino Uno and offered considerably more. (Of course, there were cheaper Uno clones, but those depended upon support offered by official Arduino software development tools.)

          While there are some projects which would only be possible with something like the Uno, there were far more projects that would only be possible with something like the Pi. So if you wanted to give generic go-to advice to a novice, the Pi it was.

          The right advice is to use the right tool for the job, but that is something that a novice (or fly-by-night forum posters) aren't prepared to handle.

          Of course, things change. There are more inexpensive microcontroller development boards and the microcontrollers themselves are much more powerful. While that doesn't negate the benefits of a Linux SBC, it does raise questions now that those SBCs are considerably more expensive.

      • numpad0 3 hours ago
        The GPIO in Pi is almost useless. Nobody runs servos off of those. Pis are mostly used as just Linux PCs with USB ports that reliably power itself on.

        IMO, the problem with the Pi GPIO is that it's a collection of GPIO pins and low pin count buses for controlling peripherals, rather than a singular bus. The fact that it runs Linux without an RTOS monitor program or a sidecar of sorts adds to the problem.

      • dapperdrake 6 hours ago
        It combined cheap GPIO for $35 instead of $500 with HDMI, tiny size, full Python instead of MicroPython, passive cooling and Linux.

        Suddenly the Kodi and the GPIO crowd (Arduino, ESP8266, ESP32, etc.) could work with the same board.

        A new era, like the IBM PC or the iPhone. Changed computing forever.

        EDIT: like other commenters noted, it seems like it made the intel NUC a reality.

      • mathgeek 7 hours ago
        Much like the goal of the PS3 was to have a powerful gaming console that also let you run Linux. The market quickly deals with any hardware that is cheaper than its value.
      • stackghost 5 hours ago
        For me the value prop is a low-power device that can be passively cooled but has a full Linux and tcp/ip stack, at a price point where I don’t care if I accidentally wreck it.

        Fantastic for one-off projects.

        Nowadays they require cooling fans and cost absurd amounts considering the performance so there seems little point.

        Most of my one off projects these days are now on microcontrollers.

        • andoando 5 hours ago
          Pi Zero is still like $15
          • stackghost 3 hours ago
            Yeah I use those too. But I have a collection of STM32 blue pills and espressif stuff that is otherwise collecting dust.
      • TheRealPomax 7 hours ago
        writing a USB driver takes a fraction of the effort it used to these days. GPIO no longer holds quite as much value as it used to.
    • macNchz 10 hours ago
      The Lenovo “Tiny” line of ultra small form factor PCs is effectively laptop hardware in a proper case, with ethernet and no battery to deal with. There’s a steady supply of used ones at good prices from enterprise IT liquidators. I’ve had one on my desk as a home server for years.
      • jeppester 9 hours ago
        These machines have so much potential.

        In a better world we'd all have one in our homes, storing all our personal data and documents. The cloud would only be used for storing encrypted backups.

        Many small businesses, kindergartens etc. could also have all their digital needs served this way.

        Yes they would sometimes break down, but with the right setup, the fix would be a matter of booting a replacement from the right thumbdrive.

        • derwiki 9 hours ago
          I worry less about breaking down and more about poor security update hygiene
          • macNchz 8 hours ago
            With unattended-upgrades enabled and nothing open to the internet (I run Tailscale to be able to access it when I’m out of the house) I don’t worry too much about mine.
          • jeppester 4 hours ago
            If you use something like Fedora CoreOS, the system keeps itself and all container images updated. And because system upgrades are also just a new immutable image, very little can go wrong.

            I have a Nextcloud server running on it and the maintenance is negligible.

            During the recent PHP-vulnerability I simply turned it off. The next day I booted it, and it automatically installed the new Nextcloud image with the vulnerability fixed.

            Makes me wonder if I could have it check for CVEs and automatically shut down vulnerable containers until updated images are out.

          • rpdillon 8 hours ago
            I was just thinking last night about setting up an agent that would daily check in and do a full maintenance scan on a server or a home lab box. Check for operating system upgrades. Schedule them if needed to move from LTS to LTS. Check for CVEs against daemons you know you're running. Stuff like that. I've used agents and harnesses to set up machines before and do system administration tasks, but it feels like you could sort of set it up in a loop and just let it go forever.
            • StilesCrisis 7 hours ago
              This is just Windows Defender but now you're buying tokens to do it.
        • canadiantim 7 hours ago
          Thank you, I think that's very right.

          May I ask, how do you think kindergartens would benefit from a home server?

          • mitjam 7 hours ago
            I was treasurer of the kindergarten parents' association when my daughter was in that age. It’s a small org with 10-12 employees, 30-40 customers (children) twice as many stakeholders (parents, relatives) constrained budgets and strict regulations, eg also a privacy officer. We had a static website, everything with PII, so, basically everything, was on a laptop with encrypted backups. Everything was managed with an Excel Sheet and an accounting software. Payroll was handled by a tax advisor. We cloud have used cloud services but too expensive, too many compliance headaches, and too constrained. I think an agent with local inference on a Mac would be a good investment, today.
          • jeppester 3 hours ago
            My first child's kindergarten used Facebook to share photos. You could opt-out and then - if they remembered - they'd leave your child out of the photos. Everything is an upgrade over that I suppose.
      • grep_it 9 hours ago
        After pi’s got expensive I started picking up refurbished Dell micros and Lenovo tinys cheap and haven’t looked back. They are also perfect for the 10” mini rack[0].

        0: https://github.com/geerlingguy/mini-rack#build-showcase

        • xp84 6 hours ago
          Shoutouts as well for the USFF HP Elitedesk and Prodesks. They are amazing. I even got one with a Ryzen CPU that had a dedicated GPU option - that GPU part was on eBay brand new for $60 and replaced the hard drive bracket. Not on par with a desktop GPU but way better than integrated graphics, for things like Minecraft in my case. I use a second one, this one Intel with 32GB of RAM, as my home server. (Jellyfin, Home Assistant, Tailscale, miscellaneous stuff).
        • rtp4me 7 hours ago
          Same. I have two Dell SFF 3070s and some MSI micro units in a rack - planning on getting some more for my Proxmox cluster. ServeTheHome has a great resource for the compute nodes [0] and GeekPi makes some awesome 10" racks [1]

          [0] https://www.servethehome.com/introducing-project-tinyminimic...

          [1] https://www.amazon.com/GeeekPi-Cabinet-Equipment-RackMate-Ra...

        • corroclaro 1 hour ago
          What's cheap? Over here they easily run $300-$500 for thinkcentres and dell micros unless they're intel 4th gen with DDR3 8GB.
      • akerl_ 8 hours ago
        A few years back I finally got tired of the quirks with ArchlinuxARM (some things only worked with the forked kernel, some only worked with mainline) and replaced all my persistent RPi usage with refurbished Lenovo mini PCs from Amazon. Even with Amazon’s markup it wasn’t that much more than a beefy Pi4 plus case and adapters.

        This let me standardize on amd64 and simplified a bunch of my deploy code.

      • classictraffic 8 hours ago
        I also have one and use it as a home server. They’re insanely capable (I’m constantly running a lot of resource heavy things on it), and it cost a lot less than a pi even though the specs of mine are way better
      • hobo123 10 hours ago
        How is power consumption? I think often desktops have higher power supplies inside, fans etc, while an old laptop will only use a few W when idle.
        • michaelt 9 hours ago
          Somewhere around 8 watts idle would be typical running windows with a screen attached etc [1]

          Of course, there are a wealth of hardware options out there, so it varies. I've heard as low as 4 watts.

          [1] https://www.youtube.com/watch?v=veRja-F4ZMQ

        • SSLy 9 hours ago
          A ThinkCenter usually is just a laptop with no screen or keyboard. I have one.

          btop says CPU takes 1W when "idle" (seeding some torrents), no idea what the rest of the board and NVMe could take.

        • numpad0 9 hours ago
          The wattage on labels on PSUs are just safe max power draw, above which the supply has the right to shut itself down. It's not 1:1 representative of idle draw.
        • lp92 9 hours ago
          They still use only a few watts at idle.
      • rr808 9 hours ago
        Dont forget Dell OptiPlex Micro & HP ProDesk as well for similar tiny corporate used bargains.
      • presto8 7 hours ago
        Also Intel NUCs (now ASUS NUCs). I once saw a lot of 50 units for sale on Craigslist for a ridiculous low price.
      • BorisMelnik 7 hours ago
        thinkcentre 9xx is like the best bang for the buck right now
      • plagiarist 8 hours ago
        I like the SFF PCs but I'd really like one with a USB C connector for the power. The power bricks take up a bunch of space and are not fungible.
        • Leonard_of_Q 7 hours ago
          There are adapters which take a USB-C connector on one side and offer a barrel connector on the other one. They're available in many sizes for a few €$¥£. Saves you a brick assuming you already have the required USB-PD adapter.
        • esseph 7 hours ago
          > The power bricks take up a bunch of space and are not fungible.

          Can you explain this a bit? What is the application/use-case where the power adapters are a problem?

      • bitwize 8 hours ago
        I bought an HP thin-client PC for a few bucks that was basically just an HP Stream system board without battery, keyboard, or display. Delightfully, frustratingly rinky-dink but it seems to run Linux and OpenBSD well.
    • madduci 10 hours ago
      Indeed is a good idea, but Pi has a better power consumption rate.

      Old mobile phones or laptops are riskier because of batteries. Some laptops can work without batteries as well, but do old phones?

      • deng 10 hours ago
        I've yet to find a laptop mainboard that doesn't work without a battery. As I've written below, I'm getting extremely boring old office laptops with integrated graphics. Usually phones also work fine without a battery. However, I'm not touching phones because I will not fiddle with locked bootloaders and "the Android situation". Running plain Linux is a hard requirement for me.
        • babuskov 7 hours ago
          > I've yet to find a laptop mainboard that doesn't work without a battery.

          Intel MacBook Pro from 2014 works but throttles the CPU to 800 Hz making it barely usable.

        • mchristen 9 hours ago
          The Framework laptop's motherboards can all be run without batteries. They have a 'standalone' mode you can toggle in the UEFI settings.
          • adolph 8 hours ago
            If only Frameworks were “extremely boring old office laptops” with costs reflecting that, instead of very interesting and desirable hardware for which people will pay a slightly lower than Apple premium.
            • wildzzz 7 hours ago
              Yeah, I really just want a refreshed early 2010s Thinkpad with a wide-open BIOS. The modern Chinese mainboards you can get for old Thinkpad chassis are very cool but the prices aren't so cool.
              • xp84 5 hours ago
                Whoa I had no idea that was a thing. Links?

                I have a ThinkPad x230 (3rd gen i7) which makes an incredible Windows XP nostalgia device. It’s basically the newest hardware that exists with full XP drivers (other than USB3 which I don’t need) so it’s massively OP, which was the point of that project. Basically, “what if I had access to insanely futuristic hardware in 2002.”

                Obviously I wouldn’t sacrifice that hardware but it might be cool to try that on yet another laptop. (Hey, I don’t have a laptop collecting problem!)

                • jvican 5 hours ago
                  Have you guys had any experience or luck adapting Framework motherboards to run on Thinkpads? I’ve thought of doing this side project several times for my old Thinkpad x201.
        • raphinou 10 hours ago
          I'm just looking at an old Dell laptop refusing to boot without manual intervention because it looses its time setting since I removed its main battery. If I can fix that it'll become a very capable server for my home setup. Not sure it'll work though, as the bios can't be configured to ignore the time reset.
          • deng 10 hours ago
            All old office laptops I had so far still had the good old CMOS/RTC battery... So if indeed the RTC is solely powered by the main battery, I would guess there's at least a backup capacitor somewhere so that it survives at least a short disconnect? If you can find that one, you can probably connect power there, but that's just me guessing...
            • wky 6 hours ago
              It’s also possible that the laptop has a CMOS battery that is now dead.
            • raphinou 9 hours ago
              there's an RTC indeed, I'll look further, thanks for the hint!
      • trouve_search 9 hours ago
        If you can limit the battery to stay in the area between 40-60%, it'll last a very, very long time.
      • BetterThanSober 9 hours ago
        > but do old phones

        they did, with modifications

    • seanp2k2 1 hour ago
      Factor in power usage, thermals (esp if they're sharing a living space with you), and time. This is where the modern CPUs on 2nm process nodes really start to pull ahead, especially when you can S3 sleep them or use IPMI type BMCs on stuff like real workstation-class systems and servers. Even an M6 Mac Mini can do a ton of work these days, and single-core speeds on those especially when you look at perf/watt are insane.
    • TranquilMarmot 2 hours ago
      My home server is a first-generation Framework 13 laptop that I put into an enclosure that they sell on their website. I sold the battery and the case on their forum. It works great!
    • tetraodonpuffer 11 hours ago
      DIY perks has a really good video on this: https://www.youtube.com/watch?v=7FStfdGjAwc
      • deng 10 hours ago
        Yes, good video, and it covers one of the most important bits: how do you turn that thing on. :-) (EDIT: holy crap he's delaminating a whole old Apple iMac display from the glass, I did this once with a phone(!) screen and I swore I'd never do this again... doing this with a whole iMac screen is hours and hours of absolutely painful work, it looks way too easy in this video...)
    • aenis 11 hours ago
      How do you power them? Via the battery? I was thinking about turning my old mbp into a build machine, but i am a bit concerned with running it via the battery 24/7
      • bityard 10 hours ago
        Why the concern?

        I feel like The Internet has this urban myth that says keeping a charged battery plugged in all the time will eventually cause it to explode and burn your house down, guaranteed.

        I get that keeping a battery at 100% charge is not great for it in terms of longevity (ability to hold a charge). And it's obvious that heating the battery up by running the laptop at full tilt inside a backpack or something will turn it into a spicy pillow.

        But I struggle to imagine the failure mode that reliably shows up when keeping the laptop powered on 24x7 that is never a problem for 8-16 hours of continuous use while plugged in (a very typical work day for my laptops).

        • xp84 5 hours ago
          I used a MacBook Pro as a server for years. It was fine for its purpose, however the battery did swell and need replacing. It may have damaged the trackpad, and like the other comment mentioned, idk what would have happened if I had left it swelling for a couple more years. Probably not a battery fire? But the $230 or so that a massively more powerful HP USFF that I replaced it with was worth it, even versus a 0.1% chance it would burn my house down and possibly kill my whole family in the process.

          I ended up repairing the Mac, replacing the battery, and installing Chrome OS on it. (chrome sucks though, someday I’ll get it back out and switch to real Linux)

        • babuskov 7 hours ago
          > I feel like The Internet has this urban myth that says keeping a charged battery plugged in all the time will eventually cause it to explode and burn your house down, guaranteed.

          I had a MacBook Pro where the laptop worked but the battery became swollen so much that it distorted the case. If I wasn't there to notice it, it would probably burst at some point and Lithium is very flammable.

          It's probably rare and overblown, but it can happen.

        • lesuorac 8 hours ago
          You work around your laptop so you'll notice an issue. A laptop in a closet is not observed.
          • fwip 7 hours ago
            Yep. One of my laptop batteries had concerning swell, and I only noticed once it slightly deformed the case (and didn't sit flat on the desk).

            If that had been in a closet, it would have been months or years before I realized.

      • deng 11 hours ago
        I usually disconnect the battery and just power them via USB-C. The battery on these old broken laptops is usually toast anyway...
        • serf 11 hours ago
          you're lucky you're running into models that don't panic in some way without a battery.

          for example some alienware and XPS models rely on the battery for amperage capacitance when their big onboard GPUs get busy; allows them to run cooler/less-wattage/smaller wall-warts but it also makes for a platform that'll crash when it hits a high GPU usage without a decent way to make up the amps.

          'spose you could use a bigger power supply if you get bios/uefi to play nice. hard proposition sometimes with Dell products.

          • deng 11 hours ago
            Well, of course I'm not getting old gaming/pro laptops with dedicated gpus, they would consume far too much power, require extensive cooling, and these are way too expensive anyway, even when broken. I usually get old, boring office laptops (lenovo/dell) from bulk resellers, with integrated graphics who are sufficiently used/broken so they are dirt cheap. As long as they still turn on, the mainboard is usually fine (I've yet to get a broken one).
      • elxr 9 hours ago
        You can just limit maximum charge (using something like aldente), then replace the battery every 4 years if you need extra peace of mind.

        Batteries degrade much faster when fully cycled repeatedly, and even then just about any laptop battery can easily make it 6+ years with low-to-zero risk of failure.

      • DaSHacka 11 hours ago
        Most old PC laptops have external batteries you can detach by pulling out on a springloaded tab. Even MacBooks are possible to run without the battery, but it requires some NVRAM trickery IIRC.
        • grvbck 10 hours ago
          Some older MacBook and MacBook Pro models reduce processor speed and GPU performance roughly by half when running without a battery, to avoid shutting down if the computer needs more power than the AC adapter can provide.

          Apple documented the behavior in a support note. I’m not sure if the Apple Silicon models do the throttling as well. I guess the situation doesn't come up as often since the batteries are no longer user-removable.

          • hoppyhoppy2 10 hours ago
            At least on older Macbook there's a way to override BD PROCHOT MSR setting to undo the slowdown.
            • ideasphere 2 hours ago
              I’ve got a 2017 MacBook Pro with a dead screen, dead keyboard & trackpad and no battery sitting behind my sofa, closed in a vertical stand and running macOS as a test server. Open Core Legacy Patcher will allow you to boot without the CPU slow down: https://dortania.github.io/OpenCore-Legacy-Patcher/
              • dj0k3r 24 minutes ago
                I have the same device, did you just remove the battery after installing opencore? last I tried, I got omarchy running on it but now it just boots to the startup disk always. Not sure what's wrong.
      • eternauta3k 11 hours ago
        Maybe put it on a timer, or have the laptop control its own outlet.
        • Geezus_42 11 hours ago
          Charge limiting software? Surely there is at least one that works from the CLI.
    • hackernud3s 43 minutes ago
      I'm not allowed to buy broken screened laptops anymore, my wife has threatened to leave me.
    • numpad0 9 hours ago
      Thin clients could work too. A lot of them are just Windows machines configured to handle just logins and MS Remote Desktop.
      • ndsipa_pomu 8 hours ago
        The thin clients that I've seen were all Linux/unix based machines. A Windows box sounds like a fat client to me and I'd be concerned about security updates and how locked down they are.
        • numpad0 3 hours ago
          They're marketed as "thin" clients for whatever definition of it, probably for ease of management. What matters to surplus seekers is that they are great as Pi substitutes.
    • thibsrn 7 hours ago
      How do you configure them after pulling out the mainboard ? For example if you need to ssh into them, how does it work, if it is not configured correctly before removing the display ?
      • esseph 7 hours ago
        Plug in a TV or monitor?
      • babuskov 7 hours ago
        You can take the disk, insert into another computer to install the OS and then put it back.
    • fpoling 10 hours ago
      Why not used Pi? Even if the board consumes 5wt, in one year it would cost about 45Kwh or 9 USD with current US average prices.
      • cluckindan 10 hours ago
        That’s still way cheaper than a used Pi unless your application can run on Pi 1 or 2
    • jprd 8 hours ago
      Same, but I've been using old Chromeboxen, with MrChromebox.tech EFI.
    • zodwick 10 hours ago
      why go the hassle of taking the mainboard out, assuming you are using it as a server kindof config
      • dspillett 10 hours ago
        You can put it in a custom case. Releasing the space constraints enforced by a laptop design means you can easily have a better cooling arrangement so experience less thermal throttling if you ask it to perform longer compute-heavy tasks.
        • wildzzz 7 hours ago
          If you are building custom cases for laptop boards, just buy an old tiny PC at that point. They are like $50-100 on eBay if you don't need killer specs. Unless you're just doing it for the love of the game or happen to have a lot of laptop boards sitting around you can sell, it's not worth it.
          • dspillett 3 hours ago
            If you already have a laptop with a board you can extract, and a 3D printer you can make a custom case with for a couple of quid, you'd rather reuse parts of the old laptop than let it go to waste, and you'd enjoy the whole project, why instead spend $50-100 and have to deal with the [censored]s on eBay?

            > Unless you're just doing it for the love of the game

            Isn't that way a lot of people do the home-lab thing and related projects what would need the Pi these ideas are talking about replacing? It is why I do it [or used to be before working in tech for decades killed a lot of the enjoyment I had for playing with tech].

            > or happen to have a lot of laptop boards sitting around you can sell

            You are the first in this thread to bring up what any of this is worth on a larger scale, selling the results. Everyone else is talking about putting together one simple computer or jumped-up microcontroller for a task of their own, and maybe more later for other projects. Some of us find this sort of thing fun, and in the shit world we are all living in right now having a bit of fun and achieving something [sort of] practical out of it, can be priceless.

      • deng 10 hours ago
        Well, this is about replacing a Pi, so I guess people want a raw board. Indeed, if you just want to run a pi-hole, take any old laptop and just wedge it someplace...
    • cookiengineer 8 hours ago
      Wanted to add that LLMs have become incredibly good at reverse engineering such devices, even when they don't have postmarketOS (now "Nura") or upstream kernel support yet. Been able to merge kernel changes and backport driver support to upstream kernels pretty easily by just giving them access to UART. They'll just go ahead and figure out all the partitioning and firmware quirks by themselves, and e.g. OpenWRT instructions seem to be well documented in the wiki so they'll understand the process on how to get there almost completely by themselves.

      For my malware home lab, I decided to just reuse old phones and routers that nobody wanted anymore (quite literally got them from the trash bins). Now they're running an ARMv8 kernel as the host kernel and the rest is emulated or containerized, depending on the use case.

      Works like a charm for most tasks I throw at it, and many old cheap Android phones have at least quad or octa cores in them, making them pretty awesome for podman/docker usage, too.

      The only thing you have to look out for is to remove the battery, and that you use a separate power circuit with a step down converter to power it. But other than that, old smartphones have become amazing for selfhosting stuff now.

      • solnyshok 2 hours ago
        can you buy such circuit on ebay?
  • Freak_NL 14 hours ago
    This is the main issue:

    > The open question is supply. Finding two good used phones is easy; finding a few hundred matching ones, with healthy batteries and predictable camera behaviour, would take more work. I feel increasingly confident that it’s possible.

    RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along. All of those devices will, barring perhaps a few dead-on-arrival ones covered under warranty, just work out of the box.

    A used smartphone will have issues which can vary from device to device, so scaling that would take a very dedicated refurbishing setup where the quirks are ironed out (and the unsalvageable ones discarded).

    I would also expect that you are starting out at the other end of the bathtub curve: with new devices you will have a few that fail soon after unboxing and using them a bit, and then they will run fine for years until you start hitting the other end of the curve and wear-related faults pop up. With old cheap phones you would start out at that side of the curve, so if you buy one hundred of those, a bunch will fail at various points soon after deploying them.

    The cost of that unpredictable behaviour seems high to me. So much so that I wonder if it wouldn't be cheaper to buy a lot of unsold stock of a certain type of budget smartphone from two or three years back. Those devices could run fine as long as they aren't connected to the internet directly.

    • bambax 12 hours ago
      > RaspberryPies and such are commodity hardware. You can buy one, two, ten, twenty, a hundred, and it just scales along.

      Not my experience at all. Pies are hard to find, get more expensive each week. Some are impossible to find (Pi zero).

      The most fragile part of a phone is the screen. If you don't care about breaking it, then access to the battery becomes pretty easy, and therefore easy to replace.

      • setopt 11 hours ago
        Same here. The last times I tried to get a Pi — three times in three years — the ones I wanted were completely sold out and waiting to restock.
      • MarcScott 11 hours ago
        Where are you based? I just bought 25 from CPC without any issues. Delivered in two days. They aren't as cheap as they used to be, but I understand the reasons why, given how expensive RAM is. Yes, the zero is trickier, but the 2W is in stock on PiHut at the moment.
        • alibarber 7 hours ago
          Thank you so much for the heads up! They're as 'rare as rocking horse ...' as an old teacher of mine would say. And I've needed one for a project for ages.

          Unfortunately thanks to the EU's new tariff regime it would cost over 30eur to ship it here, but luckily I can smuggle one back from my next trip to the UK...

          That said for 4 and 5s - I've not had a problem here (Finland) in literally getting them off the shelf of a local retailer (Partco) for the going rate anywhere else.

          • unpleasurable 5 hours ago
            It's like they say:

              A bird [redacted] bush.
      • afgrant 12 hours ago
        It seems very regionally dependent.
      • interludead 11 hours ago
        I think battery replacement is only part of the problem, though. Even if you can swap batteries cheaply, you're still dealing with different firmware versions, component revisions
    • randomblock1 13 hours ago
      Phones are pretty robust though, meant to handle everyday use and abuse. In terms of failure, the battery is really the only thing to be concerned about. Most phones have some battery limiting option, and bypass the battery when the charger is connected. And if you're determined enough you can run without a battery.
      • cowlevel 13 hours ago
        Just plug all the battery slots in parallel to a 4.1V power source (that's a nearly full battery voltage). You probably have to solder them to make a reliable connection.
        • randomblock1 13 hours ago
          I'm pretty sure the third/fourth pins are used for communication to the battery. I doubt the phone would be happy it wasn't responding. I vaguely remember some phones can just use a resistor for that pin? Either way it's not quite that simple.
          • cowlevel 11 hours ago
            Maybe. Try it and see. If it doesn't work it's probably just a temperature sensor (thermistor) and a resistor indeed simulates a certain temperature the same way your power supply simulates a charge state.
            • riddlemethat 10 hours ago
              You could probably open the wrap of a battery to show the individual components including the cells and other guts. Once you identify what the cables lead to then simulate it or replicate it.
              • ssl-3 5 hours ago
                Or we could look at how it communicates in-circuit, since that matters more than what it looks like to the eyeballs.

                Most/all phones have one cell and therefore no balancing magic. Two connections do the job of connecting to the battery cell to the rest of the phone. These two are easily identified with a DMM.

                If the phone works with only these two connections, then we're done; the phone will run from a bench power supply and there's nothing left to pursue.

                If it does not work, then the functions of any additional connections be further explored while still never unwrapping the battery. Serial data? NTC thermistor? Something else? Fine; record that and emulate it. NTCs are cheap and so are MCU dev kits. (And if we don't have a decent-ish oscilloscope yet, then this is a good excuse to get one.)

              • leptons 6 hours ago
                1 point by leptons 16 minutes ago | root | parent | next | edit | delete [–]

                If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires, especially when lithium batteries are concerned.

                • cowlevel 3 hours ago
                  In other words, never hack things, it could be dangerous!
                  • leptons 3 hours ago
                    That is not what I said at all, but thanks for taking it completely of context for your shitty troll comment.

                    Do whatever the fuck you want and suffer the consequences yourself for doing stupid things you don't understand, but don't encourage other people who also may lack understanding to follow you over a cliff.

                    If fucking around with lithium batteries doesn't make you pause a bit, then you're just ignorant.

              • xp84 5 hours ago
                The type of advice that 99% of HN commenters would be able to do properly…but that last 1% … I hope they don’t cause the battery to blow up when they try to open it up in just the wrong way!

                Still though, could be a lot of screwing around needed to get this to work. Likely the extra wires go straight to a chip which expects to be able to monitor the voltage of the battery, and which might be alarmed by a power supply that acts unnaturally for a battery.

            • leptons 6 hours ago
              If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires.
          • JK-Swizzle 3 hours ago
            [dead]
    • krzyk 13 hours ago
      Hobbyist don't usually need to scale beyond one device. Warranty is not that a big issue, if you buy a used hardware you know what are getting into, that's why they are cheaper than new devices.
      • Freak_NL 3 hours ago
        The author of the article mentions a hundred devices in the paragraph I quoted. Presumably they do have a goal where scaling up is relevant.
      • bee_rider 10 hours ago
        Depends on the hobbyist, I think? The Pi has the advantage, due to the scaling, of having a rich ecosystem of examples and ready-to-go code.

        It makes more sense with high availability though. Their current situation seems rough.

      • KeplerBoy 12 hours ago
        we are talking about embedded devices here. you dont need a second one because your web server cant serve enough requests, you need a second one because you want separate projects to have separate hardware.
        • Geezus_42 11 hours ago
          Then why would it matter if they are all exactly the same?
    • lawik 10 hours ago
      I've chatted to the guy running Citronics, they provided old but working Fairphone 3 to a workshop we had at Goatmire Elixir. They try to tackle repurposing and certifying the quality of old phones. Interesting effort and well positioned for the current climate.

      Their board currently on sale is this. Based on Fairphone 2. Targeting commercial or industrial more than hobbyist though. I've been trying to convince them to sell the old phones as is, as well. https://shop.citronics.eu/

      Thanks to Marc Lainez and his token spend we have a great Nerves system for running the Fairphone 3 by just programming Elixir. And people are flipping new (old) phones over to be put to work every week in the Nerves Discord.

      We have a good UI framework in Emerge. We have media handling with Membrane. And Nerves handles the OS integration for stuff like networking. I thoroughly enjoy making up my own mobile OS for my own purposes.

      You lose the GPIO/I2C/SPI/UART as easy extension points compared to the Pi. But the stuff that is there is already well integrated.

      • abyssin 9 hours ago
        I was going to mention these, love the concept!
    • blauditore 12 hours ago
      You could go a step further and just buy low-end new phones. They are available at sub-$50, which is near the price of Raspberries.
      • Geezus_42 10 hours ago
        I haven't seen a new Raspberry that cost anywhere close to that in years. Assuming you aren't referring to one of the smaller, less powerful ones.
    • Onavo 13 hours ago
      The main issue with old phones are NAND Flash degradation and battery problems. As long as you fix those two issues everything else is simple. These days with AI it's almost trivial to build and flash your own ROM and even the most hardcore of binary blob drivers can be reversed so long you have enough GPUs.

      It's not the dark days of android where something like CyanogenMod takes a whole team of experienced system and embedded engineers to port and you don't have to hunt for information on XDA anymore.

      Oh and cooling. That's something that the Pi has an edge on.

      Early Android hackers might remember something called the Android Arduino Mega ADK. I suspect nowadays if you need real time control you can probably just have smartphone control the peripherals via the ESP32 using either USB C or Bluetooth. Developing over the wire protocols is trivial since LLMs can hammer out protobuf definitions like there's no tomorrow.

    • iberator 13 hours ago
      for applications like that your should remove the battery and put small cheap circuit that emulates it. then you can run such server very very safe, unlike with 100x batteries always harging.

      Bot farms works that way.

      • gonzalohm 11 hours ago
        Took me hours to replace the battery in a pixel. They make it almost impossible to open a phone without breaking it. I can't imagine doing that for more than 2 phones
        • cannonpalms 9 hours ago
          I'm nearing a battery replacement on my pixel 8 pro. Which model were you working with?
          • gonzalohm 8 hours ago
            Pixel 7a. To be fair, it was a screen + battery replacement. The problem was the adhesive that they use. I warned it up, tried to open it and the screen shattered into tiny pieces when I tried to open it (because it was cracked).

            I also don't have a heat gun, so I had to use a Ziploc bag with warm water.

            Still though, they make it really hard

            • Freak_NL 3 hours ago
              Did the 7 and 8 have that much worse of a battery? I'm currently replacing the two Pixel 6 in my household (end of security updates), and there is nothing wrong with those. The hardware, battery included, is as good as new (or at least, not impeding our use).
              • gonzalohm 3 hours ago
                I still use a pixel 6a. I don't really care about security updates. This was my wife's phone. I would say battery life is a bit worse in the 7a, but if you are already opening it (to change the screen), then you may as well replace the battery
            • cellular 7 hours ago
              Did you pry with force? Or did the warm water make it lift easily?

              I don't have experience with the ziploc method, but heat guns can melt solder so I'm wondering if temp was not high enough with the ziploc.

            • JK-Swizzle 3 hours ago
              [dead]
      • Folcon 12 hours ago
        This is fascinating, I never even considered this need.

        Could you say more about this? What kind of setups work well? Is this really straightforward or are there any subtleties?

      • Den_VR 11 hours ago
        What else have bot farms learned through scaling?
    • interludead 11 hours ago
      [flagged]
  • cdetroye 12 hours ago
    I have recently taken to gathering old phones and putting Nerves on them (Nerves packages up the Erlang VM into a mainline kernel to run on a variety of devices). I got inspired by a talk by Marc Lainez at Goatmire who had put it on a variety of exotic devices (e.g., a Wii).

    I am by no means an expert at this, but starting of with a device on the Postmarket OS list and Claude, you can get a lot of these old devices working with mainline Linux and nearly all drivers. The newer devices are a bit harder, but if you go back nearly a decade, they're very easy to get working.

    So far I have repurposed a Fairphone 3, Nexus 5, Galaxy S20, and Galaxy Tab 3.0 7". All of them (except the s20) with all drivers working compared to stock. Others have done a lot too: https://github.com/mlainez/awesome-nerves-systems

    For DIY projects you can use host USB, or get one of the Adafruit FT232H type boards for GPIO pins.

    • sahruum9 7 hours ago
      Wow! I'm a big fan of Nerves, but I've only ever used it on Raspberry Pi and Pi Zeros. I have piles of old phones, I'll have to give this a go.
    • az09mugen 11 hours ago
      Thanks for making me discover Nerves to give a new life to old devices !
    • andai 11 hours ago
      Neat. I've heard good things about Erlang, though I haven't taken a proper look at it. What kind of things can you do with it? Or rather, where does it shine?
      • lawik 10 hours ago
        Wow. Big question.

        So Nerves folks typically run Elixir on the Erlang VM. So you have the Phoenix web framework, Membrane media framework, Nx (nx_eigen) for basic inference, Emerge does well for embedded UI.

        I've played around with clustering a bunch of these devices over Tailscale across my home. Opening cameras from one device and streaming to anothers display, willy-nilly. All experimental for me.

        I've put Homex and Espex on them to have them integrate with Home Assistant. Feeding sensor data up or whatever I feel like.

        Elixir already has a production embedded ecosystem through Nerves and web services have been the bread and butter for a long time. So you can do almost anything.

  • axegon_ 7 hours ago
    To a degree, I see the author's point. But there is a catch for me: I have a few older phones and the reason why I generally prefer Pi over an old phone is the OS. If I could get a full-fledged linux on a phone, I don't have a big reason to look at Pis: I don't need the gpio in almost all cases. For most phones however, this is not only not straightforward but in 99% of cases not possible at all.
  • yjftsjthsd-h 13 hours ago
    > Why get an expensive Pi when I have an old phone?

    Because the pi has a maintained kernel and a userspace I don't have to fight.

    • hafern 12 hours ago
      As someone who's tinkered with flashing linux into tablets I can 100% vouch for this. Fun to tinker with. A nightmare to use for real
    • tomComb 10 hours ago
      And a firmware that is maintained and automatically updated.
    • nh2 11 hours ago
      Yes, the terms "kernel" or "security updates" don't exist in the article at all.

      Everything without upstream kernel support is inherently vulnerable.

      This is why most phones are unfortunately not general purpose computers. They don't run the software you want, but only work on closed binary blobs hardcoded against specific kernel versions.

      • sorrywhat 10 hours ago
        If only we had some magical software that could compile the vanilla Linux kernel, diff it with the vendor kernel, reverse engineer the differences and patch the original sources for you while you sleep...
        • bee_rider 10 hours ago
          I’m out of the loop on this sort of workflow. I guess this is referencing the LLMs super reverse engineering capabilities. They are impressive but how much would that sort of task cost? There isn’t a ton of headroom if we’re going to beat a Pi, right? I mean they aren’t super cheap anymore, but you also have to factor in the phone.
          • sorrywhat 7 hours ago
            You can reverse quite a large program on a Claude $100 sub if you already have one lying around. I have to assume it's cheaper if you have the sources of a kernel that's 99.99% the same.

            In the long run I also imagine this sort of thing being something someone does once per phone model and uploads it.

            • catdog 6 hours ago
              Often enough for those android devices you already have the sources for most components but only compatible with some age old android kernel and it's "just" porting it and poking around. LLMs are quite good at this.
        • yjftsjthsd-h 6 hours ago
          Have you done this successfully? Would appreciate any notes/prompts you could share
          • mariofdistrust 6 hours ago
            i'm not them, but i'm doing it right now. it's going well. i'll probably write and post something about it soon (in one or two weeks, because the phone's still being ported (the phone is already very functional, but i want to port more things)).
    • altmanaltman 13 hours ago
      Yeah like its a weird article idea where the pi is expensive compared to an old phone which you have for free. But that doesn't make the used phone cheaper. You can just as well say why use an expensive PI when I have an old computer with a 1680ti and 12 gigs of ram. Like yeah okay but what does that have to do with Pi? Entirely different device classes imo
      • mahboi 13 hours ago
        Or what about an old Pi?
        • altmanaltman 12 hours ago
          Why get an expensive Pi when I have an old free Pi? My issue is with the expensive qualifier. Anything is expensive compared to something you have lying around for free.

          If you want to compare the expensive factor, at least use some kind of cost to compare like the price of a used phone etc or the cost of a basic server to see how they differ.

      • flykespice 7 hours ago
        > Yeah like its a weird article idea where the pi is expensive compared to an old phone which you have for free. But that doesn't make the used phone cheaper.

        Perhaps not in the first world reality you live in, where you can buy a rpi 4 for a couple of bucks. But in third world countries they aren't readily available, and usually the imported prices exceed that of a decent PC.

        You can find an old used phone for almost half the price that is still good enough for many daily processing tasks.

        > You can just as well say why use an expensive PI when I have an old computer with a 1680ti and 12 gigs of ram.

        That is a logical fallacy. A high end PC and an old used phone that you can buy in Ebay are in entirely different price ranges.

        > Like yeah okay but what does that have to do with Pi? Entirely different device classes imo

        Entirely different device classes, yeah, but both can execute the very same functions. The difference is one is much cheaper and you get 2x the processing power than the "more specialized" other. You can use both as local llm, serv ers, home automation... and even GPIO if you expose some wires from the phone.

        • altmanaltman 6 hours ago
          1. I don't live in the "first world". I own a pi 4 and have a couple of cellphones.

          2. Again, "cheaper" is a valid qualifier if you compare costs. Phones vrs pi is not what I am talking about, free vrs second hand (not free) is what I am talking about. Something cannot be cheaper than free so comparing costs is kind of weird.

          Sorry for any offense this semantic may have caused.

      • ta8903 11 hours ago
        The article only talked about buying used phones, not using phones you already have.
        • nebulous1 10 hours ago
          You're correct but they did lay out the table oddly because the first line has the price for the Pi but not the phone, which made it look like it was assuming they already had the phone.
          • mahboi 5 hours ago
            There is also a high chance you already have an old phone that's nearly worthless to resell
  • randomblock1 13 hours ago
    Reasons to get a Pi: GPIO support, software support, OS updates, free root & bootloader, more flexibility and customizability, extensive documentation and support, consistency, simplicity, more ports, battery optional.

    Used phones are good for tinkering, especially for "display with sensors and battery attached" usecases, but there are still plenty of downsides. And unfortunately Linux on phones is just not ready for primetime, last I checked.

    • almog 13 hours ago
      I've never used one but android phones can use utilize USB GPIO devices which are very cheap
    • trouve_search 9 hours ago
      Termux runs great, but it has some compatibility gotchas, largely because of the libc android uses.

      I do use termux daily to ssh into other boxes, that's incredibly useful

    • cowlevel 13 hours ago
      Your phone has GPIOs inside it, but you can't access them without at least root.
      • randomblock1 13 hours ago
        Cool, didn't know that. But like are they physically accessible? I don't think you can use the USB port as GPIO. Maybe some unused pins on the SOC itself, but that means opening up the phone and probably removing the shielding/heatsink...
        • amelius 12 hours ago
          You can attach some photodiodes to your screen to control things. And use the camera/mic for input.
          • cowlevel 12 hours ago
            Now that's a funny idea. But it's true!
            • amelius 11 hours ago
              I think you can attach a keyboard to a phone over USB, and in theory it can provide both input and output (you can control the LEDs from the host computer). That would be a more convenient route, I suppose.
              • cowlevel 7 hours ago
                That's true, although I don't know whether you can control the LEDs from within the app sandbox.

                If you can access it from within the sandbox, you don't need to be limited to keyboards - the HID framework allows for arbitrary I/O.

    • aborsy 13 hours ago
      PI was a thing when it was much cheaper than X86. You can buy a much better speced mini PC nowadays
      • graemep 13 hours ago
        For the cost of a Pico or a Zero? Even some of the SBCs cost about £30. Where can I get a mini PC for that?
      • pjmlp 10 hours ago
        Unless one actually wants ARM.
  • bita_nidir 10 hours ago
    I shudder with horror when I think of all the good hardware that ends up in landfill every day, due to "no longer supported". It's absolute lunacy!
    • nebulous1 10 hours ago
      Phones are one of the biggest offenders in this too. Like the article mentioned, Xiaomi actually make rooting/flashing their phones reasonably easy, but other manufacturers actively try to block it. Also if you do flash it you'll be without most Play Integrity checks which will hamper its usage as a primary phone, so this sort of reuse is very good.
  • dava96 13 hours ago
    You could consider getting an older flagship phone perhaps 2022-2023 and have a strong portable device with a decent amount of compute power and not to mention ram. I'm starting to believe that these devices are under utilised and we will see some interesting applications using either with AI or without.

    I particuarly think the economics of this are interesting, if you take the one plus 11 you can get one for around £200-250. The CPU is very capable and the alternatives are a PI 5 or N100. You get 16b of ram, a screen, gps, bluetooth a camera... the list goes on.

    These devices could really shine as edge computing devices and I believe they are overlooked.

    • thisislife2 12 hours ago
      The problem with modern smartphones is that they run on battery, even when plugged into external power. You cannot use it without the batteries without some more hardware hacks. As the batteries aren't designed to be always in a fully charged state, if you decide to use the phone with the battery (with 24x7 power supply) then you also have to carefully monitor the batteries too. Batteries tend to heat up when charged / discharged, old batteries can also bulge or, worst case, even explode. Another thing you need to consider is cooling - Smartphones are designed with the idea that their CPUs won't run at 100% for a very long duration. A smartphones CPU, Camera, battery etc. tends to get hot on prolonged use. So if you are, for example, planning to use it as a mini webserver or media server or as a 24x7 streaming cam, you need ensure it remains adequately cool. And ofcourse, the best smartphones for these kind of projects is one capable of running Linux.
      • denysvitali 12 hours ago
        Some OnePlus devices have a "bypass charging" system. My OP8 Pro is running since 2y now as a Kubernetes node, and nothing bad has happened to its battery (yet).

        I'm honestly curious to see if bypass charging is on, but it's been a while since I touched the device itself and it has been fine do far. YMMV

        See: https://blog.denv.it/posts/pmos-k3s-cluster/

      • vanderZwan 12 hours ago
        Wouldn't setting the charge limit to a really low ceiling suffice?
      • gambiting 12 hours ago
        >>The problem with modern smartphones is that they run on battery, even when plugged into external power.

        That's not universally true - a lot of android phones have a "bypass charging" mode where you run directly from the power supply, and indeed you can run them with the battery removed.

        • hobo123 9 hours ago
          I think sometimes playing games on the phone while plugged in would actually drain battery because the CPU just used too much power (obviously a while back when charging was lower power).

          Not sure if those phones would work without a battery and throttle the CPU, or if they would crash.

    • mahboi 13 hours ago
      It does have the same problem as using a laptop as a server: the battery will fail. But it's a nice UPS until then.
      • 1dom 12 hours ago
        A lot more mobile devices will require removable batteries after 2027 due to EU regs.

        There are exceptions, so not all phones will, but more will. I hope there'll be more time/effort put into hacking removable battery phones to accept hardwiring a PSU onto the battery terminals over the next 5 years.

  • asmodeuslucifer 6 hours ago
    I'm a big fan of the esp32. I needed a sensor to beep when a board came down a conveyor, and an esp32 with "VL53L0X Time-of-Flight Ranging Sensor Flight Distance Measurement Module" and a buzzer works perfect for about $10 in parts. Minus the 3d printed box and articulated arm to hold it the right distance away. Call it $10.25.
  • StrLght 11 hours ago
    There are a few issues with Android devices. I have 2 Android phones lying around in my rack, as well as an Android tablet that I use as a dashboard.

    1. Batteries swell over time. Replacing them is easy, but it's still harder than changing one inside a UPS hat. Most phones won't even start without a battery.

    2. Software support will be awful. Maybe you'll get lucky and your device will be able to run postmarketOS.

    3. There's no modularity, you're stuck with the full package. Don't feel comfortable having a camera or a microphone on a device with no security updates? Too bad, there's not much you can do about it.

    Don't get me wrong, if you understand these risks, are fine with them, and Android devices cover your use cases — that's great, go for it! I just find SBCs with decent software support to be a better option for general projects.

    • timonoko 11 hours ago
      #1: You remove the connector and charging controller from the battery. (Also the thermal sensor).

      Then you can use any 4 volt power source.

      #2 and #3: You install Termux.

      • daemonologist 8 hours ago
        #1 is not so simple - most phones (Android at least) know how big their battery is supposed to be and will shut themselves off if they think they've consumed the whole thing. You usually need to root them and mess around with some undocumented firmware settings. (It's also a pain in the ass to crack open a phone to get access to the battery.)
        • flykespice 7 hours ago
          Can't #1 be bypassed with some external circuit plugged to the sockets simulating a phone battery signals?
      • sandos 5 hours ago
        I doubt "any 4V power source" is true AT ALL!

        I once tried powering an android tablet with straight DC, turns it is EXTREMELY sensitive to slow power supplies, ie. it required a very beefy one. I had to add capacitors even to get it to work, it was really weird. But considering a battery can dish out some serious amps....

        Also 4V sources are not common.

      • timonoko 3 hours ago
        Lost in translation, I think. I mean you reuse the connector and controller and sensor from the original battery. Then you can connect any voltage 3.7-4.2 Volts to instead of Li-On cells.

        There is of course the issue that a phone uses momentarily high current when transmitting. So there needs to be beefy capacitor too.

        I have done this many times, of course. Especially on Ebooks, for which you cannot find replacement superthin batteries. You use original connector and any small lithiums in parallel. Discarded e-cigarettes are good source for small lithiums.

  • siknad 13 hours ago
    Rooting or flashing a modern phone is pain in the ass. Ideally the battery needs to be replaced with a 3.7V PSU (and BMS must be salvaged without cutting the battery accidentally). And for old phones it either old linux kernel, partially unsupported hardware or fork maintained by handful of hackers for free.

    I guess laptops are way easier: more upgradeable and repairable, don't require unlocking mostly, battery can just be thrown away and it works with its native PSU. Just need to make sure power won't go out. And it is bulkier, though maybe less susceptible to overheating.

  • pjmlp 13 hours ago
    The main reason is that they are one of the few ARM computers sold with a pre-installed officially supported GNU/Linux distribution, at affordable prices.

    Even with the prices increases that the PI has suffered, there no systems of vendors like Tuxedo, or System 76, at similar price point, with ARM support.

  • stevefan1999 14 hours ago
    Well that's because for the Pi you have GPIO. If you just want to run homelabs or software only stuff, why not go for ITX motherboard with just in time components
    • cowlevel 13 hours ago
      ITX motherboards also have GPIOs on them by the way, but they're not brought out to header pins like on the Pi.
    • jakevn 10 hours ago
      USB to GPIO dongles can be had for under $10 and even work on Android.
  • 63stack 13 hours ago
    Because big tech decides what you are allowed to run on your phones
  • nchmy 12 hours ago
    I recently used Termux on a 7 year old low-end android to run a WordPress site with sqlite db and a golang sse pubsub service at a conference, via cloudflare tunnel, with dozens of people connected and doing some realtime collaborative stuff. Worked perfectly.

    It was vastly more powerful than the old RPi 3 that i have, and significantly easier to work with given the screen, keyboard, wifi etc...

  • root9876 5 hours ago
    Nice thing about RPI is gpio, that can be used to configure the rpi with jumpers. All you need is a script that checks gpio state on boot and run scripts depending on jumpers placement. So you can get desired services started, configs applied etc without even connecting to the rpi.
  • psilvia 6 hours ago
    Recently did this with a few old Android phones I had lying around, now they are three k3s nodes added to my existing homelab, 24 cores and 30ish GB of RAM, battery limited to 80%, running vanilla debian apart from the custom kernel build

    https://github.com/crazynucfan/phone-nodes

  • MacNCheese23 11 hours ago
    This isnt new and has a major flaw. Phones are not made to be continously charged. You have to find or tinker your own solution to power it without battery which is more cumbersome than just getting off the shelf used hardware in the raspberry range.
    • nebulous1 10 hours ago
      Is this an actual issue though? Even if it accelerates battery degradation, that doesn't matter in this situation. Won't modern battery controls stop the battery overheating?
      • MacNCheese23 9 hours ago
        if you are adventourous? go for it - i wouldn't like to leave a battery connected 24/7 - on a power supply when im gone on holidays or something.

        Even using a timer to charge only every odd day still leads to the same thing.

  • bahmboo 8 hours ago
    Depending on what you are trying to do one of the biggest problems with repurposing old mobile stuff (including laptops) is that when they are repowered they need manual intervention to get back to business.

    In other words if the power goes out you need to physically be there to get the device running your always on stuff.

    • throwaway894345 8 hours ago
      Don’t many of these devices allow you to bypass the physical power switch via BIOS?
      • bahmboo 6 hours ago
        Not that I've seen. Running into this problem trying to use old laptops in embedded roles.
  • herrherrmann 14 hours ago
    I guess in general, the development experience on a Pi is much better, because it’s made to be tinkered with, right? In the other hand, Android phones are also nicely hackable. I’d just guess that for beginners, it’s much easier to install the Raspberry IDE and plug in the Pi (as opposed to learning how to connect and develop for an Android phone). But yeah, for pros or vibe coders, an Android phone might be the right or even better choice. And it’s great that Android phones can therefore be used a little longer before landing in a landfill.
  • guestlistplus10 11 hours ago
    Underrated bit: it has its own LTE modem and battery. Makes a decent watchdog for when the router or power dies and the Pi goes down with it.
  • poisonborz 4 hours ago
    The top comment should be that without opening the case and wiring in the power directly (not easy) for such old phones THIS IS DANGEROUS. The battery, when under load and plugged in the whole time, can and will swell and explode somewhere in the future.
  • subtextminer 3 hours ago
    Pis are too expensive. I just picked up a new Bosgame AMD 5300U 4/8 core 8 GB 256GB SATA SSD, 2.5 Gbx2 NICs, 2x SSD slots, for $199 on Amazon. Great OpenWRT/Proxmix/Mini-NAS. 8 watts idle.
  • Peteragain 11 hours ago
    Phones are cheap for what you get, but problems arise when you try to add something. Driving LEDs is the start. So how do you do that? Via a cloud service? How do you add an air monitor or servos? The pi and esp32s have an ecology of add-ons and a community to support you. Sure that could be built around a rooted phone, but it would take years.
    • alnwlsn 11 hours ago
      You use an ESP32 or RP2040 or STM32 for that and connect it to the phone with USB. This is sometimes done with a Pi to begin with - if you need to run a 3D printer, a Pi's GPIO will not be enough. Or not, these chips might be able to handle what you need to do all on their own.
  • shit_game 12 hours ago
    >Why get an expensive Pi when I have an old phone?

    >I’ve unlocked and rooted the Redmi

    Herein lies the issue. I don't know fuck all about phones. I don't want to. They are engineered to keep me out, and that is a pain in the ass I don't want to deal with when doing hardware work. I want to own something that works the second I get it and doesn't fight me the entire way. Sure, I could let an LLM guide me through it or even do it for me, but why bother when the whole point of the hardware is for me to fuck off and use it as a subscriber to the OEM and carrier? This is tedium, removed by further spending. Not to mention documentation - what bullshit is the OEM hiding in their board or firmware thats going to ruin my day? I'm sure that some of these devices are great for reuse as a self contained server with media and modem, but is my old phone going to do this?

    I'm not gonna spend $50 on ewaste to try to do something unless I want to use that ewaste (old keyboards, old toys? :3). Old phones are a non-sequitur because, again, they're engineered to keep me out.

    • gambiting 12 hours ago
      >>Herein lies the issue. I don't know fuck all about phones. I don't want to. They are engineered to keep me out, and that is a pain in the ass I don't want to deal with when doing hardware work.

      I mean, you do know we're on a forum called hacker news, right?

      In most cases it's not some magic voodoo process that you need an LLM for, it's the first result on Google and one command to run or in some cases you just hold two buttons together when booting up and click the unlock button.

      Like, I completely understand your perspective and desire to have things which "just work"(I'm in the same boat a lot of the time lately) but like, let's be realistic - rooting an old phone and running some software on it is really not a big deal, I'd hope especially for people on here.

      • jiggunjer 9 hours ago
        True for modern mid-high range models of mainstream brands. But some devices are just that hacker unfriendly.
  • sgt 10 hours ago
    I tried this once - with a little "fleet" of phones running 24/7 serving things. But it turned out that phones do not really like running 24/7 doing something. Eventually they started failing in various ways.
  • armcat 9 hours ago
    This is valid for one off projects but if you want something that can replicate/scale and easily integrate into a product then RPi or Jetson boards are great
  • class3shock 9 hours ago
    Old phones are fine if you want to tinker but are a nightmare to try and actually 'do' something with. It sucks and shouldn't be the case but here we are.
  • niutech 5 hours ago
    Even better are old smartphones with Sailfish OS, Ubuntu Touch or PineOS - they are based on proper Linux with full control, not crippled like stock Android, unless you flash it (if you can).
  • luis_valerio 10 hours ago
    Depends on what you want to do. In terms of ram and CPU I understand but if you want HDMI, I/O... And lot of documentation about existing projects, troubleshooting....
  • casualscience 13 hours ago
    Locked bootloaders mostly
    • Joel_Mckay 8 hours ago
      Agreed, dealing with deprecated android devices can be frustrating even when rooted. There was a project to bring a standard deb linux distro build to native mobile hardware, but most features like cell data access become a brick.

      It is the drawback of locked proprietary hardware builds no one makes anymore.

      An recent laptop with a broken LCD is cheap e-waste, and works just fine to setup on an external monitor. Mini PC are also cheaper than most pi5 now, so if you don't need the gpio... save the money for a real SSD. =3

  • 999900000999 3 hours ago
    You can also find new prepaid phones for 50$ each. Just don’t activate them.
  • nntwozz 9 hours ago
    Brings back fond memories of running torrents with Transmission 2.84 on my old iPhone 4 with Cydia.

    Nowadays I dumpster dive for old computers and parts to Frankenstein together what I can with Debian as headless servers.

    One man's trash is another man's treasure, repurposed to sail the high seas.

    Arrrr!

  • edude03 8 hours ago
    Not as a knock to the author but I feel like this is a wildly optimistic / simplified take. The type of audience pis serve is either industrial as part of a product or process or tinkerers that often want to follow some set process like installing retroarch.

    Not to mention not all phones are hackable, they might not have the gpio or software you want or ecosystem (I’m quite fond of the Poe hats for example) and frankly if you’re buying a pi you’re obviously not the person who has the perfect hackable phone lying around or otherwise can easily source one

  • nimitbhardwaj 14 hours ago
    Thats a great read. I explored similar things with my rooted phone. Samsung galaxy m30s. Wrote something on it as well on what I did, may be you will also like this type of experimentation?

    https://nimitbhardwaj.github.io/posts/hermes-agent-rooted-an...

  • denysvitali 12 hours ago
    On a similar note, old smartphones (depending how old of course) are way more powerful than a Raspberry Pi. You can turn them into a Kubernetes cluster [1].

    [1]: https://blog.denv.it/posts/pmos-k3s-cluster/

  • tropicalhunter 11 hours ago
    Hey, I can answer that! Because me and my family have always had Verizon and when I recently went through alllllll the devices I have ever owned, I would need to go back to circa 2010's Galaxy S7 to be able to get a rooted device, which as Claude keeps reminding me, "isn't what I want, but might be good enough"....

    Raspberry PI's don't give me near the struggle and I never dumbly signed a contract that I didn't really own the device I was purchasing (that I am completely aware of)

  • muhehe 11 hours ago
    I was thinking about using my old phones with something similar, but I'm worried about battery. When permanently connected to charger, won't they swell, start fire or something like that after longer(er) period of time?
    • spider-mario 11 hours ago
      On some models, if you root them, you can cap charging to reduce the chances of that happening.

      https://f-droid.org/en/packages/mattecarra.accapp/

    • yonatan8070 11 hours ago
      With some phones you can set a charge limit in software at like 50%, that should pretty much solve it I believe.

      You can also "just" take the battery out, it might still function without it or with something that pretends to be a battery but isn't

  • albert_e 14 hours ago
    I too have a bunch of cheap android phones of diverse vintage lying around.

    Some are bought with US carrier locks - never activated or unlocked. Any chance they can be unlocked with today's tools and not dumped into ewaste.

    There are a few simple projects for home automation i have in mind but the rooting felt like a daunting task.

    • sjdh76 13 hours ago
      For home automation, just build an app that does what your need. No big reason to root it.
  • blocked_againnn 6 hours ago
    What are some useful things you have built using pie? Which you use maybe on a daily basis.
    • TheSkyHasEyes 6 hours ago
      I used a 3b+ to act as an AP. The Pi ethernet plugs into a router for backhaul.

      The pi has pihole and unbound installed. You aren't supposed to use these programs with DHCP but I'm a cowboy.

      All clients connected to this AP have less ads.

      Built it for some seniors who got sick of ads. Works great for them.

  • elxr 10 hours ago
    Well if you need cameras and GPS, then 6+ year old phones/tablets are obviously the cheapest way to do this in just about any country.

    But a new pi is just a bad deal for anything right now.

  • evergreenokada 11 hours ago
    Yeah, people mostly just buy things to satisfy their wants. the PI sells because its the more reliable, low-friction option for a lot of use cases,even if an old phone is technically stronger and cheaper
  • JulianPaul 12 hours ago
    Are you gonna open-source this so others can also benefit?
  • a012 13 hours ago
    I also keep using old android phone but the battery dies every few months if you keep plug-in power cable.
  • louwrentius 13 hours ago
    Why get an expensive Pi when you can get a cheap 1L PC / tini-mini-micro or SFF pc? Especially if you don't need GPIO pins?

    My blog article about this: https://louwrentius.com/the-raspberry-pi-5-is-no-match-for-a...

  • rootnod3 4 hours ago
    Really? That’s the takeaway?

    Sure, CPU wise an old phone can do the same job, but not the GPIO.

    But hey, thanks AI delusion , even a fucking raspberry pi is now a purchase I gotta think 3 times about before pulling the trigger.

  • lovegrenoble 12 hours ago
    What about GPIO support and Raspberry Pi OS updates?
  • ImJasonH 6 hours ago
    ...or a new phone!

    You can get a cheap Tracfone for like $20, never pay for the subscription, and run termux on it.

  • InsidiousWombat 10 hours ago
    kernel wont get updates, no IO, no ports.

    Need to fuck about pretty much per phone model,rather than install Debian, unattended-upgrades and forget about device for 2 years

  • walrus01 12 hours ago
    For me if I don't have a need for the GPIO pins, it's "why get an expensive pi when I can get a used ex-corporate small form factor quad core, intel core i7-something desktop PC with 16GB of RAM and a real SSD"... For like 150 bucks on eBay. RAM apocalypse and price of equipment has affected this a lot (these used to be like 90 bucks depending on era of core i7), but they're vastly more useful when a general purpose x86-64 linux is installed on them. Or even just put proxmox on it and then various things inside that.
  • Havoc 10 hours ago
    Way more trouble than it is worth.

    * Lithium batteries are a problem

    * No ethernet

    * No prebuilt images like say Talos

    * Can't readily attach an SSD

  • stn_za 7 hours ago
    You are asking a meaningless question in order to promote, brag, justify and make public your own know-how having already accepted and understood whatever limitations in order to justify your own choice.

    The point of a rasperri PI is to allow general, easy, and intentional bespoke availability of a fully programmable platform, where it also allows you access to low level, but practical means of acheiving home automation via GPIO etc.

    I have 5 old phones in my cupboard, the most recent 3 of them have locked bootloaders and could potentially be rooted simply because of them not being region locked, while not gauranteeing me any real and complete support such as a PI would.

    Nevermind even thinking as far ahead as GPIO pins etc etc.

    At best, 1 out of the 5 phones might be able to eventually, and with effort/time and possible additional cost for extras give me parity to a PI, even exceeed the PI in compute.

    But that is not the point. You know it. I know it.

    Your post is not in search of an answer. You know the answer, you are the minority, and you know this.

    You would not get an expensive PI if you had what you need from your old phone and skillz.

    So why ask us where you already knew the answer...

    It's because you are not asking anything, you are trying to show off and be dishonest by posing it as a question while assuming generousity by 'helping' people not 'waste money'

    You are transparent buddy.

    Yep, the typos are understood and left as is. Does nothing to take away my meaning.

  • ForHackernews 9 hours ago
    Similarly, you can get old thin clients for $10 - 30 off ebay that are equivalent or more powerful than a Raspberry Pi, if you don't need GPIO.

    https://www.parkytowers.me.uk/thin/

  • babodabo 10 hours ago
    Pi's are expensive trash
  • Jemm 10 hours ago
    Is there a project that can handle GPIO from a USB port? To me that and a generalized linux distro for phones is would be the compelling switch.
    • pbalau 10 hours ago
      adafruit ft232h and probably others
      • luqtas 8 hours ago
        wouldn't an esp32 or rp2040 be a better solution that also has ADC? also cheaper then the adafruit board you mentioned
        • pbalau 4 hours ago
          > adafruit ft232h and *probably others*
  • interludead 11 hours ago
    I've always found it a bit absurd that an old phone can have more sensors and connectivity than a fairly expensive hobbyist computer, yet we rarely consider using it as one
  • classified 13 hours ago
    As long as it's not an iPhone. Once Apple has bricked your old iPhone, you can't even run your own software on it anymore. Despite all their lip service to being environmentally friendly, that thing is nothing but an expensive paperweight and e-waste now.
  • b112 13 hours ago
    A Pi is the Apple of small compute. It's the in thing, flashy, with loads of just as capable competitors.

    No one cares if you have overpriced white earbuds or not for Pi tasks.

    • windex 13 hours ago
      Everything including compete is priced sky high these days.
      • b112 13 hours ago
        And some higher than that, like the Pi, which has been overpriced for years.
  • ThrowawayTestr 13 hours ago
    Is there a peripheral you can plug into the USB port that exposes gpio pins?
    • cowlevel 13 hours ago
      Yes, USB to GPIO adapters are available. Note that you won't be able to implement anything that has timing requirements - you'll need a microcontroller for that.

      I think in practice the timing jitter and the low cost difference to something like an Arduino Nano or Pi Pico means people use one of those even if they could technically use a GPIO adapter.

    • siknad 13 hours ago
      Any dev board like Arduino can work. E.g. by flashing firmware that controls GPIO via Serial.
    • P-Nuts 12 hours ago
      Look at the FT232H. Does SPI, I²C, UART, JTAG, and GPIO. It’s just a chip but there are hobbyist breakout boards for it.
  • esafak 7 hours ago
    Pis jumped the shark long ago. Let them try to hawk it to whomever they please; I ain't bitin'
  • samsaga2 11 hours ago
    An old phone? That is my phone, sigh...
    • nebulous1 6 hours ago
      If you mean the 13C then you are no longer receiving security updates as of four days ago. You can go down the ROM route but you'll likely lose your banking and Google Pay.

      A lot of phones these days are offering longer update periods. For instance that 13C only offered 3 years from release, but the 15C is offering 6 years. The Pixel phones are getting 7 years.

  • l00sed 11 hours ago
    but aren't the cell carriers making loads of money off our data? lol
  • arbor-group 8 hours ago
    [flagged]
  • spencerawlson 9 hours ago
    [flagged]
  • jessemhoffer 10 hours ago
    [flagged]
  • ankur_misra 5 hours ago
    [flagged]
  • cnczeric 9 hours ago
    [flagged]
  • NorrisFByrd 6 hours ago
    [flagged]
  • ReDress 12 hours ago
    [dead]
  • cedricddesigns 8 hours ago
    [dead]
  • enoch_hou 6 hours ago
    [flagged]