[Samsung Galaxy A52 4G] Simon1511:
LineageOS is a free, community built, aftermarket firmware distribution of Android 14.0, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Supported devices

All variations of A52 4G and A72 (A525F, A525F/DS, A525M, A525M/DS, A725F, A725F/DS, A725M and A725M/DS) are supported, but only A525F (6/128 variant) is well tested as I have this device.

Working

Audio

Wifi

Hotspot

Calls

WifiDisplay

Bluetooth

OMX

Camera

NFC

Fingerprint

Screen-Off-FOD

Mobile data

GPS

DT2W

...

Bugs

VoLTE/VoWIFI (Samsung's implementation doesn't work on AOSP)

No 60FPS recording in Camera

Installation instructions

Make sure you are at least on OneUI 5 or 6 firmware before flashing this ROM, otherwise the installation will fail!

NOTE: Usually, installing a custom recovery and vbmeta requires you to use Odin (Windows) or Heimdall (Linux/Mac). However, as Heimdall is often troublesome, you can also use Odin4 (Linux) which works by far better and easier than Heimdall. See the Odin4 XDA thread here.

Recommended

Follow the guide on the LineageOS website: A52 4G | A72

Alternative way (TWRP/OrangeFox)

Make sure your device's bootloader is unlocked.

If not done before, download vbmeta.img from the LineagOS website (A52 | A72) and pack it into a tar file.

Make sure to have the latest available version of TWRP/OrangeFox installed.

If wanted, backup all your necessary partitions (super, boot, data, EFS) before flashing this in case something goes wrong.

Download the lineage build for your device from the link below and optionally download your preferred GApps package too.

Flash the LineageOS zip using the "Install" button.

Optionally, flash Gapps right after.

Format data in TWRP/OrangeFox as the very last thing, otherwise you may end up in a bootloop if coming from stock ROM.

Wipe metadata and cache partitions. This only has to be done once when you install LineageOS.

Reboot

Downloads

A52 4G: download.lineageos.org

A72 4G: download.lineageos.org

Gapps (choose arm64 and 14.0):

MindTheGapps

Passing SafetyNet/Play Integrity

Follow this guide.

Support

Telegram

Donations

They aren't necessary, but if you like my work feel free to send me or LineageOS a donation.

Credits

To...

Me, for spending my time on this project

@Grarak for his fingerprint and DT2W fixes

@TheLeo2307 for testing on his A72

@miamighost for testing on his A52

Maybe more, feel free to tell me if I forgot someone

Source Code: https://github.com/LineageOS/android_kernel_samsung_sm7125