yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A52s 5G] Viriathe:
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 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>
[Samsung Galaxy A52s 5G] kot7k:
Hi,

Many people is having problems with android 13 and bluetooth, can you explain how you fixed it? I don't see any recent commit in official lineageos regarding bluetooth
[Samsung Galaxy A52s 5G] Simon1511:
Specifically on this phone (and A52 4G / A72) these fixed it: This and this.
[Samsung Galaxy A52s 5G] rb1979:
Simon, thank you for your work. I use it daily and I'm really happy with it.

Two things if I may.

One is a question, is there a chance for an official LOS release?

Second is a very minor issue. Bluetooth when first connecting is choppy, it takes 15 or so seconds to even out and come smooth. It's not big deal at all, just something I noticed. With all my phones once it connected it was good to go, with this phone, all updates so far it stutters a little before it becomes smooth.

Again, nothing major, I'm happy to use it and thanks again for your work.
[Samsung Galaxy A52s 5G] Simon1511:
I'm working on it ;)

Not sure if there's much I can do about it, but I'll take a look.
[Samsung Galaxy A52s 5G] rb1979:
Thank you. Please don't spend too much time on the bluetooth issue. Not a big deal, especially if others don't experience it.
[Samsung Galaxy A52s 5G] darkjm93:
That would be great
[Samsung Galaxy A52s 5G] Simon1511:
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
[Samsung Galaxy A52s 5G] darkjm93:
Oh, nice news. Any change volte and vowifi will work in the future?
[Samsung Galaxy A52s 5G] ShaDisNX255:
No, those haven't worked in years on Samsung AOSP ROMs and it doesn't seem like that's changing any time soon
[Samsung Galaxy A52s 5G] sedc38:
Hi guys, I've seen that today LOS staff released this ROM for the A52s on the official site. Where is the changelog? Anyone tried this version? Any impressions?
[Samsung Galaxy A52s 5G] Simon1511:
See post #87. It's just three posts above yours.
[Samsung Galaxy A52s 5G] sedc38:
Oh, I haven't seen that. Thx
[Samsung Galaxy A52s 5G] rb1979:
How do we update from the current unofficial one? Download just the ROM and run it from TWRP? Will the dirty flash work?
[Samsung Galaxy A52s 5G] Simon1511:
As said before, you'll need to install an official build manually using TWRP, OrangeFox or Lineage recovery. After that you will be able to install OTA's directly from the Settings app.
[Samsung Galaxy A52s 5G] rb1979:
Thank you for your help but I'm still not 100% sure about the very definition of the word installing. I went to the documentation and there's two paths, installing from scratch and updating. Both of these will install the ROM. Both are similar when using side loading, however during installing from scratch you erase your data , not so when updating. So it comes down to the question if I can use the upgrade option without deleting what i have already. If i have to delete the data will restore from backup work if make a backup in TWRP? I wouldn't want to go through all the signing in etc... For all the apps again. Thanks.
[Samsung Galaxy A52s 5G] Viriathe:
I followed the instructions in first message of this thread.

But I confess I didn't quite understand the first time.

Then when I did it again calmly Linegeos came to life.

The second step I wanted to build my own ROM from the sources and by baby steps I got there too.

Good job Simon1511(y)

I've learned a lot from your source code and I intend to keep improving.
[Samsung Galaxy A52s 5G] Simon1511:
You simply download the latest official LineageOS build from their website, copy it to your phone (or adb sideload it), and choose "Install" in TWRP (or "Apply update" if you are using lineage recovery).

Since you already have LineageOS installed you don't need to format or factory reset anything, it will act as a regular update.
[Samsung Galaxy A52s 5G] rb1979:
Thank you, i did just that and it's working fine.

Info for others, you can safely install the ROM. I confirm it's running fine without any issues.
[Samsung Galaxy A52s 5G] Errorman:
Hi, this is a very nice rom indeed, but I just ran into 1 little odd issue. The PS5 controller doesn't work over bluetooth, but works fine using USB C to C cable. Basically the controller pairs, but the white LED (that indicates player 1) won't light up, and none of the buttons do anything. I wonder if this is a bluetooth related issue with rom regarding input devices, or does LineageOS just not support the controller wirelessly? Thanks
[Samsung Galaxy A52s 5G] Simon1511:
Does it work on stock ROM? If yes then AOSP simply doesn't support it out of the box.
[Samsung Galaxy A52s 5G] Errorman:
Yes, it works on stock rom. Alright then, It's not a big deal for me.

