Samsung Galaxy A52 4G (samsung-a52q)

From postmarketOS
Samsung Galaxy A52 4G
The Samsung Galaxy A52 4G running Plasma Mobile on postmarketOS with a mainline Kernel, showing the result of running neofetch
The Samsung Galaxy A52 4G running Plasma Mobile on postmarketOS with a mainline Kernel, showing the result of running neofetch
Manufacturer Samsung
Name Galaxy A52 4G
Codename samsung-a52q
Released 2021
Category testing
Pre-built images no
Original software Android
Original version 11
Hardware
Chipset Qualcomm Snapdragon 720G (SM7125)
CPU Octa-Core; 2x2.3 GHz Kryo 465 Gold & 6x1.8 GHz Kryo 465 Silver
GPU Adreno 618
Display 1080 x 2400 Super AMOLED
Storage 128 / 256GB
Memory 4 / 6 / 8GB
Architecture AArch64
Type handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Works
FDE
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Partial
Bluetooth
Works
Camera
Broken
GPS
Broken
Mobile data
Works
Internal storage
SMS
Works
Calls
USB OTG
Broken
NFC
Broken
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
This device is based on the Qualcomm Snapdragon 720G (SM7125).
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Users owning this device


How to enter flash mode

Press and hold Volume Up + Volume Down while plugging it in the Computer. Then click Volume Up to confirm.

Unlocking the Bootloader

!!!WARNING!!!

This will reset your device to Factory settings and blow the Knox E-Fuse! You have been warned.

Samsung made this easy (thankfully): Reboot into Download mode (hold down Vol+ and Vol- while plugging it into a computer) and hold down Vol+.

This way, you can also relock the bootloader (with the only benefit being that the message at the Beginning is gone, no more Knox)

Installation

First, install pmbootstrap.

After that, set up the device to be used:

$ pmbootstrap init
Channel [edge]:
Vendor [samsung]: samsung       <- enter this
Device codename [i9100]: a52q   <- enter this
Enable this package? (y/n) [y]  <- you probably want non-free firmware
User interface [plasma-mobile]: <- choose any UI by your preference. Plasma Mobile works without issues :)
...

Then, create the rootfs image (and install it on sd card if you want)

$ pmbootstrap install (--sdcard=/dev/whatever_your_sdcard_is if you want to install to sd card)

After that, flash the kernel by doing

$ pmbootstrap flasher flash_kernel

and if you didn't install to an SDCard, flash the rootfs by running

$ pmbootstrap flasher flash_rootfs

After installation download emptyDTBO.img and flash using heimdall or TWRP.

Status table explanation

This table explains more in detail why some features are marked as partial (P) or Broken (N). Generally it's because feature works with some limitations, or is a "work-in-progress":

Component Status Notes
Screen P Changing brightness causes graphical artifacts(It's recommended to disable automatic brightness control)
Audio P Only audio from built in stereo speakers works.
Calls N Can recieve and make calls but call audio missing.

Notes

Issues with DEs etc.:

  • framebufferphone: has issues with Touch
  • xorg: doesn't work/crashes on adreno 618 (wayland/xwayland works fine)


See also