yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] counterphone:
No wakeup on authentication messages...

Hi Guys,

Did anyone experienced problems with messages containing codes for authenticating accessing bank/google account/payments etc. NOT waking up locked phone? I start logging in, page I use tells me that message was sent to my no. and I don't see any notification unless I unlock phone...

Didn't change anything with messaging app (stock) notifications permission.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] d210:
This is usually a sign that the messaging app is "too deep" sleeping, you might look into the battery optimization list and disable whatever power optimization you might have for this app.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Corias:
Yeah I know this method. It replaces recovery ramdisk, but it's replaced again every time I update system.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Yeah, so I prefer(!) to have the LOS recovery installed in the phone, and if I need really TWRP, I connect the phone to the PC, booting in fastboot-mode, and boot TWRP via "fastboot boot twrp.img". That worked all the time I did need it.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mx82:
Hi,

I am using this ROM since 1 week. It just works great with the XA2: zero reboots and I only have to charge my phone every 3 days.

One small thing does not work:

Fdroid priviliged extension without root.

I installed the ZIP(https://f-droid.org/repo/org.fdroid.fdroid.privileged.ota_2110.zip) with TWRP exactly like on every other phone(last one: KLTE(S5)).

But I still have to aprove every update/installation of Fdroid.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] counterphone:
You may be right, although messaging app is not optimised for battery usage. Similar thing, in a form of delayed delivery, I observe in whatsapp.

Btw, checking battery usage first place is always taken by the app(?) named "-5" and android bot icon...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] isaacnoroncaasi:
Thank you very much for the development of this ROM, I have been testing it for a few days for the first time and I can say that it works amazingly. The only drawback that I've found is when recording videos: with the AOSP camera the videos are recorded and played with lag, and also with audio problems (low volume and poor quality) With other cameras (Google Camera, for example) there is no lag but the audio problems persist.

I tried flashing the package pioneer_modem_bt_dsp_50.2.A.3.22.zip but without success (both problems persist). Is there anything I am doing wrong? I've had these problems with the last two builds. I have a H4113 and my baseband is 20191108_BY12O_Daily, in case it helps.

Thanks!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Because this is not SODP based ROM. If you want 4.14 you can use something else.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
AOSP kernel simply won't work with my device trees and blobs.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] zupert:
Hello,

i can't get the Wifi hotspot to work :(

It starts, and other devices can connect to it, but they report having no internet connectivity.

Am i missing some config step, or is it a known bug?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Something tells me that you aren't on 17.1.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] zupert:
Yes, i use 17.1 with the official build of yesterday, November the 5th
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Huh, 17.1 shouldn't have any issues with hotspot... Older 18.0 builds did tho.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] zupert:
ok... I tried with several devices, so i'm pretty confident that the issue is on the XA2 side.

I tried changing the AP's name, its password. But the issue persists.

Is there something else i could try?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Check with your network provider. Some of them don't allow WiFi tethering.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] zupert:
My network provider does not block it: i had it working before and it still works today on another lineage 16 phone.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Just found that some people on the LineageOS thread for the oneplus 3 are facing the same issue as well. Maybe it is a recent issue in LineageOS rom then
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Rhino Cracker:
backup TA before unlock?

Hi, I'm a little bit confused about the processes until the phone is flashed.

The installation manual clearly states, that you should backup your Trim Area Partition (in short TA) before unlocking the bootloader

I cannot find useful informations on how to backup and restore it (including the DRM keys).

The most promising and detailed article just told that he gave up on trying to backup DRM keys. Which, in his words, will disable his device e.g. from playing back Netflix in more than 480p.

So, how do I backup and restore the Trim Area Partition including DRM Keys on my XA2 Dual?

Or - if it is not necessary - why does the official installation manual say, that I have to ensure, that I backed it up, before unlocking the bootloader?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xleng:
Obviously, when unlocking the boot loader and installing a custom, you're leaving the application scenario as envisaged by the manufacturer, and in the case of most Sony devices (including the XA2), when unlocking the bootloader, the DRM keys are erased and thus the functionality of using the Sony's proprietary photo processing algorithms is lost. This is not really recoverable (at least not without sending the device back, don't know if Sony repair can do this in exchange for some money) and the instructions include a warning of this effect.

Now, in order to backup the keys, you would need to have root access first. Personally, I'm not aware that anyone in the community has identified / developed a rooting script or app for the Sony Xperia XA2, in order to gain root access prior to unlocking the bootloader.

Of course after unlocking the bootloader it would be relatively easy to enable root, but then it's already too late.

I think most people here who have installed Lineage have simply accepted the consequence to lose this functionality. Of course this is at your own risk.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Rhino Cracker:
Thanks for your detailed explanaton! :)

