yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] matjon:
FWIW: I have a Sony Xperia 10 (kirin), not Sony Xperia XA2, but the hardware specs are similar. Just after upgrade to LineageOS 21 the phone felt much slower and laggy, but after several hours the performance went back to normal (roughly that of LineageOS 20). Perhaps some background task was running after the upgrade. I did not perform any benchmarks though.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Thanks to all that provided genuine feedback!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eichenbast:
Related to speed: I choose as "Private DNS" (look into settings) "dnsforge.de"

That helps stop advertising and malvertiesing and gives more speed. And second I choose the "Mulch" Browser" from the Divest OS mobile repository in F-Droid. (XA2 without Gapps).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eichenbast:
And I forgot to say: I am really grateful, that this device is still maintained. I use it every day.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
dns.adguard.com is another good option to block ads. The only disadvantage is that sometimes I need to use public WiFi as I am not in a good mobile signal area and the place won't let me hop to the WiFi registration if I have the DNS enabled.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Paulkw:
I use nexdns. Very good, you get 300k queries a month free but I never get anywhere near that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Paulkw:
Can someone advise - is it possible to relock bootloader on XA2 - after reflashing stock rom?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
no, bootloader unlocking has only been possible since the 2020 Mk II series
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Paulkw:
You mean relocking. Yeah, I found out it's not possible.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Can you relock after flashing Lineageos though?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Egon77:
You can never relock an XA2, regardless of the operating system
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] TomGoodIdea:
The latest official pioneer build of LOS 21 is almost a month old. Is it because of switching to QPR2?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
It seems so, with all LOS21-devices I've seen.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
There is an explanation provided on a thread for a different phone. Apparently, QPR2 does not work with older radio HAL versions that a lot of these devices have. The Devs are trying to work out a wrapper to make it compatible. Until that happens, no more v21 updates for the affected devices. There is no guarantee it will happen.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
OK.

But... (to the LOS-devs) wouldn't it be better to have a downgrade to an official LOS20 in that situation, to obtain the monthly security patches, similar to all other LOS20-devices?

Just my 2¢

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I asked the exact same thing. I am not trying to answer on their behalf but the response I got is that will be decided depending on how they progress with the wrapper.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
The next OFFICIAL update is ready for download (2024-04-18).

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Egon77:
I ran the update on my Reserve XA2. At first glance, it runs without any problems. (y)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
hello, I discovered a bug or a crash concerning Hotspot. sometimes it turns on but can't be seen on other devices and sometimes the toggle refuses to turn on, I'll send a bugreport on PM if u ask for one.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Untot:
LINEAGE-21.0-20240627-NIGHTLY-PIONEER-SIGNED.ZIP broke automatic screen orientation. I skipped LINEAGE-21.0-20240620-NIGHTLY-PIONEER-SIGNED.ZIP
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
will be resolved in today's rebuild.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Zuzking:
Anyone knows how to turn on APTx and LDAC codecs?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
get headphones that support them and they'll turn on automatically
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Paulkw:
Can somebody help? I flashed 19.1 on my XA2 but got an error with Gapps. I downloaded correct version of MindTheGapps (12.1) but the installer is telling me "This package is for Android 12.1.0 but your system is Android 11"?? I'm stuck on this step. Posted on Reddit too. Edit: was upgrading from LOS 18.1 with LOS recovery, according to official instructions.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Webexplr:
Hi, where can I download the firmware 50.2.A.3.77? Can I just flash it using LOS recovery?

Mine is still 50.1
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Webexplr:
This ROM is good news. I am curious though: how can a 2018 phone with 3 GB of RAM run Android 12? Official specs says minimum 6GB of RAM? :p
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] DVt3:
Bit confused and wondered if I am I right in thinking I should use these instructions to upgrade from 18.1. Never upgraded a phone quite this new before. :)

Upgrade LineageOS on pioneer | LineageOS Wiki

wiki.lineageos.org
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I would recommend that you start from scratch i.e. reset the phone, clear everything and start
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
You can use XperiFirm to Download and Newflasher to install the firmware inclusive baseband.

