Samsung Galaxy J5 2016 (samsung-j5x)
| This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Qualcomm MSM8916 (qcom-msm8916). |
|
| |
| 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 The software and version the device was shipped with. |
Android 6.0.1 |
Extended version The most recent supported version from the manufacturer. |
Android 7.1.1 |
| FOSS bootloader | yes |
| Nura | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
Nura 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 | Qualcomm MSM8916 (qcom-msm8916) |
| Device package |
|
| Kernel package |
|
| Firmware package |
|
Flashing Whether 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 Whether charging and battery level reporting work. |
Broken
|
Screen Whether the 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 | |
Wi-Fi |
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 Handles automatic screen rotation in many interfaces. |
Partial
|
Proximity |
Broken
|
Hall Effect Measures magnetic fields; usually used as a flip cover sensor |
Works
|
Haptics |
Broken
|
Contributors
Users owning this device
- Asahi (Notes: Likely dead beyond reasonable repair)
- BetaRays (Notes: SM-510FN)
- Bolilingmeng89006 (Notes: j5xnltezt)
- CharaDemon (Notes: 2/16 GB - Fourth phone, bricked)
- CharaDemon (Notes: 2/16 GB - Third phone)
- Cherryband (Notes: South Korean U+ variant (SM-J510L). running postmarketos.)
- Congo666 (Notes: 2x)
- Dreadlh
- GamerTygoNL
- Gregorni (Notes: Runs postmarketOS, available for testing)
- GtrxAC (Notes: not available for testing)
- Guest4242.xml (Notes: sm-j510h, running stock android 7.1.1)
- Hacker420 (Notes: Available for testing, runs pmOS.)
- Linuxfemboy (Notes: battery working on hopes and prayers)
- Motschen (Notes: Running pmOS, not in active use)
- Natsu (Notes: Variant:J510UN)
- Niknikovsky (Notes: LineageOS 17 I found on a random site)
- Plasma bsun (Notes: Running nura)
- RoDen (Notes: SM-J510FN/DS, Plasma Desktop & Mobile)
- Sasha0552
- Semfault (Notes: GN variant, only device with PMOS)
- SmP971 (Notes: testing pmOS)
- Thisisme333 (Notes: Running pmOS, personal use, not for testing)
- Tiarei111 (Notes: Spare device, runs PMOS with phosh)
- TryzenAlpensky (Notes: no issues.)
- V6lhost (Notes: J510GN/DS and J510F. 1x broken touch,no battery and 1x fully working(i hope))
- Wasty (Notes: Running pmOS Mainline, Camera,Brightness and battery status unfunctional. available for testing)
- WonderfulShrineMaidenOfParadise
- X7s (Notes: cracked replaced screen, currently on pmos phosh and running as a minecraft server)
- Zerkalo (Notes: running postmarketos edge)
Bootloader unlocking
| The China/HK variant (SM-J5108) needs the CROM Service app to unlock the bootloader. |
| This device is based on the Snapdragon 410. See the SoC page for common tips, guides and troubleshooting steps |
FRP Lock
WARNING: Log out of all accounts (especially Google ones!) on Android before erasing or overwriting the userdata partition. |
Installation
lk2nd is a secondary bootloader that provides a standard fastboot interface, which can be used to boot Nura without Android boot flashed or pmbootstrap flasher flash_kernel.
- Download lk2nd-msm8916.img from Releases page on Github.
- Boot your phone to bootloader (Odin/Download) mode by holding and while powering up.
- Follow lk2nd instructions to install lk2nd. Basically flash it to the boot partition (
heimdall flash --BOOT lk2nd-msm8916.img) - Follow Qualcomm Snapdragon 410/412 (MSM8916)#Installation to install Nura.
| Note: Enter lk2nd fastboot mode by pressing only + (without ). Pressing additionally will bring you to the Samsung Download mode. |
Display
Partial. While displaying the UI works fine, adjusting the brightness doesn't work.
Brightness
Currently unsupported. Needs a driver.
| WARNING: Beware "burn in" when using an (AM)OLED display on high brightness! Permanent discoloration can occur after consistent long use. Especially on some low quality OLEDs. |
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.
Modem
If when using ModemManager, you encounter a timeout error with message "couldn't send PIN code to the SIM", which appears in ModemManager debug logs as "FAILURE: Internal" when the modem is queried for its status, you may need to install the
soc-samsung-msm8916-modem-workaround package: apparently, some query commands ModemManager sends to the modem (which the package disables) can make it go into an invalid state.
GPS
TODO
Audio
The headphone microphone and buttons are probably broken. Trying to fix them.
GPS
Tested with Pure Maps & OSM Scout Server. A SIM card may be required.
$ 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 don't work properly either.
Dual SIM
Samsung Galaxy J5 (2016) Duos supports dual-SIM functionality but it seems to be broken.
Gallery
-
Downstream
-
Unixbench