yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Merlin K:
Also no magisk or any other mods. Stock LOS+Gapps. Moreover, mobile network works on my phone only when I flash SONY's firmware without removing all that files from post #2. Had smth similar with LOS16.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Merlin K:
I use miband + smartlock. On LOS16 everything worked like should, but after I've upgraded to LOS17 I noticed some weird behavior - sometimes it works as should, sometimes phone becomes locked and I need to enter my pin/pattern. I see on screen smth like - locked manually (btw, how to do it on LOS17?). But I do no lock it, do not go away to disconnect bt, do nothing - screen just dims due to timeout near me. Maybe I'm doing smth wrong, any explanation?

Thx in advance.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Kahana82:
Hello,

I'm experiencing (very) poor audio quality coming from the top speaker (the one you hold to your ear during calls).

It sounds like the volume is coming in too loud and saturates the speaker membrane. Like there is too much gain upfront before being normalized back down to the call volume setting.

Even at lower volume it sounds like the caller is speaking too loud and directly into the microphone on his end, although the lower the volume is set, the "less worse" it becomes till there is nothing left of of the person on the other end off course...so I'm on the first notch for that volume. When going to the sound settings and moving the slider up the sound preview is also affected, but not being voice it is tolerable for one more notch. From notch 3 and up it gets ugly.

From the far reaches of my own memory, call audio was ok when I was on a late March or early April build. When I later updated to a May and then to a June build was when I noticed the distortion. Can't tell exactly which builds anymore, as I deleted the packages in the updater.

Could it be the update from 17.0 to 17.1 ? At this point I'm on 20200611.

Also fwiw I don't make that much calls over regular cell network, so the problem may have been there from the first time I did an OTA update.

I've also at some point installed the "phone" and "contacts" apps made by Google from the Play Store, which were not included in the GAPPS I flashed initially (reason was to have dark mode earlier).

I doubt doing that could have messed up the "phone" part on a software/driver/OS level, considering the problem is there for any sound source, not just calls ... but maybe I'm wrong on that ?

Thanks for the help :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Dan Smith:
I gave it another try with 20200618 release: mobile network is working well after updating (OTA update), then stops working immediately after shutting down, flashing firmware .55_R9B and rebooting. I got the same type of message in the SIM status menu, telling that radio was off.

And again, even downgrading firmware to last working version (.22 in my case) just after this does not change the situation, as if the phone was "bricked" somehow.

It seems factory resetting from LineageOS recovery is not enough to solve the problem either. After a lot of trying around, I somehow managed to get mobile network back after these operations (not sure which ones are unnecessary, but there ought to be some):

Flash .22 firmware to slots A and B, using newflasher (use `fastboot -aa` or `fastboot -ab` to swap slots)

Use `fastboot boot twrp-...` to run TWRP

Wipe everything (including System) from TWRP (slots A and B), then format data

Reboot to bootloader and `fastboot load` TWRP again

Install LineageOS release 20200423 from TWRP (I used ADB sideload)

Restart phone to recovery -- check that the slot with 20200423 release is the one being booted

Factory reset from LineageOS recovery

Reboot system - LineageOS 20200423 should boot for the first time

Unlock SIM, and the mobile network icon should become "alive" shortly after this in the first start configuration wizard

Go through the configuration wizard, then update to 20200618 release (or latest) using OTA or from LineageOS recovery (faster)

If everything worked well, restore backups and so on...

Also, I don't have any more problems with missing heads-up notifications or incoming call screen. I guess I messed to much with Developer Options the last time. I just noticed that while the default Calendar app now enables adding events, the default Calendar widget seems to have disappeared in its stead.

So, bottom line for me: I will not upgrade firmware until a next major version is released. I hope this will not go on to further releases...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] rantanplan42:
I had to go through the steps three times before the mobile network was working again. But in the end, your procedure worked for me, too. Thank you very much for sharing!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] elKoniu:
Hi All, I just flashed my XA2 with latest LOS 17 and it is working just fine. Phone calls, network, everything. I am using open gaps on this device. I have two questions related to LOS on this device, maybe you will be able answer them:

1) When I was flashing the device I followed ROM instruction and everything is working fine. I was H4113 on Android 9 and 50.2.A.3.22 firmware so no extra work was needed. The one thing I am not sure is if I need to flash Sony latest SW binaries for this device too as a part of flashing procedure? I remember doing that when I was flashing Pixelexperience but there it was listed as a part of flashing procedure. How it looks like in case of Lineage OS 17? Do I need to flash latest Sony SW Android 10 binaries before flashing ROM or they are not needed? What is the benefit from them? Better hardware support?

