[Samsung Galaxy J4+ Guides, News, & Discussion] celeb90210:
Hello. I am interested in GSI roms on my J415G as well.

I was trying to read your guide which I found a bit difficult to follow so I asked Copilot to make it more readable. Please check it and acknowledge if it is correct. Thanks for this btw.

How to flash GSI ROMs on Samsung Galaxy J415G

Disclaimer: This guide is based on my personal experience and may not work for everyone. Please read it carefully and follow the steps at your own risk. Some users have reported issues with downgrading to Oreo on devices that are locked by operators. You may need to contact your operator to unlock your device before proceeding. I am not responsible for any damage or data loss that may occur.

Introduction

I am a developer and compiler for many MTK devices, but this is my first Samsung device with Snapdragon. I wanted to root and install custom ROMs on it, but I could not find any device tree or vendor tree for this device. I only have the kernel source. Then I discovered that I can flash GSI (Generic System Image) ROMs on this device. GSI ROMs are system images that can run on any Android device that supports Project Treble. In this guide, I will explain how I flashed GSI ROMs on my Samsung Galaxy J415G.

Requirements

A Samsung Galaxy J415G device with Oreo firmware. You can download the Oreo firmware from here.

A Windows PC with Odin software. You can download Odin from here.

A micro SD card with enough space to store the GSI ROMs and other files. You can download the GSI ROMs from here-list).

A USB cable to connect your device to your PC.

The following files:

TWRP recovery image for Samsung Galaxy J415G. You can download it from here. Thanks to ashyx for providing this file.

Oreo enforcing.zip file. You can download it from here.

RMM bypass.zip file. You can download it from here.

Oreo patched boot.img file. You can download it from here.

Magisk.zip file. You can download it from here.

Steps

Flash Oreo firmware on your device using Odin. Make sure to uncheck the “Auto Reboot” option in Odin. After flashing, do not boot into system. Instead, power off your device and boot into recovery mode by pressing Volume Up + Power + Home buttons simultaneously.

In recovery mode, go to Wipe and choose Format Data. Type “yes” and swipe to confirm. This will erase all your data, so make sure to backup anything important before doing this.

Go back to the main menu and reboot into recovery mode again. This is necessary to avoid encryption issues.

Go to Install and choose the micro SD card as the storage. Then, flash the following files in this order: Oreo enforcing.zip, RMM bypass.zip, and Oreo patched boot.img. Do not reboot after flashing these files.

Go to Install and choose Install Image. Then, select the GSI ROM image that you want to flash and choose System as the target partition. Swipe to confirm the flashing. This may take some time depending on the size of the image.

Go back to Install and flash the Magisk.zip file. This will root your device and install Magisk Manager app.

Go to Mount and mount System partition. Then, reboot your device. Your device may reboot once or twice during the boot process, but do not worry. It should boot into the GSI ROM within a few minutes.

Enjoy your new GSI ROM. 😎👍

Notes

Not all GSI ROMs are fully functional. Some of them may have bugs or missing features. For example, MTP does not work with PC in boot mode, but it works in recovery mode. Sim card 2 works, but sim card 1 does not. FM radio does not show or work. You may need to try different GSI ROMs to find the one that suits your needs and preferences.

Here is a list of GSI ROMs that I have tested and booted successfully on my device. Some of them are based on Oreo, and some of them are based on Pie. I will post some screenshots of them later.

AEX 5.7 Oreo

AEX 6.5 Pie

AOSDP Pie (this ROM does not show network and sim cards)

AOSP by phusson Pie

Bootleggers Oreo

Descendant 3.0 Pie

Dot OS Pie (this ROM does not show network and sim cards)

Havoc OS Pie

Lineage 16 Pie

RR Oreo

RR Pie

System DU Oreo

Xenon HD Oreo

GSI ROMs with errors

Some GSI ROMs may not work properly on your device. Here is a list of GSI ROMs that I have tested and found errors:

AOSDP: This ROM does not show sim cards or network. All other features work, except for FM radio.

Evolution X: This ROM does not boot at all.

Octopus OS: This ROM does not boot either.

Viper OS Official: This ROM does not show sim cards. All other features work, except for FM radio.

Dot OS: This ROM does not show sim cards or network. It also does not have FM radio.

Liquid Remix: This ROM does not boot.

Omni ROM: This ROM boots, but it keeps rebooting constantly.

Pixel Experience: This ROM boots, but it does not show sim cards or network. It also does not have FM radio.

Please note that the Samsung Galaxy J4+ is an ARM A-only device. Do not flash any other type of GSI ROM on your device. It may cause serious damage or brick your device.