Difference between revisions of "Samsung Galaxy A5 2015 (samsung-a5ulte)"

From postmarketOS
Jump to navigation Jump to search
(Hildon doesn't exist anymore in pmos me thinks)
 
(24 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
| manufacturer = Samsung
 
| manufacturer = Samsung
 
| name =  Galaxy A5 (2015)
 
| name =  Galaxy A5 (2015)
| codename = samsung-a5ulte
+
| codename = samsung-a5ulte, samsung-a5lte
| image = File:a5ulte_pmos.png
+
| image = File:Samsung-a5lte-with-operator-name.jpg
 
| imagecaption = Samsung Galaxy A5
 
| imagecaption = Samsung Galaxy A5
 
| releaseyear = 2014
 
| releaseyear = 2014
 +
| category = community
 
| originalsoftware = Android 4.4.4
 
| originalsoftware = Android 4.4.4
| chipset = Qualcomm Snapdragon 410, MSM8916
+
| chipset = Qualcomm MSM8916 Snapdragon 410
| cpu = 4x ARM Cortex A53 @ 1.2 GHz
+
| cpu = 4x 1.2 Ghz Cortex-A53
 
| gpu = Adreno 306
 
| gpu = Adreno 306
 
| storage = 16 GB
 
| storage = 16 GB
Line 18: Line 19:
 
| status_flashing = Y
 
| status_flashing = Y
 
| status_touch = Y
 
| status_touch = Y
| status_screen = Y
+
| status_screen = P
 
| status_wifi = Y
 
| status_wifi = Y
 
| status_xwayland = Y
 
| status_xwayland = Y
 
| status_fde =
 
| status_fde =
 
| status_mainline = Y
 
| status_mainline = Y
| status_battery = P
+
| status_battery = Y
 
| status_3d = Y
 
| status_3d = Y
 
| status_accel = Y
 
| status_accel = Y
| status_audio = P
+
| status_audio = Y
 
| status_bluetooth = Y
 
| status_bluetooth = Y
| status_camera =
+
| status_camera = N
 
| status_gps =
 
| status_gps =
 
| status_mobiledata =
 
| status_mobiledata =
| status_sms =
+
| status_sms = Y
| status_calls =
+
| status_calls = Y
 
| status =  
 
| status =  
 
| booting = yes
 
| booting = yes
 
| pmoskernel = Mainline
 
| pmoskernel = Mainline
 
+
| whet_dhry = 912.7
<!--
 
| whet_dhry = 0.0
 
-->
 
 
}}
 
}}
  
Line 48: Line 46:
 
== Users owning this device ==
 
== Users owning this device ==
 
{{Device owners}}
 
{{Device owners}}
 +
 +
== Supported variants ==
 +
* '''SM-A500F:''' Choose <code>samsung-a5lte</code>.
 +
* '''SM-A500FU:''' Choose <code>samsung-a5ulte</code>.
 +
* Adding support for one of the other variants is likely trivial.
  
 
== Installation ==
 
== Installation ==
 
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd] (alternative bootloader that provides a standard fastboot interface)
 
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd] (alternative bootloader that provides a standard fastboot interface)
 
# Follow the [[Installation guide]]
 
# Follow the [[Installation guide]]
 +
# If you don't install wifi firmware, display won't work
  
 
{{note|'''Note:''' Enter lk2nd fastboot mode by pressing only Volume Down + Power ('''not''' the Home button). Pressing the Home button additionally will bring you to the Samsung Download mode.}}
 
{{note|'''Note:''' Enter lk2nd fastboot mode by pressing only Volume Down + Power ('''not''' the Home button). Pressing the Home button additionally will bring you to the Samsung Download mode.}}
  
 
== Audio ==
 
== Audio ==
<!-- TODO: Share this between all MSM8916 devices -->
+
{{note|'''Note:''' 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!}}
Everything is muted by default and must be enabled through alsaucm. Unfortunately, the tool is not very user-friendly.
+
 
 +
