Samsung Galaxy J5 2016 (samsung-j5x)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Samsung Galaxy J5 (2016)
Manufacturer Samsung
Name Galaxy J5 (2016)
Codename samsung-j5x
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 410 (MSM8916)
CPU Quad-core 1.2 GHz Cortex-A53
GPU Adreno 306
Display 5.2" 720x1280 Super AMOLED
Storage 16 GB
Memory 2 GB
Architecture aarch64
Software
Original software Android
Original version 6.0.1
Extended version 7.1.1
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Mainline
Unixbench Whet/Dhry score 1032.1
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Broken
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
NFC
Broken
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Partial
Sensors
Accelerometer
Partial
Proximity
Broken
Hall Effect
Works
Haptics
Broken
Note Note: This page is about 2016 version of Samsung Galaxy J5.


Contributors

Users owning this device


Unlock Bootloader

Note the China/HK variant (SM-J5108) need the app crom service to unlock bootloader

See Category:Bootloaders/Unlock Bootloaders#Crom_Service_(For_some_Samsung_phones_only)

This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps

FRP Lock

Icon WARNING: Logout / delete all of the accounts (especially Google ones) in Android first, before you wiping out or flashing pmOS to partition userdata.

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.

Audio

The headphone microphone and buttons are probably broken. Trying to fix them.

GPS

Tested with Pure Maps & OSM Scout Server.

Also, SIM-card may be required!

[sudo] mmcli -m any --location-enable-gps-nmea (if needed)

/usr/libexec/geoclue-2.0/demos/agent

/usr/libexec/geoclue-2.0/demos/where-am-i (use with agent running!)

Proximity Sensor

The driver for cm36672p proximity sensor is not available. There is another grip sensor sx9310 but the interrupts doesn't work properly either.

Dual SIM

Samsung Galaxy J5 (2016) Duos supports dual SIM functionality but it seems to be broken.

Photos

See also