yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A52 4G] polaco07:
friends I need your help something went wrong

1 flash twrp first and then disbled vbmeta

2 I was following the steps of a video and I had to hit "format data" in twrp after that I realized that the internal memory was deleted and it was bricked there

3 I wanted to install lineage os from an sd card (before with another mobile I had solved it like this) but it didn't start either

First it booted but it didn't start, it stayed in "Samsung" and there I wanted to install Lineage, then it stayed in a loop and went back to twrp

Now I sent it to flash the firmware because I already had a lot of stress, but if you could tell me what the error was... I haven't done this in a long time, thanks
[Samsung Galaxy A52 4G] Simon1511:
Well, that sounds like you didn't follow the installation steps properly.

The installation steps tell you to flash vbmeta_disabled, flash TWRP (or Lineage recovery), flash lineage, then format data and wipe metadata.

Simply formatting your data/internal storage doesn't lead to a bricked phone, it's the same as running a factory reset.
[Samsung Galaxy A52 4G] polaco07:
deleting the metadata would be, the "wipes data, cache, dalvik cache"?

mm now I see well because I think I wanted to do everything very quickly, I should have waited longer with the first boot after installing twrp
[Samsung Galaxy A52 4G] Simon1511:
I said metadata, not data, cache or dalvik cache. Please read the installation instructions carefully before asking questions.

Just waiting longer won't magically solve that issue.
[Samsung Galaxy A52 4G] nikolamus:
i want to instal lineage 20 but twrp want password i dont know what is the password
[Samsung Galaxy A52 4G] RisenID:
same as your screen unlock password in lineageos
[Samsung Galaxy A52 4G] nikolamus:
which twrp should i use for galaxy a72
[Samsung Galaxy A52 4G] nikolamus:
anyone know gaps for lineage 20 for galaxy a72
[Samsung Galaxy A52 4G] RisenID:
latest official obviously?

read the main post
[Samsung Galaxy A52 4G] nikolamus:
unoficial please share me gaps link
[Samsung Galaxy A52 4G] RisenID:
https://xdaforums.com/t/unofficial-rom-13-0-encryption-lineageos-20-for-a52-4g-and-a72.4501577/
[Samsung Galaxy A52 4G] nikolamus:
thank you!!!
[Samsung Galaxy A52 4G] polaco07:
please, my phone restarts in twrp, I don't know what to do, I understand that I only have to flash the official firmware, right?
[Samsung Galaxy A52 4G] RisenID:
Please follow the install guide on the main post.
[Samsung Galaxy A52 4G] polaco07:
Thanks I was able to save my mobile and I was able to install Lineage

1 - Recommended Gapps? install "MindTheGapps 12.1" but play store doesn't work

2 - Should I just install? or reinstall lineage and then gapps
[Samsung Galaxy A52 4G] xinouch:
Make sure the playstore has internet permission.

It happens sometimes that it loses this permission...
[Samsung Galaxy A52 4G] polaco07:
friend, it worked, you don't know what I've suffered and the stress that I've been through these days 😥 THANK YOU
[Samsung Galaxy A52 4G] hamudistan:
Thanks for für hint. Just had that trouble with nic gapps core.

Play store was pretending i'm offline
[Samsung Galaxy A52 4G] polaco07:
What wipes should I do to update lineage os by twrp?
[Samsung Galaxy A52 4G] Flyos:
Is it possible that the "call output on bluetooth not working" bug could be circumvented by using a call app different the from LineageOS stock one?
[Samsung Galaxy A52 4G] RisenID:
No need to wipe anything to update los, simply flash the new version and reboot
[Samsung Galaxy A52 4G] Simon1511:
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.

The last 19.1 builds will continue to be available on a mirror hosted by me, you can find it here.

