Development [ROM][13.0][ENCRYPTION] Official LineageOS 20 for A52s 5G

Search This thread
1. The screen randomly flickers. I hope this is a bug, phone was never dropped or anything.
Hmm, never seen that before. If you can then wait until the next build and see if that fixes it, shouldn't take long until then.

2. After unsuccessful fingerprint unlock from AOD, the fingerprint sensor stops responding until phone is waken up.
This is an issue with how AOSP handles fingerprint. I've been searching for a way to fix that, but haven't found one yet.

3. On first call, the dialer screen didn't show up when I've received call. Then I couldn't dial contacts, got error message. Reboot fixed this. Both happened only once so far.
Shouldn't be too much of an issue if it only happened once. Might wanna try out different dialer/contacts apps though, for example Google's.
 
Hmm, never seen that before. If you can then wait until the next build and see if that fixes it, shouldn't take long until then.
Ok. This happened overnight. It started yesterday or day before yesterday. Before that nothing.
This is an issue with how AOSP handles fingerprint. I've been searching for a way to fix that, but haven't found one yet.
Is it possible to add code that would reset fingerprint after input from AOD? Like a workaround instead of fix?
Shouldn't be too much of an issue if it only happened once. Might wanna try out different dialer/contacts apps though, for example Google's.
I thought about changing the app, but I'm going to wait and see if it happens again.

Thank you. Awaiting update in the next weeks (if not days). :D
 
1. The screen randomly flickers. I hope this is a bug, phone was never dropped or anything.
I have stock OneUI, and my screen flickers the exact same way on 2G only. It is a common hardware issue (I guess). Someone also posted about it on xda. My guess, because AOSP roms on Samsung phones can't use VoLTE, they fall back on 3G/2G for calls, which normally wouldn't be a problem, but it does cause flickering on this device specifically if it falls to 2G with weak signal.
 
Last edited:
I have stock OneUI, and my screen flickers the exact same way on 2G only. It is a common hardware issue (I guess). Someone also posted about it on xda. My guess, because AOSP roms on Samsung phones can't use VoLTE, they fall back on 3G/2G for calls, which normally wouldn't be a problem, but it does cause flickering on this device specifically if it falls to 2G with weak signal.
Thanks for the input. Looks about the same. 2G seems to be the issue. I'm going to swap SIM to another phone and see if the same thing happens without the SIM. After this I did some googling and found out many people have this issue. I'm going to post this on some subreddits too, hopefully Samsung will step in. This is unacceptable quality from 300€ phone from such a big company as Samsung. Thank you.
 
  • Like
Reactions: Errorman

Tuned modified

Senior Member
Apr 14, 2023
66
7
I'm going to say this ROM is very impressive and half stable I'm having alots of bugs but still it's stable unlike the crdroid ROM died on black screen after I flashed full gapps while the lineage worked fine
 

Tuned modified

Senior Member
Apr 14, 2023
66
7
Bugs the sim card when I turn off like sim 1 or 2 and try to turn it on again it won't turn on unless I restart my phone same goes for pixel experience and the freedom is very very buggy the app gets stuck on my wallpaper for no reason
 

sergii19

Senior Member
I have stock OneUI, and my screen flickers the exact same way on 2G only. It is a common hardware issue (I guess). Someone also posted about it on xda. My guess, because AOSP roms on Samsung phones can't use VoLTE, they fall back on 3G/2G for calls, which normally wouldn't be a problem, but it does cause flickering on this device specifically if it falls to 2G with weak signal.
I was on 2G for a while since I was at a place no one really knew and there were mountains and I barely had any 2G signal, whatsoever the screen didn't flicker at all from what I can remember. Not sure.
 
Good news!

I just released another LineageOS update.

Download: Click here

