Samsung Galaxy A6+ 2018 (samsung-a6plte)

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.
 * lk2nd: Power on the device by holding and.

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 the edge branch, then   and your favorite UI with
 * 3) Generate the rootfs with   to install postmarketOS to the phone or   to install it on an SD card.
 * 4) Reboot into download mode
 * 5) Flash lk2nd (alternative bootloader that provides a standard fastboot interface) with  . The device should automatically boot into lk2nd afterwards.
 * 6) Flash the Linux kernel with
 * 7) Flash postmarketOS with   or   to flash it to the bigger userdata partition. Skip this step if you have installed postmarketOS to an SD card.
 * 8) Reboot the phone with   or by selecting START in lk2nd with the power button.