Link to LineageOS 20 thread: https://xdaforums.com/t/rom-13-0-encryption-official-lineageos-20-for-a52-4g-and-a72.4501577/
[Samsung Galaxy A52 4G] nikolamus:
please help me I installed Lineageos20 and gapps but I don't have internet on google play google play is ofline
[Samsung Galaxy A52 4G] Simon1511:
Check in Settings -> Apps -> Play Store -> Permissions if it has network permissions and if not, enable them.
[Samsung Galaxy A52 4G] nikolamus:
thank you!!
[Samsung Galaxy A52 4G] nikolamus:
when i make pictuire the picture is 72 megabytes is that normal?
[Samsung Galaxy A52 4G] MarioRS:
Hi, similar problem here. With bluetooth connection in my car, audio is played over car audio, the phone is not. Bluetooth dialog is active but sound comes out on the phone.

a52q with LineageOS 20 official and Skoda Superb bluetooth connection.

Hope this can be fixed!

Thanx & best regards, Mario
[Samsung Galaxy A52 4G] manhnct:
Hi Mr. @Simon

I've tried to flash your FW on Samsung A52, and it seems to work perfectly.

On other hand, I've flashed and tested the lastest Pixel Experienced GSI firmware (Pixel Experience 12.1 v416) on a Samsung A52 device. And I found that the problem of no sound when calling on SIM 2 still exists on the treble GSI firmware.

As in your release notes, I see that you'd fixed that issue since 07/2022 (please see the attached image). I understand that this issue may be the problem in GSI Firmware, but could you please share the patch or commit link to fixed that issue? I'd like to try to apply this patch in to GSI firmware.

Thank you.
[Samsung Galaxy A52 4G] RisenID:
Why gsi when we have official pixel experience builds for the a52?
[Samsung Galaxy A52 4G] Simon1511:
This here is the patch. Most likely you've been using the PixelExperience GSI with the stock ROM vendor which does not include this fix.

Also as Ryzen5950XT said, we have officiall source built PixelExperience for A52 that has this issue fixed too.
[Samsung Galaxy A52 4G] manhnct:
Because I see thise issue (no audio sound when call in SIM 2) exists not only on A52 but also on other devices model such as Samsung S22 Ultra with GSI firmware. I guess all Samsung model which are using Qualcomm chipset have this issue. This issue has also been reported on the treble GSI Firmware (phh_treble 2008, or phh_treble 2013 - calls on SIM 2 does not work) but still not fixed. So that I just want to try to check.
[Samsung Galaxy A52 4G] manhnct:
Thank you very much for your quick reply.
[Samsung Galaxy A52 4G] thefallenghost:
Hi @Simon1511 . Did you manage to enable control of vibration strength in the end?
[Samsung Galaxy A52 4G] Simon1511:
No, but I'll be taking another look at it now.
[Samsung Galaxy A52 4G] diegobenti:
I keep testing it and the truth works very fast. Much faster than Samsung's rom.

I'm going to list the options I recommend adding.

1 volte

2 call wifi

3 Option to completely mute the device. So far I could not with any app

4 Add option to increase flashlight intensity as you have samsung

5 repair nfc for some bus cards

But the rest I can't find fault works perfectly.

If I remember something else I add it to this post

Greetings and very good work
[Samsung Galaxy A52 4G] Simon1511:
Thanks for your recommendations.

With muting the device, do you mean turning off the sound? If so, the feature is already there. There is a quicksettings toggle that lets you mute it.

