How To

Install Android P 9.0 Developer Preview 5 GSI on Project Treble Devices – Download Android P (DP5) Generic System Image

Update: The latest Android P Developer Preview 5 is now available for download. So is the Android P GSI now available for download for all the Project Treble enabled devices.

Google has been reportedly testing the Android P Generic System Image for its new Project Treble. Under this project, all the new phones shipping with Android 8.0 Oreo or later must support Treble. Google also releases the AOSP GSI for all Project Treble supported devices from various smartphone manufacturers. This means, most of the new 2018 Android device can now directly update to the latest Android OS version by installing a Generic AOSP build (or GSI). We already have the AOSP, Lineage OS, and Resurrection Remix GSI available based on 8.1 Oreo. Now, we have the first unofficial build of Android P 9.0 GSI available for all Android devices.

You can simply download the Android P GSI and flash it using a custom TWRP recovery or Fastboot mode. Meaning, you can upgrade any phone with Treble support to Android P. As this is the first Android P GSI build, it could be quite unstable for some devices. It is purely experimental build but with a lot of potential. With further support, we expect many bug fixes and support for more phones. So stay tuned and keep visiting for more updates.

Moreover, the GSI builds listed below currently only support Qualcomm SOC (Snapdragon processors). So although Galaxy S9 has Treble support, the ROM may crash a lot as the device possess a Exynos possessor.

Android P 9.0 GSI

Here is a list of tested working devices:

  • Mi 5 (gemini)
  • Redmi 4 Prime (markw)
  • Redmi 4x (santoni)
  • Redmi 3s/3x/Prime (land)
  • Zuk Z2 Plus (z2_plus)
  • Redmi Note 4 sd (mido) (Tested on PE and Lineage-ex vendors)
  • Lenovo P2 (kunato)
  • Redmi Note 5 Pro (whyred) (With mokee vendor)
  • Mi 6 (sagit)
  • LG V30 (h930)
  • Redmi 5 Plus (vince) (Tested with cardinal-aosp vendor)
  • Exynos S9+ (Unstable; as its not QCOM)
  • Redmi 4A (rolex) (crDroid Treble)
  • OnePlus 5/T (Mokee Trees)(Decryption is a must)
  • Moto G5 (Cedric)
  • Moto G5 Plus

Download Android P DP5 Generic System Image (GSI)

Following is the latest GSI based on the latest Android P Developer Preview 3 or (Beta 2). Moreover, it is an unofficial build. So it is for experimental purposes only.

Android P for A-Only partition:

Android P for A-Only partition:

This build may be highly unstable.

You will also need:

Warning: The GSI build is only for experimental purposes only. It has many bugs and broken stuff. Some of the critical features may not be working. You will also need to clean install the complete ROM. Meaning you will lose all your data, apps, etc. We won’t be responsible for a bricked device.

How to Install Android P GSI on any Android device?

How to flash for A only devices?

  • First, make sure you have a Project Treble enabled Android device.
  • It also requires a Qualcomm Snapdragon device with full treble support and Android 8.1 vendor.
  • Make sure your device has latest TWRP recovery installed.
  • Download all the files from download section above like Vendor Treble ROM (Mokee ROM recommended), Android P GSI system image, POST GSI 1,2,3 zips, and fixes too.
  • Transfer them all to your Android device storage.
  • Reboot into TWRP recovery and take a full Nandroid Backup.
  • Go to TWRP home and choose Wipe option. Wipe all the partitions except internal storage. Including vendor.
  • Flash the Treble ROM (Android P GSI system zip. File name (P-DP3-sGSI.img.zip)
  • Reboot to system and set it up.
  • Reboot into recovery mode.
  • Wipe and swipe.
  • Flash GSI ‘system’ partition only.
  • Mount Vendor in TWRP.
  • Flash Post GSI Zip 1 -> Zip 2 -> Zip 3.
  • Reboot to system.

How to flash for AB Partition device?

See the above method for detailed instructions.

  • Download and extract the Android P-DP-5-sGSI-AB zip to device storage.
  • Flash the Android P GSI zip to system.
  • Mount vendor in TWRP.
  • Again, flash POST GSI zips from 1 to 2 in priority.
  • Flash Permissiver zip and FBE_Disabler zip.
  • If your device was encrypted, then from Wipe page choose “format data”.
  • Reboot to System.

First boot may take 5-10 minutes. So be patient. once you get the Google logo, you are all set to run Android P.

Android P GSI Bug Fixes:

Download the fixes in the downloads section and flash the zip using TWRP one by one.

How to fix MTP?

Enable developer settings > Scroll down to select Default USB Configuration > Select File Transfer.

How to get blue accent like Google Pixel 2?

Add the following to your vendor/build.prop

ro.boot.vendor.overlay.theme=com.google.android.theme.pixel

How to fix One Plus 5/T Lag Fix?

Flash this Custom Kernel over P GSI

  • Flash your desired custom kernel
  • Flash POST-sGSI_3 zip
  • Reboot

Bootloop fix:

If you get any Bootloop from Bootanimation to Recovery flash FBE_Disabler zip. Later from Wipe option choose “format data”.

Thanks to developer erfanoabdi for these stunning Android P GSI builds.

Android P 9.0 GSI screenshots

Advertisements