Despite getting a lot of crap online, it looks like iPhones actually do better when it comes to shipping security updates to old phones? [1]
I am not sure but if that is really the case, I think I'll switch to one for my next phone.
The iPhone X, released in 2017, still gets new versions of iOS. Even phones that have long been dropped from new iOS releases still get security fixes for a long, long time.
I hate Apple for some things and even they could probably do better, but they're incredibly far ahead here (now if only the devices were more repairable).
It's absolutely not the price of progress, it's the price manufacturers not caring (why would they? people have already bought the device and they'll buy more short-lived devices) and there being no legislation to make them care.
With mainline kernels many phones that are a decade old would be perfectly usable today.
Still, this situation makes me quite sad. Why I can't easily update my phone OS like I do with my Linux desktops and servers? Things like the /e/ foundation or Lineage OS are great but still have a lot of limitations. Mostly due to closed source drivers that mobile phone makers use.
Even if both of them have hundreds or thousands of CVEs there is nothing I can do since security fixes won't be backported. I use AOSP with the minimal applications required for their "job", that means, mostly F-Droid applications and no gapps/vendor apps.
Until their batteries die, I will keep them around. I won't throw away a perfectly working device.
Most mobile applications still target Android 7 and work perfectly. My phone has a good camera, battery still lasts 3 days, Internet browsing is fast enough and WiFi, LTE/4G reception work great too. Still, watching the mayhem Android 12 and beyond (Material You) has become, maybe my next phone will be an iOS device.
My phone is still using an older Android version - unable to upgrade any further, or receive security updates. Before you recoil in horror, consider the following: the phone is in perfectly working order, it has an excellent screen and camera, it's fast for my needs. The real horror is that millions of perfectly fine smartphones are sent to landfill because these little pocket super-computers with amazing hardware can no longer be upgraded by software. Is this a embarrassing wasteful state of affairs? Or the price of "progress" on the hardware upgrade treadmill?