yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Do you even know what A2DP is? I asked if stock supported multiple a2dp devices connected at the same time.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
I can connect multiple Bluetooth devices on stock but only play music on one at a time.

I tried making a phone call while listening to music and the call audio was being played at the same time as the music (calls on my earphones and music on speaker). When i tried playing music on both earphones and speaker, it wouldn't let me tho.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
So is it any different than lineage?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
No, I've just wanted to know if there were any plans for multi music streaming?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Not sure if we even can do that.

Actually Android doesn't even support that so I can't do anything about that.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
I know the S8 and newer flagships from samsung have it so that's why i was asking.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yeah but samsung has paid engineers that know what they are doing.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
[MENTION=5075128]LuK1337[/MENTION] could you increase the size of the system partition in the next update, it's probably why gapps get broken everytime I update and when i try to flash a full package it tells me there isn't enough space avaible.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Thank you
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I didn't do anything tho.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Oh..then I wonder why gapps tell me that the system partition is too small to install even to the rom extracted is about 1 gig and so are gapps which should leave 1 Gig extra
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] kop316:
I may actually be able to help! Do you have Gapps or no, and did you allow Google to use high accuracy?

By default, the GPS module shuts down when not in use, so 30 seconds is actually about what you expect when you are only using GPS. Google apps uses the coarse location to get an approximation faster than GPS. If you aren't using Gapps or don't allow it high accuracy, you get expected behavior.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
I got this device only recently. Thanks for work on this ROM! I've got one question, is it possible to set the drawer background to dark mode? I wasn't on pure LOS with my last device, it was possible there. I looked through all settings but can't find a theme or other related option for the drawer.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wangenau:
The launchers theme won't update after the first installation. So just select dark theme in settings and force close the launcher (Trebuchet) and then it should be set to dark mode.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
Hm, that didn't work, I forced close the Trebuchet app, and already did restarts. Just to make sure I got it right, dark theme to be set in general settings, display, right?

Could it be this is related to work profile? I use Shelter app from Fdroid to create a separate work profile (for Whatsapp). So there are two profiles in the drawer. I did not yet test to copy Trebuchet to work profile.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
First of all, there's no such thing as high accuracy setting in LOS, 2nd, I've fixed the problem already
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] wangenau:
Sorry, I guess i was wrong. It seems that Trebuchet's style changes based on the wallpaper. I never noticed, because mine is dark. If you choose a dark wallpaper (e.g. the first of lineage's wallpaper) it should be set to dark mode (maybe you need to set the wallpaper again to update the style).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
Selecting the dark wallpaper again did the trick.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] kop316:
OK then....

Sorry to try to help.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
[MENTION=5075128]LuK1337[/MENTION] Why don't you start including gapps in the rom? It doesn't have to be stock just pico or nano

---------- Post added at 02:03 PM ---------- Previous post was at 02:02 PM ----------

I'm not trying to be rude, just saying i've already solved the problem
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I would prefer not. Give me the flexibility of choosing the ones that I want. Plus you only need to flash it once, isn't it - unless you are wiping the phone and starting from scratch.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
Please do not include gapps! There people who don't want Google on their phones (me for example)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Meloferz:
Official builds doesn't include gapps
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
https://en.wikipedia.org/wiki/CyanogenMod#Licensing × I don't want gapps in my builds anyway.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
You need atleast the pico package installed... so you can get the most basic apps like play store
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
Please be ensured, I don't even want that. I'm blocking connections to Google with AFWall. I try to avoid Google as much as I can. Google-free smartphone for years now, not missing much.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
lol if you want that just install Sailfish os, there's also a free version
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
or if you want gapps then install gapps, k?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Yes i have gapps installed, i'm just telling him how to get away from google completly
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] kop316:
There are folks (myself included) who do not want any google apps installed. You can use F-Droid to install open source apps and the Yalp Store to install apps off Google Play.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] schmatzler:
With this ROM, audio messages in WhatsApp are often distorted when played over the internal speaker. They sound fine with a Bluetooth headset, though.