Inscreasing flashlight intensity on the other hand is not possible on AOSP as far as I know since it isn't supported by anything different than OneUI.
[Samsung Galaxy A52 4G] diegobenti:
You know I didn't find the option to mute completely, this one to download volume. But for example if one lowers the volume and makes a call or video call on WhatsApp this can not be put in mute. On the other hand, with the total silence of Samsung it could be done. Nose if there is any option that does that. Thanks greetings
[Samsung Galaxy A52 4G] dnsvoronkov:
The constant problem with the fingerprint is a very significant drawback, in fact it does not work.Very unfinished firmware to put it out to users.
[Samsung Galaxy A52 4G] Simon1511:
Are you talking about not being able to unlock the phone with fingerprint when the screen is off? If yes, then that's already known.
[Samsung Galaxy A52 4G] dnsvoronkov:
No, I mean that after a while the fingerprint is not recognized at all, even with an active screen.
[Samsung Galaxy A52 4G] Agatic:
I have the same issue .. It seems like fingerprint event can't override screen brightness ..So when the screen is not bright enough fingerprint simply stops working .
[Samsung Galaxy A52 4G] Agatic:
Is it possible to make screen brighten on certain scenarios automatically ? I am not an android programmer ,but I think it's event driven and we can mess with it and make temporary solution ? Overall the ROM is working good for me ,needs some adjustments tho.
[Samsung Galaxy A52 4G] dnsvoronkov:
The problem with switching sim cards, if you turn off one card, then turn it on again will not work, there is also no choice to turn off the sim card - you can only turn off one card.
[Samsung Galaxy A52 4G] dnsvoronkov:
WARNING! ! ! DO NOT TURN OFF THE SECOND SIM CARD SLOT, YOU CAN TURN IT ON ONLY AFTER RESETTING ALL SETTINGS.
[Samsung Galaxy A52 4G] madseason.live:
I have a spare device A72 4G (SM-A725F/DS) that I can use, as long as there is no risk of irreversible bricking the phone I can test it ;-)
[Samsung Galaxy A52 4G] Simon1511:
Feel free to PM me on XDA or telegram.
[Samsung Galaxy A52 4G] Droid365:
hi thanks for the rom, can you also make lineageos 19 if possible? i'll be ready to test it.
[Samsung Galaxy A52 4G] RETR0_OFFICIAL:
will take updates???
[Samsung Galaxy A52 4G] iam23:
how to move the network traffic monitor to the right?
[Samsung Galaxy A52 4G] Simon1511:
Update

13-01-2022: A52 (MEGA) | A72 (MEGA)

Lineage recovery: A52 (MEGA) | A72 (MEGA)

Changelog

-Latest lineage sources with december security patch (january one wasn't released yet)
-Updated blobs to A525FXXU4AUJ2
-Added initial A72 support -- see more information below
-Switched to OSS fingerprint HAL by @Grarak
-Cleaned up unused config files
-Built lineage recovery for both devices
-Added missing overlay for the system to know that we have a notch
-Built more blobs from source
-Fixed A2DP offload and switched to AOSP bluetooth audio implementation
-Correctly boost brightness when the fingerprint sensor is touched
-Fixed fingerprint sensor not working when screen brightness is low
-Corrected size and position of the fingerprint sensor (And yes, the sensor is REALLY that big)
-Disabled screen off FOD for now since it doesn't work anyway
-Limit fingerprints to max 4 per user
-Temporary disabled FMRadio since it somehow broke with latest sources
-Built QCOM audio effects from source

Some notes regarding A72 support

Since I don't have an A72 here it was kinda hard to blindly support it. But first I wanna thank @madseason.live and Leo on Telegram for testing my builds on their A72's. Even though both of them did good testing, we didn't succeed in getting the fingerprint sensor to work. A72 uses a different sensor and driver than A52 does and without having the device here by myself it's hard to fix that without knowing what the actual issue is. It only works for setting up a fingerprint, but actually unlocking the phone with it doesn't work. Additionally, for somehow screen rotation is flipped by 90° which makes no sense at all since A52 and A72 use the same sensors except for fingerprint and camera. If someone has an idea or wants to contribute, feel free to contact me.
[Samsung Galaxy A52 4G] TheLeo2307:
Nice work @Simon1511! Thanks for bringing Lineage on our device...
[Samsung Galaxy A52 4G] ashraftheboss:
Very very nice work @Simon1511

Love seeing the progress on this ROM!
[Samsung Galaxy A52 4G] MrZaku086:
i would install today in my a52 i can ask of adding a pwfree or somethin in native form, would be great to reduce the flikering
[Samsung Galaxy A52 4G] Simon1511:
I personally didn't notice any flickering at any time and I'm not gonna add it to the ROM. If you really need PWMfree, just install it after installing the ROM.
[Samsung Galaxy A52 4G] MrZaku086:
well i was only a recommendation the fliker is there:

"

The display backlight flickers at 183.8 Hz (Likely utilizing PWM) Flickering detected at a brightness setting of 100 % and below. There should be no flickering or PWM above this brightness setting.

The frequency of 183.8 Hz is relatively low, so sensitive users will likely notice flickering and experience eyestrain at the stated brightness setting and below." from notebookcheck

you cant notice but can give you eyestrain
[Samsung Galaxy A52 4G] khaledkakeesh:
Thank you for the continuous great work I used your ROMs on my old A5 2017 for couple years and always worked great, and I recently upgraded to the a52s 5g so is there any chance or plans to also support that device ?
[Samsung Galaxy A52 4G] Simon1511:
Nice to see that some A5 2017 users are around here too :)