So, I just misunderstood, what this warning box was trying to tell me. ("you will loose it and there is no known way to avoid it" instead of "back it up or you will loose it")

Maybe the text should say something like "there is no known way for this device to backup the drm keys, you will loose widevine, cameraAlgorithms, ... which will lead to Netflix only 480p, Camera having effect XYZ, ..."

or "for this device, there is this way <link to tested tutorial> to backup and restore Trim Area Partition. If you don't do this, you will loose <same as above>"

then, instead of literally "TA (...) ensure, the data (...) is backed up (...). You can find tutorials (...) on the internet", while there are non? :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] xleng:
Sure one can always improve user guidance and manuals. You could also decide to volunteer to lineage in consideration of your free time and skills

;)

Frankly speaking (please don't take it personally), I think there is not much interest in this point. From a developer's perspective, you want to focus on the code itself and not loose too much of your time on such elements. You rather want to keep consistent manuals, with a good amount of "re-use" of explanations across devices. The existance of such root scripts etc depends rather strongly on the actual device. I'm sure, with the above suggested additional explanations, you would also have people complaining ;)

In summary, it's still a fair and correct assumption that this functionality is lost in the first place. Possibility to recover eventually depends on many things, is not tested etc, and can therefore be considered as not existent.

On the other hand, I was running Cyanogenmod on the Xperia L before, for which I made a backup of the drm keys thanks to such root scripts, but I never used this drm key backup...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] zupert:
For the record: the issue was caused by Blokada.

It is unclear if only the custom DNS are causing it, or the whole filtering.

But without Blokada, the wifi thetering works just fine. So problem solved.

Also LuK1337, I wanted to say thanks for your time and efforts in this project! :good:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Recently got a new XA2 and set up this ROM. Works quite nice and I flashed 50.2.A.3.22 firmware. Is there a zip to flash latest version (ending in 77 I think) in recovery?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
A weird thing is happening on my phone. In the last 2 weeks, the used space has increased by about 6 GB. It seems that suddenly all the apps have started increasing a lot of the user data that they store. My usage pattern is the same. And its weird that all the apps are going this. Not sure why this is happening. I am now down to only 2 GB free space.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] 80c535:
Same here, down to 2.6 GB free space.

I saw the first warning some days ago in Google Play Store.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] cojocar.andrei:
Check app_webview browser metrics. It seems that chrome webview is spilling hundreds of files of browser metrics ...Just delete them, but I do not know how to stop them ...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Noobie question here, but how to delete them?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] cojocar.andrei:
Root explorer, go to data/data/app_xxx/app_webview/BrowserMetrics/ and delete everything from there. You can view which app is swalling itself up with 1tap clear pro...I had 6gb of browser metrics for one app!!!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Thanks. That helped tremendously!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Same here too. But I can see the collected (garbage) files in BrowserMetrics are going back until October '20...

What happens there in LOS since that times?

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
My guess is that is around the time system webview was updated to v86 and that started this. All a wild guess though.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
OK. You may be right.

JFYI... I cleared all */app_webview/BrowserMetrics (8GB of data erased).'

Then I did install via PlayStore(!) „Android System Webview“ by Google(!). It's version 87.x! Then I switched in Developer Settings the Webview engine to this Google-Version 87.x (away from the LOS-shipped Version 86.x).

It seems, the bug is gone now.

But I will report in a few days again...

--

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
Awesome. Hopefully v87 will be merged in the webview that comes with LineageOS
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] cojocar.andrei:
Or change temporarily the permissions to read only for BrowserMetrics dir ...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Since two days with Version 87 of System-Webview there are no new (junk) BrowserMetrics files.

Everything seems to be OK again, at this moment.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] MM537:
Hi LuK, the vibrations while pressing the home and back buttons are a little too strong for my liking, is it possible to include a setting for setting the vibration intensity, or is there some hardware limitation?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] imska:
After 2020-12-03 update, my phone does not boot any more. When turning on the device, the lineageos boot animation appears, loads for a few seconds and then the screen turns black for a second, the phone produces a long vibration and turns off.

What can I do? And what could have gone wrong in the first place?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] imska:
Unfortunately, I am not even able to switch back to the other partition slot. If I run "fastboot set_active b", I get

Setting current slot to 'b' FAILED (remote: 'Invalid Slot')
fastboot: error: Command failed

and

fastboot: error: Device does not support slots

in alternance. Same if I use "_b" instead of "b".