Does anybody else have this problem?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Yes.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] schmatzler:
Oh thank god, I thought it was starting to die on me. I hope this gets fixed soon. My ears are bleeding :D
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Turn off the equaliser in the AudioFx app
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
Hi,

i'am not sure if this is the right thread for this question.

While following an other flashing guide i've accidently erased the boot_b Partition and the oem partition using fastboot. After that i've changed to slot b using fastboot.

Now the phone isn't booting anymore into fastboot, flashmode or recoverymode. Neither booting or charging is possible.

I've also tried to reflash with Newflasher, but Newflasher couldn't find the device.

When I connect the phone to the Computer, the notification LED is blinking green, but the device isn't recognized by the Computer. It is also not shown in the device manager of Windows.

Pressing the powerkey for two minutes didn't worked.

I would be glad if you could help me with this!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Can you connect your device in flash mode by pressing volume - button while connecting to your computer?

If this does not work then shut down the phone by holding power button and volume + button until you get three vibrations and then connect device while holding volume - button to your computer and do make sure the phone is off not rebooting.

Make sure you have Sony Xperia Flashtool Emma found here https://developer.sony.com/develop/open-devices/get-started/flash-tool/download-flash-tool/ open when you are connecting your device to your computer.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You killed it. There's nothing you can do, just RMA it.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
Hi,

thanks a lot for your fast Reply!

I've already installed Sony Xperia Flashtool Emma, but it didn't recognized the phone.

If I connect the phone to my Computer while Pressing volume - the notification LED flashes periodically green very short, but neither the Computer nor Emma Flash Tool recognizes the phone.

It doesn't matters which key I am Pressing while connecting the phone to the Computer, the notification LED starts flashing periodically green very short and the phone doesn't get's recognized.

I'am not able to boot the phone, the screen stays black. If I am trying to boot, the notification LED flashes once very short green, nothing else happens.

I've pressed Power and volume + for five minutes but nothing happened. The notification LED flashed once very short green.

Also using an other cable or Computer doesn't helps.

Connecting in flashmode is impossible.

What else could I do to recover the phone?

Thanks in advance!

---------- Post added at 11:42 PM ---------- Previous post was at 11:37 PM ----------

Thanks for your fast reply!

Slot a is fully operational, is there a possibility to switch the Slots without having to connect through fastboot e.g. a key combination?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] sieghartRM:
Unfortunately as LuK1337 said I do not think your phone is recoverable anymore since you cannot connect your phone in fastboot or flashmode.

You could try to claim warranty on your device and have Sony repair it if you live in the EU or country with similar laws.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] firestarw:
Does this happen with audioFX off as well as on? Some games crap out with audioFX on I've found.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Malizor:
Since I upgraded to Lineage 16, the sound was cracking when playing any Youtube video (at least via Firefox). Disabling AudioFx fixed the issue.

So thanks for the tip!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] MaxWilliams:
Becoming (almost) Google free

Would like to get rid of Google services as far as possible on LOS 16 on XA2.

[Edit: Therefor I did not install gapps.]

Found two steps after a clean install to perform:

1)

Change standard search engine in browser

2)

Stop reverse search

phone-app > menu -> settings -> reverse search -> uncheck all

Which steps whould I have to perfom additionally to get rid of Google services?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Meloferz:
Wtf, I didn't know about that option, that's for the info!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
A clean install without gapps is the only way
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] MaxWilliams:
Maybe I wasn't clear enough: Of course did not install gapps ...
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
I guess this is general and thus off-topic, I post nonetheless to answer.

Not sure with Android Pie, but there used to be a network connection in Captive Portal Check (should be check when connecting to WiFi if you are in a hotel or similar). You can disable that with some shell commands, but can't remember exactly. One of the scripts below contain the commands, I think.

Would I am doing is

Using AFWall+ (from Fdroid, available on Github as well), here on XDA, here on Github, root required!

Apart from blocking apps' internet access you can set scripts that block specific IPs. I use other scripts that check for Google (and other trackers) IP adresses and combine them as input to AFWall. Have a look at afwall_easy and ASN_IPFire_Script. These are in English. I guess searxing for AFWall scripts will probably yield other results as well.