As of now there are no plans to support A52s since the camera stops working when the bootloader is unlocked and it has a different SOC than A52 4G which would make it very hard for me to blindly support it.
[Samsung Galaxy A52 4G] frht5382:
I'm waiting Lineage 19 unpatiently :)
[Samsung Galaxy A52 4G] MrZaku086:
i was having bad performance in emulator of psp and psx, that problem dont exist in oficial android 11
[Samsung Galaxy A52 4G] ashraftheboss:
That's why you keep official system if you want stability. This custom rom is a work in progress and won't get you the best of performance when compared to stock.
[Samsung Galaxy A52 4G] MrZaku086:
is ok i just was reporting, i would love a lineage rom more stable and that was the only bug i have.
[Samsung Galaxy A52 4G] Simon1511:
The last update was released just 5 days ago, I doubt that you could call this abandoned. In case of updates, just keep following the XDA thread and you shouldn't miss out on anything.

Thanks for reporting the bug, I will take a look into it. Apart from what you reported and the bugs listed in post #1 it should be pretty much bugless and stable.
[Samsung Galaxy A52 4G] Simon1511:
Sorry, I usually only announce new updates and similar on XDA and Telegram. You're probably gonna have the best chances to miss nothing when checking the Telegram group from time to time.
[Samsung Galaxy A52 4G] Simon1511:
Can't promise anything as of now.
[Samsung Galaxy A52 4G] chaosleo07:
just wondering

could i try getting los19 to run with your stuff? would bw interesting tbh
[Samsung Galaxy A52 4G] Simon1511:
At the moment probably not. From what I've heard so far Lineage 19 seems to be in a pretty early state where everyone needs hacks to get most stuff to even compile.

The only thing I can say is: It will be released here once its ready :)
[Samsung Galaxy A52 4G] chaosleo07:
cant stop me from trying :p
[Samsung Galaxy A52 4G] faisal95bd:
is there any update on los19 development?
[Samsung Galaxy A52 4G] eraycetin:
dear sir, when will the bluetooth audi bug will be fixed?
[Samsung Galaxy A52 4G] Simon1511:
Hey people, thanks for waiting patiently and reporting bugs. Lineage 19 is now available with a long list of bugfixes and improvements!

Before installing, make sure to be on OneUI 4 firmware and have OrangeFox or TWRP 3.6 or newer installed, otherwise you will end up in a bootloop.

Also, this build contains an unofficial implementation of monet. Feel free to give me feedback on this.

In addition the device trees are now available on my Github!

Downloads: A52 | A72

Changelog:

