Samsung Galaxy J5 2016 (samsung-j5x): Difference between revisions
Add solution to my modem issue |
|||
(16 intermediate revisions by 5 users not shown) | |||
Line 25: | Line 25: | ||
| status_wifi = Y | | status_wifi = Y | ||
| status_xwayland = Y | | status_xwayland = Y | ||
| genericdevice=Generic MSM8916 (qcom-msm8916) | |||
| optionalgenericdevice = yes | |||
| status_fde = Y | | status_fde = Y | ||
| status_battery = N | |||
| status_battery = | |||
| status_3d = Y | | status_3d = Y | ||
| status_accel = P | | status_accel = P | ||
Line 39: | Line 40: | ||
| status_gps = Y | | status_gps = Y | ||
| status_mobiledata = Y | | status_mobiledata = Y | ||
| status_emmc = Y | |||
| status_sms = Y | | status_sms = Y | ||
| status_calls = Y | | status_calls = Y | ||
Line 51: | Line 53: | ||
| status_irrx = - | | status_irrx = - | ||
| status_stylus = - | | status_stylus = - | ||
| status_cameraflash = N | |||
| status_sdcard = Y | |||
| status_haptics = N | | status_haptics = N | ||
| status_fossbootloader = Y | |||
| status_dvb = - | | status_dvb = - | ||
| status_hdmidp = - | | status_hdmidp = - | ||
| status_ethernet = - | | status_ethernet = - | ||
| status_uart = Y | |||
| status = | | status = | ||
| booting = Y | | booting = Y | ||
| whet_dhry = | | packaged = yes | ||
| category = testing | |||
| whet_dhry = 1032.1 | |||
}}{{note|'''Note:''' This page is about '''2016''' version of [[Samsung Galaxy J5]].}} | }}{{note|'''Note:''' This page is about '''2016''' version of [[Samsung Galaxy J5]].}} | ||
== Contributors == | == Contributors == | ||
Line 66: | Line 75: | ||
{{Device owners}} | {{Device owners}} | ||
== | == 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)]] | |||
{{Device samsung-j5-common}} | {{Device samsung-j5-common}} | ||
Line 81: | Line 91: | ||
[sudo] <code>mmcli -m any --location-enable-gps-nmea</code> (if needed) | [sudo] <code>mmcli -m any --location-enable-gps-nmea</code> (if needed) | ||
<code>/usr/libexec/geoclue-2.0/demos/agent</code> | <code>/usr/libexec/geoclue-2.0/demos/agent</code> | ||
<code>/usr/libexec/geoclue-2.0/demos/where-am-i</code> ( | <code>/usr/libexec/geoclue-2.0/demos/where-am-i</code> (use with agent running!) | ||
== Proximity Sensor == | == Proximity Sensor == | ||
The driver for <code>cm36672p</code> proximity sensor is not available. There is another grip sensor <code>sx9310</code> but the interrupts doesn't work properly either. | The driver for <code>cm36672p</code> proximity sensor is not available. There is another grip sensor <code>sx9310</code> but the interrupts doesn't work properly either. | ||
== Modem == | |||
If when using [[Modem#ModemManager|ModemManager]], you encounter a timeout error with message "couldn't send PIN code to the SIM", which appears in [[Modem#Getting_ModemManager_logs|ModemManager debug logs]] as "FAILURE: Internal" when the modem is queried for its status, you may need to install the {{pmaport|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. | |||
== Dual SIM == | == Dual SIM == | ||
Line 95: | Line 108: | ||
<gallery> | <gallery> | ||
File:J5xelte.jpeg|thumb|Downstream | File:J5xelte.jpeg|thumb|Downstream | ||
File:Unixbench_20231117_104940.png|thumb|Unixbench | |||
</gallery> | </gallery> | ||
Latest revision as of 09:26, 7 August 2025
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). |
![]() | |
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 6.0.1 |
Extended version |
Android 7.1.1 |
FOSS bootloader | yes |
postmarketOS | |
Category | testing |
Mainline |
yes |
pmOS kernel |
Mainline |
Unixbench score |
1032.1 |
Optional Generic Port | Generic MSM8916 (qcom-msm8916) |
Device package |
![]() |
Kernel package |
![]() |
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: This page is about 2016 version of Samsung Galaxy J5. |
Contributors
Users owning this device
- 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). runs postmarketos.)
- Congo666 (Notes: 2x)
- Dreadlh (Notes: 2/16 GB Main phone)
- GamerTygoNL
- Gregorni (Notes: Runs postmarketOS, available for testing)
- GtrxAC (Notes: not available for testing)
- Hacker420 (Notes: Available for testing, runs pmOS.)
- Motschen (Notes: Running pmOS, not in active use)
- Natsu (Notes: Variant:J510UN)
- Plasma bsun (Notes: Dead battery(Otherwise works))
- RoDen (Notes: SM-J510FN/DS, Plasma Desktop & Mobile)
- Sasha0552
- Semfault (Notes: GN variant, only device with PMOS)
- SmP971 (Notes: testing pmOS)
- TryzenAlpensky (Notes: no issues.)
- V6lhost (Notes: J510GN/DS, Physically half-broken touchscreen)
- WonderfulShrineMaidenOfParadise
Unlock Bootloader
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
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
.
- 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 postmarketOS.
Note: Enter lk2nd fastboot mode by pressing only | + (without ). Pressing 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.
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.
Dual SIM
Samsung Galaxy J5 (2016) Duos supports dual SIM functionality but it seems to be broken.
Photos
-
Downstream
-
Unixbench