See [[Qualcomm_Snapdragon_410_(MSM8916)#Audio]].
 +
 
 +
== Modem ==
 +
See [[Qualcomm_Snapdragon_410_(MSM8916)#Modem]].
 +
 
 +
== Screen ==
 +
 
 +
Screen works partially. While displaying the UI works fine, adjusting the brightness doesn't work.
 +
 
 +
== Plasma Mobile ==
 +
Plasma mobile currently works on A5 2015, but you should set custom scaling factor to 2.
  
$ alsaucm -i -c msm8916-samsung-a2015
+
<code>kscreen-doctor output.1.scale.2</code> should work. From ssh session add the following env variables to the above command:
set _verb HiFi
 
set _enadev <device>
 
  
where <code><device></code> is one of <code>Earpiece</code>, <code>Headphones</code>, <code>PrimaryMic</code>, <code>HeadsetMic</code> or <code>SecondaryMic</code>. (Speaker not supported yet...)
+
<code>XDG_RUNTIME_DIR=/run/user/10000 QT_QPA_PLATFORM=wayland kscreen-doctor output.1.scale.2</code>
alsaucm does not track which devices are already enabled, therefore it is possible to produce combinations that won't work properly (e.g. <code>Headphones</code>+<code>Earpiece</code>). To switch between devices, the old device first needs to be re-enabled and then disabled:
 
  
$ alsaucm -i -c msm8916-samsung-a2015
+
Plasma works smoothly, but there are some graphical glitches like choppy text
set _verb HiFi
 
set _enadev OLD
 
set _disdev OLD
 
set _enadev NEW
 
  
{{note|'''Warning:''' alsaucm sets the volume to maximum by default. It is possible to increase the volume even further, however, this may lead to permanent damage to your speaker!}}
+
== Photos ==
 +
<gallery>
 +
File:Sm-a500f-weston.jpg|thumb|left|Weston
 +
File:Sm-a500f-phosh-01.jpg|thumb|left|Phosh Apps menu
 +
File:Sm-a500f-phosh-02.jpg|thumb|left|Phosh About
 +
File:Sm-a500f-phosh-03.jpg|thumb|left|Phosh Wi-Fi settings
 +
File:Samsung-a5lte-with-operator-name.jpg|thumb|left|Plasma Mobile Home screen
 +
File:Sm-a500f-plamo-topbar-good-scaling.jpg|thumb|left|Plasma Mobile top bar
 +
File:Sm-a500f-plamo-02.jpg|thumb|left|Plasma Mobile About
 +
File:Sm-a500f-plamo-03.jpg|thumb|left|Plasma Mobile Lockscreen
 +
</gallery>

Latest revision as of 12:46, 8 June 2020

Samsung Galaxy A5 (2015)
Samsung Galaxy A5
Samsung Galaxy A5
Manufacturer Samsung
Name Galaxy A5 (2015)
Codename samsung-a5ulte, samsung-a5lte
Released 2014
Category community
Original software Android 4.4.4
postmarketOS kernel Mainline
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
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
Unixbench Whet/Dhry score 912.7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
Works
3D Acceleration
Works
Accelerometer
Works
Audio
Works
Bluetooth
Works
Camera
Broken
GPS
Mobile data
SMS
Works
Calls
Works
USB OTG



Contributors

Users owning this device


Supported variants

  • SM-A500F: Choose samsung-a5lte.
  • SM-A500FU: Choose samsung-a5ulte.
  • Adding support for one of the other variants is likely trivial.

Installation

  1. Install lk2nd (alternative bootloader that provides a standard fastboot interface)
  2. Follow the Installation guide
  3. If you don't install wifi firmware, display won't work
Note: Enter lk2nd fastboot mode by pressing only Volume Down + Power (not the Home button). Pressing the Home button additionally will bring you to the Samsung Download mode.

Audio

Note: 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!

See Qualcomm_Snapdragon_410_(MSM8916)#Audio.

Modem

See Qualcomm_Snapdragon_410_(MSM8916)#Modem.

Screen

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

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. 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 like choppy text

Photos