How to Install Project Treble on Samsung Galaxy Phones with Exynos 7870
Project Treble is a major re-architecture of the Android OS framework that aims to make it easier and faster for device manufacturers to deliver software updates to their devices. Project Treble separates the vendor-specific hardware drivers and firmware from the Android OS framework, so that they can be updated independently.
Some Samsung Galaxy phones with the Exynos 7870 processor are eligible for Project Treble support, thanks to the efforts of XDA developers. These phones include the Galaxy A3 (2017), Galaxy J7 Prime, Galaxy J5 (2017), Galaxy J6, Galaxy J7 Core, Galaxy J7 (2016), and Galaxy J7 (2017). By installing Project Treble on these devices, you can enjoy the latest Android 10 or Android 11 features and customizations through Generic System Images (GSIs).
In this article, we will show you how to install Project Treble on your Exynos 7870-powered Samsung Galaxy phone using Google Drive. You will need a Windows PC, a USB cable, and a microSD card for this process. Please note that this process will wipe your data, so make sure you backup your important files before proceeding.
Step 1: Download the required files
You will need to download the following files from Google Drive and save them on your PC:
- Exynos7870_CreateVendor_XX.zip: This is an automated partitioning tool that will create a new vendor partition on your device. XX refers to your device model number. For example, if you have a Galaxy J7 Prime, you will need Exynos7870_CreateVendor_G610X.zip.
- H-Kernel.zip: This is a custom kernel based on the Android 10 kernel source for the Galaxy A6 (2018). It is compatible with all Exynos 7870 devices and supports booting GSIs.
- H-Vendor.zip: This is a custom vendor implementation based on the Android 10 firmware for the Galaxy J6, Galaxy A7 (2018), and the Galaxy S20. It is compatible with all Exynos 7870 devices and enables Project Treble support.
- An A/B ARM64 system GSI image: This is a generic system image that contains the Android OS framework and apps. You can choose any GSI image based on Android 10 or Android 11 that suits your preference. You can find some GSI images here.
- An updated custom recovery: You will need a custom recovery that supports flashing GSIs and vendor images. You can use TWRP or OrangeFox recovery for this purpose. You can find the recovery images for your device here.
Step 2: Flash the custom recovery
You will need to flash the custom recovery image on your device using Odin. Odin is a Windows-based tool that allows you to flash firmware and files on Samsung devices. You can download Odin here.
To flash the custom recovery, follow these steps:
- Extract the Odin zip file on your PC and run the Odin.exe file as administrator.
- Power off your device and boot it into download mode by pressing and holding Volume Down + Home + Power buttons simultaneously.
- Connect your device to your PC using a USB cable. Odin should recognize your device and show a blue box in the ID:COM section.
- Click on the AP button in Odin and select the custom recovery image file that you downloaded.
- Make sure that only Auto Reboot and F. Reset Time options are checked in Odin.
- Click on Start button in Odin to begin flashing the custom recovery image.
- Once the flashing is done, Odin will show a green PASS message.