Changelog:
Code:
-Latest LineageOS sources (still May security patch, June one hasn't been merged yet)
-Limited sensing range for proximity sensor
-Initial M52 5G support
-Dynamically disable/re-enable night light and extra dim during unlocking with FOD
-Imported task_profiles.json for generally smoother performance (thanks to @PauloWesley)
-Enforcing SeLinux!
-Heavily improved vibrations
-Fixed phone calls with Bluetooth Headphones/Earphones/Smartwatches/etc
 
Good news!

I just released another LineageOS update.

Download: Click here

Changelog:
Code:
-Latest LineageOS sources (still May security patch, June one hasn't been merged yet)
-Limited sensing range for proximity sensor
-Initial M52 5G support
-Dynamically disable/re-enable night light and extra dim during unlocking with FOD
-Imported task_profiles.json for generally smoother performance (thanks to @PauloWesley)
-Enforcing SeLinux!
-Heavily improved vibrations
-Fixed phone calls with Bluetooth Headphones/Earphones/Smartwatches/etc
Can I dirty flash it or do I need to format data?
 

Viriathe

Member
May 13, 2023
6
11
hope this rom doesn't have malware/keylogger
Are you serious ?

Simon1511 shared his sources.
You can check them out and build the ROM yourself.
Screenshot of the mine
Capture d’écran_2023-06-12_17-36-05.png

Built last night
 
2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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 A52s 5G (A528B, A528N) should be supported, but only A528B (6/128 variant) is well tested and guaranteed to work as I have this device.

Working
  • RIL (yes, really)
  • 5G
  • 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)
  • Speaker and Earpiece output are swapped in VoIP calls (for example Discord, WhatsApp, etc)
  • Maybe more, feel free to report

Installation instructions

Make sure you are on OneUI 5 firmware (D bootloader or newer) before flashing this ROM, otherwise the installation might fail or not boot!

Installing using TWRP/OrangeFox
  1. Make sure your device's bootloader is unlocked.
  2. Make sure to have the latest available version of TWRP/OrangeFox installed.
  3. If wanted, backup all your necessary partitions (super, boot, vendor_boot, data, EFS) before flashing this in case something goes wrong.
  4. Download the lineage build for your device from the link below and optionally download your preferred GApps package too.
  5. Flash the LineageOS zip using the "Install" button.
  6. Optionally, flash Gapps right after.
  7. Format data in TWRP/OrangeFox as the very last thing, otherwise you may end up in a bootloop if coming from stock ROM.
  8. Wipe metadata and cache partitions. This only has to be done once when you install LineageOS.
  9. Reboot

Downloads
LineageOS 20: Download
Lineage recovery: Download as Disk image | TAR (for Odin)

Gapps (choose arm64 and 13.0):
FlameGapps Canary | NikGapps Canary | MindTheGapps (recommended)

Support
Donations
They aren't necessary, but if you like my work feel free to send me or LineageOS a donation to keep me/us motivated.

Credits
To...
  • Me, for spending my time on this project
  • Everyone who helped in funding me this phone
  • @BlackMesa123 for his help with getting QKGI to work and general help
  • All the testers
  • Maybe more, feel free to tell me if I forgot someone

Source Code: https://github.com/Simon1511/android_kernel_samsung_sm7325
It would be better to have LineageOS Official
 
  • Like
Reactions: pealfa

Viriathe

Member
May 13, 2023
6
11
It would be better to have LineageOS Official
except for the customization linked to the phone's hardware for me it's like all an official
here's my local manisfest with which I built it
XML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <remote name="LineageOS" fetch="https://github.com/LineageOS" />
  <remote name="Simon1511" fetch="https://github.com/Simon1511" />

  <!-- Trees -->
  <project path="device/samsung/a52sxq" remote="Simon1511" name="android_device_samsung_a52sxq" revision="lineage-20" />
  <project path="device/samsung/sm7325-common" remote="Simon1511" name="android_device_samsung_sm7325-common" revision="lineage-20" />
  <project path="kernel/samsung/sm7325" remote="Simon1511" name="android_kernel_samsung_sm7325" revision="lineage-20" />
  <project path="vendor/samsung/a52sxq" remote="Simon1511" name="android_vendor_samsung_a52sxq" revision="lineage-20" />
  <project path="vendor/samsung/sm7325-common" remote="Simon1511" name="android_vendor_samsung_sm7325-common" revision="lineage-20" />

  <!-- Hardware -->
  <project path="hardware/samsung" remote="LineageOS" name="android_hardware_samsung" revision="lineage-20" />
</manifest>
 
  • Like
Reactions: Simon1511

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Hi @Simon1511 Simon1511 , would you mind updating the "bugs" section in the first post when you get the time? There appear to be a few mentioned in the thread that are not on there, like auto brightness, front camera glare, and default dialer 2s delay. I don't know if more are mentioned in the Telegram chat or not. It would just make things clearer for anyone who is checking out the ROM 😅🙏
    1
    Hi, @Simon1511

    First of all, thank you very much for your work!!! I would like to ask a simple question. In your first post, you wrote "All variations of A52s 5G (A528B, A528N) should be supported, but only A528B (6/128 variant) is well tested and guaranteed to work as I have this device."

    I am thinking in buying a A52s 5G. In my country, however, the device is the A528BZ. When I read your disclaimer I thought: "it should work".

    But then I read the installation instructions on wiki.lineageos.org/devices/a52sxq/install, where it is written "Make sure that your model is actually listed in the “Supported models” section here (exact match required!)". And in the "supported models section" the A528BZ is not listed.

    Sorry for the long post, I just wanted to ask: should I understand the disclaimer in the installation instructions in the same manner as your disclaimer in your fisrt post, that is, even though my device is not listed, it should probably work, because it is a A52s 5g, 6/128, A528 model (in my case A528BZ).

    Thank you again and sorry for the long post.
    From what I see after a quick Google search the A528BZ seems to be the Enterprise version of the A528B, so it only has additional security features on its stock ROM as far as I know.
    But in the end it still is a regular A528B, so the installation should work fine and the same way as it does on the regular A528B.

    If not, feel free to reach out to me directly (either via private message on XDA or on the Telegram group).
    1
    Thank you for your (really fast) reply! I will try to install it! If the installation works, I'll post here, so that other people know. If not, I'll send you a message.
    1
    I have the "A52s 5G Enterprise Edition" French version and it works fine!
    1
    Hi,

    Thank you very much and sorry for the late reply. I installed Lineage last weekend and everything works just perfect. Thank you very much!

    Just a short comment (for those who, just like me, are not experts...): as it is very clear warned in the instructions, you should ensure that the device is currently using Android 13 firmware. My device was new. In the beginning, I was surprised that Android 11 was installed. After the first boot, the device asked for an update. I followed the instructions (hoping that the process would install Android 12 or 13). I was surprised that, after rebooting, the device still had Android 11. After a couple of minutes, the device asked again for an update. After rebooting, Android 12 was installed. Summing up: in the end of the whole process, Android 13 was installed and I could install Lineage without any problems. But it took 7 or 8 updates/upgrades/reboots until the device stopped asking for a new update.

    This is something most of you surely know, but I think it could be useful for a couple of users.

    @Simon1511 Thank you again for your work!!
  • 24
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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 A52s 5G (A528B, A528B/DS, A528BZ, A528N, etc.) are supported, but only A528B (6/128 variant) is well tested as I have this device.

    Working
    • RIL (yes, really)
    • 5G
    • 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)

    Installation instructions

    Make sure you are on OneUI 5 firmware (D bootloader or newer) before flashing this ROM, otherwise the installation might fail or not boot!

    Recommended way
    Follow the guide on the LineageOS wiki.

    Alternative way (TWRP/OrangeFox)
    1. Make sure your device's bootloader is unlocked.
    2. Make sure to have the latest available version of TWRP/OrangeFox installed.
    3. If wanted, backup all your necessary partitions (super, boot, vendor_boot, data, EFS) before flashing this in case something goes wrong.
    4. Download the lineage build for your device from the link below and optionally download your preferred GApps package too.
    5. Flash the LineageOS zip using the "Install" button.
    6. Optionally, flash Gapps right after.
    7. Format data in TWRP/OrangeFox as the very last thing, otherwise you may end up in a bootloop if coming from stock ROM.
    8. Wipe metadata and cache partitions. This only has to be done once when you install LineageOS.
    9. Reboot

    Downloads
    Download: download.lineageos.org
    Wiki: wiki.lineageos.org

    Gapps (choose arm64 and 13.0):
    MindTheGapps

    Old unofficial builds: Download
    Old lineage recovery builds: Download as Disk image | TAR (for Odin)

    Support
    Donations
    They aren't necessary, but if you like my work feel free to send me or LineageOS a donation to keep me/us motivated.

    Credits
    To...
    • Me, for spending my time on this project
    • Everyone who helped in funding me this phone
    • @BlackMesa123 for his help with getting QKGI to work and general help
    • All the testers
    • Maybe more, feel free to tell me if I forgot someone

    Source Code: https://github.com/LineageOS/android_kernel_samsung_sm7325
    19
    Great news!

    A52s 5G is now officially supported by LineageOS!

    What does that mean?
    There will be a new build once per week that you will be able to download and install using the ROM's Updater in Settings -> System -> Updater.
    If you are still using an UNOFFICIAL build you will need to install an official build before being able to get OTA's.

    When?
    The first build will approximately release on Sunday (25th June) and new builds will most likely keep releasing on Sundays too.

    Changes over current unofficial builds
    • Bootloader rev4 support
    • Fully working BT and VoIP audio
    • Slightly better performance
    • 60FPS recording in camera

    Some useful links:
    LineageOS wiki
    LineageOS downloads
    11
    Good news!

    I just released another LineageOS update.

    Download: Click here

    Changelog:
    Code:
    -Latest LineageOS sources (still May security patch, June one hasn't been merged yet)
    -Limited sensing range for proximity sensor
    -Initial M52 5G support
    -Dynamically disable/re-enable night light and extra dim during unlocking with FOD
    -Imported task_profiles.json for generally smoother performance (thanks to @PauloWesley)
    -Enforcing SeLinux!
    -Heavily improved vibrations
    -Fixed phone calls with Bluetooth Headphones/Earphones/Smartwatches/etc
    10
    Update!

    Another update with quite a few important fixes.

    Downloads:
    LineageOS: Download here
    Lineage recovery: Download as Disk image | TAR (for Odin)

    Changelog:
    • Dynamically link correct IPA/WPSS firmware for all different bootloader revisions to fix Wifi - thanks to @Guegz and @peezdah for initially reporting this
    • Correctly show "Charging slowly" and "Charging rapidly" on lockscreen
    • Made lineage recovery work by shipping prebuilt kernel and modules - thanks to @BlackMesa123 for his help
    8
    Unofficial changelogs

    08 June 2023
    Code:
    -Latest LineageOS sources (still May security patch, June one hasn't been merged yet)
    -Limited sensing range for proximity sensor
    -Initial M52 5G support
    -Dynamically disable/re-enable night light and extra dim during unlocking with FOD
    -Imported task_profiles.json for generally smoother performance (thanks to @PauloWesley)
    -Enforcing SeLinux!
    -Heavily improved vibrations
    -Fixed phone calls with Bluetooth Headphones/Earphones/Smartwatches/etc

    26 April 2023
    Code:
    -Dynamically link correct IPA/WPSS firmware for all different bootloader revisions to fix Wifi
    -Correctly show "Charging slowly" and "Charging rapidly" on lockscreen
    -Made lineage recovery work by shipping prebuilt kernel and modules

    19 April 2023
    Code:
    -Adjusted powerhint for better performance and battery life
    -Temporarily switched to prebuilt camera provider to fix camera lags and crashes at the cost of macro camera
    -Fixed missing hardware accerleration for colours (Night light, Color Modes, Reading Mode)
    -Fixed laggy/non-hardware accelerated video playback
    -Switched to R RIL blobs to fix signal strength indicator
    -Added single tap to show AOD setting
    -Prevent booting failures ("SECURE CHECK FAIL: modem")

    11 April 2023
    Code:
    -Initial release