2) During Skype call and phone call from time to time I can observe screen going black. It looks like proximity sensor which normally disables screen when I hold my phone close to the ear. The problem is that screen was black when I was holding my phone in my hand in front of me. Proximity sensor was not covered for sure (also not dirty). Have someone saw similar behavior? During my search I saw that in the past some proximity sensor calibration was needed for some old LOS Samsung devices but I was not able to find anything about proximity sensor issues on XA2. Does it may be related to Sony SW binaries installed / not installed on device?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] elKoniu:
Thank you for explanation and fast response. For the 1st question it is clear to me now. For the 2nd part this is what I was guessing too. Maybe someone will comment this too in future. I will try to do some experiments in free time to help track the issue.

Last thing - when I was reading about XA2 custom ROMs I spotted "treble" keyword few times. You also mentioned SODP. Can you tell me a little bit more about those? If those are some generic names for the ROMs based on modified version of stock firmware rather than Android Open Source Platform? Or those keywords are specific to Xperia XA2 only?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Thank You ! Could You recommend any instruction / details for root exploit ? I don't have ane experience with that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Thank you. maybe I'll wait from someone advanced. I have android 9 the latest current version.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] elKoniu:
I did some experiments and I think I figured out why I had this black screen issue (at least it is not happening anymore on my phone).

What I did:

1) Restore factory image from Windows flashtool using H4113_CE1_50.2.A.3.22.rar (H4113 Android 9 50.2.A.3.22)

2) Boot the phone to see stock welcome screen with language selection

3) Power off device

4) Volume Up + USB connect

5) fastboot flash boot_a lineage-17.1-20200618-recovery-pioneer.img

6) fastboot flash boot_b lineage-17.1-20200618-recovery-pioneer.img

7) Disconnect USB

8) Volume Down + Power until screen turns on (Unlocked bootloader warning) which will boot to LOS recovery

9) Lineage recovery pops out

10) USB connect

11) Select Update -> ADB sideload

12) adb sideload copy-partitions.zip (from official LOS wiki install instruction for A/B partition fix - may be not needed as flashtool flashes both partition on Windows)

13) Select Back -> Advanced -> Reboot to recovery

14) LOS recovery starts again

15) Factory reset

16) Back to main menu in LOS recovery without reboot

17) Apply update -> ADB sideload

18) adb sideload lineage-17.1-20200618-nightly-pioneer-signed.zip

19) Disconnect USB

20) In menu: Back -> Advanced -> Reboot to recovery

21) Connect USB when recovery shows up

22) Apply update

23) adb sideload open_gapps-arm64-10.0-nano-20200621.zip

24) Signature verification error will pop up, confirm signature verification selecting YES

25) After install is finished disconnect USB

26) Reboot system now from menu

I know that all those USB connect / disconnect cable may be not needed but I just wanted to describe all steeps I took.

The thing I changed to black screen issue not show up is steep (2). Previously after I restored stock using flashtool I started flashing LOS right away.

This time I allowed stock to boot once to language selection welcome screen. After that I havent have this black screen issue on phone calls and skype calls anymore.

One time after I moved phone close to my head during call and moved it away screen was black but I just needed to swipe finger on top of proximity sensor,

not sure if this reset some threshold in the sensor or screen was just dirty this one time.

Do not know if this one-time stock boot after stock restore sets something up on partitions or makes some changes to firmware but allowing it to boot once

before flashing LOS solved the issue for me. I tried this with and without open gaps and it is working fine so I think gaps was also not involved in this bug.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Merlin K:
One-time boot to stock definitely does smth. Without it, I can't get my mobile cell working in LOS.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] replicant20:
No network – "Turn off aeroplane mode to make a call"

Xa2 with newly installed 17.1-20200618-nightly-pioneer (edit:17.1-20200625) is supposedly stuck in airplane mode.

It's like user Martijn Saelens described on gitlab (issue #173 "Phone stuck in airplane mode") When trying to call, next to the screen going black and red led blinking, it says: "Turn off aeroplane mode to make a call"

So far, I have:

checked settings, tried around with rebooting (via recovery) and re-inserting the sim card.

Did system update. Did fresh install.

The option to manually select a network is disabled. Can't select 3G or 2G. Tried disabling VoLTE.

The phone number does not appear in the settings. Sim card works fine in another phone.

Sim card gets detected, accepts pin, but there is no network.

Any ideas/resources? Where to look for a solution?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wtflawlxd:
After June updates, the battery lasts a lot more! Nice!

:D
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
That's true, but notifications from fcm (firecloud messaging) are delayed again... Is there any way to optimize this?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Thanks for new Rom. I will checked and tasted it !