I wrote a short summary about flashing the XA2 - however reading the newflasher thread isn't false to know what you're doing.

After flashing the vanilla Sony firmware and installing LineageOS right after it, I had the problem that my SIM card wasn't detected. So boot at least one time into the Sony firmware/Android before flashing LineageOS.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Untot:
Flash LOS, Reboot recovery, then flash gapps
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Webexplr:
I am using this flashable provided by LuK1337 here and it works fine.

Upgraded without reformatting anything based on this official guide seems to be working just fine so far.

However, partial screenshot feature is now annoying; Does anybody know how to re-adjust capture area before saving? LoS 18.1 has this feature...

Edit: also, saving screenshot sometimes does not work, it says like "failed to save screenshot"
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Webexplr:
Haptic feedback for tap is super laggy, especially during rapid typing, even when writing this post 😅

Some apps failed to show notifications, or very delayed. Some of them: Gmail, telegram, google messages, twitter, some banking apps.

Smooth UI with occasional heavy lag.

Battery life is shorter than LoS 18.1

Just like LoS 18.1, the NFC cannot be used to write data (just in my case?).

Only two or three apps can be run at the same time, more than that, the app restarted (not sure the technical term for this lol)

Cannot select area for partial screenshot. (EDIT: this was fixed on latest update, but still no way to re-adjust area selection)

Well, those are just minor annoyances, considering that this OS is developed for free by independent devs and that I am still going to use this rusty phone for perhaps another year..
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Regarding 2-3 apps, realistically the phone has a processor atleast 4 generations old and has only 3 GB of ram. I wouldn't expect any more out of it.

But like you said, it's great that we can get more use out of it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] phuzz11:
I've run into this same problem.

I used Xperifirm to download the latest firmware and newflasher to install it, and then booted into LOS18.1. I got the 'no sim' error, but went ahead and flashed LOS19 anyway.

19 booted fine, but still 'no sim'.

Am I going to have to wipe and install the full Sony OS?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
I flashed full Sony stock firmware and booted into stock Android - which solved the problem for me. After that, I installed LineageOS 18.1 and SIM is working since then.

Wiping before flashing stock isn't necessary because it's wiped during the flashing.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] phuzz11:
In the end, after trying various things I managed to screw up my 19 install, and even managed to get a "Your device is corrupted" error (never managed that before), so I ended up having to use 'Emma' to completely wipe and reinstall my device. Once I booted into the stock ROM my SIM was working again, and right now I'm just going through the full fresh install process for 19.

Good thing I made sure to back up everything I could before I started messing around. It was probably about time for a fresh install anyway.

(Edit, it's just finished and seems to have installed ok and my SIM is working)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Webexplr:
inaccurate and inconsistent battery level indicator since last update (May 5). Always shows 50%, 20%, or "problem reading the battery meter". However, the battery lasts as usual.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I can't get Google Calendar to sync. Tried the usual - clear cache, clear storage in calendar sync, etc. Even removed Google account and added back. Anyone have any suggestions?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] birefringence:
I have the effect that VoWIFI only works after a fresh boot. Whenever the phone switches to VoLTE it never goes back, no matter what I try (toggling settings, Airplane mode, ...). Anyone else has issues with this? (Or any idea how to reconnect without a reboot?)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
An update on this if anyone is willing to help - I have now reset the phone and still have the same problem. Google calendar does not sync. I'll try using the Google calendar app instead of the one that is installed by LineageOS
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] steve8x8:
@malerocks which GApps are you using?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Mindthegapps. I found that installing Google calendar resolved the issue for now but I would like to make it work without it (which it did in LineageOS 18.1). I don't want 2 calendar apps and the built in one suits me fine.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] oldfish327:
Do a search on the LineageOS section of Reddit for Messaging Notification Delay. The adb command to whitelist messaging fixed the app notification delays for me with LOS 18.1.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] steve8x8:
this is what I found
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Malizor:
Hi,