Trying to do a "fastboot boot twrp..." hangs indefinitely on "sending..."

Currently, I am only able to boot to fastboot or to lineageos recovery. Active slot is apparently a.

Any idea on what I could do or try would be greatly appreciated!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] RobertHarkness:
Have you tried flashing TWRP in lineage recovery?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] imska:
That worked, thank you!

Still, I would really like to know why the fastboot commands do not work. I even downloaded and used the latest available fastboot binary...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] RobertHarkness:
No problem. best not to poke around too much in fastboot, you could do some irreversible damage. At least now you can flash lineage again. Peace out!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] radhazx:
In case anyone is searching, the semccamera addon linked in the first post contains +20 files to download. Even though they're all listed as being for the XA2 I just downloaded the latest one for "Pioneer" and installed it using TWRP fastboot (install from zip).

The app has issues with many of the functions/modes within the oem camera causing crashing the it takes much better photos in low light than the lineagos camera app/opencamera apps and is worth your time.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
My XA2 is not rooted (and no Play Services installed). Is there any way to check for these files without root? (adb over USB is no problem for me.)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wtflawlxd:
Check this.

Relevant command, assuming adb root shell:

du -sh /data/data/*

I don't use Play Services nor root either, every folder was of acceptable size.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Andy_2639:
Thanks, wtflawlxd, you brought me to look deeper into the adb options after the confirmation that rooted USB debugging works without rooted phone. Also the du command was very helpful.

I tried the following:

On phone:

Enabled "Developer options"

Enabled "Android debugging" and "Rooted debugging" in Developer options

Restart phone

On laptop:

"adb shell" - still no access to /data/data

"adb root", "adb shell" - now, it works: I'm root and have got access to /data/data

I guess that restarting the phone wasn't necessary. My problem was that I assumed enabling "Rooted debugging" would be sufficient to get a root shell - but I also had to get adb into root mode.

I get this list of metric files:

Spoiler content hidden.

(36 files with 147 MB in total). Is this in the expected range?

(I use the phone only occasionally for browsing the web, my main device is my laptop.)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mpekurin:
Hi. I'm not sure if it's related to the ROM and it isn't a big issue. I flashed LOS 17.1 ~5 months ago, all was fine but during ~ last 2 months each time when I use LTE+ intensively (e.g. download smth or watch youtube) mobile signal disappears for 10-30s almost each minute. There is no issue if I switch to H+. Rescently I swapped sim cards and the issue was still here on my phone while on another phone my sim card worked great, so it appears only on my phone and isn't related to sim. Anything I can check to handle this? H4113
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
I cannot confirm that. On two H4113 this described behaviour does NOT happen to me.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] DHD4Me:
removed
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
LuK1337,

rom very nice, stable and excellent performance on the battery, but

Which version do you plan to fix the bugs:

Issues · LineageOS / issues / android · GitLab

LineageOS android bug reports. Please see https://wiki.lineageos.org/bugreport-howto.html. Issue intake is automated by a bot - please make sure to read the...

gitlab.com

As soon as you let me know I will download new roms and check!

dziękuje z góry :)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I noticed that in the installation instructions on the Lineage Wiki site, all references to TWRP have been removed. It only says Lineage recovery now. Does this mean TWRP is not recommended anymore as a recovery for the phone? Or just that the Lineage team prefer you use their own and everything else is at "your risk"?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] QQ7Q:
I have "fastboot devices" problem at my XA2:

I installed about year ago Unoffical version of LineageOS 17 right know when I go into fastboot mode(blue diode) and type in cmd.exe "fastboot devices" nothing appear. I cannot load new official LineageOS 17.1. What can I do about it?

I have original SOny XA2 cable, unlocked bootloader, and Android Recovery Sony/H3113l; 8.0.0
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] silk07:
Hi all,

Am I the only one hearing some white noise (crackling noise) from the loudspeakers whenever audio is played?

I did not have that issue with the stock Android OS (neither with Sailfish OS).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moderom:
I just checked last actually rom:

lineage-17.1-20210128-nightly-pioneer-signed.zip

still the same problems.

Only sim card carier no 1 support mobile data and mms.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] ceballos124:
Update 11/2 causes my phone lagging when watching video (fb, youtube, ...)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Son-Y:
Hi @ all

My XA2 cannot connect to a WiFi anymore (hidden SSID, MAC-filtering active). It used to work. Device is configured to use original MAC (which is whitelisted).

But from one day to the next it only states "… not in range"

Nothing changed at the WiFi setup.

Other devices as Laptop, other Smartphone, Tablet,… can still connect.

Anybody knows a solution?

Maybe somehow reset WiFi Settings/Saved Networks?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Son-Y:
… seems to be a known issue but not fixed yet.

Found this https://gitlab.com/LineageOS/issues/android/-/issues/3045 (2 weeks ago) and this https://gitlab.com/LineageOS/issues/android/-/issues/2678 (4 months ago).

Both Issues still "open".

Hope it will get fixed soon 🤞

Or is there a known workaround I could use meanwhile?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Hi LuK1337

thanks for all your work in LOS for pioneer, and that for many years.

Now LOS 18.1 is OFFICIAL, but it's for many people not easy to migrate.

Poking around with LOS 18.1 for days/weeks showed me much trouble and many problems due to the new "Scoped Storage Policy". It's really awful.

So I would ask if there are any plans to have the LOS 17.1(!) even in future just only as a monthly security update. Maybe... as UNOFFICIAL again?

I expect, many pioneer users would like to stay with an actual Android10/LOS17.1.

Thank you very very much,

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I guess the best one can do then is take the last released 17.1 and stay on that. But no more updates - just like it happens with an OEM.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Sekisouls:
Sorry, i beliive was lineage 18 forum... And i don't know how delete this message...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] alf-endy:
I found a solution here

删库跑路 - 马丁龙猪的博客

刷机的时代其实早已落幕，迟迟下不定决心只是希望能让魔趣多存续一些时间，但该来的终究会来。 马丁龙猪今天决定删库

download.mokeedev.com

I have been using it for a long time and it is updated daily
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] QQ7Q:
I have a latest 17.1(last?) lineageOS at XA2. I have problem with MMS. When I receive MMS there is no picture/photo but link "Tap to download". Despite tapping nothing happend. Just "Downloading" message forever and my WIFI is ON.

How to make MMS download automatically? Is it a bug?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
OFF-TOPIC in this thread, but:

MoKee is not a real alternative.

Yes, it's updated daily, but:...

MoKee is a chinese variant, and...: they're collecting data from your phone (including your country and your mobile provider, for example) and they will give these data to (chinese or other) authorities if "legally" (whatever this means in such countries) requested by them. It is written in their policy that they will do so.

So it's a totally No-Go! It's a kind of a "spy-rom".

Just my 2¢,

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
I found a "workaround" for staying with LOS17.1 on XA2 (for those people who cannot upgrade to 18.1 for different reasons).

It's "iodéOS" for XA2 (to find in this forum), based on LOS17.1, but focused on much better privacy. And it's yet on security patch level of 2021/05. Not frequently updated, but when it's necessary, and OTA-updates are working.

Nice. What else do I want?

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] irgendwer2:
Another alternative also based on LOS17.1:

/e/OS

https://e.foundation/e-os/

XA2 ROM install instructions and download links:

https://doc.e.foundation/devices/pioneer/install/
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] samhhmobil:
Thanks to LuK1337 for all his work in LOS for Xperia-XA2.

I understand, that his work is now and in future to LOS-18.1 (or, if coming, higher ones).

Nevertheless there are reasons to me, not to migrate to Android-11, but to stay in Android-10 (LOS17.1), but with actual security patches.

My solution is now to build LOS-17.1 frequently (monthly) by myself, as "UNOFFiCIAL". And, yes, it works as it should. My latest build of LOS-17.1 for pioneer is on security parch level of July 5th, 2021.

So, if someone else is interested in this unofficial ROM, please let me know.

samhhmobil
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] schmatzler:
I was fed up with the horrible performance of Android 12 on my pioneer, so I made a new 17.1 build from the official sources last night.

So far, it runs extremely stable, just as I remembered it. You can get it here to save you the trouble of building it yourself:

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

lichtmetzger.de
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] guok:
Thanks,Bro!!!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] guok:
https://www.reddit.com/r/LineageOS/comments/su6321
I found a backup of the official LineageOS 17.1-pioneer on this：https://archive.org/download/lineageos20210217/roms/pioneer/
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] schmatzler:
New build is up:

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

index - powered by h5ai v0.28.1 (https://larsjung.de/h5ai/)

lichtmetzger.de
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Idesmi:
Is it stable enough for a daily driver usage?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] emc02:
I am using it daily and it works well for me
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] action_papst:
Same here

Edit: I get FCs when trying to use the calendar app. Log is like 'there's no such app'. Is this a known bug. No gapps, no custom kernel, magisk20.0, fresh install. Can't attach the log, as I am editing an existing post.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>Can't attach the log, as I am editing an existing post.

Wow and that prevented you from posting it at all. You should have just linked it...