Treble

The upcoming Android O release includes Project Treble, a major re-architect of the Android OS framework designed to make it easier, faster, and less costly for manufacturers to update devices to a new version of Android.

Android updates

Project Treble separates the vendor implementation (device-specific, lower-level software written by silicon manufacturers) from the Android OS framework via a new vendor interface.

In Android 7.x and earlier, no formal vendor interface exists so device makers must update large portions of the Android code to move a device to a newer version of Android:

Figure 1. Pre-Treble Android update environment

With Treble, a new stable vendor interface provides access to the hardware-specific parts of Android, enabling device makers to deliver new Android releases simply by updating the Android OS framework—without any additional work required from the silicon manufacturers:

Figure 2. Treble Android update environment

Testing Treble

To ensure forward compatibility of the vendor implementation, the new vendor interface will be validated by the Vendor Test Suite (VTS), which is analogous to the Compatibility Test Suite (CTS). VTS is already launched and can be used to automate HAL and OS kernel testing even in pre-Treble environments; for details, see Systems Testing With VTS.

Coming soon

Project Treble is coming to all new devices launching with Android O and beyond, and the new architecture is already running on the Developer Preview of O for Pixel phones. When Android O launches, we'll have full details here (on source.android.com). In the interim, you can find more details on Treble over at the Android Developers Blog.