Jump to content

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
The version the device was shipped with.
6.0.1
Extended version
The most recent supported version from the manufacturer.
7.1.1
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
Mainline
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
1032.1
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
NFC
Near Field Communication
Broken
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching
Partial
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Partial
Proximity
Broken
Hall Effect
Also known as flip cover sensor
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)

FRP Lock

Warning 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.

Fuel Gauge/Charger

sm5703 charger/fuel gauge ic of this device and its 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