Project Treble is Google’s worthy improvement to software updates. Before moving too far in, let’s look back and talk about what Project treble actually is. A year ago, Android Developer Blog posted a short explanation; you can go back and see that if you want to know more, but I will clear it here. One of the pieces of Oreo, Google trying to improve the terrible situation of software update of some third-party phones like Samsung, Asus, and Huawei.
NEW UPDATE: Android 9.0 Pie update: Install Project Treble [GSI] ROM right now!
Project Treble aims to modularize updates, reducing the amount of time that OEMs need to update their phones. It extracts the Android OS code from OEM’s hardware.
Google is speeding up the process with Project Treble, which changes the Android Architecture. A “Vendor Interface” will contain all the low-level software for a device (like chipset drivers). Google is making the Vendor Interface forwards-compatible, by working with the chipset manufacturers.
In this guide, you will be able to download and install the Project Treble ROM based on Android 8.1 Oreo on the supported device. This could be quickly done on the list of device that uses phh-Treble ROM.
[alert-note]See also: How to Root Project Treble Android 8.1 ROM using Magisk[/alert-note]Android 8.1 Oreo comes with a lot of known enhancements to the devices. The new feature and performance improvement aimed at bringing a faster software experience on the Android phones. Google’s Treble Project is one such inclusion of Android Oreo. Also, Project treble is the biggest gateway to the Custom ROM development community, thanks to its flexibility to customize. You will surely know about this soon, but for now, follow the tutorial below on how to install Project Treble ROM Android 8.1 Oreo on the supported devices.
Phh-Treble: The Project Treble AOSP ROM
XDA Recognized Developer, phhusson, has opened the thread to provide support to the Treble compatible devices. Project Treble AOSP ROM is fully naked, that means, you will get a complete vanilla flavor that could be installed on many devices.
Official Changelog
The aim of this ROM is to provide full Treble-compatible hardware support. The hardware which don’t have Treble API won’t get any support from Treble Project.
v20 (2018-06-07):
– June Android security patch level
– New experimental FLOSS variant (check sources for a list of apps)
– [OnePlus6] Fixes backlight
– [OnePlus6] Partial support for DnD slider
– Fixes bug on some A/B devices where the device would stop booting
v19 (2018-06-03):
– Huawei fast charge
– Fix MTK TrustKernel TEE (factory reset required)
– Support 32bits Android 8.0 devices
– Rewrite Security Patch Level for Android 8.1 devices, and A/B devices as well.
– Enable GPU profiling on Huawei devices to fix UI glitches
– Fixed Modded Google Camera installation
– Use round icons
– Enable doze
– New Android Go variant
– On Huawei devices add “Swipe fingerprint for notifications” option
– Releases are now compressed with XZ.
List of Supported device
Some OEMs have not added their latest devices to the Project treble till now. But, all the devices that come with Android 8.0 Oreo out of the box will have Project Treble by default. The list of devices that supports Project Treble Android 8.1 Oreo ROM are as follows:
Device Name | Codename | Support from OEM | Partition Style | Architecture |
Asus ZenFone Max Pro M1 | x00td | Yes | A | arm64 |
Blackview A20 | A20 | Yes | A | arm |
Essential PH-1 | mata | Yes | A/B | arm64 |
Google Pixel and Pixel XL | sailfish and marlin | Yes | A/B | arm64 |
Google Pixel 2 and Pixel 2 XL | walleye and taimen | Yes | A/B | arm64 |
HTC U11 Plus | ocm | Yes | A | arm64 |
Huawei Honor 6X | BLN | Yes | A | arm64 |
Huawei Honor 7X | bnd | Yes | A | arm64 |
Huawei Honor 9 | stf | Yes | A | arm64 |
Huawei Honor 9 Lite | lld | Yes | A | arm64 |
Huawei Mate 9 | hi3660 | Yes | A | arm64 |
Huawei Mate 10 Pro | blanc | Yes | A | arm64 |
Huawei Mate SE | bnd | Yes | A | arm64 |
Huawei P Smart | figo | Yes | A | arm64 |
Huawei P10 and P10 Plus | vtr | Yes | A | arm64 |
Huawei P20 Lite | anne | Yes | A | arm64 |
Huawei View 10 | berkeley | Yes | A | arm64 |
Lenovo S5 | seoul | Yes | A | arm64 |
Moto E5 | nora | Yes | A | arm |
Moto G5 Plus | potter | A | arm64 | |
Moto G6 Plus | evert | Yes | A/B | arm64 |
Nokia 7 | c1n | Yes | A/B | arm64 |
Nokia 7 Plus | b2n | Yes | A/B | arm64 |
OnePlus 5 and 5T | cheeseburger and dumpling | A | arm64 | |
OnePlus 6 | enchilada | Yes | A/B | arm64 |
Razer Phone | cheryl | Yes | A/B | arm64 |
Samsung Galaxy S9 and S9 Plus (Exynos) | starlte and star2lte | Yes | A | arm64 |
Sharp AQUOS S2 | ss2 / sat | Yes | A/B | arm64 |
Sony Xperia XZ1 and XZ1 Compact | poplar and lilac | Yes | A | arm64 |
Wiko Lenny5 | w_k400 | Yes | A | arm |
Xiaomi Mi 5 | gemini | A | arm64 | |
Xiaomi Mi A1 | tissot | A/B | arm64 | |
Xiaomi Mi Mix | lithium | A | arm64 | |
Xiaomi Mi Mix 2s | polaris | Yes | A | arm64 |
Xiaomi Mi Note 2 | scorpio | A | arm64 | |
Xiaomi Redmi 4 Pro/Prime | markw | A | arm64 | |
Xiaomi Redmi 4A | rolex | A | arm64 | |
Xiaomi Redmi 4X | santoni | A | arm64 | |
Xiaomi Redmi 5A | riva | A | arm64 | |
Xiaomi Redmi Note 5 (Pro) | whyred | Yes | A | arm64 |
Zuk Z2 Plus and Z2 Pro | z2_plus and z2_row | A | arm64 |
Now proceed to the tutorial below and install Project Treble ROM on your device.
Pre-requisites
- In Project Treble ROM, there are only compiled system partitions. Therefore your device must be running on Stock Android 8.0/8.1 Oreo build.
- You are going to flash system.img file here. So, your bootloader must be unlocked from before. If not, please do that first and get back to the tutorial.
- Make sure to backup everything on your device before starting the tutorial. (Check out: Best Android Backup Apps – Secure your Data)
- Enable the USB debugging on your Android device.
- You must install Android SDK tool on your computer.
Download Project Treble ROM (system.img files)
[alert-announce](Update: 2018-06-07)[/alert-announce]Android 8.1 Oreo (Project Treble v20 ROM)
- A/B ARM64 devices with GApps and SU
- A/B ARM64 devices with FLOSS apps and SU
- A/B ARM64 devices vanilla
- A-only ARM64 devices with GApps and SU
- A-only ARM64 devices with FLOSS apps and SU
- A-only ARM64 devices vanilla
- A-only ARM32 devices with Go GApps and SU
- A-only ARM32 devices vanilla
Android 8.0 Oreo (Project Treble v19 ROM)
- A/B ARM64 devices with GApps and SU
- A/B ARM64 devices vanilla
- A-only ARM64 devices with GApps and SU
- A-only ARM64 devices vanilla
How to Install Project Treble AOSP ROM (phh-Treble)
- Download System image (*.img) for your device. Make sure to download the correct image file depending upon the support of A/B partition on your device.
- Now copy this image file to C:\adb folder where the ADB/Fastboot binaries will be present.
- Press and hold the SHIFT key and do a right-click on an empty space inside the folder.
- You should Select ‘Open PowerShell window here’.
- Connect your phone to the PC with the help of the USB cable.
- Now Boot your device into the Bootloader/Fastboot mode using the following command:
adb reboot bootloader
- Make sure that your device is being detected properly using the following command:
fastboot devices
- The command will return a unique device ID right with the ‘fastboot’ message.
- Lastly, install System on the device using the following command:
fastboot flash system <system-xx-xxxx.img>
- Now reboot your device using the following command:
fastboot reboot
Now, you should reboot your phone into stock recovery. Perform a factory reset to clean up any unnecessary files and cache junks.
When your device boots, follow the on-screen instructions for initial setup and you are done!
Hurray! Your phone has been updated to Project Treble AOSP ROM. Check Setting>About Phone to verify!
The upcoming version of this ROM shall bring more stability and performance. If you have any query regarding Project Treble ROM, please do comment below, and we will reply you back as soon as possible.
Have fun playing with the major system upgrade. You can try out some Xposed modules on Oreo, or you can even try Magisk modules to modify your device in the way you like.
Is the Project Treble Android 8.1 on your phone clean and minimalist user interface? Does it look good on your eyes, or you would like to stick on the Stock OS? What’s your opinion? Do comment below!
[Source: XDA-Developers | Android Developers | Github]