How to Install AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus [GSI Phh-Treble]

Here we will guide you on how to download and install AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus (J415F/FN/G/DS). This ROM is based on Android 9.0 Pie GSI with Treble Enabled. GSI stands for a Generic System image. The moniker “Generic” implies that such software images could be installed on any Treble-enabled device, irrespective of the manufacturer they belong to. We already shared the complete list of devices supported for Android Pie 9.0 Generic System image (GSI).

Now we have good news for Samsung Galaxy J4 Plus users. You can now download and install the AOSP Android Pie 9.0 GSI on Samsung Galaxy J4 Plus. Full Credits to the XDA Recognized Developer phhusson who is the great man behind the work of Project Treble GSI build. Recently, The ROM development community has completely boosted Custom ROM development with the help of Project treble. We’ve seen the Lineage OS, Resurrection Remix, Mokee OS, Pixel Experience has made their way to support most of the budget device based on Kirin, Exynos, Lineage, and other obscure brands.

To install AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus, your device should have Bootloader Unlocked and should be running on latest TWRP Recovery or you can flash via ADB sideload method. If you have all this, then you are good to try the new Android 9.0 Pie on your device. Follow our guide on how to upgrade, but before that. Let’s understand the features of Android 9.0 Pie.

How to Install AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus [GSI Phh-Treble]

What’s on Android 9.0 Pie?

Android 9.0 Pie is the 9th iteration and a major update of Google’s Android OS. The new Android Pie brings a couple of design changes to the successor Android Oreo but the most notable one is the gesture-based navigation system. Other features of Android 9 Pie are New Quick Settings UI design, Redesigned volume slider, Advanced Battery with AI Support, Notch Support, Improved Adaptive Brightness, Manual theme selection, Android Dashboard which Google calls Digital Wellbeing, and more other features.

Features of Android 9.0 Pie:

  1. Indoor navigation with Wi-Fi RTT
  2. Gesture Navigation
  3. Dashboard
  4. App Timer
  5. Wind Down
  6. Notch support
  7. App Actions and Slices
  8. Lockdown mode
  9. Zoom in text
  10. Smarter Notification Channels
  11. Improvement in messaging apps
  12. An easier way to take screenshots and edit them
  13. Auto-Rotate Button
  14. Dark theme
  15. Increased security
  16. Default HTTPS for apps
  17. Pair up to 5 Bluetooth devices
  18. Alert tone to notify call recordings
  19. Media Panel UI change
  20. Support for HEIF image and HDR VP9 video format
  21. Autofill in browsers
  22. 157 new emojis
  23. Ambient Display for Battery Percentage
  24. Adaptive Battery
  25. Adaptive Brightness
  26. ART improvements

Guide to Install AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus (J415F/FN/G/DS)

If you are looking to install the latest version of Android OS on your device, then please follow this guide below to enjoy Android 9.0 Pie update for Samsung Galaxy J4 Plus.


ROM is still under experiments. GetDroidTips will not be responsible for any internal/external damages to the device that may happen while/after following this guide. This ROM may or may not be completely stable and we don’t recommend you to try this ROM as a daily driver. So far this ROM worked smoothly on many devices.

Pre-Requisites:

Required ROM and Gapps Package:

arm = 32 bit arm processor
arm64 = 64 bit arm processor
aonly = a partition scheme
ab = ab partition scheme
vanilla = there is no Gapps installed
Gapps = Gapps are installed
floss = an open source alternative to Gapps
SU = superuser (root)
noSU = no superuser (no root)

You need only the GAPPS version to download and install AOSP Android Pie. Vanilla is basically plain w/o GAPPS, and FLOSS is with Open Source alternatives to the GAPPS.

If you face bootloop then flash the Vanilla version and then you can install the OpenGapps or any other alternative Gapps.

Instructions to Flash:

To flash the AOSP Android 9.0 Pie on Samsung Galaxy J4 Plus, you can either use the TWRP Recovery method or you can flash via ADB Sideload method. If you already have, then make sure to download the above-given links.

Method 1: Install via TWRP Recovery

  1. First of all, make sure to download and move all the above required ROM packages on your Samsung Galaxy J4 Plus Internal storage.
  2. You can now extract the GSI and vendor+boot zips [Complete Guide on How to extract any Zip file on Android devices.]
  3. Now reboot your phone into TWRP Recovery and Swipe Allow Modifications (Appears for the first time only)
  4. Once you are in TWRP Recovery, first of all. Take a complete backup of stock or custom ROM using TWRP.
  5. Now wipe the cache, data, and system before flashing the Android Pie 9.0 on Samsung Galaxy J4 Plus.
  6. To Wipe data: Go to Wipe —> Advanced Wipe and select Dalvik/ART cache, cache, System, Vendor, and Data and then swipe to wipe. [su_note note_color=”#fef0ef” text_color=”#000000″]Warning: Make sure not to select Internal storage[/su_note]
    TWRP-Wipe-System-Data-and-Cache-Screenshot
  7. Now you can install the System image file in TWRP: Install -> Install Image -> select system.img
  8. That’s it! Reboot and enjoy!

Method 2: Install via ADB Sideload

—> How to Install Generic System Image on Project Treble Devices

I hope this guide was helpful to install the Android 9.0 Pie on Samsung Galaxy J4 Plus (J415F/FN/G/DS) based on Project Treble GSI images.

If this method doesn’t work, then go to the AOSP 9.0 Phh-Treble thread in XDA and report your issue.

Source: XDA || Credits to phhusson

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.