Jump to content

Samsung Galaxy A5 2015 (samsung-a5): Difference between revisions

From postmarketOS Wiki
RoDen (talk | contribs)
No edit summary
RoDen (talk | contribs)
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
<!-- Main -->
| manufacturer = Samsung
| manufacturer = Samsung
| name = Galaxy A5
| name         = Galaxy A5 (2015)
| codename = samsung-a5
| codename     = samsung-a5
| image = File:Samsung-a5lte-with-operator-name.jpg
| model        = SM-A5000 - SM-A500W
| image       = File:Samsung-a5lte-with-operator-name.jpg
| imagecaption = Samsung Galaxy A5
| imagecaption = Samsung Galaxy A5
| releaseyear = 2014
| releaseyear = 2014
| prereleaseyear = <!-- If the device was announced earlier than release -->
 
| booting = yes
| status  = <!-- Text displayed in the non-booting box, e.g "kernel compiles, doesn't boot" -->
 
| packaged = yes
| category = community
| category = community
| originalsoftware = Android
 
| originalversion = 4.4.4
 
<!-- Hardware -->
| chipset = Qualcomm Snapdragon 410 (MSM8916)
| chipset = Qualcomm Snapdragon 410 (MSM8916)
| cpu = 4x 1.2 GHz Cortex-A53
| cpu     = 4x 1.2 GHz Cortex-A53
| gpu = Adreno 306
| gpu     = Adreno 306
| som    = <!-- Only applicable for carrier boards -->
| display = 5 inch 16:9, 720 x 1280 AMOLED
| storage = 16 GB
| storage = 16 GB
| display = 5 inch 16:9, 720 x 1280 AMOLED
| memory = 2 GB
| memory = 2 GB
| architecture = aarch64
| architecture = aarch64
| type = handset
| wp_type =  
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
 
| status_usbnet = Y
 
| status_flashing = Y
<!-- Software -->
| status_touch = Y
| originalsoftware = Android
| status_screen = P
| originalversion  = 4.4.4
| status_wifi = Y
| extendedversion  = 6.0.1
| status_xwayland = Y
| optionalsoftware = <!-- Other OS options -->
| status_fde = Y
| status_mainline = Y
| status_battery = Y
| status_3d = Y
| status_accel = Y
| status_magnet = Y
| status_light = N
| status_proximity = N
| status_hall = Y
| status_audio = Y
| status_bluetooth = Y
| status_camera = N
| status_gps = Y
| status_mobiledata = Y
| status_emmc = -
| status_sms = Y
| status_calls = Y
| status_otg = Y
| status_nfc = Y
| status_barometer = -
| status_powersensor = -
| status_keyboard = -
| status_touchpad = -
| status_usba = -
| status_irtx = -
| status_irrx = -
| status_stylus = -
| status_cameraflash = N
| status_sdcard = Y
| status_haptics = Y
| status_fossbootloader = Y
| status_fossbootloader = Y
| status_dvb = -
 
| status_hdmidp = -
 
| status_ethernet = -
<!-- PostmarketOS -->
| status =  
| type          = handset
| booting = yes
| pmoskernel    = Mainline
| pmoskernel = Mainline
| whet_dhry    = 1028.8
| whet_dhry = 1028.8
| genericdevice = Generic MSM8916 (qcom-msm8916)
| optionalgenericdevice = yes
| kernelpackage = <!-- {{Kernel package|device-codename|category}} -->
| devicepackage = <!-- {{Device package|device-codename|category}} -->
| firmwarepackage = <!-- {{Firmware package|device-codename|category}} -->
 
<!-- Warning / Note boxes / Miscellaneous -->
| supported      = yes <!-- no if device cannot run postmarketOS (see [[Category:Unsupported Devices]]) -->
| prebuiltimages = no  <!-- yes if prebuilt images are aviable on the pmOS website -->
| boot_internal_storage = <!-- no if the device can't boot from internal storage -->
| bootable_media = <!-- Specify the media type that can be used to boot pmOS, e.g "USB Stick" -->
| changearch    = <!-- Optional, text displayed in the "changearch" box, e.g "armv7" -->
 
| initial_MR  = <!-- {{MR|CHANGE_ME|pmaports}} -->
| related_post = <!-- {{Lemmy|CHANGE_ME_TO_POST_ID}} -->
 
 
 
<!-- Features -->
<!--
For each of the following questions about device functionality, please respond as follows:
- Y for Yes    - if the feature works as expected
- P for Partial - if the feature works partially
- N for No      - if the feature does not work
- - for N/A    - if the feature is not applicable for the device
-  Leave blank - if the feature has not been tested
-->
 
