Samsung Galaxy A52s 5G (samsung-a52sxq)
Appearance
| This device runs a Downstream kernel. Some UIs will not work, and most features (3D acceleration, audio, etc.) may be broken. |
|
| |
| 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 |
|
| Kernel package |
|
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
- DaKnig (Notes: LineageOS for microG. Wanna port PMOS, please contact me on matrix.)
- EnderNightLord
- Faretek (Notes: LineageOS 22)
- Kszyms
- Playday3008 (Notes: SM-A528B)
- Randomtek
- Speedyes (Notes: SM-A528B, LineageOS 21, plan to port if I'll get a new phone)
- SuperPou (Notes: main phone)
- Zvava (Notes: lineage os 22.1 w/ microG)
How to enter flash mode
- Download mode: Hold and while connecting the device to a computer with a USB cable.
- Recovery mode: Hold 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 installFlashing
- Boot into TWRP
- From there reboot into fastboot mode
- 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=yturns the screen white and makes it heat up at the bottom
See also
- GSMArena page
- Device Info HW page
- Proprietary blobs repository
- LineageOS downstream kernel source
- Windows in ARM project for the phone. Contains UEFI firmware port and windows driver sources for the phone.