Jump to content

Samsung Galaxy A72 (samsung-a72q)

From Nura Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Qualcomm SM7125 (qcom-sm7125).
Samsung Galaxy A72
Samsung Galaxy A72 (samsung-a72q)
Samsung Galaxy A72 (samsung-a72q)
Manufacturer Samsung
Name Galaxy A72
Codename samsung-a72q
Released 2021
Type handset
Hardware
Chipset Qualcomm Snapdragon 720G (SM7125)
Display 1080x2400 (Super AMOLED, 6.7")
Storage 128/256 GB
Memory 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)
Nura
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Nura kernel
The kernel version that runs on the device's port.
6.14.7-4
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
5657.7
Optional Generic Port Qualcomm SM7125 (qcom-sm7125)
Device package device-samsung-a72q out-of-tree
Kernel package linux-postmarketos-qcom-sm7125
Initial MR
Initial merge request.
pmaports!3390,
pmaports!9152 (mainline)
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
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Works
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Untested
Camera Flash
Untested
Connectivity
Wi-Fi
Works
Bluetooth
Works
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Broken
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching.
Broken
Fingerprint
Fingerprint reader.
Broken
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Works
U-Boot
Primary Bootloader
Whether it is possible to replace stock bootloader with U-Boot.
Broken
Secondary Bootloader
Whether it is possible to chainload U-Boot from stock bootloader.
Works
Mainline
Whether latest upstream versions of U-Boot are not broken and it is possible to use them.
Works
Internal Storage
Whether it is possible to boot from internal storage (e.g. eMMC or UFS).
Works
SD card
Whether it is possible to boot from SD card.
Works
USB Host
Whether it is possible to boot from a USB storage or connect a keyboard.
Untested
USB Peripheral
Whether it is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode.
Works
Display
Works
Buttons
Whether it is possible to navigate in boot menu or grub with volume and power buttons.
Works

Maintainers

Contributors

Users owning this device

Special boot modes

  • Download Mode: With the device powered off, hold Volume Up and Volume Down while connecting the device to a computer with a USB cable. A warning screen will appear: click Volume Up to enter Download Mode and run Heimdall commands.
  • Recovery Mode: With the device powered off, hold Volume Up and Power while connecting the device to a computer with a USB cable.

Unlocking the Bootloader

Warning WARNING: Doing this will ERASE ALL DATA on your device. Please backup all your personal data before continuing!
Warning WARNING: Make sure that you are prepared to lose functionality before installing Nura. Samsung Knox will blow an eFuse when the OS is modified that will permanently disable Knox-only features like Samsung Pay, and you will NEVER be able to use those features again.

Samsung made this easy (thankfully): reboot into Download Mode and hold down Volume Up.

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, install U-Boot into your boot partition using Heimdall on your computer, like so:

$ heimdall flash --BOOT u-boot.img

After that, set up the device to be used:

$ pmbootstrap init
Channel [edge]:
Vendor [qcom]: qcom       <- enter this
Device codename [sm7125]: sm7125   <- enter this
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)

Note If you choose to install to internal storage, pass --sparse to pmbootstrap install as well.
$ pmbootstrap install (--sdcard=/dev/whatever_your_sdcard_is if you want to install to sd card)

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

$ pmbootstrap flasher flash_rootfs --partition userdata

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

Status

Features
Component Model Notes Upstream
Screen samsung,s6e3fc3-ams667ym01 Heavy flickering when switching brightness No
Battery Silicon Mitus SM5714 No
Charger Silicon Mitus SM5714 No
Silicon Mitus SM5440 Used as pump for SM5714 charger No
Internal
storage
jedec,ufs-2.0
qcom,sc7180-qmp-ufs-phy
Yes
Touchscreen STMFTS FTS5CU56A Probably soomething custom made just for this phone No
GPU Adreno 618 Yes
Flash LED Silicon Mitus SM5714 No
WiFi WCN3990 Yes
Bluetooth WCN3988 Yes
NFC Samsung S3NRN4V A patch series for this NFC module has been submitted to LKML. It has been tested on this device. For some reason MIFARE is reported as unsupported... Not yet...?
Modem qcom,sc7180-mpss-pas
qcom,sc7180-ipa
No call audio Yes
USB OTG Silicon Mitus SM5714 Vendor kernel calls this a "MUIC" despite this being a Type-C device. No
Sensors hexagonrpcd
libSSC
Managed by ADSP-remoteproc N/A
Haptics GPIO vibrator A generic vibration motor controlled by a GPIO. Yes
Audio
Codec Appointments Notes Upstream
ti,tas2562 Main Speaker Maximum loudness isn't as high as on Android. Yes (but snd-soc-sm8250 needs patches to get it working)
qcom,wcd9380-codec EAR Speaker Yes
Chassis microphones x2
Analog I/O audio port Audio gets distorted on high volume.

See also