I have another question, in stock rom when front camera is in use, it gets a black ring around the camera to prevent glaring. Would it be possible to implement such thing on this rom?

For those who want it too, the current workaround is to install an app called Energy Ring from play store, set the ring thickness to max and make all the colors black. Then you set an accessibility shortcut to volume up and down, and that way you can activate and disable the black ring manually when you need it.
[Samsung Galaxy A52s 5G] batam:
Hi,

I just installed the official build with MTG gapps, the auto brightness seems buggy with light theme (working well un dark mode).

Brightness is going back and forth constantly.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Automatic brightness doesn't work very good for now. It's a known bug. This happens because light sensor reacts to light from screen.
[Samsung Galaxy A52s 5G] pavithrang:
I’ve installed the last Unofficial Lineageos 20 release Before the official build and i cant but admit it is fantastic. Got to thank Simon1511 for the heavy lifting and putting in the effort to get an official build released. A52s is one of the low price-to-performance mid rangers that was screaming for Lineageos and I am glad this exists.

Everything has been smooth and it serves my purpose and I use it as a daily driver. The transitions are a little a choppy with nova launcher but i guess it was never gonna be as smooth as oneui and official Samsung build. But it is not a deal breaker and as long as I get a clean OS this is no major issue. Only thing is there is no gravity box for android 13 so that I can hide the damn battery icon and percentage from quick settings drop-down. No purpose is served for me by knowing the battery levels throughout the day. So far no crashes and everything is quick and battery lasts a day with usage of audiobooks, YouTube, vlc, Reddit and twitter.

I am yet to upgrade to the official build, so am wondering if I can just do a flash of official build over the unofficial version followed by a wipe of metadata and cache, and flashing magisk to preserve root.

Anyways thanks for all the effort and perseverance to get the official build out. Appreciate it!
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
You can dirty flash it. You'll have to flash Magisk again. But that shouldn't be a problem. Everything worked for me this way.
[Samsung Galaxy A52s 5G] Simon1511:
Just flash the official build without wiping anything.

Wiping metadata would corrupt your data partition, you should only wipe that if you want to fully start over.
[Samsung Galaxy A52s 5G] pavithrang:
Thanks for the tips fellas, I will just dirty flash the official build. Glad I don’t get to lose any app data and configurations already done.
[Samsung Galaxy A52s 5G] happyPandaBear:
Hi @Simon1511

First of all I'd like to thank you for this wonderful A52s official release! I would describe myself as an occasional user and with this ROM my battery life is between 4-5 days, sometimes even 6 days. 3-4 days max with stock ROM.

One issue that I've noticed:

There is no notification point/number displayed on the app icons in case of a new message, even if this option is enabled in the setup menu. Is this going to be fixed with the next release?
[Samsung Galaxy A52s 5G] Simon1511:
I'm not 100% sure but I think this is a limitation of Launcher3. You might have more luck with Pixel Launcher.
[Samsung Galaxy A52s 5G] happyPandaBear:
Is the Pixel Launcher working properly with the A52s?

Download Pixel Launcher APKs for Android - APKMirror

Download Pixel Launcher APKs for Android - APKMirror Free and safe Android APK downloads

www.apkmirror.com
[Samsung Galaxy A52s 5G] gaim:
Any chance for bug link ? This is kinda driving me crazy :) not far from reinstalling to stock.
[Samsung Galaxy A52s 5G] Tuned modified:
Just install full stock pack you will get pixel Launcher installed by default i did it worked on unofficial lineage download nick gapps full stock pack as i remember pixel launcher works 100% fine no bugs
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
What do you mean "bug link"?
[Samsung Galaxy A52s 5G] PalmerBE:
Hi,

I have been used to install LineageOS on previous phone uploading the .img on the SDcard and using TWRP.

