[Samsung Galaxy J5 Guides, News, & Discussion] American_Jesus:
About:

DualBootPatcher is an open-source app that allows multiple ROMs to be installed on a single Android device. It does its best to work with existing code and does not require explicit support from ROMs.

Supported devices:

J500F

J500FN

J500G

J500H

J500M

J500Y

J5008

How to use:

Download and install last apk.

On the app, select "Patch Zip File" from the menu.

Tap on the FAB (+ icon) and select "Add flashable zip" and choose a (secondary) ROM that you want to patch.

Select a partition, and give an ID if required (lowercase letters and number only)

Tap on check icon at top right corner to confirm.

Go to ROMs (from the menu) and tap on bottom right icon, and select the patched ROM. Or can be flashed from Recovery

How to change ROM:

There are two methods:

Use the app:

Go to ROMs and select a ROM to boot taping on it

Use Boot UI:

Go to Settings and "Install Boot UI", next on each ROM (even primary) tap on 3dot menu and tap on "Update ramdisk. When a ROM is booted a menu will appear, cancel countdown and select the ROM to boot.

Partition Configuration:

Primary: This is normally used for installing a zip to the primary ROM. It is not required, but is strongly recommended because it has code to prevent the zip from inadvertently affecting other ROMs.

Secondary: Dual/Secondary is the first multiboot installation location. It installs to the system partition. This is a good spot for installing a second ROM because it doesn't take any space away from the internal storage.

Multi-slots: There are 3 multislots: multi-slot-1, multi-slot-2, multi-slot-3. These install to the cache partition. This is specifically for devices, like the Galaxy S4, that have a massive cache partition.

Data-slots: There can be an unlimited number of data slots. These install to the data partition and eat up space on the internal storage. This is useful for devices where the system partition is nearly full and the cache partition is tiny. These slots are named "data-slot-[id]", where "id" is something you provide in the app.

Extsd-slots: There can be an unlimited number of extsd slots. These install to the external SD card, which is useful as it keeps the ROMs off of the internal storage. Note that the ROM's data files are still stored on the data partition.

FAQ:

Switch the ROM if something doesn't work properly?

You can flash the DualBootUtilities zip from recovery. It will provide a menu interface that allows switching to the various ROMs.

If you have TWRP, you can also switch manually by tapping Install -> Images (bottom right) -> Go to /sdcard/MultiBoot/[Your ROM]/ -> flash boot.img.

Wipe /cache, /data, /system, or dalvik-cache?

The easiest way is to do it from the app while booted in another ROM. Just go to "Roms" in the navigation drawer, tap the 3 dots options menu for the ROM you want to wipe, and tap "Wipe ROM".

Alternatively, flash the DualBootUtilities zip from recovery, which will also allow you to wipe a ROM.

NOTE: Don't use the recovery's built-in wiping abilities as that may delete non-primary ROMs!

Update the primary ROM?

Patch the zip for primary and flash it. The "primary" installation target is designed so that other ROMs won't be affected when you want to flash something for the primary ROM.

Update a non-primary ROM?

Patch and flash the zip exactly like how you did it the first time.

Flash a mod or custom kernel for the primary ROM?

Patch it for primary before flashing. If the zip does not wipe /cache, it is also safe to flash it directly.

Flash a mod or custom kernel for a non-primary ROM?

Just patch and flash it :)

Downloads:

https://dbp.noobdev.io/downloads/

Dual Boot Patcher (Snapshots) and DualBootUtilities recovery zip

Contributors:

[MENTION=4277844]chenxiaolong[/MENTION]

Source code:

https://github.com/chenxiaolong/DualBootPatcher

Official Thread:

https://xdaforums.com/showthread.php?t=2447534

ISSUES

Recoveries

[OFFICAL] TWRP 3.1.1 by [MENTION=7569388]vince2678[/MENTION] : wrong model name, returns with error fixed since 2017-06-20 build

TWRP 3.1.1 by [MENTION=7138840]ganesh varma[/MENTION] : Boot loops to recovery

ROMs

(Report any issues with ROMs)