Jump to content

Samsung Galaxy A6 2018 (samsung-a6lte): Difference between revisions

From postmarketOS Wiki
Tags: mobile edit mobile web edit
 
(13 intermediate revisions by 6 users not shown)
Line 6: Line 6:
| imagecaption = Samsung Galaxy A6 2018 with Xfce4
| imagecaption = Samsung Galaxy A6 2018 with Xfce4
| releaseyear = 2018
| releaseyear = 2018
| originalsoftware = Android 8/9/10
| originalsoftware = Android
| originalversion = 8
| extendedversion = 10
| chipset = Samsung Exynos 7870 Octa
| chipset = Samsung Exynos 7870 Octa
| cpu = Octa-core 1.6 GHz Cortex-A53
| cpu = Octa-core 1.6 GHz Cortex-A53
Line 14: Line 16:
| memory = 3/4 GB
| memory = 3/4 GB
| architecture = aarch64
| architecture = aarch64
| type = handset
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown -->
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown -->
| status_usbnet = Y
| status_usbnet = Y
Line 20: Line 23:
| status_screen = Y
| status_screen = Y
| status_wifi = Y
| status_wifi = Y
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = Y
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = P
| status_mainline = P
Line 26: Line 29:
| status_3d = N
| status_3d = N
| status_audio = P
| status_audio = P
| status_bluetooth = N
| status_bluetooth = Y
| status_camera = N
| status_camera = N
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
Line 64: Line 67:


== Contributors ==
== Contributors ==
* sleirsgoevy
* sleirsgoevy


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
Line 74: Line 79:


== How to enter flash mode ==
== How to enter flash mode ==
* '''Recovery''': Power on the device by holding {{Button|Volume Up}} and {{Button|Power}}.
* '''Recovery''': Power on the device by holding {{Button|Volume Up}} and {{Button|Power}}.
* '''Download''': Hold {{Button|Volume Up}} and {{Button|Volume Down}} while plugging the device to a computer with an USB cable.
* '''Download''': Hold {{Button|Volume Up}} and {{Button|Volume Down}} while plugging the device to a computer with an USB cable.
Line 79: Line 85:


== Unlocking the bootloader ==
== Unlocking the bootloader ==
# Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
# Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
# Return to the main settings page and go to the developer options
# Return to the main settings page and go to the developer options
Line 84: Line 91:


== Installation ==
== Installation ==
# [[Samsung Galaxy A6 2018 (samsung-a6lte)#Unlocking the bootloader|Unlock the bootloader]] if not done.
# [[Samsung Galaxy A6 2018 (samsung-a6lte)#Unlocking the bootloader|Unlock the bootloader]] if not done.
# Select <code>a6lte</code> and Xfce4 UI with [[Installing_pmbootstrap|<code>pmbootstrap init</code>]]
# Select <code>a6lte</code> and Xfce4 UI with [[Installing_pmbootstrap|<code>pmbootstrap init</code>]]
Line 92: Line 100:
# The phone should reboot straight into postmarketOS.
# The phone should reboot straight into postmarketOS.