-Updated to Lineage 19.0
-February security patch
-Updated all blobs and configs to A525FXXS4BVA2 (Android 12)
-Updated kernel to A525FXXU4BUL8 (Android 12)
-Unified more blobs
-Fixed screen rotation on A72
-Switched to AOSP WifiDisplay implementation
-Corrected status bar padding
-Built more blobs from source
-Switched to Clang r383902
-Disabled APEX compression
-Switched to UDFPS
-Fixed FOD on AOD
-Make FOD stay always on for working FOD on AOD
-Increased the amount of time the screen lights up when touching the fingerprint sensor
-Switched to stock health blobs
-Overall cleanup
-Enabled F2FS support for system partition
-Switched to newer AIDL libperfmgr power HAL
-Updated vibrator to AIDL to switch to manifest level 5 and match stock
-Fixed audio in bluetooth phone calls on A52 (for somehow still broken on A72)
-Imported APTX BT encoder from Pixel 5
-Enabled unofficial monet implementation
[Samsung Galaxy A52 4G] sinkoo1979:
Working very smoothly on my A72. Thanks for the rom
[Samsung Galaxy A52 4G] Elvaa:
How about gaming performance?
[Samsung Galaxy A52 4G] Evanllelos7:
Pretty nice rom, I prefer this over One UI. Any gcam port recommendations?
[Samsung Galaxy A52 4G] PratikOimbe:
Is it like stock android 12 ?? Because in screenshots it is not showing new notification panel
[Samsung Galaxy A52 4G] Evanllelos7:
Yes, screenshots need to be updated.
[Samsung Galaxy A52 4G] PratikOimbe:
Ok thank you.. have you updated to this rom.. how's your experience related to bugs and performance??
[Samsung Galaxy A52 4G] Evanllelos7:
Been using it for less than a day. Really good performance, my only issue so far is to find a good camera app.
[Samsung Galaxy A52 4G] PratikOimbe:
Thank you for response. Is Gcam not good in it
[Samsung Galaxy A52 4G] Simon1511:
Thanks for reminding me, I just added some screenshots of lineage 19 in addition to the ones from 18.1
[Samsung Galaxy A52 4G] sinkoo1979:
Don't know. Don't play games
[Samsung Galaxy A52 4G] Evanllelos7:
Anybody knows how to make the weather info show up on the lockscreen?
[Samsung Galaxy A52 4G] sinkoo1979:
try bigger gapps package
[Samsung Galaxy A52 4G] Evanllelos7:
Which gapps did you install?
[Samsung Galaxy A52 4G] Casper1982:
can someone tell me, how is the battery in this rom?
[Samsung Galaxy A52 4G] sinkoo1979:
Nikgapps Basic but that package don't include the weather.
[Samsung Galaxy A52 4G] sinkoo1979:
SOT of 2 hours and 75% at the end of the day (I have A72 not A52).
[Samsung Galaxy A52 4G] Evanllelos7:
Excuse me, what is the proper way to flash magisk?
[Samsung Galaxy A52 4G] sinkoo1979:
flash it with twrp after rom and gapps/microg.
[Samsung Galaxy A52 4G] ashraftheboss:
Damn I was gone for couple of days and now we have LOS 19!! Good work Simon!
[Samsung Galaxy A52 4G] Elvaa:
Will it become official?
[Samsung Galaxy A52 4G] tridi001:
will you make selinux enforcing ???
[Samsung Galaxy A52 4G] Simon1511:
Yes, I will very likely do that in one of the next builds.

I will try my best to do that once SeLinux is enforcing (see above) and encryption works.
[Samsung Galaxy A52 4G] hamudistan:
New build runs amazing smooth. No bugs so far, only thing I miss is fm radio support, but I guess thats a general lineage issue.
[Samsung Galaxy A52 4G] Simon1511:
FM radio was actually working on the first 18.1 build, but after that it stopped working and I haven't figured out yet why.
[Samsung Galaxy A52 4G] arcepth:
Very nice. Working smoothly on my A52 4G, in my case rooted and without MicroG. Thanks for the great work, keep it up! I'll sponsor a large coffee for you.

Only weird thing is that the Magisk App causes a bootloop when I let it do its "finish the install & reboot" thing. But pretty sure it's a problem with Magisk and recent kernels (forgot the exact error due to which the kernel fails booting, but found it in an XDA thread). Root is working though, so whatever. Just thought I'd mention it.

Looking forward to enforcing SELinux and working encryption. Do you look for contributions in terms of coding/development btw?
[Samsung Galaxy A52 4G] Simon1511:
Thanks for the kind words!

I'll take a look into that issue with Magisk. Last time I checked with v24.1 it worked, but I haven't checked 24.2 and 24.3 yet.

In terms of contributions, feel free to! Valuable contributions are always appreciated.
[Samsung Galaxy A52 4G] marpool:
Как обновить? Ота есть?

