Inside the Android OS: Building, Customizing, Managing and Operating Android System Services
by G. Blake Meike, Larry Schiefer
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access