Originally posted by Vistaus
View Post
How Google's Android Maintains A Stable Linux Kernel ABI
Collapse
X
-
Originally posted by skeevy420 View PostHuh. Well I'll be damned. Here I was thinking their method was to stick with old kernels.
I don't think I have a single Android device that runs newer than 4.0.X and my current tablet and phone both run 3.1X (3.10 and 3.17).
From https://source.android.com/devices/a...re-kernel-reqs:
For Android 9, the minimum Long Term Support (LTS) kernel version requirements are 4.4.107, 4.9.84, and 4.14.42.- All system-on-chips (SoCs) productized in 2018 must launch with kernel 4.9.84 or newer.
- All other SoCs launching Android devices running Android 9 must use kernel 4.4.107 or higher.
- Device kernels based on 4.14 must include the 4.14.42 or higher LTS release.
- Regardless of launch date, all SoCs with device launches on Android 8.0 and higher remain subject to the kernel changes required to enable Treble.
- Older Android devices upgrading to Android 8.0 or higher can continue to use their original base kernel version.
Comment
-
Originally posted by Volta View Post
Blame nvidia.
Ps. if FreeBSD and Solaris have stable ABI's, then it seems it doesn't work for them. It's not some magical solution to success.
Comment
-
-
Originally posted by Ray_o View Postmy comment wasn't about who takes the blame, it was about the non sense of wishing the kernel ABI to be broken just so Nvidia does more work and forgetting the effect this has on the user.
Comment
-
-
Originally posted by flashmozzg View Post
My 2 year old device is based on 4.4.153. IRC, 4.4 is the minimum for new devices starting with Android 8.0.
From https://source.android.com/devices/a...re-kernel-reqs:
Code:For Android 9, the minimum Long Term Support (LTS) kernel version requirements are 4.4.107, 4.9.84, and 4.14.42.[LIST][*]All system-on-chips (SoCs) productized in 2018 must launch with kernel 4.9.84 or newer.[*]All other SoCs launching Android devices running Android 9 must use kernel 4.4.107 or higher.[*]Device kernels based on 4.14 must include the 4.14.42 or higher LTS release.[*]Regardless of launch date, all SoCs with device launches on Android 8.0 and higher remain subject to the kernel changes required to enable Treble.[*][B]Older Android devices upgrading to Android 8.0 or higher can continue to use their original base kernel version.[/B][/LIST]
And that's if that update actually makes it to the States and through carrier certification...though the phone has an unlocked bootloader so AT&T being shitty as usual won't stop me from updating...
*it's charging and I'm too lazy to walk across the room and check...
**It has a headphone jack, removable battery, DAC, SD card, two good cameras, 2K screen, fingerprint reader. I feel no need to upgrade phones because a lot of them feel like downgrades in regards to everything except the SOC/CPU & OS version.
Comment
-
-
Originally posted by birdie View PostWhich kinda invalidates the claim that Linux is the most popular kernel in the world 'cause Google doesn't use the mainline kernel.
Not sure how having some downstream patches makes it "non-Linux".
Comment
-
-
Originally posted by doragasu View PostI thought the userspace API was stable, and that only the internal ABI was not.
This would allow to update the kernel without causing massive breakage in proprietary kernel modules shipped by the stock firmware, and should theoretically allow to update the firmware in a device indefinitely (though third party firmware I guess).
Currently they have isolated the "hardware support" part (linux kernel and kernel modules) from the "OS part" (most of Android OS) with project Treble. If this goes well, they can reduce the "hardware support" part to just kernel modules.
This is significant.Last edited by starshipeleven; 15 September 2019, 04:06 PM.
Comment
-
-
Originally posted by starshipeleven View PostCurrently they have isolated the "hardware support" part (linux kernel and kernel modules) from the "OS part" (most of Android OS) with project Treble. If this goes well, they can reduce the "hardware support" part to just kernel modules.
Project Treble is the "HAL interface definition language (HIDL)" that cuts userspace of android from the kernel stuff,
This stable abi work is under the future android versions stuff. Of course google clearly states they wish for the drivers up-streamed just due to the peer review process effect on security.
Comment
-
Comment