Downloads How To

[Tutorial] How to install Project Treble AOSP ROM based on Android 8.1 Oreo?

Update: Project Treble AOSP build is now available for the Samsung Galaxy S9 and S9+ Exynos variants SM-G960F and SM-G965F. The system image downloads are listed below. Also, we have updated the list of Project Treble supported devices. The latest system builds of Project Treble support Android 8.1 Oreo based AOSP ROMS.

Treble is the most talked about project lately and we are already seeing some AOSP builds for the same. Moreover, a lot of manufacturers are actively supporting Project Treble and launching phones with its support. based for their devices. This includes the Google Pixel 2, Essential Phones, Huawei Mate 8, HTC U 11 Plus, and much more. Read more about the list of Project Treble supported Android phones. Here are the first Android Oreo based AOSP builds for Project Treble enabled devices.

Project Treble basically enables the user to flash a pure stock AOSP ROM called “vanilla” directly onto your Treble enabled Android device. This is helpful in upgrading your phone to the latest available Android version. Even though the idea seems like a thing of the future, the development has already started. Following you will find some AOSP firmware builds for first few devices.

The Project Treble requires a partition storage on the device which can mostly be achieved during manufacturing. Although it can be created via OTA update, it is a risk and not many manufacturers are willing to take it. This is a reason some devices like OnePlus 3/3T/5/5T, Galaxy S8/S8+, etc won’t get treble support. New devices which come with Oreo out of the box needs to be treble enabled.

Warnings and notes:

1. Before you go, and flash the builds, the development is in progress and you may encounter some bugs at the moment. Some of the below AOSP builds can be used as daily drivers.

2. As the developer of these AOSP builds says, the goal of this ROM is to provide full Treble-compatible hardware support and that’s all. You cannot expect anything else from this. It will basically encourage other custom ROM developers achieve this goal.

3. If you happen to try the system images, try them at your own risk. We won’t be responsible for a bricked device. You can always restore your device to stock via factory images.

4. While the project is continuously being updated, it is not quite stable. Some of the apps which does not use the Treble API may not work such as the Essential camera.

Here are the supported Android devices for Project Treble AOSP builds:

  • Essential PH-1 — A/B
  • Google Pixel — A/B
  • Google Pixel XL — A/B
  • HTC U11 Plus — A/B
  • Huawei Mate 9 — A-only
  • Huawei Honor 8 Pro — A-only
  • Sony Xperia XZ1 — A-only
  • Sony Xperia XZ1 Compact — A-only
  • Samsung Galaxy S9 and S9+

In order to check if your device supports Project Treble and the Treble API ia enables download the Treble Check app from Play Store. You can also test whether your device has an A-only partition or A/B partition.

Treble Check
Treble Check
Developer: KevinT.
Price: Free+

Download Project Treble AOSP 8.0/8.1 Oreo builds

Thanks to phhusson, the first builds are now available for download and flashable onto various devices. The project has been updated to v3 now. Find the system images for A/B devices and A-only devices.

v12 (android-8.1.0_r15):
system.img for A/B ARM64 devices with GApps and SU
system.img for A/B ARM64 devices vanilla
system.img for A-only ARM64 devices with GApps and SU
system.img for A-only ARM64 devices vanilla
system.img for A-only ARM32 devices vanilla
Patches for custom ROMs build

v9 (Android 8.0):
system.img for A/B ARM64 devices with GApps and SU
system.img for A/B ARM64 devices vanilla
system.img for A-only ARM64 devices with GApps and SU
system.img for A-only ARM64 devices vanilla

How to install Project Treble Android 8.0/8.1 Oreo based AOSP ROM?

There are basically two ways to flash the Project Treble AOSP ROMS onto your Android devices. First, you will have to make sure whether your Android phone supports treble API. If yes, then proceed with the following.

Install Treble ROMS using ADB and Fastboot method:

  • Download the system image for your device from above.
  • Transfer it to your PC.
  • Make sure your PC has latest drivers installed and has ADB and Fastboot setup.
  • Make sure your Android device has an unlocked booloader. For Google Pixel or Pixel 2 click here. For rest of the devices, click here.
  • Ensure to enable USB debugging and OEM Unlocking from developer options.
  • Reboot device into fastboot mode. See the bootloader unlock tutorial for instructions.

fastboot flash system system.img

  • Now reboot into recovery mode and perform a  Factory reset.
  • Reboot to system.

Installing Treble system images using TWRP recovery:

If your have a rooted Android device and have the latest TWRP recovery installed, then simply flash the Treble ROM. The only thing not working with the S9 Treble ROM is the auto-brightness.

Here is a simple tutorial on hot to flash the Treble Oroe based ROMS onto Samsung Galaxy S9 devices: 

  • Make sure your Galaxy S9/S9+ device is rooted with latest TWRP installed properly. You will also need to flash the DM-Verity zip and Encryption must be disabled.
  • Download this Oreo based Treble ROM for the S9.
  • Transfer it to the root of your device.
  • Now reboot device into TWRP recovery.
  • Take a full Nandroid backup.
  • Factory reset the phone.
  • Now click install, select the system image, and start the installation.
  • Make sure to factory reset the device via TWRP or wipe after installation.
  • Reboot to system.

That’s it. Now you have the stock AOSP build onto your Android phone based on Oreo. Visit source for more information about the project and latest builds.