1

Do I need to take the step before instalation LoS 17.1 is it necessary?

"Pre-install instructions":

wiki.lineageos.org/devices/pioneer/install#pre-install-instructions

I skipped it and everything looks ok. Should they do it anyway? Can I do the whole installation again? For now, my phone is not personalized, so is not complicated :)

2

Apperance of LoS recovery is correct ?Earlier just after instaled LoS 16 i Have little less colourized with smaller option menu. Like I remember active slot was b. Now is a. I don't know when there was a change. For sure after the installation of LoS 17.1 and the first start TWRP was shown, later Recovery LoS 16 and finally Recovery LoS 17.1

3

Could You increase the grid density from 6x6 to 9x9 and number of icons in the quick launch bar (upper bar) from 6 to 9 ?

4

original Recovery LoS 17.1 has to big letters or to narrow window.. is it impossible to right recognize full file name. System and Recovery files has the same first part of name.. look info screen shot.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
I can't get a GPS lock with the two latest ROMs. Tried rebooting, airplane mode on/off, reinstallation of Roms. With SatStat I get like 25 Satellites almost immediately, but no lock, even after redownloading agps data and several minutes. Used to work fine some weeks ago.

Edit: Solved the problem (https://xdaforums.com/showpost.php?p=48278434&postcount=2)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Two problems with LoS Lineage-17.1-20200625-nightly-pioneer

1

No Mobile Data:

https://www.reddit.com/r/LineageOS/comments/hp8u7o/no_mobile_data_lineage17120200625nightlypioneer/

2

Cannot select a temporary card to send sms:

https://www.reddit.com/r/LineageOS/comments/hpa8tu/cannot_select_a_temporary_card_to_send_sms_on/

update:

3

How can I attach a logcat file to the bug report? Instruction:

wiki.lineageos.org/bugreport-howto.html

omits this detail.

4

if I try sending bug, I received message "żadna z aplikacji nie może wykonać tej czynności"
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] esemef:
I've not had mobile data for ages on 17.1, although I put it down to magisk upsetting it.

But I am rarely away from home & when it's on wifi you never know if it will connect data to LTE (despite claiming it has an LTE connection if you pull down), so I might have misjudged it.

LOS17.1 has always been way more random for me at ever getting a connection than LOS16.

Petrol might be the answer :/
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
I trusted the LineageOS system, unfortunately version 17.1 is definitely not well developed. Starting with poor and not complete installation instructions, and ending with BIG errors:

https://www.reddit.com/r/LineageOS/comments/hp8u7o/no_mobile_data_lineage17120200625nightlypioneer/

https://www.reddit.com/r/LineageOS/comments/hpa8tu/cannot_select_a_temporary_card_to_send_sms_on/

Additionally

the system works quite slowly, the transition between the next function is 1-3 seconds!

virtually zero support in submissions here. When asked how to attach a bug report to a txt file, there is also no answer.

suddenly the phone book is lost! I have also experienced this in some other system. Very strange and sad.

It's too much for the beginning ... I think that it takes a few more months for this version to be usable. I understand some minor issues, but not the basic functions.

As all other modified systems are no better, I wonder whether to reinstall LoS 16. Questions about whether it is available for this model:

1

a decent 7x9 resolution grid?

2

gestures like in android 10? ewnt can supplement them with a proven application?

3

Great location in 3 modes: saving, device only and high accuracy

4

what does battery management look like? the system takes the same amount of RAM, so I suspect similar performance on a single charge.

Update:

Pictures taken in the 16: 9 mode on the right have a green area and the edges are out of focus.

https://imgur.com/a/2bBnKHY

resolved with Lineage-17.1-20200723-nightly-pioneer

In addition, the REddit team cannot cope with the lack of e-mail notifications about new messages and there is no way to improve the subject of the message.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Arbaazhussain:
I have Sony Xperia XA2 (pioneer) H3123.

I have problem in dark theme for GSI image installation.

Other everything works fine only problem in dark theme.

When I on dark theme the system goes black.

It happens to every GSI image

I have flashed erfan GSI , phusson GSI, Google official GSI, official custom GSI everything I tried but had only this dark theme problem.

Is there any fix file for this

Please help me I want a GSI image for my mobile.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Seppppx thanks for the message!

It's worth hiding in the spoiler, then the topic would not be extended by the next scrolling pages :)

Since you write that LoS 16 supports gestures like Los 17.1, I would love to come back LoS 16, which I had only installed for a few minutes. The security patches cannot be added until the last release?

Just contacts. They disappeared, I don't know when all Only one remained, which I added manually a few days after installing the system. I downloaded the rest as usual with Phone Explorer from Outlook.