I do seem to find the only the zip version on the official download website but I guess this needs to be sideloaded with ADB.

Is there any official .img repository ?

Cheers
[Samsung Galaxy A52s 5G] Simon1511:
What weird phone was that? No ROM is installed in .img format, also you can't sideload .img files.

Apart from that, please just follow the installation guide in post #1 for TWRP or on the LineageOS website.
[Samsung Galaxy A52s 5G] gaim:
something like https://gitlab.com/LineageOS/issues/android/-/issues/6034
[Samsung Galaxy A52s 5G] PalmerBE:
TWRP look for .img by default on the SDcard or internal memory. It does not used adb/sideload

That the way I have always installed Android ROMs

Anyway, I am following the "sideload"way now as detailed on the official https://wiki.lineageos.org/devices/a52sxq/install.

Letś see how it goes.

- Update -

First attempt failed.

The phone restarts in (Recovery) TWRP

Second attempt , all worked fine :-)

Thanks folks
[Samsung Galaxy A52s 5G] Simon1511:
The lineage wiki tells you to use lineage recovery, not TWRP.

And please, as I already said, refer to the TWRP installation guide in post #1 if you're using TWRP.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
You can change format of the file you want to install in the same window as you would install .img file. There is button for it. Next to Select storage, Install Image / Install Zip.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
I don't know, I don't use Github or Gitlab. But it was recognized by Simon1511, that's why I wrote "known bug":
[Samsung Galaxy A52s 5G] Mr. Burns2000:
hi,

i have trouble with voice activation for google assistant.

the switch for activation voice commands is grey and it says its noch availible on this device.

i reinstalled google app and assistant. same problem.

can anybody help me with that?
[Samsung Galaxy A52s 5G] Moha.E KURDI:
Hello when i was in the step 15 of installation this redirect me to an error an it's says to format (HOPEFULLY IT'S WORKED) idk if i can continue installing, i'm sweating XD.
[Samsung Galaxy A52s 5G] Simon1511:
Well as the wiki says, "The device will demand you format userdata, please follow the onscreen instructions to do so.".

If it tells you to format then do so.
[Samsung Galaxy A52s 5G] Moha.E KURDI:
Are you sure ? because it's say that is an error and the same thing happened to you. I'm confused.
[Samsung Galaxy A52s 5G] Simon1511:
I am sure, I am the one who wrote the guide and did these steps more than often.

And as I and the guide say, you need to format your phone when it tells you to do so. It doesn't matter if it says "Error" or something else.
[Samsung Galaxy A52s 5G] Moha.E KURDI:
While installing "vbmeta.img/tar" did you get an error menu that say to "Try again" and to format ?
[Samsung Galaxy A52s 5G] BlackMesa123:
Yes, it is mandatory to format your data partition when flashing a patched vbmeta coming from a full stock ROM.
[Samsung Galaxy A52s 5G] gaim:
hi guys

just a question to the autobrightness bug ? any chance tomake it work properly or some othe custom rom that have it solved ( i dont think its there if maintainer of lineage didnt hack it )

thanks
[Samsung Galaxy A52s 5G] ram1MB:
I really wanted to install this rom. But my network only relies on VoLTE which hold me back from trying.
[Samsung Galaxy A52s 5G] iamniranjan7:
cts profile match failed !
[Samsung Galaxy A52s 5G] BlackMesa123:
https://telegra.ph/Passing-safetynet-with-Magisk-v24-and-newer-03-03
[Samsung Galaxy A52s 5G] mostafa elyay:
Every time I try to make a call this happens.

How can i fix this ??
[Samsung Galaxy A52s 5G] gts1977:
Hi. First of all a big thanks to the developer for his effort and time. Flashed the rom yesterday and everything works fine (besides auto-brightness).

I find it to be much faster than stock and battery life is way better.

Rooting with magisk gave no issues.

The only issue i noticed (and i don't know whether it's a bug or not) is when trying to configure a text-to-speech engine through system settings, it constantly crashes.

I tried several different engines but still the same thing happens. Settings app will just close instantly and restarts on its very first page.

Has anyone else experienced anything similar? Is there a way to fix this?

