1 <html devsite> 2 <head> 3 <title>Treble</title> 4 <meta name="project_path" value="/_project.yaml" /> 5 <meta name="book_path" value="/_book.yaml" /> 6 </head> 7 <body> 8 <!-- 9 Copyright 2017 The Android Open Source Project 10 11 Licensed under the Apache License, Version 2.0 (the "License"); 12 you may not use this file except in compliance with the License. 13 You may obtain a copy of the License at 14 15 http://www.apache.org/licenses/LICENSE-2.0 16 17 Unless required by applicable law or agreed to in writing, software 18 distributed under the License is distributed on an "AS IS" BASIS, 19 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20 See the License for the specific language governing permissions and 21 limitations under the License. 22 --> 23 24 25 <p>The upcoming Android O release includes Project Treble, a major re-architect 26 of the Android OS framework designed to make it easier, faster, and less costly 27 for manufacturers to update devices to a new version of Android.</p> 28 29 <h2 id=about-treble>Android updates</h2> 30 <p>Project Treble separates the vendor implementation (device-specific, 31 lower-level software written by silicon manufacturers) from the Android OS 32 framework via a new vendor interface.</p> 33 34 <p>In Android 7.x and earlier, no formal vendor interface exists so device 35 makers must update large portions of the Android code to move a device to a 36 newer version of Android:</p> 37 38 <img src="images/treble_blog_before.png"> 39 40 <p class="img-caption"><strong>Figure 1.</strong> Pre-Treble Android update 41 environment</p> 42 43 <p>With Treble, a new stable vendor interface provides access to the 44 hardware-specific parts of Android, enabling device makers to deliver new 45 Android releases simply by updating the Android OS framework—without any 46 additional work required from the silicon manufacturers:</p> 47 48 <img src="images/treble_blog_after.png"> 49 50 <p class="img-caption"><strong>Figure 2.</strong> Treble Android update 51 environment</p> 52 53 <h2 id=testing-treble>Testing Treble</h2> 54 <p>To ensure forward compatibility of the vendor implementation, the new vendor 55 interface will be validated by the Vendor Test Suite (VTS), which is analogous 56 to the <a href="/compatibility/cts/">Compatibility Test Suite (CTS)</a>. VTS is 57 already launched and can be used to automate HAL and OS kernel testing even in 58 pre-Treble environments; for details, see 59 <a href="/devices/tech/test_infra/tradefed/fundamentals/vts">Systems Testing 60 With VTS</a>.</p> 61 62 <h2 id=launching-treble>Coming soon</h2> 63 <p>Project Treble is coming to all new devices launching with Android O and 64 beyond, and the new architecture is already running on the Developer Preview of 65 O for Pixel phones. When Android O launches, we'll have full details here (on 66 <a href="https://source.android.com/">source.android.com</a>). In the interim, 67 you can find more details on Treble over at the 68 <a href="https://android-developers.googleblog.com/2017/05/here-comes-treble-modular-base-for.html">Android 69 Developers Blog</a>.</p> 70 71 72 </body> 73 </html> 74