Google to make Android Runtime (ART) an updatable Mainline module in Android 12

Avatar of Sumit Roy

By Sumit Roy

1 minute read

No comments

Share article:

Follow us
Android
Image: Google

Google announced Project Mainline with Android 10 in 2019. Project Mainline allows Google to update specific Android core components via Google Play without requiring a full system update from the device manufacturer. Now, an XDA developer luca020400 has spotted that Google is making the Android Runtime (ART) an updatable Mainline module in Android 12 / Android S.

“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,” Orion Hodson, a Google engineer, posted a comment on the AOSP.

Android Runtime (ART) is an app runtime environment that translates the Android app’s bytecode into native machine instructions. With ART being an updateable Mainline module, Google will have more control over updates, and it will be able to tweak or fix issues without relying on the device manufacturers for the OS update.

ART, as a Mainline module, will bring more consistency across the Android ecosystem. However, it will restrict device manufacturers from making any modifications to ART.

Share article:

Follow us

Posted in:

NewsSoftware
Avatar of Sumit Roy

Sumit Roy

Editor-in-chief

1108 articles published
Sumit is the Editor-in-chief at OnlyTech. He loves to cover news about Windows PCs, Android, Smart Devices, and more. You can always find him experimenting with electronic devices when not in front of a computer.

Related articles

Visit our forums

Join the discussions with thousands of active members who share the same interests as you and learn something new…

Leave a Comment