Thank you all in advance.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Try using different dialer app.
[Samsung Galaxy A52s 5G] Simon1511:
Hmm, I can configure Google TTS just fine here. Could maybe be an issue with the Gapps you're using or missing permissions for one of the TTS apps.

If you can, then send me the output of

adb logcat -b crash

and then try to configure TTS again. The error message might give us more information about what is happening. If you don't have a PC nearby to use adb with, you can also run it on your phone with for example Termux (only logcat -b crash then).
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Hi, @Simon1511, I've found some new bugs.

1. Bar with tiles gets laggy after enabling or disabling something. Video included, see 00:02 and 00:11 - it gets laggy after enabling and disabling flashlight, I think it sometimes happens with other tiles too.

2. Night mode (blue color reduction) intensity is set to 0 after unlocking the phone. This happens every now and then. I can't get it to reproduce 100%, but I unlock the phone with the fingerprint, so that is my main culprit.

3. Sometimes flashlight won't turn on. It happened only 2 times so far. On LOS version 20230716. It worked normally after reboot.

4. Stock Gallery app is slow. It takes some time to show photos after capturing them.

I'm not on the latest version of LOS from yesterday, but I'm probably going to reflash it, if some of these bugs don't get solved after update. Just to see if it helps.

By the way, does somebody experience worse performance than expected in some games? This may be problem with the games rather than ROM, though. Anyway, I'm talking about Cube Escape Collection and Mighty Doom.
[Samsung Galaxy A52s 5G] Simon1511:
Can't do much about that, that's most likely a general AOSP thing.

I will look into that. Most likely it doesn't properly reset the intensity.

Was that an issue on previous builds too? Or did it only started to happen recently?

Can't do anything about that either. I would just recommend you to use Google Photos instead, which has a lot more features and is generally the better choice in my opinion.
[Samsung Galaxy A52s 5G] gts1977:
thank you for replying. i attach my logcat output.
[Samsung Galaxy A52s 5G] Simon1511:
Which Gapps did you install? Did you also install Google Speech Services?

Also, make sure that in Settings -> Apps all the needed TTS apps have all the needed permissions.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Ok.

Yeah, most likely something like that.

It started happening on build 20230716. It was fine before that. I'll update to 20230723 and see if it will happen again.

Ok, I'll use some foss alternative.

Thank you.
[Samsung Galaxy A52s 5G] gts1977:
i tried MindTheGapps, no gapps and microg. all the same behavior.

after a lot of googling, i solved my problem by installing an app that can access phone's tts settings outside the main settings app.

in hoping this could be of help for others that may face the same issue, here is what i did:

step 1 - remove/uninstall all tts related software from phone

step 2 - install text-to-speech engine of your choice (like google speech services)

step 3 - reboot

step 4 - install com.reecedunn.espeak_21.apk from f-droid

step 5 - open espeak -> menu -> general tts settings and choose espeak as the default engine

step 6 - close espeak app

step 7 - go to settings. you can now choose and configure the text-to-speech engine of your choice

Thank you again.
[Samsung Galaxy A52s 5G] Moha.E KURDI:
Q1: Hello i want to install it but there is a risk that my device doesn't works if something goes wrong ? (NOTE: My stock rom is already in my PC)

Q2: Even if i have my stock rom file in my PC to unbrick there are still risks ? (IF THERE ARE)
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
If you'll follow the instructions preciselly, nothing will go wrong. Samsung didn't make it hard to unlock the bootloader. And thanks to the amazing modding community, access to custom ROMs, recoveries and kernels is easy and safe. They all include instructions what to do, so you should be more than fine.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
It happened on latest release too. But this time I didn't reboot my phone and it worked normally after few hours. Will log file be more helpful?
[Samsung Galaxy A52s 5G] Simon1511:
Sure, adb logcat -b crash should be enough.
[Samsung Galaxy A52s 5G] pealfa:
Hello.

Thank you very much for your LineageOS for A52s. I followed the instructions and everything is fine, so far, except for the annoying auto brightness bug.

One question: do I have to flash vbmeta.img every time I install a new version of lineageOS or lineageOS for microG?

