Samsung Galaxy A2 Core (samsung-a2corelte)

From postmarketOS Wiki
Samsung Galaxy A2 Core
A2 Core running Phosh
A2 Core running Phosh
Manufacturer Samsung
Name Galaxy A2 Core
Codename samsung-a2corelte
Released 2019
Type handset
Hardware
Chipset Samsung Exynos 7870 Octa
CPU Octa-core 1.6 GHz Cortex-A53
GPU Mali-T830 MP1
Display 540 x 960 PLS IPS
Storage 8/16 GB
Memory 1 GB
Architecture aarch64
Software
Original software Android (Go)
Original version 8.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
Unixbench Whet/Dhry score 1304.5
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Partial
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
Camera
Broken
Camera Flash
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
USB OTG
Sensors
Accelerometer
Works
Ambient Light
Works
Proximity
Works
Haptics
Works


Samsung Galaxy A2 Core is an entry-level Exynos 7870 device released by Samsung in 2019.

Contributors

  • naproxen

Users owning this device


How to enter flash mode

When the phone is powered off, insert the USB cable while holding the Volume Up and Volume Down buttons to boot into download mode. A turquoise colored screen will appear, asking for confirmation. Press Volume Up to confirm. Your device is ready for flashing via a front-end such as Odin or Heimdall.

To boot into recovery, hold the Power and Volume Up buttons.

Installation

Prerequisites

Make sure your phone:

  • Has its bootloader unlocked.

Preparation

Choose the following in the pmbootstrap init wizard:

Vendor: samsung
Device codename: a2corelte

To proceed with the installation run:

$ pmbootstrap install

This will begin preparing your installation in your host computer.

Flashing

After the installation process is completed, get your phone booted into download mode, Then run:

$ pmbootstrap flasher flash_kernel

The kernel gets flashed to your device. Now, the device will reboot automatically. Hold the key combination to reboot into download mode. Then run:

$ pmbootstrap flasher flash_rootfs

The rootfs is flashed and the device gets rebooted. It should reboot to postmarketOS now.

Notice If there are any problems with flashing the rootfs via Heimdall, you may attempt an installation via recovery.

Partial features

Battery

The fuelgauge driver (reports the charge percentage) works fine, but there's no charger driver which is responsible for reporting charge status and control.

Screen

Display works with simple-framebuffer, so brightness control is non-functional. Samsung DECON/DSIM driver for Exynos 7870 is a work-in-progress, which will properly initialize and use the display.

Problems

USB Networking

At least on some operating systems, the host doesn't receive network packets from the device, unless the host sends packets to the device. Due to this behavior, SSH (among other things) doesn't work well. A workaround is to have ping -Aq <IP> run in the background while you interact with the device (replace <IP> with the device IP address).

Wi-Fi

Wi-Fi behaves very erratically (practically unusable) when the SDIO is probed in DMA mode. The driver fails to communicate with the SDIO, reporting timeout errors. As a workaround, the SDIO is forced to be probed in PIO mode.

Debugging (retrieving kernel logs)

Read this.

See also

pmaports!4981 Initial merge request

Device package

Kernel package