Mike Kuketz from Germany has a nice blog on security, and a post on AFWall+ as well as a series on Android without Google. The latter is from 2014, an update has just started. I guess similar blogs exist in English as well, or you just copy relevant parts to a translation website.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Why do you use AFWall+ on LineageOS? You can disable internet access on a per-app basis out of the box.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] JanJabko:
It's easier in a central app and saves clicks, plus with the per-app solution you cannot block tracking in browser.

Edit: you can of course block in Firefox with add-ons, which I do, but not necessarily in standard browser and other apps
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] schmatzler:
Yes, WhatsApp audios are still broken with the internal speaker (or headphone jack) and AudioFX turned off.

1 in 5 times an audio will play fine, but most of the time it's crackling a lot.

I always have AudioFX turned off, because when it's turned on, Vanilla music does not play music anymore. :p So many audio problems on this damn thing!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Come IRC/Hangouts/Discord (see my signature for channels/usernames).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moroi:
hidden SSID no doesn't work on LOS 16

Hi, I just upgraded from LOS 15.1 and I can't connect to my wifi (which has hidden SSID) anymore.

This worked without any problems on 15.1 (and stock).

I can see other (non-hidden) wifi networks, and I can connect to mine if I remove the hidden SSID setting in openwrt.

as part of the 16.0 upgrade I did update the firmwares using post #2 in this thread, and since I managed to delete data (by mistake) I went for format&clean install.

Note that I don't use GAPPS (nor I was using them before).
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
In Pie, when you are adding a hidden WiFi, you have to go to advanced settings and set hidden network to Yes
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] moroi:
Bingo!

Thanks, that was indeed the problem.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] MaxWilliams:
Found this at kuketz-blog.de :

Proprietary code in some Lineage ROMs.

Tycho.apk -> Project Fi

CarrierServices.apk -> Carrier Services

GCS.apk -> Google Connectivity Services

To remove you're adviced to do this:

mount -o rw,remount /system
rm -rf /system/app/Tycho/Tycho.apk
rm -rf /system/priv-app/CarrierServices/CarrierServices.apk
rm -rf /system/priv-app/GCS/GCS.apk
mount -o ro,remount /system

Source: https://www.kuketz-blog.de/lineageos-propritaeren-google-code-entfernen/

Should we do this on our XA2 ?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
None of these are shipped in pioneer builds lol.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] MaxWilliams:
Thanks, that's all what I wanted to know.

---------- Post added at 09:09 PM ---------- Previous post was at 09:05 PM ----------

Next question:

Is there any way to see if there is an "important" update in the Updater of LOS 16?

Like a (monthly?) security update which I'm strongly adviced to install.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
~ no ~
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] :
Does anybody knows where the Testpoint inside Xperia XA2 is?

Thanks in Advance!
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
s[MENTION=5075128]LuK1337[/MENTION] The screen turns back off after every unlock if the phone is being asleep for more than 30 sec. It used to happen sometimes but now it's just annoying, any ideas what could be causing this?

---------- Post added at 03:15 PM ---------- Previous post was at 03:13 PM ----------

Probably on the mainboard(on top)?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I know that first power button press sometimes won't wake it up but I have no idea why is that happening.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
If someone thinks this whatsapp audio issue is important please message me there; I have something that may fix it but I need it tested first.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
With me it wakes up but then locks back again, really annoying

---------- Post added at 08:28 PM ---------- Previous post was at 08:24 PM ----------

Maybe the DisplayManagerService reactivates "Built-In Screen" to off when you push the power button because it doesn't check if the screen was off?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I don't know but I found a really good way of reproducing this issue so I'll try to waste my time on it tomorrow.

BTW if you want to reliably reproduce it just touch the camera button but don't fully press it then press the power button and it'll either turn the display on and turn it back off or not turn it on at all ^.^
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Ok I've tried it, holding the camera button to open the camera, then turning off the screen and on again does the same thing.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
...I know?