I reiterate my thanks.

P.S. I do not know if it will be important, when installing the rom (from microSD) appeared at the end:

Install completed wich status 0.

ERROR: recovery: [libfs_mgr] Error updating for slotselect

[Translated with www.DeepL.com/Translator (free version)]
[Samsung Galaxy A52s 5G] Simon1511:
No, it's enough if you flash vbmeta.img only the first time you install lineageOS, you don't need to flash it again afterwards.

You can ignore that, it's only relevant on A/B devices where you can select between different slots (which A52s can't due to it being A-only).
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Hi, @Simon1511. I think I've found the culprit for the flashlight problem. It happened mostly after charging. I've disabled "Charging control" and flashlight is working. I'm going to test it little more and let you know.
[Samsung Galaxy A52s 5G] Simon1511:
A fix for this has been merged and will be included in the next LineageOS build.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
Amazing. Thank you.
[Samsung Galaxy A52s 5G] Guiamont654:
hello, good job but there is a problem with the audio, in One UI it has dolby atmos and it sounds fine and in LineageOS it doesn't have dolby and it sounds very bad, how do I fix that or will it come out in a new update?
[Samsung Galaxy A52s 5G] Qattos:
Great work Simon, I've recently moved from a Sony Xperia XZ to A52s and the difference is stunning, in terms of performance/stability of the hardware and your ROM, so thank you for this.

I have two questions though, I have the 6GB variant and it's only showing 5.4GB, is that normal?

And can I update to the latest build without losing root? I used Magisk, of course it's easy to root it again but I just wanna know.
[Samsung Galaxy A52s 5G] Simon1511:
Yes, that's normal. That simply is related to manufacturers/Android mixing up units. They advertise phones as 6 GigaByte (which is technically not wrong), but Android shows whatever it gets as GigaByte, even though the normal unit for RAM is GibiByte (GiB). If you convert 6GB to GiB you get ~5.58GiB. A part of that is reserved for the hardware, that's why you end up with 5.4 GibiByte which mistakenly (Android's fault) show as 5.4 GigaByte.

TWRP should support automatically re-installing it after installing OTAs, though I must admit I've never done this on my own.
[Samsung Galaxy A52s 5G] Qattos:
I ended up flashing magisk.apk through LOS recovery then it continued its installation when I rebooted and opened Magisk, easy and simple if you've got a spare 5 minutes.

Thank you again.
[Samsung Galaxy A52s 5G] sergii19:
I'm on PE, so I'm not sure if it's a lineage-only issue, but it's AOSP so it's the same thing, though my audio is working fine and I'd say it sounds even a bit better (probably sounds the same but yeah), and I didn't use Dolby either so I really don't mind it not being there
[Samsung Galaxy A52s 5G] Qattos:
Use Viper4android, I'm using it with Audio Modification Library and Audio Compatibility Patch, it's working wonderfully.

It needs root of course.
[Samsung Galaxy A52s 5G] Graeme354:
Done buddy, and thanks. 👍🏴󠁧󠁢󠁳󠁣󠁴󠁿
[Samsung Galaxy A52s 5G] Graeme354:
Buddy, you sorted something out that has taken me a week and a half, and hadn't a CLUE what was going on. Credit where credit's due and thanks. 👍🏴󠁧󠁢󠁳󠁣󠁴󠁿
[Samsung Galaxy A52s 5G] Simon1511:
Thanks for the hint on this, I've just merged a patch to fix that issue. It will be available starting from the next build.
[Samsung Galaxy A52s 5G] ĽubomírKonečný:
No problem. Happy to help.
[Samsung Galaxy A52s 5G] polpettopoh:
Thank you for your effort sir. The ROM is almost perfect.

I would ask only for an info; I lurked around the internet, but I couldn't find reliable information: is there a way to make Samsung SmartThings app work? I get a Java exception concerning the oneconnect package (Samsung specific).

I tried to change the props.config, but without success.

Thanks in advance if anyone can help :-)

PS: I know that there is also a bug concerning the automatic brightness, which is generalized for AOSP 13 ROMs as far as I can see. What is caused by? Is there a way to fix it?