I upgraded from LOS 18.1 to 19.1 but I have problems with gapps (installed via MindTheGapps).

Some apps like Signal warn that the play service is not available when it is.

The Google map app does work.

Some other apps I use like "vélib" just crash on start. Logcat gives a traceback starting by:

Fatal Exception: java.lang.AssertionError: Method getAlpnSelectedProtocol not supported for object SSL socket over Socket[address=firebaseinappmessaging.googleapis.com/...

Googling it says this was a pretty common issue with multiple apps starting with Android 11, but I had no problem with LOS 18.1:

App crashes on start when using Firebase In-App Messaging on Android 11 · Issue #2642 · firebase/firebase-android-sdk

[READ] Step 1: Are you in the right place? Yes [REQUIRED] Step 2: Describe your environment Firebase Component: In-App Messaging Component version: 19.1.5 [REQUIRED] Step 3: Describe the problem St...

github.com

Maybe this is linked to my gapps troubles, I don't know.

I tried a fresh install instead (factory reset from recovery + install) but I encountered the very same problems.

So now I'm considering downgrading to 18.1 and retrying the upgrade later. :(
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Did you upgrade LOS from 18.1 to 19.1 only?

Or did you EVEN upgrade MindTheGapps from 11 to 12.1(! — not 12) too??

If not, it must crash, due to the use of wrong SDK.

samhhmobil

PS

For me it's running without any issue.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Malizor:
@samhhmobil : no, I also flashed MindTheGapps 12.1 in both my upgrade and fresh install attempts.

On 18.1 I was using OpenGapps (pico package), so maybe the transition to MindTheGapps is buggy?

But since I tried a fresh install too, I don't think this is it.

I re-installed LOS 18.1 since (still with OpenGapps) and everything works fine again.

Another possibility is that yesterday's LOS snapshot has a problem?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
I made the update yesterday, and it works as it should. No issues yet.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Malizor:
Well, that's weird. I will try to upgrade again in a few weeks. Thanks for your input anyway.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
My experiences after the first weeks with LOS-19.1 and pioneer...

First impression: it works really well.

But now, as daily driver, there are some flaws.

Sometimes, different apps, which have to run in background for security reasons, are killed leaving the device unsecured without any message.

Sometimes apps are "hanging", not working anymore, only the splash screen is shown.

Sometimes something in the background (I don't know yet, which process) is consuming very much battery, it drains from 90% to 60% in just only 30minutes, without doing anything in the foreground.

It is written, that Android12 needs (AFAIK) at least 6GB of RAM. But the XA2(pioneer) has just only 3 of that. So maybe "paging" is one of the observed flaws, stops working apps and wastes battery?

I think, I'll downgrade my pioneer's to LOS-17.1 (Android10), it was the most stable ROM on this device, running for years; compiling it by myself as it is, from the sources, month by month with the actual security patches, as UNOFFICIAL build.

Nevertheless many thanks to LuK1337 for his great support for this device.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
With Android, obviously the more ram the better but in the case of pioneer, even the processor is 5 generations old. Personally, while LineageOS 19 is showing the age of the device, it's workable for me. In fact, for me even v18 was fine.

I have LineageOS 19 installed on another phone that has just 4gb of ram but has a SD835 processor. It works a lot more smoothly on that.

While the work of our wonderful maintainers allows us to have the latest Android on our phones that were abandoned by the OEMs, there is little they can do when the hardware starts to show it's age.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] irgendwer2:
Why not just use /e/OS? It's still available as Android Q/10 builds (based on LOS 17.1) with the latest bug and security fixes:

https://images.ecloud.global/dev/pioneer/

And they will support Android R/11 (based on LOS 18.1) for a long time. That's what my XA2 will receive at the next opportunity - probably for the rest of its life.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] steve8x8:
... or use iodé ... (this one)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eichenbast:
I use my XA2 not with gapps. My source is F-droid,, and for my pupose: email, signal im, conversations im, TrackerControl, reading my ordered newspapers with "Book Reader" , using heavily fennec or bromite browser, I am still happy there is development on that phone. I noticed, that there is a little bit more energy consumption, but I can still use that phone without connecting to a socket for minimum 2 days. Secondly, looking into the developer options I see , that medium only 1,9 from 2,9 memory is used.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
I'm also using my XA2 with LineageOS 19.1 without GApps. I'm using F-Droid without Privileged Extension.

My phone runs smoothly.

Battery time is okay - maybe it has slightly decreased but that very well might be just a feeling. It should be about 1% decrease in 2h when in standby. The only app which should do background activity is Conversations with one active XMPP account (without push).

RAM usage seems to be the same as in LOS 18.1 according to CPU Info. Wil LOS 18.1, it often showed 700 and something MB free memory. Now, it's often a bit more than 800 MB - but of course varies.

So could be the performance problems described herein this thread be connected to the GApps?

While I'm very happy without GApps, the other XA2s in my family have GApps (OpenGApps) installed. At the moment, they still are running LOS 18.1 but I'm planning to upgrade them later this year ...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wtflawlxd:
I didn't have Google services installed and I dirty flashed 19 from 2022-05-26 over the latest 18.1 from April.

The few apps I use run fine.

Very nice!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] B3hard:
<Moderator Edit>: English translation added to top.

XA2 (3113) has no phone capabilities with LinOS

- lineage-18.1-20201212_170635-UNOFFICIAL-pioneer.zip

open_gapps-arm64-11.0-pico-20220215.zip

- lineage-19.1-20220616-nightly-pioneer-signed.zip

NikGapps.zip

Tried it with 2 devices, the SIM shows the mobile network status "Not available".

Tried again with 2 SIM's that work on other Android smartphones:

- Telekom (APN specifications in LinOS are correct)

- Vodafone (APN specifications in LinOS are correct)

LinOS queries the PIN of the SIM, but no other function

In addition to the Bluetooth function, but only LinOS 19 here:

- Pairing with Bt speakers (even without mutual pairing confirmation) works without a problem

- Pairing with another smartphone with mutual pairing confirmation establishes the connection for a short time, but then breaks off again immediately. It seems that the pairing numbers are not verified.

is there help

Original:

XA2 (3113) hat keine Telefonfunktionen mit LinOS

- lineage-18.1-20201212_170635-UNOFFICIAL-pioneer.zip

open_gapps-arm64-11.0-pico-20220215.zip

- lineage-19.1-20220616-nightly-pioneer-signed.zip

NikGapps.zip

Habe es mit 2 Geräten ausprobiert, die SIM zeigt den Status Mobilfunknetz "Nicht verfügbar".

Wiederum mit 2 SIM's ausprobiert, die auf anderen Android- Smartphones funktionieren:

- Telekom (APN Vorgaben in LinOS stimmen)

- Vodafone (APN Vorgaben in LinOS stimmen)

LinOS fragt die Pin der SIM ab, aber sonst keine weitere Funktion

Zusätzlich zur Bluetooth-Funktion, hier allerdings nur LinOS 19:

- Pairing mit Bt-Lautsprecher (auch ohne wechselseitige Kopplungsbestätigung) funktioniert ohne Problem

- Pairing mit anderem Smartphone mit wechselseitiger Kopplungsbestätigung baut die Verbindung kurzzeitig auf, bricht aber unmittelbar danach wieder ab. Es scheint, dass die Verifizierung der Kopplungsnummern nicht erfolgt.

Gibt es Hilfe?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
(German; English below)

Hast du das Stock-Android gebootet, bevor du LineageOS geflasht hast? https://xdaforums.com/t/rom-official-pioneer-11-lineageos-18-1.4169357/page-13#post-85858037

Bei mir scheint mit lineage-19.1-20220616-nightly-pioneer-signed.zip VoWIFI nicht mehr zu tun ... VoLTE tut aber (AldiTalk/Telefonica Germany).

Zu Bluetooth kann ich nichts sagen.

English:

Did you boot into stock Android before flashing LineageOS? https://xdaforums.com/t/rom-official-pioneer-11-lineageos-18-1.4169357/page-13#post-85858037

With lineage-19.1-20220616-nightly-pioneer-signed.zip, VoWIFI seems to not work with my XA2 ... but VoLTE is working (AldiTalk/Telefonica Germany).

I can't tell anything about bluetooth.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
English please!

LOS19.1 works flawlessly on H3113/H4113, phone is working without any trouble (Telefonica and Vodafone —DE — tested, Telekom.de will follow tomorrow). VoLTE works as well as VoWiFi. No trouble.

Bluetooth seems to be a bit tricky, most connections without trouble, but pairing two phone devices needs some luck (but who needs that? It's even to slow for file transfers...)

Bluetooth on H3113 seems to be more stable as on H4113 (with H4113 there's sometimes a bit trouble to connect to the cars infotainment system, with H3113 everything works here).

Nevertheless... it's good enough to work as a daily driver.

samhhmobil

Edit:

Even (german) Telekom.de (in the past it was known as T-Mobile) works without trouble.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] B3hard:
<Moderator Edit>: English translation added to top.

I wanted to go back to the stock ROM but I couldn't get the Sony Flashtool to work. Then I booted the TWRP (via fastboot), over it I reinstalled LineageOS19 and NikGaps.

Everything as before, radio interface is not active. I have tried various APN settings that you can find on the internet for a Telekom SIM. Nothing - no networks are displayed. I can't select "manual" either, it's always set to automatic network selection. I'm pretty frustrated, unfortunately I can't get back to the stock ROM. This means that the smartphone is only suitable as an Internet radio or MP3 player in the WLAN.

Original:

Ich wollte auf das Stock-ROM zurück, aber ich habe das Sony Flashtool nicht zum Laufen gebracht. Dann habe ich das TWRP gebootet (via fastboot), darüber habe LineageOS19 und NikGaps neu installiert.

Alles wie vorher, Funkschnittstelle ist nicht aktiv. Ich habe diverse APN-Einstellungen probiert, die man so im Internet für eine Telekom SIM findet. Nichts - es werden keine Netze angezeigt. Ich kann auch nicht "manuell" auswählen, es steht immer auf automatische Netzwahl. Ich bin ziemlich frustriert, leider komme ich auf den Stock ROM nicht zurück. Damit taugt das Smartphone nur noch im WLAN als Internetradio oder als MP3-Player.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eichenbast:
English please! (It is also not easy for me ...) what is the problem with Sony flashtool? I have (1) downloaded it (= Emma) and (2) installed/flashed the last offered stock-rom on the phone , (3) booted the rom. And than installed lineage 19. You should be able to do so.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] B3hard:
<Moderator Edit>: English translation added to top.

Sorry, my answer in English is automatically translated into German from "https://xdaforums.com/t/rom-official-pioneer-12-lineageos-19.4401945/page-3#post-87093591", I know not why.

Original:

Entschuldigung, meine Antwort auf Englisch wird automatisch von "https://xdaforums.com/t/rom-official-pioneer-12-lineageos-19.4401945/page-3#post-87093591" ins Deutsche übersetzt, ich weiß nicht warum.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] B3hard:
I'm using Opera now, maybe Chrome translates automatically.

sorry, my answer in English is automatically translated into German from "https://xdaforums.com/t/rom-official-pioneer-12-lineageos-19.4401945/page-3#post-87093591", I know not why.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] B3hard:
I tried the tools "Sony Mobile Flasher" and "Newflasher" without success. EMMA is another tool? Let's see, maybe I'll try it again. You can still download it in Germany. Thanks again.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] eichenbast:
In my opinion the Newflasher from Androxyde is more preconditioned in handling. I needed in the past 2 times ( I should read the manual more carefully ....) for success. "Emma" is the flashtool from Sony (https://developer.sony.com/develop/open-devices/get-started/flash-tool/download-flash-tool/). Only problem: you definitly need a windows-machine.