Samsung Galaxy J6 Plus (samsung-j6primelte)

Contributors

 * omame

How to enter flash mode

 * 1) Turn off your Galaxy J6+.
 * 2) Hold the Volume Down and Up buttons, and plug in a USB cable to a computer.
 * 3) Let go of the Volume buttons once you see the download mode confirmation menu.

Via Android Settings

 * 1) Go to Android settings.
 * 2) Select "Developer options". If you haven't enabled developer options, then refer to the following steps:
 * 3) In Android settings, select "About phone".
 * 4) Select "Software information".
 * 5) Locate "Build number" and tap on it 7 times.
 * 6) Locate "OEM unlocking" and toggle it on (this will perform a reset, so backup any valuable data). Sometimes this option is unavailable or greyed out, but there exist methods that attempt to bring it back (various instructions to do so can be found on the web).

Other Ways
If your Android system is unusable, you can try flashing the stock ROM in order to try putting a usable system back on the phone and proceeding with the instructions for unlocking via Android settings. Stock ROMs can be downloaded from various sources online. Picking the right ROM/firmware can be tricky, as they are model-specific. Even ROMs that match your model can have different bootloader versions, which must be appropriate to the "fused" version in order to work correctly. Here is an example firmware version (bootloader version in bold):

Some phones can be "OEM unlocked" using fastboot.

Installation

 * 1) Run  . Make sure you set the manufacturer to , and the codename to.
 * 2) Run.
 * 3) Run.
 * 4) Unlock OEM if you haven't already.
 * 5) Reboot to download mode using the steps above.
 * 6) If you want to install the rootfs to system, run.
 * 7) If you want to install the rootfs to userdata instead for more disk space, run.

Entering SSH

 * 1) Plug in your phone to your computer. It should show up as a USB RNDIS host.
 * 2) Check what the RNDIS host is registered as using the   command. In my case, it's.
 * 3) Run , replacing   with the output from step 2.
 * 4) You should be now able to SSH to your phone via.

What doesn't work
(!) DirectFB/FBDev: Could not disable console acceleration! --> Invalid argument (!) DirectFB/Core: Could not initialize 'system_core' core! [   19.023] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument [   19.023] (EE) FBDEV(0): mode initialization failed [   19.023] (EE) Fatal server error: [   19.023] (EE) AddScreen/ScreenInit failed for driver 0
 * Hardware acceleration is broken due to no /dev/dri/, there's only /dev/fb0 (and /dev/fb1, but it's not used as the main display).
 * charging-sdl doesn't work due to DirectFB crashing with:
 * Xorg doesn't work either with a similar error:
 * ALSA sees the audio devices but can't manage them (we need to xml2uml the mixer_paths.xml most likely)