Project Mainline Is Google’s Latest Attempt to Fix Android Updates

Project Mainline Is Google’s Latest Attempt to Fix Android Updates

If Google had known the mess Android updates would become, it probably would have taken a different approach to distribution. Alas, Google gave device makers control over almost every aspect of the OS early on and has been trying to make up for that decision ever since. Its latest effort to make Android easier to update is known as Project Mainline. This Android Q component allows Google to patch certain core system components without an OTA update.

In Android Pie and earlier, changes to core system components require an update. Some phones can install these updates in the background, mandating a restart to initialize the new code. Others like Samsung only install the update during restart, which means several minutes of downtime. Project Mainline can update important parts of the OS silently without a restart.

According to Google, Mainline can update 12 core components via the Play Store. For the record, here are all the supported OS modules:

  • Security: Media Codecs, Media Framework Components, DNS Resolver, Conscrypt
  • Privacy: Documents UI, Permission Controller, ExtServices
  • Consistency: Timezone data, ANGLE (developers opt-in), Module Metadata, Networking components, Captive Portal Login, Network Permission Configuration

These aren’t parts of Android you think about a lot, but you interact with them constantly. To update these components live, Google developed a new file container called APEX (Android Pony EXpress). APEX is similar to the APK container for app distribution. Android Q processes APEX files in the same package manager that installs your apps, but instead of an app, APEX files contain new system components.

Project Mainline Is Google’s Latest Attempt to Fix Android Updates

This is part of Google’s ongoing effort to accelerate Android updates. Years back, it started pulling pieces out of the core OS and packaging them up inside Play Services, which it can update silently in the background. In Oreo, Google added support for Project Treble, making the platform more modular, encouraging faster updates and longer support windows.

Because of limitations in older Linux kernels, Project Mainline won’t work on most devices that get updates to Android Q. Phones that ship with Q should have support baked in. Google says it will roll Mainline updates out to all phones in a matter of weeks via the Play Store. We can expect that to start happening with the 2019 Pixel phones when they launch late this year.

Continue reading

Stadia Is Now Playable on iPhone Thanks to Google’s New Web App
Stadia Is Now Playable on iPhone Thanks to Google’s New Web App

Google promised iPhone support, but Apple's App Store policies got in the way. Now, there's finally a way to play Stadia on iOS — just fire up Safari and go to the Stadia site to use the new progressive web app.

States Claim Google’s ‘Privacy Sandbox’ Violates Antitrust Law
States Claim Google’s ‘Privacy Sandbox’ Violates Antitrust Law

Google finds itself in an impossible position. Privacy advocates have long demanded Google follow Microsoft and Mozilla's lead in purging tracking cookies from Chrome. Now that it's doing so, state attorneys general have filed an amended antitrust complaint that uses the so-called "Privacy Sandbox" as ammunition against the company.

The Pixel 6 Might Come With Google’s Custom ARM Processor
The Pixel 6 Might Come With Google’s Custom ARM Processor

According to leaked documents, the sixth-gen Pixel phones could be the first to have Google's long-rumored custom ARM chips, which are allegedly codenamed Whitechapel.

Shockingly, Google Is the Only Company That Likes Google’s Tracking Cookie Alternative
Shockingly, Google Is the Only Company That Likes Google’s Tracking Cookie Alternative

Mozilla, Microsoft, DuckDuckGo, and many others have said they won't support FLoC, but Google might not need them to forge ahead.