Thanks to Project Treble, Android Oreo could ring in a new era of Android mods and custom ROMs. Since reverse engineering is no longer necessary to get the camera, fingerprint sensor and other components working, you can completely change the software on Oreo smartphones in no time. Several examples show that the new ROMs are even compatible with several devices at once.
Many smartphone users still have a strong desire to choose the software for their smartphone themselves. Certain manufacturer skins like the Samsung Experience or Huawei’s EMUI are well-conceived and comprehensive; however, some users find them too full of functions that they will never use but can never get rid of either.
Until now, one solution to this problem was looking for a smartphone for which numerous third-party providers have patiently and painstakingly developed what is known as a custom ROM: An alternative operating system with the same range of functions.
However, this alternative takes considerable effort: freely accessible Android source code (AOSP) must be reconciled with the smartphone’s closed-source hardware components. Several months of reverse engineering take place until Wi-Fi, the camera, fingerprint sensor, NFC and other components work flawlessly with the custom software.
And this is precisely where Project Treble comes in: All this fiddling around with hardware reverse engineering is no longer necessary thanks to new mandatory standards for devices that are released with Android Oreo. Anyone who does not play ball with the standard is not allowed to release a phone with Google’s Play Store, but how exactly does the system work?
Smartphone manufacturers must implement their hardware for Project Treble in such a manner that Android can talk to it via a unified language (the HAL Interface Definition Language (HIDL)). If you compare it to cars, as Mishaal Rahman from XDA Developers has done, it would be as follows:
Imagine if we lived in a world where every car manufacturer decided to design their steering wheels or re-arrange their brakes in a completely different way. If you put a driver in a new car, they may be confused with how to initially handle the vehicle. But thanks to standards, every driver should be familiar with how to operate a steering wheel and brakes on almost any car. Further, driving school teaches all drivers the proper way to operate a vehicle. In this analogy, the vehicle standards are Project Treble and driving school is HIDL.
For Modders, Project Treble is the Revolution
The new rules of the game that Google has thus imposed on smartphone manufacturers are groundbreaking in the modding community, because not only does it do away with a lot of aggravation with incompatible hardware, it also means that system images that are created once are compatible with numerous smartphones, making them interchangeable.
This is already reflected in a new structure on the XDA Developers forum. Instead of device sub-forums for Google Pixel, Honor 8 Pro, Essential Phone or Sony Xperia XZ1, ROM developing is bundled in a collective sub-forum for Treble-Enabled Devices.
Multi-ROMs are becoming a reality. Numerous developers that until now have only been able to work on one device can now collaborate with developers more efficiently on other devices, which is a boon for the quality of third-party ROMs.
A bit of work still needs to be done
Of course, Treble does not solve the problem of locked bootloaders and the loss of warranty that often comes with unlocking them. We will continue to deal with shenanigans if we want to freely choose the software for our devices, but at least there are enough manufacturers like Sony, OnePlus, LG or HTC that at least partially support bootloader unlocking and set a good example.
Treble Will Not Come Via an Update
Devices that are released to market with Android 8.0 Oreo have to fully support Project Treble and HIDL. Devices that are slated to receive an update to Android 8.0 Oreo are not subject to this obligation. Since a re-partitioning of the flash memory is necessary for Project Treble, it’s likely that nearly all manufacturers do not want to bring it to existing devices via an update.
One positive example of the contrary is demonstrated by Huawei with its Mate 9. Here, the system hardware drivers are swapped into the new vendor partition and coupled to the system according to Project Treble. It is one of the first devices that has been successfully used for testing Treble custom ROMs.
Are Android Smartphones Now Totally Free?
Project Treble is certainly not a liberation in the sense of free software. The amount of freedom is naturally much greater via an alternative ROM, but there is still a lot of closed-source software in the new vendor partition. Taking a look inside is outside of our control, and it’s practically impossible to control the activities programmed therein as well.
If you truly want a free smartphone, your only choice is to wait for the Purism Librem 5, which is slated to be available with mainly openly documented hardware and software and contain physical switches for all other components.
On the other hand, Project Treble represents Android’s greatest liberation in years.
What do you think? Are you excited for more control over your device's software?
Where to buy Huawei Mate 9
- HUAWEI MATE 9 MHA L29 FACTORY UNLOCKED-SPACE GRAY-64GB-5.9"HD DISPLAY-FLAWLESS! $379.00 $379.00 total Check Offer
- Huawei Mate 9, 5.9-Inch, 4GB RAM, 64GB Storage, Dual Camera, Amazon Alexa, Unlocked Cell Phone, US Warranty, Space Gray (51091BKV) $404.99 $404.99 total Check Offer
- HUAWEI NEW Unlocked Mate 9 MHA-L29 4GB RAM 64GB Storage 5.9'' Android 7.0 Gray $435.00 $435.00 total Check Offer
- HUAWEI Mate 9 MHA-L29 64GB 4G Dual Sim SIM FREE/ UNLOCKED - Obsidian Black $445.00 $445.00 total Check Offer
- Huawei Mate 9, 5.9-Inch, 4GB RAM, 64GB Storage, Dual Camera, Amazon Alexa, Unlocked Cell Phone, US Warranty, Space Gray (51091BKV) $449.99 $449.99 total Check Offer