MobileNews

Android Runtime to become Mainline module in Android 12

Google’s Project Mainline — or Mainline — effectively turns part of your favorite mobile OS into modules that are treated as independent portions of the wider build. It was introduced with Android 10, with the express aim of making core updates easier by decoupling them from the main system into modules.

A new comment within the AOSP build of Android hints that Android Runtime is very likely to become a Mainline module within Android 12 (via XDA). Android Runtime or “ART” effectively turns base-level instructions into native device instructions. Using ahead-of-time compilation, apps are compiled into native machine code at the point of installation, making this a pretty important portion of the Android OS.

So that’s a pretty basic explanation of what Android Runtime does — although maybe nowhere near the best overview out there. By becoming a Mainline module, Android Runtime can or could be fully updateable without the need for OTA updates. Google will, therefore, gain more control provided they force OEMs to have the new ART-module pre-loaded on devices.

Sorry, this CL should have come with more explanation. In Android S, ART becomes an updatable Mainline module. In the module there is a program called odrefresh which recompiles the parts of the boot class path that are not in the ART apex themselves (e.g. frameworks.jar) and the system server jars. There is also a component called ods (http://ag/12685324) which signs the artifacts and checks their signatures on subsequent boots. ods drives odrefresh to check the artifacts for existence and freshness and to recompile if necessary.

Updates to Android Runtime could simply be pushed via the Google Play Store, which means less reliance on full System updates from OEMs. Google’s modular phone concept may have failed, but Android could become far more modular as an operating system as these kinds of changes are made.


Check out the latest Samsung phones at great prices from Gizmofashion – our recommended retail partner.


Author: Damien Wilde
Source: 9TO5Google

Related posts
AI & RoboticsNews

H2O.ai improves AI agent accuracy with predictive models

AI & RoboticsNews

Microsoft’s AI agents: 4 insights that could reshape the enterprise landscape

AI & RoboticsNews

Nvidia accelerates Google quantum AI design with quantum physics simulation

DefenseNews

Marine Corps F-35C notches first overseas combat strike

Sign up for our Newsletter and
stay informed!