Samsung Galaxy J6 2018 (samsung-j6y18lte)

Contributors

 * sleirsgoevy - based on your A6 2018 build
 * lucasredelive (KuuroZero)

How to enter flash mode

 * Recovery: Power on the device by holding and.
 * Download: Hold and  while plugging the device to a computer with an USB cable.
 * Hard reboot: Press and hold and  for 7 seconds.

Unlocking the bootloader

 * 1) Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
 * 2) Return to the main settings page and go to the developer options
 * 3) In developer options, enable OEM unlocking. Make sure you have an internet connection if it doesn't show up.

Installation

 * 1) Unlock the bootloader if not done.
 * 2) Select   and Xfce4 UI with
 * 3) Generate the rootfs with   to install postmarketOS to the phone or   to install it on an SD card.
 * 4) Generate the flashable images with  . They will be stored in , or you can specify another location like this:
 * 5) Reboot into download mode
 * 6) Flash postmarketOS with   (replace the paths if necessary). If you installed to an SD card, specify only the BOOT argument. Also you may choose the bigger USERDATA partition for the system image.
 * 7) The phone should reboot straight into postmarketOS.

Note: installation with  and   will probably work, but this is untested.