[GUIDE] Install GSI on Galaxy S9 Snapdragon

FedericoPeranzi

Senior Member
May 28, 2012
746
238
0
La Plata


I'm not responsible for whatever damage this could possibly cause to your device.

Some information you should know..

Full TREBLE Documentation here https://source.android.com/devices/architecture
Generic System Image (GSI) Documentation here : https://source.android.com/setup/build/gsi
Make sure you install TWRP - thanks to klabit87

For S9: https://twrp.me/samsung/samsunggalaxys9qcom.html

For S9+: https://twrp.me/samsung/samsunggalaxys9plusqcom.html

If any bugs you face, Report them to the appropriate Threads of the GSI you installed or github issues section, as those are not mine to fix i only provide Guide that allows GSIs to run on.

- STEPS FOR INSTALLING GSIs:

#IMPORTANT: The GSI security patch and the Samsung Official Firmware MUST MATCH
  • Download the desired GSI (it MUST be A-only_arm64 Variantfor Pie vendor, and AB_arm64 Variant for Q vendor)
  • Unpack it if it wasn't in .IMG format
  • Wipe DATA, and reboot in TWRP
  • Wipe Dalvik Cache, Data, System, Internal Storage and reboot in TWRP
  • Go to TWRP , Install , Install IMAGE
  • Pick your GSI and select SYSTEM IMAGE
  • Install the kernel for GSI GSI Kernels
  • In TWRP mount System, then go to ADVANDED, File Manager, and delete this file: system/bin/rw_system.sh (Ignore this for Android 10)
  • Reboot system


- KNOWN BUGS:
  • No Network bars (on andiod Pie) (Calls/data works)
  • Fix Signal issue on Android 10 : Link

Best GCam for S9 Snapdragon:

GCam S9

GSI tested:

Phh-Treble

PixelExperience P

PixelExperience 10 BETA

Havoc-OS


ROM OS Version: 10.x
ROM Kernel: Linux 4.x

Created 2019-06-23
Last Updated 2019-12-01

News 2019-07-14:

Now the brightness works, you just have to do this:
Update the phone to the July security patch (This updates the vendor)
Then download the July patch of any GSI
Follow this Guide and enoy it.

News 2019-09-26:

The Autobrightness and the Ambient Dispplay works, you just have to do this:
Update the phone to the September security patch (This updates the vendor)
Then download the August / September GSI Image.
Follow this Guide.
Install the attached fix

News 2019-10-31:

Fix the fingerptint
To fix it you have to edit system/vendor/build.prop
Change this line: ro.vendor.build.fingerprint=samsung to ro.vendor.build.fingerprint=Samsung

News 2019-11-30:

Android 10 it's working with the last Samsung november security patch.

News 2020-01-02:

Fix bluetooth and headset audio on Android 10 GSI
To fix it you have to install the attached file: Fix_GSI_Sound
 

Attachments

Last edited:

Kaz205

Member
Mar 20, 2019
33
3
18
Kanagawa
Have you unlocked bootloader and rooted previously?
Yep. Multiple times.

---------- Post added at 02:21 PM ---------- Previous post was at 02:19 PM ----------

Have you unlocked bootloader and rooted previously?
@Kaz205
@megaxp

To fix bootloop do this:

Thanks! Gonna try this out. Also, is the "Disable Force Encryption" file the same as "dm verity opt encrypt"?
 

FedericoPeranzi

Senior Member
May 28, 2012
746
238
0
La Plata