You confirm many of my observations: females, problems with LineageOS, lack of strict rules regarding preliminary tests. I have no idea about the codes, maybe guardians should look at the errors and make corrections.

I don't have enough knowledge and time to build AOSP.

I just use lawnchair 2 .. is very ok. Although some of its functions, like the aforementioned grid, should be implemented.

In this situation, there are 3 in order from the most popular at least on XDA roms for this device:

crdroid.net/pioneer

xdaforums.com/xperia-xa2/development/rom-crdroidandroid-v6-0-t4015327

but the latest version is also old because of March. I tried to install it before LoS 17, but it failed. I may try again if the errors are in LoS 17.1 (maybe next thursday 16 july issue) or after all simply LoS 16.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Such a common hiding, someone interested only after he has doubts will develop the quoted passage. Anyway, if you reply immediately after my entry, there is no need to post, especially the whole.

He realizes he is no longer supported. XA2 I plan to use max year, later, as it will probably become equally small Samsung S10e or something similar.

I will think about AOSP ... but it's not at the moment.

Lawnchair 2 works very well ... fully supports the grid and aplications screen. So some misunderstanding :)

What version are you currently using for XA2? If you are happy can you link?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] d210:
Just wanted to say this is working GREAT. I've been using it since briefly after was out, LOS16 wasn't bad too but having Android 10 and working without a hitch is absolutely brilliant. Other than that I can tell you I've tried mostly everything, including going to /e/ and Sailfish and hit major roadblocks each time, while LOS just works. Also the battery is shockingly good, not necessarily when doing something very heavy (like transferring/unpacking/installing multi-hundred MBs updates) but with light use like Plex video playing or normal music playing over wired headphones. But the big difference is in standby, it can do multiple days if not heavy used, unbelievable. Granted, I don't have the usual 100+ or so apps I used to install "just in case" on my phone but still, it's pretty good. And if I put it in airplane mode (which is quite often, I'm using it as a kind of do not disturb) it can last forever, sometimes overnight there isn't even 1% battery consumption, I think it would do a month or so this way :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xleng:
Thanks for your feedback. May I ask on which version you are running? I'm on stock rom currently, bit thinking about switching... Thanks in advance!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] d210:
Running right now the one from 7th of July, but I do OTA updates whenever I feel like it, just take the latest from the "Builds" link in the first post, then OTA never gave me any grief (on 16 just as well, I mean between various 16 builds, not 16->17.1 - although I don't remember specifically how I did the upgrade as I did relatively soon after it was out -and that feels now like decades ago- I'm pretty sure I wiped everything and did a full fresh 17.1).

The instructions might be daunting but you really need to follow the order, especially for the last part. It's: boot recovery, sideload the main build, then reboot to recovery (not to something else!) and you get one chance to sideload magisk and gapps (if you want at all either or both). That's it, otherwise it won't work afterwards - probably because of the encryption, which is actually very good that it's there. I found it funny that on /e/ forums the is one guy who had his phone stolen and it wasn't encrypted (how the heck, especially from a "privacy" oriented OS, plus encryption is kind of mandatory for OEM devices since like Android 5, sure you can do what you want with a custom ROM but it's funny to do no encryption by default for a privacy product). And he had not only the usual data on the phone but also some file with a lot of passwords :)

Oh, there was a hitch with LOS 16 with the fingerprint sensor that stopped at some point (with some build) last year. It's the 50.1 -> 50.2 discussion; any newer "complete" firmware is fine (flashing directly with the official tool and the last it downloads itself should do it: https://developer.sony.com/develop/open-devices/get-started/flash-tool/ ). It also can be fixed afterwards without complete install, there are some instructions at the beginning of this thread.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Anyone know when the webview will be updated in LineageOS? It's still at v81.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xleng:
This question is probably better to address to LOS core developers, not to a device specific thread like this...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xleng:
Hi, I installed lineage OS 17.1 yesterday. Everything is much thaster than in Stock, and much more responsive. Very well done! Thanks to all involved, especially to LuK1337!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Arbaazhussain:
Can anyone maintain crdroid.

Please
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
Xleng,

could You confirm that You don't have problems like:

https://xdaforums.com/showpost.php?p=83063743&postcount=552

I'm planning an update, but I don't feel like reinstalling the system if some of the main functions are not working again.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I am sure that is an exception. Most of us are very happy and have very stable phones, including me. I have no issues using the phone whatsoever. No data disappeared. Everything is snappy.

Also bear in mind that v17 reached stable just a few months ago. There are still daily commits to the code to fix things. However many things have come in the way like the pandemic and a number of server issues.