Android P is currently on its fourth Developer Preview (third beta), and like every Android developer preview before it, is closed source until the final release. This means developers can’t compile Android 9.0 builds for your device, so you will have to wait for Google to drop the official source code for the release before you can enjoy a custom ROM based on it. But the lack of source code hasn’t stopped XDA Recognized Developererfanoabdi, who initially led the pack with his unofficial Android P port for the Motorola Moto Z, based on that device’s unofficial Project Treble implementation. And thanks to his work, you can now install and test out Android P on many Qualcomm Snapdragon-powered Project Treble-enabled devices (both officially supported and unofficially supported).
An Unofficial Android P Beta Port for Project Treble-Enabled Devices.
Calling this a Generic System Image (GSI) would be inaccurate as this port only functions somewhat well on a handful of devices, all of them Snapdragon devices. It should be further noted that this wasnotcompiled from actual, stable Android 9.0 source code. Rather, this port was built from the Google Pixel XL’s Android P Developer Preview 3 system image, but with a ton of hacks to make it bootable on other devices. Your mileage in getting this working will heavily vary (it somehow boots on the Exynos Samsung Galaxy S9, though it’s far from stable on that device), but given that this isn’t really a GSI, don’t expect it to work bug-free on your Treble-enabled device. Have some backups handy if you plan to install it.If you want a more stable release of Android 9.0 for your Treble-enabled device, wait for Google to release the source code next month so proper GSIs can be compiled from source.
If you’re interested to try it out right now, click the button below.Unofficial Android P beta for Project Treble-enabled devices