Samsung Galaxy A52 4G (samsung-a52q)

From postmarketOS
Jump to navigation Jump to search
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
Original software Android 11
Hardware
Chipset Qualcomm SM7125 Snapdragon 720G
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Broken
Xwayland
FDE
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Broken
Bluetooth
Works
Camera
Broken
GPS
Broken
Mobile data
SMS
Calls
USB OTG
NFC
Broken
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Misc
Ir TX
Unavailable
TrustZone


This device is based on Qualcomm Snapdragon 720G (SM7125).
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Users owning this device

  • Chaosleo07 (Notes: working on mainline)
  • Hilledkinged (Notes: Recently gotten and looking to pkay around with it)


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. Then download the following Repo and copy the folders to the pmaports/devices/testing folder.

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

$ pmbootstrap install


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
WiFi N doesn't work, firmware and stuff seems to be loaded fine so that isn't the issue
Screen P Screen may go crazy sometimes (tested with Plasma Mobile)
Battery P Percentage reporting works; no charging status reported, but charges without problems


Notes

  • This device is very similar to the Samsung Galaxy A72 4G, which is why me doing this is possible (thanks map220v)

Issues with DEs etc.:

  • weston: screen goes black when using panel, dont know if it works with simplefb
  • fbkeyboard: keyboard doesn't show up
  • framebufferphone: has issues with Touch

See also

Repo with the pmbootstrap files

"mainline" kernel fork with the most recent changes for A52

NotebookCheck Page about the used SOC

GSMArena page about the phone