Development [ROM][13.0][ENCRYPTION] Official LineageOS 20 for A52 4G and A72

Search This thread

e1d3rx

New member
Jun 9, 2023
1
1
Make sure you are on OneUI 5 firmware before flashing this ROM, otherwise the installation will fail!
Hi everyone, i'm not a native english speaker so i'm using Google Translate in case i misspell something and if do, i'm sorry.
I've got a question, here it says "Make sure you are on OneUI 5"
I am in OneUI 5.1, can i still install it in this version?
Thanks.
 
  • Like
Reactions: ethical_haquer
Hi everyone, i'm not a native english speaker so i'm using Google Translate in case i misspell something and if do, i'm sorry.
I've got a question, here it says "Make sure you are on OneUI 5"
I am in OneUI 5.1, can i still install it in this version?
Thanks.
Yes, OneUI 5 is just the minimum required version.
 

sxjg23

Member
Apr 22, 2011
26
4
there's a bug (tested on latest lineage-20.0-20230601) that still exists since a long time:
when switching between users, if the user has a pin as screen lock, the brightness is at minimum.
unable to see when there's sunlight.
 
  • Like
Reactions: ethical_haquer
I have another great set of news!

This weeks builds will have following changelog:

  • Increased vibration patterns and working vibration control in Settings
  • Properly fixed BT phone calls - works just like on stock ROM now
  • Properly fixed VoIP calls (bluetooth VoIP calls work and speaker and earpiece arent swapped anymore; no weird lags or sound issues anymore)
  • Addressed a few SeLinux denials
  • Slightly better USB configuration
  • Updated vendor blobs and fingerprint to A525FXXS5DWD1 respectively A725FXXS5DWD2
 

wojtekojtek

Senior Member
Nov 29, 2022
61
15
Poland
Microsoft Lumia 950/950 XL
Cool! I installed it before this update and I want to ask you something:
1) when AOD was enabled and it was showing clock, after some time it showed green artifacts, idk what it was.
2) it is possible to add weather on lockscreen and AOD like in PixelExperience+?
3) How to port samsung apps, like camera, I miss it so much..., or what config should I use on gcam to make it working like stock

Anyways, good work !! ^^
 
  • Like
Reactions: ethical_haquer
1) when AOD was enabled and it was showing clock, after some time it showed green artifacts, idk what it was.
Are you on the latest stock firmware? Other people reported this too and fixed it by updating to the latest firmware.

2) it is possible to add weather on lockscreen and AOD like in PixelExperience+?
There might be apps for that on the Play Store, however that's just a guess.

3) How to port samsung apps, like camera, I miss it so much..., or what config should I use on gcam to make it working like stock
You can't. Especially Samsung Camera won't ever work since it highly depends on Samsung specific framework stuff. Some apps (and only some) can be installed from Play Store though.
 
  • Like
Reactions: ethical_haquer

wojtekojtek

Senior Member
Nov 29, 2022
61
15
Poland
Microsoft Lumia 950/950 XL
Are you on the latest stock firmware? Other people reported this too and fixed it by updating to the latest firmware.


There might be apps for that on the Play Store, however that's just a guess.


You can't. Especially Samsung Camera won't ever work since it highly depends on Samsung specific framework stuff. Some apps (and only some) can be installed from Play Store though.
1) I was on latest ( after discovering this bug I just switched to ncx rom)
2) I tried to find some, there was also xposed one but it was outdated, these without xposed were showing it using notifications, I dont like it.
3) I need only samsung camera, but if its not working... I will try to live without it ☺️

edit:
Thanks for fixing fingerprint light!
It was very annoying! :D

I have another issue -
my phone is overheating... :<
 
Last edited:
  • Like
Reactions: ethical_haquer

ethical_haquer

Senior Member
Jan 30, 2023
727
398
Samsung Galaxy A52 4G
I'm just not using it because I can't certify the device in the playstore
Check out @Displax's Universal Safteynet Fix. If you install GAPPS of some sort and this, you should be able to pass SafteyNet. Let me know if you have any questions and want more detailed answers. You were talking about passing SafteyNet/Play Integerty API, right?
 
  • Like
Reactions: MacBez

atahanacar

Member
May 19, 2012
10
1
Ankara
I'm having problems with the fingerprint unlocking the phone by itself in my pocket. I don't know if this is a hardware issue or a problem with this rom, but it started happening very recently. I only realized it today. Does anyone else also have this issue?
 
  • Wow
Reactions: ethical_haquer

Geitekont

Member
Aug 10, 2019
15
4
Hello, I have a question. I can't enable my NFC; the switch button for NFC stays greyed-out, and I can't activate it by swiping it to the right.

I flashed the latest LineageOS version, lineage-20.0-20230630-nightly-a52q-signed.zip, along with NikGapps-full-arm64-13-20230627-signed. My TWRP version is 3.6.2_12-0.

Additionally, I flashed vbmeta.img (found on the same download page as the LineageOS file) using Odin after installing LineageOS. I hoped that flashing vbmeta.img would solve my NFC problem, but I didn't realize that I probably needed to flash vbmeta beforehand. I searched the internet for a solution, but I couldn't find one, so that's why I'm asking here.

