Earlier quoted context omitted.
> Also, iPhone 3g is ancient. Released 2008. If I get an x86 laptop from 2008, I can install a modern Ubuntu on it with approximately 0 effort. If anything, it'll usually be better than cutting-edge hardware because the drivers have already been developed and released in a stable Linux version. iOS still loses this comparison.
A 2018 iPhone X is vastly more powerful than a 2008 iPhone 3G, whereas the performance improvement of laptops slowed dramatically after that point. Take a copy of a standard 2008 version of Ubuntu desktop and try and install it on a 1998 laptop. I doubt it’d run at all, not without ditching the default desktop.
Bringing the Android kernel back to the mainline
81–90 of 121 posts
Re: Bringing the Android kernel back to the mainline
#82This is happening because of Project Treble which creating a boundary between device drivers and the kernel. Earlier, kernel versions (even android versions itself) were subject to integration of device drivers into the kernel source code... which took a long time and often resulted in forced obsolescence. By separating out the driver interface using Treble, you can update the kernel and android versions from upstrea…
Re: Bringing the Android kernel back to the mainline
#83Earlier quoted context omitted.
Honestly, it's extremely difficult to update the kernel since it's usually tied to the BSP the SoC vendor is providing. Also, you gotta keep in mind the difficulties associated with the lazy 3rd parties providing drivers for a single kernel version, making updates almost impossible. -- Disclosure : I work for an OEM as a system architect, and it's been one of my goals to try and get newer kernel versions running. (Su…
Is upstreaming hardware drivers to at least staging quality that much of an uphill task? Seems like this should be fixed at the source by having the initial development go straight into mainline. That's what seems to happen for PC hardware anyway.
Re: Bringing the Android kernel back to the mainline
#84Earlier quoted context omitted.
I've read my parent comment as a claim that we are all doomed because Apple might pull the plug one day -- which I dispute on the grounds that historically this hasn't been true. Also, iPhone 3g is ancient. Outside of that I am in full agreement with you. The mobile ecosystem is basically a dystopia where we have zero recourse as you said.
> Also, iPhone 3g is ancient. Released 2008. If I get an x86 laptop from 2008, I can install a modern Ubuntu on it with approximately 0 effort. If anything, it'll usually be better than cutting-edge hardware because the drivers have already been developed and released in a stable Linux version. iOS still loses this comparison.
Meanwhile I have a 5 year old 5S that I use while traveling which runs iOS 12.1 swimmingly, and keeping older devices running longer was a major topic discussed by Lisa Jackson at the last Apple keynote. I fully expect that this old phone will run iOS 13 as well, and I expect that current iOS devices will have increasingly longer usable lifespans than 5-6 years. There isn’t anything close in terms of manufacturer support on the Android side of things.
In terms of keeping phone hardware useful through an alternative OS, you may also want to keep an eye on PostmarketOS [2].
Re: Bringing the Android kernel back to the mainline
#85Earlier quoted context omitted.
Is upstreaming hardware drivers to at least staging quality that much of an uphill task? Seems like this should be fixed at the source by having the initial development go straight into mainline. That's what seems to happen for PC hardware anyway.
Upstreaming costs like several times more than just hack it and ship it. It seems that a lot of vendors can't estimate the costs and benefits.
Re: Bringing the Android kernel back to the mainline
#86Earlier quoted context omitted.
A 2018 iPhone X is vastly more powerful than a 2008 iPhone 3G, whereas the performance improvement of laptops slowed dramatically after that point. Take a copy of a standard 2008 version of Ubuntu desktop and try and install it on a 1998 laptop. I doubt it’d run at all, not without ditching the default desktop.
You've missed the point entirely. It's about software support (or lack thereof), not how the computational power progressed through the last decade.
Re: Bringing the Android kernel back to the mainline
#87When I buy a laptop I install whatever is the latest version of Ubuntu on it and am done. When I buy an access point I install whatever is the latest version of OpenWrt on it and am done. I've tried to do the same thing with phones using LineageOS but it's hopeless. Devices are often half broken and are never guaranteed to continue being supported because of this kernel mess. It seems there's slow progress being made…
There are builds like this working on many devices right now: https://forum.xda-developers.com/project-treble/trebleenable...
Re: Bringing the Android kernel back to the mainline
#88When I buy a laptop I install whatever is the latest version of Ubuntu on it and am done. When I buy an access point I install whatever is the latest version of OpenWrt on it and am done. I've tried to do the same thing with phones using LineageOS but it's hopeless. Devices are often half broken and are never guaranteed to continue being supported because of this kernel mess. It seems there's slow progress being made…
Thanks to Treble, this shouldn't be a problem for phones launched with Pie. It should now be possible to build a single system partition then flash it to any Treble device. There are builds like this working on many devices right now: https://forum.xda-developers.com/project-treble/trebleenable...
It's a huge improvement (a lot of bugs are in platform layer, including the media/stagefright stuff), but not yet perfect.
Re: Bringing the Android kernel back to the mainline
#89Earlier quoted context omitted.
There's a compromise solution to achieve something equivalent. And I say so after having tried many possibilities. Buy a Pixel or any other phone that supports AOSP (Sony does too, with some caveats) and install plain AOSP. It's not perfect as you need a bit of infrastructure to compile it yourself and keep OTA updates. But it's the most practical secure and privacy-respecting option, I think.
Does Pixel work with upstream kernel? Does it use many blobs? Sony Xperia XA2 looks interesting, but not sure how usable it would be with upstream kernel and Mesa.
Re: Bringing the Android kernel back to the mainline
#90Earlier quoted context omitted.
> Also, iPhone 3g is ancient. Released 2008. If I get an x86 laptop from 2008, I can install a modern Ubuntu on it with approximately 0 effort. If anything, it'll usually be better than cutting-edge hardware because the drivers have already been developed and released in a stable Linux version. iOS still loses this comparison.
This. I managed to build recent Linux on a Pentium MMX Mobile (IIRC) laptop from 1998. A cell phone from 5 years ago can't handle a modern operating system, but a 1998 laptop can run Xorg just fine.