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.

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

Android 12 Could Include Major App Compatibility Improvements
Google has attempted to centralize chunks of Android over the years, and a major component called ART is set to get this treatment in Android 12. The result could be vastly improved app compatibility, which is sure to make everyone happy.

Qualcomm’s New Snapdragon 888 Will Power Flagship Android Phones in 2021
The 888 comes with a new CPU design, integrated 5G, and a massive GPU boost. It's shaping up to be the most significant update to Qualcomm's flagship system-on-a-chip (SoC) in years.

Samsung Starts Rolling Out Galaxy S20 Android 11 Update on Verizon
Not only does this include the Googley Android 11 enhancements, but it also has numerous Samsung-specific changes as part of the One UI 3.0 revamp.

It Turns Out Huawei’s HarmonyOS Is Still Just Android
Following the Commerce Department's actions against the Chinese megafirm, Huawei has been unable to use Google services on its new phones. The company's solution was to develop HarmonyOS, but now that we've gotten our first real look at it, one thing is clear: this is just Android with a skin.