btw I think I fixed camera focus related issue: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/244814, I'll get it merged soon (TM)
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
I've never had any focusing issues except the max macro focus, it's quite bad but it's the same on stock rom so it's not really a bug.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Uh, did you even read the commit message?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Yeqh but after I've already written the quote and didn't feel like editing it
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
244814 just got merged, can people who were crying about screen turning back off let me know if the issue is fixed for them on the tomorrow+ builds?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Yep, I'll let you know asap.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
Why do you always sound so angry
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] malerocks:
I think he is just direct.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Because I'm an awful human being.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Sure, I'll cry of joy if it's fixed
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Also whatsapp audio should be fine too but as always let me know if it's not.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] theredbaron1834:
He's Linus Torvalds, but don't tell any one.....
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
[MENTION=5075128]LuK1337[/MENTION] The update fixed the screen off issue
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
I can confirm that both the screen issue and crappy WhatsApp audio are fixed
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] 3eeple:
OK for the black screen on power button press.

I still have an issue with the recent apps sorting in the Recent Apps carousel. Any ideas how I can help to fix this?

Thanks a lot, that's awesome work. Much better than fried screens from Sony :D
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
[MENTION=5075128]LuK1337[/MENTION] I've also managed to get google apps fixed on update, it's necessary to use a package that doesn't remove the ROM's apps such as calendar which results in duplicates but at least it's not necessary to use pc to update
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
I flashed opengapps pico and I've never had a problem using built-in updater
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
LuK1337 Any ideas why Google assistant won't work? I have this search thing but it's not the assistant?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
I'd use pico but then i don't have certain apps and o have to manually install everything
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] mirco_pa:
Works here. Be sure you installed it from the play store as well as Google app, then go to settings and set Google as your preferred assistant app
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
Luk you closed my issue on gitlab but I still have that annoying navbar bug, should I open a new one?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
I guess if you want. Tho realistically until you find a way to reliably reproduce it it'll never be fixed.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
I've sideloaded the google assistant because it's "not available in my country". I was able to use it just fine on the stock rom but here it's just the search thingy, and my language is set to English US so there shouldn't be any issues
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
Well, it always happen with the first app that I open after unlocking the screen.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Umm so:

1. Unlock screen

2. Open any app

3. Profit?

If so I cannot reproduce it here, does it happen with any other locale (try english US) or launcher?

There must be something specific to your configuration, just figure out what it is.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
Oh wow I feel stupid now, changing the display size is the first thing that I do and I never thought about it. Anyway, every size but "small" works fine and obiously I always use small. Even the white line under some apps while in multitasking disappeared. Can you reproduce it now?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Yeah, I can reproduce it on 'Small'.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
[MENTION=5075128]LuK1337[/MENTION] I think you've released a bad update. My phone turns on but then when i'ts on the lock it triggers a shutdown (the kind where you would have to normally hold down the power button and press power off).

Anyone else has this issue? (26th March update)

---------- Post added at 01:50 PM ---------- Previous post was at 01:48 PM ----------

I've tried reinstalling via twrp as well but same issue, flashed back 25th for now
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
You know that pretty much nothing changed in last update? lol.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Yes but why is the phone shutting down like i held down the button and selected power off?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] RADZ1973:
So i have XA2 H3113 and have everything running fine, if i want to update using the built in updater will it wipe the phone everytime or just update the OS. Also should i update everytime a nightly is released or wait for a stable release.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
>If i want to update using the built in updater will it wipe the phone everytime or just update the OS

It'd make no sense for an UPDATER to wipe your phone.

>Also should i update everytime a nightly is released or wait for a stable release

No, update when you feel like; updating every day is silly. Also there won't be a stable release.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Probably your gapps are crashing again forcing phone to boot into rescue party lol. Check logcat.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Update on that: I was trying to figure it out until like 5 am and I realized that it's caused by calling setAlphaNoInvalidation() which makes no sense whatsoever. I give up.
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] inestion:
Thank you anyway, it's a peculiar problem for sure
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] davidhozic:
Are there any plans for a built-in app lock or is it just not going to happen in this ROM? Wasn't it implemented once in los?
[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] LuK1337:
Not going to happen.