Jump to content

Samsung Galaxy A52s 5G (samsung-a52sxq)

From postmarketOS Wiki
Samsung Galaxy A52s 5G
Manufacturer Samsung
Name Galaxy A52s 5G
Codename samsung-a52sxq
Model SM-A528B
Released 2021
Type handset
Hardware
Chipset Qualcomm Snapdragon 778G (SM7325)
CPU Octa-core (1x 2.4 GHz Kryo 670 Prime
3x 2.2 GHz Kryo 670 Gold
4x 1.9 GHz Kryo 670 Silver)
GPU Adreno 642L
Display 1080 x 2400 (120Hz 6.5" AMOLED)
Storage 128/256 GB
Memory 4/6/8 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (One UI) 11 (One UI 3.1)
Extended version
The most recent supported version from the manufacturer.
Android (One UI) 14 (One UI 6.1)
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
5.4.254
Device package device-samsung-a52sxq
Kernel package linux-samsung-a52sxq
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Partial
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Camera Flash
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested
Haptics
Untested
Barometer
Sensor to measure air pressure
Untested

Contributors

Users owning this device

How to enter flash mode

  • Download mode: Hold Volume Up and Volume Down while connecting the device to a computer with a USB cable.
  • Recovery mode: Hold Volume Up while connecting the device to a computer with a USB cable.

Installation

Prerequisites

  • Unlocked bootloader
  • Flashed TWRP (follow the TWRP guide)

Building

pmbootstrap build linux-samsung-a52sxq
pmbootstrap build device-samsung-a52sxq
pmbootstrap install

Flashing

  1. Boot into TWRP
  2. From there reboot into fastboot mode
  3. Flash with pmbootstrap:
    pmbootstrap flasher flash_rootfs
    pmbootstrap flasher flash_kernel

Known issues

  • While normal framebuffer (/dev/fb0) works, there are issues with DRM
  • Setting CONFIG_FRAMEBUFFER_CONSOLE=y turns the screen white and makes it heat up at the bottom

See also