10

Project Treble: Binderized HAL

The Android system and its use of the HAL received a major overhaul starting with Android 8.0. Internally, this was called Project Treble and its goal was not only to provide a standard abstraction to the underlying hardware, but to do it in a way that allowed vendors to upgrade the core OS without requiring a rebuild of HAL libraries and the system image. This means Google can roll out OS updates without requiring modifications to the vendor proprietary components. Binderized HALs must be used for Android 8.0 and newer. This new, extremely flexible, and forward-looking approach to the HAL requires some knowledge of Android’s Binder subsystem.

The platform vendor–supplied HAL is no longer a set of shared libraries ...

Get Inside the Android OS: Building, Customizing, Managing and Operating Android System Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.