<!-- Main Features -->
| status_flashing = Y <!-- Flashing with pmbootstrap -->
| status_usbnet  = Y <!-- USB networking -->
| status_emmc    = Y <!-- Internal storage -->
| status_sdcard  = Y <!-- SD card support -->
| status_battery  = Y <!-- Battery percentage/charging -->
| status_screen  = P <!-- Built-in display/embedded display connector -->
| status_touch    = Y <!-- Touchscreen -->
| status_keyboard = - <!-- Build in Physical Keyboard -->
| status_touchpad = - <!-- Build in Physical Touchpad -->
| status_stylus  = - <!-- Stylus/digital pen -->
 
 
<!-- Multimedia Features -->
| status_3d    = Y <!-- 3D acceleration -->
| status_dvb   = - <!-- TV tuner -->
| status_audio  = Y <!-- Speakers/headphones -->
| status_camera = N <!-- Rear/front cameras -->
| status_cameraflash = N <!-- Flash/torch -->
| status_irtx  = - <!-- IR transmitter -->
| status_irrx  = - <!-- IR receiver -->
 
 
<!-- Connectivity Features -->
| status_wifi  = Y <!-- Wi-Fi -->
| status_bluetooth = Y <!-- Bluetooth -->
| status_ethernet = - <!-- Wired Ethernet -->
| status_gps  = Y <!-- GPS -->
| status_nfc  = Y <!-- NFC -->
| status_calls = Y <!-- Cellular calls -->
| status_sms  = Y <!-- SMS -->
| status_mobiledata = Y <!-- Mobile data -->
 
 
<!-- Miscellaneous Features -->
| status_fde  = Y <!-- Full Disk Encryption -->
| status_usba = - <!-- USB-A ports -->
| status_sata = - <!-- SATA -->
| status_otg  = Y <!-- USB OTG -->
| status_hdmidp = - <!-- HDMI/DisplayPort -->
 
 
<!-- Sensors -->
| status_accel    = Y <!-- Accelerometer -->
| status_magnet    = Y <!-- Magnetometer -->
| status_light    = N <!-- Ambient light -->
| status_proximity = N <!-- Proximity sensor -->
| status_hall      = Y <!-- Hall effect -->
| status_haptics  = Y <!-- Vibration/haptics -->
| status_barometer = - <!-- Barometer -->
| status_powersensor = - <!-- Power sensor -->
 
 
<!-- U-Boot (optional, for devices running U-Boot) -->
<!--
| status_uboot          =
| status_uboot_primary  =
| status_uboot_secondary =
| status_uboot_mainline  =
| status_uboot_internalstorage =
| status_uboot_sd        =
| status_uboot_usbhost  =
| status_uboot_usbperipheral =
| status_uboot_screen    =
| status_uboot_keyboard  =
| status_uboot_buttons  =
-->
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}


Line 70: Line 145:
== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
{{410common issue waking the screen in xorg}}
{{Device samsung-a2015}}
 
== Architecture ==
Some variants are released with Kitkat 4.4, which doesn't boot arm64 kernel, so upgrade to Lollipop 5.0 or later first.
 
== Installation ==
There are several ways to install postmarketOS on Samsung Galaxy A5 2015. All of them require you to flash '''lk2nd'''.
 
=== First, install lk2nd: ===
{{lk2nd|samsung=true|target=msm8916}}
 


== Partition layout ==
== Partition layout ==
Line 129: Line 194:
Plasma works smoothly, but there are some graphical glitches sometimes.
Plasma works smoothly, but there are some graphical glitches sometimes.
{{note|Touch key work on Samsung Galaxy A5 2015 (samsung-a5) but may not work on Samsung Galaxy A5 Duos (it confimed to not work on Samsung Galaxy A5 Duos SM-A5000)}}
{{note|Touch key work on Samsung Galaxy A5 2015 (samsung-a5) but may not work on Samsung Galaxy A5 Duos (it confimed to not work on Samsung Galaxy A5 Duos SM-A5000)}}
{{Device samsung-a2015}}


== Ambient Light/Proximity Sensor ==
== Ambient Light/Proximity Sensor ==
Line 135: Line 199:


== Mobile Data ==
== Mobile Data ==
2G and 3G working.  
2G and 3G are working.  
4G not working. Need to got to Setting, Mobile Data, Network Mode and select 2G, 3G (Preferred)
4G is not working. Need to got to Setting, Mobile Data, Network Mode and select <code>2G, 3G (Preferred)</code>
 
== Dual Sim ==


Samsung Galaxy A5 Duos support dual sim but Samsung Galaxy A5 dont
== Dual SIM ==
Samsung Galaxy A5 Duos supports dual SIM but Samsung Galaxy A5 doesn't.


