this post was submitted on 08 Mar 2024
285 points (97.7% liked)

Linux

47237 readers
3343 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 6 months ago (1 children)

As far as I can tell, droidian uses the android kernel etc (like ubuntu touch) whereas mobian is closer to mainline linux

[–] [email protected] 5 points 6 months ago (4 children)

What difference does that make? I had thought the android kernel was just the Linux kernel

[–] [email protected] 27 points 6 months ago

Android kernels are forks of Linux kernels.

For mobile devices, the difference is that Android kernels actually work, and upstream Linux kernels don't. Projects like postmarketOS are working on mainlining more Android hardware, but you probably won't get all of your hardware to work if you grab Linux 6.8 and try to run it on your phone.

The weird kernel situation is one of the reasons you get Android phones with the very latest version of Android and a kernel stuck at something like Linux 4.14 or even lower. Upgrading Android isn't hard, upgrading the kernel would basically require Qualcom and every other company that delivered drivers to patch their code for you.

[–] [email protected] 16 points 6 months ago (2 children)

It basically is, but this kernel is much modified by modem maker, SoC maker and device and component manufacturers. They almost always do dirty low quality patches just to make one device work with Android and not care about sending them to upstream (mainline) kernel or even about compatibility with anything but their Android version.

https://not.mainline.space/ - example of OnePlus 6 having more than 5,600,000 lines of code difference from normal Linux kernel. And is still considered pretty close compared to most phones.

[–] [email protected] 3 points 6 months ago

Most of those changes seem to be drivers. I do wonder how much of those changes are auto-generated. AMD and Nvidia sometimes check in millions of changes for that reason, because their open source stuff is largely generated from their proprietary designs.

[–] [email protected] 0 points 6 months ago (1 children)

That not gpl violation? Not publishing kernel patch?

[–] [email protected] 2 points 6 months ago

They are publishing their version of the kernel. The problem is that this kernel is so much modified and dirtly patched it is useless to run anything other than Android.

And many device drivers for Android are now proprietary blobs in Android userspace outside of the kernel code.

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago)

I think that in the Android kernel (for your device) there are binary blobs for hardware drivers. Which are not in mainline and most of the times not even available anywhere.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

Driver blobs often have ludicrous requirements/restrictions and are made for Android. Main difference would be the kernel version i guess.