Jump to content

Template:Device samsung-j5-common

From postmarketOS Wiki

Installation

lk2nd is a secondary bootloader that provides a standard fastboot interface, which can be used to boot postmarketOS without Android boot flashed or pmbootstrap flasher flash_kernel.

  1. Download lk2nd-msm8916.img from Releases page on Github.
  2. Boot your phone to bootloader (Odin/Download) mode by holding Volume Down and Home while powering up.
  3. Follow lk2nd instructions to install lk2nd. Basically flash it to the boot partition (heimdall flash --BOOT lk2nd-msm8916.img)
  4. Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation to install postmarketOS.
Note Note: Enter lk2nd fastboot mode by pressing only Volume Down + Power (without Home). Pressing Home additionally will bring you to the Samsung Download mode.

Screen

Screen works partially. While displaying the UI works fine, adjusting the brightness doesn't work.

Battery

sm5703 charger driver is WIP, so the charging is not controlled and there is no charging status reporting.

USB OTG

Another sm5703 charger driver issue. It's currently unable to power up a usb device in mainline. Try a hub with external power supply.

Accelerometer

lis2hh12 accelerometer is not so stable for auto screen rotation, which suggests you to use fixed portrait or landscape mode.

Touch keys

The interrupts/input events are not handled properly and it needs a patched driver. See Tm2-touchkey.

NFC

The PN547 NFC chip uses a pad supply voltage (pvdd), which needs a patched driver.