Google is bringing Android closer to the Linux kernel

Android 12 on a Google Pixel 4a 5G
(Image credit: Future)

Google has shared more details about how it aims to bring the Android kernel a lot closer to the mainline Linux kernel with the impending release of Android 12.

The news came courtesy of a presentation at the Linux Plumbers Conference by Google’s software engineer Todd Kjos.

Commenting on the development, Ars Technica shares that typically the mainline Linux kernel goes through three major forks before it is shipped to the end users on an Android device.

The fragmentation isn’t just a big time sink, which usually means Android devices ship Linux kernels that are at least a couple of years old, but also complicate the delivery process for security updates and bug fixes.

Reducing forks

In order to appreciate Google’s new initiative, Ars explains that traditionally all the stakeholders in the Android ecosystem fork the Linux kernels in an assembly-like fashion.. 

First up is Google, which forks the mainline kernel into "Android common" adding Android-specific changes. This is then forked by System-On-Chip (SoC) vendors like Qualcomm, and Samsung, to create SoC-specific kernels. Finally, a device-specific fork on the SoC kernel is created and shipped with a device.

Sharing the change in approach, Kjos said that "the big push is to get all of the hardware-specific code out of the generic kernel and into vendor modules.” 

A major part of this effort, shared Kjos, is the development of a stable interface between vendor-specific modules and the generic kernel. 

This new interface, known as the Kernel Module Interface (KMI), will ensure that the "main difference" between the Android Generic Kernel Image (GKI) and mainline Linux, are just the hooks for all of the vendor-specific modules.

While Google reportedly plans to ship the GKI with the upcoming Android 12 release, Kjos called the entire initiative “a multi-year project” as he laid out a timeline for the next few years of kernel work.

Via Ars Technica

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
Android 16 logo on a phone
Android 16 Beta 3 has arrived – here are the 4 features I think will be the most useful
Google Chrome
Linux Foundation brings together top browser makers for more "open" approach
Android 16 logo on a phone
Android 16 will bring these 5 upgrades to your phone – including one I can’t wait to try out
Google Pixel 9
Android 16 could bring an improved Samsung DeX-style desktop mode to more phones
Android 16 logo on a phone
The first Android 16 beta could land today – with a big change for your notifications
Android 16 logo on a phone
The first Android 16 public beta is here – and it borrows a key iOS feature
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in News
Buzz Lightyear Space Ranger Spin Rennovations
Disney’s giving a classic Buzz Lightyear ride a tech overhaul – here's everything you need to know
Hisense U8 series TV on wall in living room
Hisense announces 2025 mini-LED TV lineup, with screen sizes up to 100 inches – and a surprising smart TV switch
Nintendo Music teaser art
Nintendo Music expands its library with songs from Kirby and the Forgotten Land and Tetris
Opera AI Tabs
Opera's new AI feature brings order to your browser tab chaos
An image of Pro-Ject's Flatten it closed and opened
Pro-Ject’s new vinyl flattener will fix any warped LPs you inadvertently buy on Record Store Day
The iPhone 16 Pro on a grey background
iPhone 17 Pro tipped to get 8K video recording – but I want these 3 video features instead