Google’s Project Treble To Allow Easier & Faster Updates to a New Android Versions

If you’ve ever purchase a phone with Android X, you may have noticed it takes a long time to get an update to Android Y after Google officially release the latest version. The reason it takes so long, except on Google’s own hardware, is that the latest Android version needs to be update by the Silicon vendor, which then sends a BSP to manufacturers, who in turn brings their own tweaks, with in some cases telecom carriers involved in the last step, before delivering the update the end users.

This is normally a time-consuming and costly process for all parties involved. One of the reasons is that while the higher level app API is fairly stable, the Android framework (middleware) interface to the Vendor’s implementation may change greatly between different major Android versions. Google is aiming to fix that with Project Treble, starting with Android O, by providing a stable vendor interface between versions.

That means we get from the point where the silicon vendor and manufacturers need to adapt their implementation of the interface to the Android OS framework for each release to becoming able to reuse the implementation with no or few modifications for each releases thanks to Treble.

That could save months of work, and for smaller manufacturers could make the difference between providing an update to a new Android version, or providing none. Project Treble also involves a Vendor Test Suite (VTS), similar to the Compatibility Test Suite (CTS) for the app developer API, to ensure forward compatibility with the vendor implementation.

Since Treble has only started being implemented in Android O, end users will only be able to see the benefits with the update from Android O to Android P sometimes in 2018 or 2019 depending on the release schedule for their device.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

10 Replies to “Google’s Project Treble To Allow Easier & Faster Updates to a New Android Versions”

  1. This solves the problem that “if vendor refuse to update HAL, then user won’t upgrade to the next Android”.
    And creates the problem that “since it’s possible to upgrade to the next Android without vendor’s effort, vendor would make less”.

  2. “What is the difference between Vista and Android? … Vista received updates during 10 years”

  3. @Sander

    PCs are homogeneous. There is very little difference between them except for the speed of their CPU. That’s because 95% of them are based on Intel CPUs and chipsets. AMD/etc also try to exactly emulate Intel. This homogeneity make it fairly easy to issue updates. Intel and AMD also cooperate with the updating process.

    In the Android world there are several hundred different CPUs being used. Plus many of the vendors are purposely not cooperating with the upgrade process in order to force you into buying a new device every two years. Because of all of the hardware variety and the uncooperative vendors, it is not possible for Google to bypass them and issue updates anyway. Google has tried doing this by putting more and more of Android into GPS (Google Play Services). Now they are going even further with Treble.

    Sooner or latter we will hit a technical plateau like desktop PCs have hit. At that point large customers will start pushing back hard on not continuously upgrading. Verizon/AT&T/Sprint/T-Mobile buy hundreds of millions of phones for resale and could push back right now if they wanted to, but they don’t. The carriers like the revenues from the planned obsolescence too. Note how 2G and 3G are being phased out and in favor of 4G. 4G’s days are numbered since 5G is already being planned. Of course you are going to buy a new phone for 6G, 7G, 8G, etc. They will turn the previous protocol off and force you to.

  4. “PCs are homogeneous.” … yes, thanks to the Wintel leadership / monopoly. And … maybe thanks to Windows being closed source, so hardware manufacturers just can’t alter it. And thanks to no-altering, Microsoft can keep updating it directlly.

    “The carriers like the revenues from the planned obsolescence too. ” … OK, interesting. Follow the Money … always the first step 😉

    Maybe we need a WannaCry-like outbreak on Android to get a policy on Android updates.

    1. > Maybe we need a WannaCry-like outbreak on Android to get a policy on Android updates.

      Except that most of mobile users also activate the online backup for things like photos and contacts, so an outbreak like this would result to a minimal damage, as the user would simply wipe the phone and restore the data from the cloud backup.

  5. It is the phone network model of upgrade for next phone model that results in very few updates.

    As of now however, Tablet sales fall for last two years, several phone makers have year on year profit falls. Even Apple has declining sales.

    Hence the push for talking speakers, VR gear and IOT, they desparatly search for the next big WOW factor. While oddly Nintedo kills sales of Nes mini classic which sells like hot cakes, Nintendo cite lack of resources, and instead focus only on Nintendo Switch.

    Seems mad to everyday folk but big business are the ones making money.

  6. The Android treadmill will only stop when large numbers of customers start refusing to buy new devices. That has already happened with Windows, it has not happened with phones. Plus the phone ecosystem likes their revenue from churn and they aren’t going to make it easy to avoid upgrading.

    Note that Google has the opposite motivation. They want platform stability in order to grow the platform as large as possible which maximizes advertising revenue. A stable platform translates to more and better apps. Google also wants you to feel secure in using Android so that you will use it more. Virus outbreaks hurt Google more than they hurt the device manufacturers (phone OEM already has your money, Google does not).

  7. @Jon Smirl
    > Google has the opposite motivation. They want platform stability

    Well then, they could have made mandatory requirements (to pass CTS and give access to Google Play) such as
    * DT-based kernels
    * mainlined/opensource kernel drivers (as opposed to custom silicon-specific kernels)
    * having a dedicated (vendor-provided) HAL partition (that would include the kernel, and stable API for HAL) that would be the only part controlled by the vendor, and keep the control over the (Google-provided) middleware/userspace (e.g. stagefright libraries, etc.), so that being stuck with a never-upgraded kernel/HAL does not block upgrading the remaining Android userspace…
    * Of course vendors want to customize the user experience and GUI, but nothing prevented Google from implementing some theming hooks/APIs

  8. Maybe the answer is Google should have a Android licence which requires a manufactures to provide a set amount of updates?

  9. @ade

    Google is limited in how hard it can push by the EU monopoly case. That case is perversely trying to fragment Android and make the phones more different from each other. Of Microsoft is who is pushing the EU case.

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products