Thanks in advance.

Small update: i thought lets give Pixel Experience a try see if NFC works, got a error installing it. I am not using android 13 based firmware. Is there a way to flash android 13 based firmware ? Or do I need to go back to Samsung's software again to accomplish it?
 
Last edited:
  • Like
Reactions: ethical_haquer

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi,

    does the built-in screen cast work?
    An iPhone works with the same TV, same network over AirScreen, so there must be something with the A52 device.
    For me screen cast don't work unfortunately.
    Its see the TV, trying to connect (I allow connection on TV on question) and no success.
    Cast to PC (win11) suddenly works.
    Wifi Direct (manually) with TV connects sucessfully. Screen Cast - no :(

    P.S. Cast from this phone on Stock ROM (OneUI5.1) to this TV (LG WebOS) works perfectly.
  • 15
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 13.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.
    Code:
    /*
    * 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 on OneUI 5 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)
    1. Make sure your device's bootloader is unlocked.
    2. If not done before, download vbmeta.img from the LineagOS website (A52 | A72) and pack it into a tar file.
    3. Make sure to have the latest available version of TWRP/OrangeFox installed.
    4. If wanted, backup all your necessary partitions (super, boot, data, EFS) before flashing this in case something goes wrong.
    5. Download the lineage build for your device from the link below and optionally download your preferred GApps package too.
    6. Flash the LineageOS zip using the "Install" button.
    7. Optionally, flash Gapps right after.
    8. Format data in TWRP/OrangeFox as the very last thing, otherwise you may end up in a bootloop if coming from stock ROM.
    9. Wipe metadata and cache partitions. This only has to be done once when you install LineageOS.
    10. Reboot

    Downloads
    A52 4G: download.lineageos.org
    A72 4G: download.lineageos.org

    Gapps (choose arm64 and 13.0):
    MindTheGapps

    Old builds:
    LineageOS 20

    Support
    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
    13
    Good news!

    I've been continuing on fixing bugs and tiny issues reported for a long time. Following issues have been addressed:
    • Speaker and Earpiece output in VoIP calls (for example Whatsapp, Discord, etc) are no longer reversed
    • Audio in phone calls with some bluetooth headphones or Smartwatches doesn't play from speaker/earpiece anymore
    • The fingerprint icon on the lock screen no longer appears on top of the lockscreen text
    • Removed Dolby audio effect as it didn't actually impact audio quality and in exchange added back AudioFX
    • Improved vibration intensities
    • Set FOD color to white (as on stock ROM)
    • The screen now doesn't get darker when using FOD but instead keeps its brightness (fixes FOD on AOD failing)
    • Prevent the screen from jumping to high brightness (and getting stuck there) after unlocking with fingerprint
    • Switched back to Camera2 to fix pictures being ~100mb each
    • Fixed "Extend compatibility" toggle in Hotspot settings

    A few notes on above changelog:
    We (@Ryzen5950XT ) and I have been working on the Bluetooth-phone-call-fix for around 2 months now and even now it still is not 100% rock solid. Sometimes you may encounter crackling audio for a few seconds when switching output devices or in rare cases even no audio in a call. We're still working on improving the general quality of this fix, but believe that it has become good enough to be usable as a daily driver.

    In terms of the Camera issue where it produces ~100mb pictures: I've been able to track this down to an issue with CameraX support on our phones but so far have had no luck figuring out what exactly the culprit is. However, LineageOS guidelines require me to ship a fully working Camera app. Therefore I will (temporarily) have to ship the old, feature-less Camera2 instead of Aperture.

    All these changes will be available starting from the next LineageOS builds for A52 and A72, which will most likely be 12th May (A52) and 13th May (A72).

    And as always, please keep reporting bugs and inform me about possible improvements.
    6
    I have another great set of news!

    This weeks builds will have following changelog:

    • Increased vibration patterns and working vibration control in Settings
    • Properly fixed BT phone calls - works just like on stock ROM now
    • Properly fixed VoIP calls (bluetooth VoIP calls work and speaker and earpiece arent swapped anymore; no weird lags or sound issues anymore)
    • Addressed a few SeLinux denials
    • Slightly better USB configuration
    • Updated vendor blobs and fingerprint to A525FXXS5DWD1 respectively A725FXXS5DWD2
    5
    FAQ

    Can I root my phone with this ROM?
    Yes, just install the latest version of Magisk.

    How can I pass safetynet?
    Follow this guide.

    Automatic camera flash doesnt work!
    That's an issue with Lineage's camera app. Use GCam or any other camera app instead.
    4
    Good news, LineageOS 20 just hit Official!
    The first build for A52 4G was released just this morning, the first A72 build will approximately release tomorrow (Saturday, 21 January).
    This means that there will be no more LineageOS 19.1 builds.

    If you are currently using official 19.1 you should be able to just upgrade to official 20 through Settings -> System -> Updater. If you are currently using unofficial 20 you will have to flash the first official build manually to get OTA's.

    Downloads:
    A52 4G
    A72 (tomorrow)