• hypertown@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    1 day ago

    I still can’t understand how I can install modern Windows or Linux on a 20 year old PC but the same can’t be done with 4 year old phone… 8 year is cool but it’s nothing compared to 20 years.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      36
      arrow-down
      1
      ·
      edit-2
      1 day ago

      Because phones are a mess of out of tree patches specific to that phone model with zero hope of being upstreamed into the Linux kernel without a cleaner rewrite because it’s not good, it’s made to work and nothing more. They do stuff like just copy pasting the drivers into the project for the next chip, make some changes, and now you have several versions of the same driver for a whole bunch of slighly different chips. The community can’t keep up with that or make it generic enough.

      It’s improved but companies like Qualcomm also used to basically drop the code to the manufacturers when the chip launches and then move on with little maintenance for the code and stop maintaining the code once the chip is not produced anymore. Manufacturers don’t have the expertise to maintain that forever nor the will, so you end up with a kernel that keeps aging and isn’t keeping up with Android and the community hasn’t been successful in integrating it all either.

      Google’s been pushing hard for this to improve but they’re the only ones to even care. Samsung and others would much rather sell you a new phone.

      There’s also the problem that phones don’t really have a BIOS, the kernel is expected to just know where the devices are via the device tree. So each phone needs a specially built kernel for it too.

      Projects like LineageOS often manage to push those phones a couple versions longer but eventually interest dies as well because of kernel pains.

      • Refurbished Refurbisher@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        23 hours ago

        Not just Google, but the community has been hard at work with porting mainline Linux to phones. postmarketOS is the main OS that devices are initially ported to.

        Qualcomm is actually involved with this as well, specifically with Linaro, who does a lot of kernel mainlining for Qualcomm SoCs.

      • hypertown@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        23 hours ago

        Honestly I’m impressed with all the work the community has put into projects like LineageOS but when I recently checked the supported devices list I feel like we’re at the lowest point we’ve ever been and now to buy a phone for 10 years means to buy a Pixel.
        Not often I say this but: Good job Google.

    • Ilovethebomb@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      5
      ·
      edit-2
      23 hours ago

      Phones have a hard life compared to a computer, I suspect the number of phones that last four years would be very small, never mind 8.

      Who’s the sad sack that downvoted this? When was the last time you dropped your laptop in the sink?

      • lengau
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 hours ago

        The last time I dropped my laptop in the sink is the same as the last time I dropped my phone in the sink.

      • VeganCheesecake@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        My last phone lasted 5 years till the display broke. Had to switch the battery once, but nothing else gave out. My current one gets 8 years of updates, and I plan on using it till then, as long as nothing unexpected happens.

      • hypertown@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        23 hours ago

        Do people really treat their phones so badly? I have a Galaxy Note II (Almost 12 year old phone!) that still works. Thanks to community support it has Android 12 installed and it’s currently working as a radio in my garage.
        My uncle is using my old S8 as his daily driver and it works no problem.

        • Ilovethebomb@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          23 hours ago

          They get carried around all day, charged every day, dropped, ports wear out etc. Compared to a computer, they have a hard life, even the most kindly treated ones.

  • Xed@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    22 hours ago

    The good thing about android is you can flash some custom OS on them if they run out of updates easier than iOS

    • lengau
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      8 hours ago

      This will probably help you with that. Having a phone that has 8 years of kernel updates is going to make it a strong target for community ports.