**Mod edit: Translation provided**

How to update? Is there an ota?
[Samsung Galaxy A52 4G] Simon1511:
You can only update by flashing new versions using a recovery like TWRP or OrangeFox. OTA's are exclusively available for devices that are officially supported by LineageOS.
[Samsung Galaxy A52 4G] PratikOimbe:
@simon15 is there any new build under process or this is the final ?? If yes, when can we expect the new build (sorry if I am getting too demanding 😅)
[Samsung Galaxy A52 4G] AltugGND:
Hi, I've been using it for 2 days. Everything is great but the sensor does not turn off the screen when speaking. (A525F)

Edit:

AOD is always running at full brightness.

Proximity sensor doesn't working.
[Samsung Galaxy A52 4G] Elvaa:
As I can see, the AOD brightness depend on screen brightness
[Samsung Galaxy A52 4G] hamudistan:
For me too, AOD at full brightness all time and stuck to the left upper corner of screen. Doesn't move to prevent burn in.
[Samsung Galaxy A52 4G] Simon1511:
At the time I released this lineage 19 hadn't merged burn-in protection support yet. But I'll add it in the next build.
[Samsung Galaxy A52 4G] King'z:
Could you post the manifest file used to build Lineage ?
[Samsung Galaxy A52 4G] Bouche4Dag:
Thank you for the ROM!

It's working perfectly on my A52.

If you need any testing I'll gladly put some time in.

One note from a first time Lineage user: Mini MicroG didn't work with this ROM for me (some apps couldn't use Google Play Services, WhatsApp didn't work at all). I used BiTGApps instead and that's running smoothly.
[Samsung Galaxy A52 4G] nanohinaqa:
I mean, sometimes it says "finger moved too fast", and after that happens the fingerprint can never work.I have experience in the web design company Dubai for last few years
[Samsung Galaxy A52 4G] PratikOimbe:
When will new update or official update release of this build ??
[Samsung Galaxy A52 4G] dennyhhh:
1. What partitions should I backup if I want to restore stock after flashing this?

2. What is the prefered way to root with Magisk? I read that "Installing Magisk through custom recoveries on modern devices is no longer recommended." Is this the case after installing this rom?
[Samsung Galaxy A52 4G] Simon1511:
1. Backup super, boot and data partition.

2. Download the latest magisk APK from here and rename it from Magisk-v24.3.apk to Magisk-v24.3.zip and flash it in recovery.
[Samsung Galaxy A52 4G] RisenID:
U posted update just to get top spot on the forum from me didnt u lmao
[Samsung Galaxy A52 4G] Nowty_Nethshan:
Id love to try this rom out but does 90hz toggle come in this rom for A52. In the other pixel experience rom, i believe you require to do a work around to enable it ,by yourself. Thank you in advance.
[Samsung Galaxy A52 4G] Simon1511:
Yes, the toggle is there in settings.
[Samsung Galaxy A52 4G] RisenID:
funny enough pe rom uses the same exact method to try to enable the toggle... it just doesnt work. something wrong on pe side, waiting for a fix from them
[Samsung Galaxy A52 4G] ralanar:
I've got an SM-A525M/DS and gave this firmware a try, everything works except for voice calling using the second sim.

I detailed what I found in another thread.

Basically, after loading this LineageOS rom, the phone thinks it's an SM-A525F, and the second sim works for sms and data, but has no audio when used for a voice call. This happens no matter which of my two sim cards is in the slot, and having the other slot filled or empty does not change the result.

Re-flashed stock rom and re-tested, and everything worked as expected, and the phone showed it's correct model again in the settings screen. Re-flashed lineage again, had exactly the same issue with the same sim slot.

I'll give it another try once the next release is available, and see what happens.
[Samsung Galaxy A52 4G] Simon1511:
Thanks for reporting, I'll look into it.

About this:

If I understand that correctly, your phone is an A525M and not A525F? I guess something broke in the detection mechanism for that, thanks for reporting too.
[Samsung Galaxy A52 4G] RisenID:
could be a bug in pe as well. @ralanar do you mind testing?