== Photos ==
== Photos ==

Latest revision as of 20:09, 6 July 2025

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 A5 (2015)
Samsung Galaxy A5
Samsung Galaxy A5
Manufacturer Samsung
Name Galaxy A5 (2015)
Codename samsung-a5
Model SM-A5000 - SM-A500W
Released 2014
Type handset
Hardware
Chipset Qualcomm Snapdragon 410 (MSM8916)
CPU 4x 1.2 GHz Cortex-A53
GPU Adreno 306
Display 5 inch 16:9, 720 x 1280 AMOLED
Storage 16 GB
Memory 2 GB
Architecture aarch64
Software
Android 4.4.4
Android 6.0.1
FOSS bootloader yes
postmarketOS
Category community
no
yes
Mainline
1028.8
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Device package device-samsung-a5
Kernel package linux-postmarketos-qcom-msm8916
Features
Works
Works
Works
Works
Works
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Works
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Works
Works
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
Works
Works
Sensors
Works
Works
Ambient Light
Broken
Proximity
Broken
Works
Haptics
Works


Contributors

Users owning this device

Architecture

Some variants are released with Kitkat 4.4, which doesn't boot arm64 kernel, so upgrade to Lollipop 5.0 or later first.

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.

Audio

Warning WARNING: The speakers are rather loud on 100% volume and may produce distorted sound that may damage your speakers after long use. Please make sure to use reasonable volumes - your ears and your speaker will thank you!

Screen

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

Touch keys

See Tm2-touchkey.

Flash LED

Currently WIP. It can be controlled with SG Micro SGM3140 charge pump LED driver[1].

Partition layout

Disk /dev/mmcblk0: 14.68 GiB, 15758000128 bytes, 30777344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Device            Start      End  Sectors Name    
/dev/mmcblk0p1     8192    38911    30720 apnhlos 
/dev/mmcblk0p2    38912   156543   117632 modem 
/dev/mmcblk0p3   156544   157567     1024 sbl1   
/dev/mmcblk0p4   157568   157631       64 ddr     
/dev/mmcblk0p5   157632   161727     4096 aboot   
/dev/mmcblk0p6   161728   162751     1024 rpm     
/dev/mmcblk0p7   162752   163775     1024 qsee    
/dev/mmcblk0p8   163776   164799     1024 qhee    
/dev/mmcblk0p9   164800   170943     6144 fsg     
/dev/mmcblk0p10  170944   170975       32 sec     
/dev/mmcblk0p11  170976   192511    21536 pad     
/dev/mmcblk0p12  192512   212991    20480 param   
/dev/mmcblk0p13  212992   241663    28672 efs     
/dev/mmcblk0p14  241664   247807     6144 modemst1
/dev/mmcblk0p15  247808   253951     6144 modemst2
/dev/mmcblk0p16  253952   280575    26624 boot    
/dev/mmcblk0p17  280576   311295    30720 recovery
/dev/mmcblk0p18  311296   337913    26618 fota
/dev/mmcblk0p19  337914   352231    14318 backup
/dev/mmcblk0p20  352232   358375     6144 fsc     
/dev/mmcblk0p21  358376   358391       16 ssd     
/dev/mmcblk0p22  358392   374775    16384 persist 
/dev/mmcblk0p23  374776   393207    18432 persdata
/dev/mmcblk0p24  393208  5275639  4882432 system  
/dev/mmcblk0p25 5275640  5685239   409600 cache   
/dev/mmcblk0p26 5685240 30777303 25092064 userdata

Plasma Mobile

Plasma mobile currently works on A5 2015, but you should set custom scaling factor to 2.

kscreen-doctor output.1.scale.2 should work.

To run this command from ssh session add the following env variables to the above command:

XDG_RUNTIME_DIR=/run/user/10000 QT_QPA_PLATFORM=wayland kscreen-doctor output.1.scale.2

Plasma works smoothly, but there are some graphical glitches sometimes.

Note Touch key work on Samsung Galaxy A5 2015 (samsung-a5) but may not work on Samsung Galaxy A5 Duos (it confimed to not work on Samsung Galaxy A5 Duos SM-A5000)

Ambient Light/Proximity Sensor

The driver for tmd3782 ambient light/proximity sensor is not available.

Mobile Data

2G and 3G are working. 4G is not working. Need to got to Setting, Mobile Data, Network Mode and select 2G, 3G (Preferred)

Dual SIM

Samsung Galaxy A5 Duos supports dual SIM but Samsung Galaxy A5 doesn't.

Photos

See also

References