Note: installation with <code>heimdall flasher flash_kernel</code> and <code>heimdall flasher flash_rootfs</code> [[Samsung Galaxy A6+ 2018 (samsung-a6plte)#Installation|will probably work]], but this is untested.
Note: installation with <code>pmbootstrap flasher flash_kernel</code> and <code>pmbootstrap flasher flash_rootfs</code> [[Samsung Galaxy A6+ 2018 (samsung-a6plte)#Installation|will probably work]], but this is untested.
 
=== Alternative Installation ===
 
If installation with heimdall/<code>pmbootstrap flasher</code> fails you could use the recovery-zip method, see [[Installation_from_recovery_mode]].
 
Note: if you desire to use the bigger partition, use <code>pmbootstrap install --android-recovery-zip --recovery-install-partition=USERDATA</code>


== Mainline status ==
== Mainline status ==


* Pinctrl works, clock controller missing drivers
* Pinctrl works, <s>clock controller missing drivers</s> fixed
* Display, touchscreen, eMMC and external sdcard full work
* Display, touchscreen, eMMC and external sdcard full work
* Wi-Fi sometimes works, but it seems that brcmfmac is not fully compatible with it
* Wi-Fi and Bluetooth work
* Fuelgauge works (thanks @Tooniis), but is not enabled in the current .config
* Fuelgauge works (thanks [[User:Tooniis|@Tooniis]]), but is not enabled in the current .config


== Notes ==
== Notes ==
* Putting calls on hold and having several calls active simultaneously is not supported
* Putting calls on hold and having several calls active simultaneously is not supported
* Mobile data currently connects on IPv4 only
* <s>Mobile data currently connects on IPv4 only</s> Fixed, IPv6 is now supported too.
* <s>Wi-Fi does not connect out of the box. To connect to a network, after adding the network normally, open nm-connection-editor, edit the connection you're trying to activate, and set the "Cloned MAC address" setting to "Do not change".</s> This should be fixed now, but YMMV.


== See also ==
== See also ==
* [https://www.gsmarena.com/samsung_galaxy_a6_(2018)-9155.php Device specifications]
* [https://www.gsmarena.com/samsung_galaxy_a6_(2018)-9155.php Device specifications]
* {{MR|3393|pmaports}} Initial merge request
* {{MR|3393|pmaports}} Initial merge request
* {{Device package|samsung-a6lte}}
* {{Device package|samsung-a6lte}}
* {{Kernel package|samsung-a6lte}}
* {{Kernel package|samsung-a6lte}}

Latest revision as of 10:46, 19 March 2025

Samsung Galaxy A6 (2018)
Samsung Galaxy A6 2018 with Xfce4
Samsung Galaxy A6 2018 with Xfce4
Manufacturer Samsung
Name Galaxy A6 (2018)
Codename samsung-a6lte
Released 2018
Type handset
Hardware
Chipset Samsung Exynos 7870 Octa
CPU Octa-core 1.6 GHz Cortex-A53
GPU Mali-T830 MP1
Display 720/1480 OLED
Storage 32/64 GB, microSD
Memory 3/4 GB
Architecture aarch64
Software
Original software Android
Original version 8
Extended version 10
FOSS bootloader no
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
No data
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Partial
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
No data
NFC
No data
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
No data
USB OTG
No data
Sensors
Accelerometer
Broken
Magnetometer
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
Broken
Haptics
No data
Barometer
No data
Power Sensor
No data


Note This is the exynos device.

Contributors

  • sleirsgoevy

Users owning this device


How to enter flash mode

  • Recovery: Power on the device by holding Volume Up and Power.
  • Download: Hold Volume Up and Volume Down while plugging the device to a computer with an USB cable.
  • Hard reboot: Press and hold Volume Down and Power for 7 seconds.

Unlocking the bootloader

  1. Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
  2. Return to the main settings page and go to the developer options
  3. In developer options, enable OEM unlocking. Make sure you have an internet connection if it doesn't show up.

Installation

  1. Unlock the bootloader if not done.
  2. Select a6lte and Xfce4 UI with pmbootstrap init
  3. Generate the rootfs with pmbootstrap install to install postmarketOS to the phone or pmbootstrap install --sdcard /dev/sdX to install it on an SD card.
  4. Generate the flashable images with pmbootstrap export. They will be stored in /tmp/postmarketOS-export, or you can specify another location like this: pmbootstrap export /home/user/Downloads/pmos
  5. Reboot into download mode
  6. Flash postmarketOS with heimdall flash --BOOT /tmp/postmarketOS-export/boot.img --SYSTEM /tmp/postmarketOS-export/samsung-a6lte.img (replace the paths if necessary). If you installed to an SD card, specify only the BOOT argument. Also you may choose the bigger USERDATA partition for the system image.
  7. The phone should reboot straight into postmarketOS.

Note: installation with pmbootstrap flasher flash_kernel and pmbootstrap flasher flash_rootfs will probably work, but this is untested.

Alternative Installation

If installation with heimdall/pmbootstrap flasher fails you could use the recovery-zip method, see Installation_from_recovery_mode.

Note: if you desire to use the bigger partition, use pmbootstrap install --android-recovery-zip --recovery-install-partition=USERDATA

Mainline status

  • Pinctrl works, clock controller missing drivers fixed
  • Display, touchscreen, eMMC and external sdcard full work
  • Wi-Fi and Bluetooth work
  • Fuelgauge works (thanks @Tooniis), but is not enabled in the current .config

Notes

  • Putting calls on hold and having several calls active simultaneously is not supported
  • Mobile data currently connects on IPv4 only Fixed, IPv6 is now supported too.
  • Wi-Fi does not connect out of the box. To connect to a network, after adding the network normally, open nm-connection-editor, edit the connection you're trying to activate, and set the "Cloned MAC address" setting to "Do not change". This should be fixed now, but YMMV.

See also