yashsingh1/xdaforums huggingface dataset:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Well, today I lost LTE as well, and so then no internet whatsoever. I installed and wiped and reinstalled until I was sick of it. Would not work. On the last try I changed the sim card from slot 1 to slot 2, and everything works now, LTE and WiFi. This SONY sucks the life out of me...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
lol.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Lop3:
1. Is it possible to enable encryption of the Data partition after installing LineageOS 16 on XA2 Ultra?

2. Is TWRP able to mount the data partition?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
＃1 .. It's enabled. In fact, it's not possible to disable it as far as I can tell.

＃2 .. Yes.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] oodport:
I flashed current nightly for this ROM and while my device is encrypted, I am not asked for the encryption PIN at boot. It boots right to the lockscreen. Changing the PIN has no option for secure startup. Is this expected behavior, or did something go sideways during the flash? I am new to this device.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
That's how FBE works.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
That should be fixed in next build ^^
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Getting data/system/dropbox literally filled with system_server_lowmem logs. It's almost impossible to run anything other than a single application in foreground. Anything in background is immediately killed by Android. File manager drops all ongoing operations, web browser gets all tabs closed, etc.

I'm rarely running anything other than terminal, file manager and web browser, and almost never using even half of the 4 GB available in RAM. I'm usually hovering between 1.5 and 1.9, so I don't really know what could possibly be happening here... Any help appreciated.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
You can try applying https://github.com/LineageOS/androi...c6b3f2c#diff-9da4cea7722128af32ddcf0d57b40cf4 to /vendor/bin/init.qcom.post_boot.sh but I have no idea whether that'd help in your case.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
It's been only 24 hours since I did that, but so far so good. Two applications alive in background, woohoo... Crossing fingers. Thanks much.

Edit : For a while it was as if the switch on developer options to kill all background activities was on. ( It wasn't. )
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
So that actually did something?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Apparently yes. Set to 0. ( enable_adaptive_lmk )

Before that I fiddled wih swappiness, minfree, wiped device, reinstalled, left it running doing nothing... It always killed anything and everything in background no matter what. 7 GB of storage free, 2 GB of RAM free, didn't matter. Started a few weeks ago, out of nowhere. Disabling LMK so far it's heaven. Can use it again.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
yolo then lol.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AndreyAleks:
How to enable finger print scanner? Where is it's options located?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
It's exactly where one would expect it.

If you don't see it then you're probably on 2018xxxx baseband, look at post #2 to see how you can update it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AndreyAleks:
Indeed. Thanks.

---------- Post added at 22:07 ---------- Previous post was at 21:37 ----------

Btw, as far as I can see at 4pda.ru, the file simlock.ta should be also deleted when flashing free/unlocked operator smartphone (otherwise mobile network will be lost, repairing - motherboard replacement). Why there's no that file at your deletion list?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I don't think that's true...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AndreyAleks:
Two years ago munjeni wrote that his tool (Newflasher) doesn't flash simlock.ta (no necessary to delete it). So there was some reason.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
And further proves that there's no reason for me to mention that ^.^
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] ultenhiemer:
Not really sure if this is an issue at all (Well it at least is to me) regarding LineageOS.

You see, I updated to 17th March version today. But when trying to activate my Wifi Hotspot at 5Ghz, none of my other dual band wifi devices can seem to find any connection. Switching to 2.4Ghz can make it found, it's just the 5Ghz that doesn't seem to work.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Dunno, I tested hotspot on Xperia XA2 Ultra (17.1) and Xperia XA2 (16.0) and 5GHz hotspot works just fine on both of them.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Grosnik:
I've had that "bug" forever too (Both on 16 nd 17). Maybe it's a hardware issue though?

It works fine on an older phone but in my case the signal reception for 5Ghz is just really weak (Dies out a couple rooms away).

Speaking of Lineage though, since your XA2 Ultra is on 17.1 I'm guessing you won't maintain 16 anymore? :/

I tried upgrading when I noticed it wasn't maintained anymore, but so far I just ended up with a system that has no sound.

I also lost all my data (Had it backed up as well but restoring doesn't work or "bricks" the system regardless of what I try, TWRP's borked)...

And well, I can't install MicroG for some reason (Their image aren't out yet, maybe not supported), and some system apps went backwards in terms of functionality...

So I'll have to stick to 16 for now but it's a bummer that the system's not updated anymore... Understandable though, you've done great work so far
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
>Speaking of Lineage though, since your XA2 Ultra is on 17.1 I'm guessing you won't maintain 16 anymore? :/

Correct.

>I tried upgrading when I noticed it wasn't maintained anymore, but so far I just ended up with a system that has no sound.

Flash https://androidfilehost.com/?fid=4349826312261769960.

( btw 50.2 modem etc was also required on newer 16.0 builds, broken stuff with 50.1 one is just less noticeable on 16.0 )
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
I have question / problem

When using camera pp (wich has permission to access SD Card), I have setting "Save pic to SD storage", but camera always saves to internal storage instead.. and ideas please how to force saving to SD card ?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
where to download latest 16.00 build ? on official site there is only 17.x available on downloads ... ??
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
anyone have latest official build to share for xa2 ultra discovery please?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
please any cluea for help? https://xdaforums.com/t/unlocked-bl-camera-16-9-green-line.4406153/
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
iam affraid this is lineageos camera issue, interested if anyone else had this problem, how to solve it? temporarily i i installed google camera app and it takes pictures normally at 23mpix 16:9...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
ok got some news, on 22mpix and 18mpix 16:9 resolutions i have this green line issues, but on 12mpix 16:9 there is no green line!

anyone has maybe some ideas what could be the issue or how to fix it please?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
let me show you guys the problem, heres picture of with the problem..

IMG-20220302-180428 hosted at ImgBB

Image IMG-20220302-180428 hosted in ImgBB

ibb.co
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
any ideas please ? It's lineage cam problem because when I try opencamera from playstore it works normally, also stock xperia rom camera works good, only in lineage there are green lines at 16:9 23mpix... (???)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
no ideas for help about this .. hmh ?

on what apps i lineage camera based on?

or perhaps is there any recommendation on free app for camera?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AleFeick7w7r:
Bro...

Could you create a rom based on GSI Arcana 5.1 Android 12.1 for the XA2 Ultra?

I can afford it (no offense)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
no ideas for cause or help for this ?

If I don't solve it I'm affraid I'll have to drop Lineage OS .. :(
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] maxis123:
hey guys, no clues how to fix camera..please?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] 842155:
Sony XA2 Ultra
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] malamas:
guys why in the camera app no use flashlight? work only flash is very bad this , in original xa2 ultra rom flash light work in camera and selfi , how to fix this?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jnappert:
Thank you. Flashing latest Firmware to both Slot_a and Slot_b did it (Post#2). OTA Update is working.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] roirraW "edor" ehT:
LOL [MENTION=5075128]LuK1337[/MENTION] "Windows 8 Mobile". Seeing if we're paying attention?

Thank you for the ROM!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] riceboyler:
As of installing the 3/8 build, I'm seeing weirdness with the brightness. For some reason it turns itself all the way down every time the phone goes to sleep. Any ideas?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
OTA problem

Hi,

First message... hello from France !

And a big thanks for these impressive work.

I've done the newflasher/xperifirm to slot a and b successfully.

I've installed lineage-16.0-20190309 and gapps with a microSD card without any problem (because adb sideload never worked !).

Today I've download and tried to install lineage update with OTA. But after reboot, my phone (H4213 / XA2 Ultra dual-sim) is on bootloop.

I've never encounter this problem while using CyanogenMod or LineageOS.

Note :

- I have never could install anything via adb sideload, it fails around 50%.

- TWRP is not installed, I using it with "fastboot boot twrp.img" (I've never found any fully fonctionnal install method for this phone).

Thank for your help.

Edit: After wipe all and reinstall the phone with the latest LineageOS, some previously installed application could not be updated or installed via the Play Store (Microsoft Outlook, Android Webview, Photoshop Express...). To install or update these applications, I need to use the APK file and do a manual install with adb.

A new bug with this LineageOS release ?

Edit2: After trying some apps, I've got an access write issue like this :

I can't add url, go in your search engine and type : "reddit lineageOS can't access storage"
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
New bug found

Hi,

I've found another issue, but I don't know it's a new issue between Lineage-16.0-20190306 and Lineage-16.0-20190309 :

My charging adapter could provide up to 9V at 2A (Quickcharge).

- With original Sony Firmware, the charging is stabilized at 9V/ 1,66A (when charging from a battery level below than 60%).

- With Lineage, the charging is stabilized at 5.25V / 1.42A (the battery level was under 10%)

Hope that's could help.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I don't believe that stock is charging at 9V. All QC3.0 phones I had charged at 5V@3A. I fixed mounting Qnovo partition so maybe charging will be bit better from now on.

BTW I'm going to buy an inline usb meter tomorrow so maybe I'll waste some more time on charging on this device.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
My USB Voltmeter has shown these values.

I've tried to reinstall Lineage-16.0-20190309 with same method I've applied previously without any success.

It's impossible to me to reinstall Lineage (after last reboot, just after installed gapps), the phone show an android problem with the Lineage recovery (Try again or Wipe/factory reset).

I've tried many different things... but it was a failure.

So i've used Newflasher to reinstall original Sony ROM H4213_Customized FR_1312-1378_50.1.A.13.123_R5A (downloaded with XperiFirm). Now I'm under Android 8.0.0 and Sony UI... Erk !!!

Hope these informations could help you.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Dunno, on my XA2 I have `50.1.A.13.123` on both slots and I can flash as many updates as I want; it just works (TM).
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jnappert:
Hi.

I have no success changing the storage of lineage camera app. Changing to SD Card results in storing new pictures at "/scdard/Android/data/org.lineageos.snap/files". Is it possible to change this to "/sdcard/DCIM/100ANDO" like stock rom?

btw: Since stock sony app doesn*t run on lineageos, which alternative camera app would you recommend (other than snap from lineage os)?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
You may have more luck asking this question in `pioneer` thread as the thread here is literally a graveyard.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] wintaeh:
Camera App and other issues

Hi!

I'm experiencing the same issues as you are. When I can't store pictures anymore, a restart fixes the problem.

The beste camera app I tested so far is "Open Camera". This is the only semi stable app, which supports both of the two front facing cameras and the flash..

Other topic:

Why isn't it possible anymore to create users with limited rights? I want to create a user, which is NOT capable to install an app. Somebody knows?

AND:

When I switch to another user, the software keys for navigation on the bottom disappear. Only a restart fixes this problem, but I can't login to the other user without losing those software keys.

Tomorrow I will do the firmware install and report back, whether the issues still exist. :eek:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
QC compatibility

Sony Xperia XA2 Ultra officially support QuickCharge 2.0 and QuickCharge 3.0 (as it could be found in Sony specs) and Qualcomm Snapdragon 630 theorically support QuickCharge 4.0.

I only have some QuickCharge 1.0 and QuickCharge 2.0 chargers, so I could not check QC3.0 or QC4.0 compatibility with the original Sony ROM.

During a 9V charging voltage, the current draw could be more than 1.7A (with screen on and low battery).
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
You should just check page 40 of pioneer thread xD
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
Wi-Fi

Hi,

I've just successfully installed LineageOS 16.0 20190313 but the Wi-Fi does not work at all (cound not detect WLAN during install part or later...).

I've currently download LineageOS 16.0 20190311. I hope this version will work correctly.

Is there anyone having the same trouble ?

Thanks for your help.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Do you have no baseband as well?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
I've installed the original Sony ROM without any problem, the Wi-Fi is OK. After trying to install different LineageOS version, the Wi-Fi never worked.

I don't understand...
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
I've downloaded an old Sony ROM "H4213_Customized CE1_1312-1384_50.1.A.13.83_R10A", I've flashed and tested it with success.

Note : My phone is a H4213 from UK but bought in France...

I've install Lineage and Gapps, and now..

- Wi-Fi works. Ok

- Storage could be written. Ok.

- MMS could not been received. Problem.

Thanks.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Uh, k.

About MMS, not sure about sending but receiving seems fine here: https://dl2.pushbulletusercontent.c...Rvm3/Screenshot_20190314-124159_Messaging.png

You may have wrong APNs or you forgot to enable mobile data but again why would anyone even use MMS in 2019.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
I've already checked APN, it's correct. Another phone under Lineage 15 (Xperia Z) uses the same APN params, it works perfectly.

I've disabled Wi-Fi and checked internet with LTE/4G... My internet does not work at all.

During manual registration of the provider (2G, 3G or LTE), I've encountered an error.

I don't understand.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Everything smooth as silk over here, only issue I'm having is after Monday's build, Spotify will not resume using the play button on my Bluetooth headphones if left paused for more than a couple minutes. I have to unlock the phone and press play on the app.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
I've found something very interresting :

If I begin to install Lineage on slot A, Wifi works like 2G, but 3/4G does not.

If I start to install Lineage on slot B, Wifi does not work, but 2G/3G/4G works perfectly.

I'm going to investigate this issue.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
#2.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Mic mutes when you turn on speaker phone, Also the sound is super scratchy when playing videos
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Uh it looks like you might be on wrong firmware considering ADSP is failing? Try flashing latest 8.0 FW by following #2.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
My H4213 is hard bricked after trying to restore the original H4213 ROM...

But before bricking it, I've found some strange things :

- Recovery shows a H3213

- EMMA detects a H4213 UK

- IMEI #1 and #2 are FR

- SI is 1312-8172 (for FR silver phone Dual SIM 32GiB )

How I bricked it ?

I've found the original "H4213 50.1.A.4.83 FR" from different websites. After checked all downloaded ROMs, I upload data into phone on slot A then B.

It restarts correctly the first time, I've checked recovery for correct model name, YES !!!

I reboot and... nothing at all.

Flashboot and fastboot are unavailable, charging not working...

I don't really understand... Does I bought a pre-modified phone ? a different model ? a non-standard model ?

Does the latest official Sony firmware does something wrong into the phone ? (I've changed to Lineage because latest Sony firmware update crash my phone)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GhostCow:
Is anyone else having a problem where their phone takes a long time to switch from HSPA to LTE after restarting it? My phone seems to take 10+ minutes to switch after a restart. Tried calling my carrier and they said there wasn't any problem on their end. My friend who has the same phone and same network (AT&T) doesn't have the same problem, but I'm on the Consumer Cellular MVNO
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] tactical bacon:
Can anyone who did step #2 help me figure out how to use the flasher. Where exactly do I put the .exe for it to work?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GhostCow:
I've had the same problem with static in the audio when playing Shin Megami Tensei Liberation Dx2 at times. Plugging in an aux cable and then unplugging it seems to fix it. I haven't had that problem in a few days though so it seems to have been fixed in one of the nightlies

edit: actually the problem does seem to be ongoing. I just hadn't noticed because I mostly play with the sound off. Could just be that this particular model has a crappy speaker. I think I've seen the same complaint from other people not running a custom rom

edit: actually the problem does seem to be ongoing. I just hadn't noticed because I mostly play with the sound off. Could just be that this particular model has a crappy speaker. I think I've seen the same complaint from other people not running a custom rom

---------- Post added at 10:13 AM ---------- Previous post was at 10:12 AM ----------

Run Newflasher in the same directory that you have the firmware files in
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] tactical bacon:
I got it to flash the current slot but when i try to put the command "fastboot set_active a" in it shows a list of commands and does not switch
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GhostCow:
You may have an old version of fastboot. Other than that you could always wait until the next OTA and then do the firmware again after it switches slots from updating
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] alexia-vg:
You could check your fastboot program version with :

fastboot --version

My fastboot program responds :

fastboot version 28.0.1-4986621

You could download the lastest version of ADB and fastboot here :

https://developer.android.com/studio/releases/platform-tools
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] tactical bacon:
I installed the latest fastboot and it worked. Thank you for the help
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Everything seems fixed since today's OTA
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
That just confirms that your FW on one of the slots is wrong lol.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] jnappert:
I get error 255 on TWRP backup if i try to save "data" partition. My only search result was: "delete system/addon.d", but then i have to reinstall gapps on every lineage update?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
No, I was incorrect, same issues. I flashed the same firmware to both slots when I first put 16 official on here, remember when you gave me that copy before the official and we got it all worked out?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Your phone is cursed then.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] tactical bacon:
If I wait a week to install the updates do I need to do each one for that week or can I only download the newest one and have it work. Sorry for all the questions, I am still learning :)
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Lmfao, perhaps, I rarely watch videos anyhow. She runs fine for what I use her for. Perhaps I'll find time to sit down and start over from scratch and see where it goes.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] wintaeh:
navbar disappears

Hi!

After flashing the newest firmware on both of the boot slots everything works fine and the installation of LOS and Gapps was successfully done.

The only issue I still experience is that everytime I switch user the navigation bar on the bottom of the display disappears. Is this a known issue? :confused:

So it's impossible to use another user account.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/244499/
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] wintaeh:
Cool!

Cool! So, it's a known issue!

Am I getting this right and you did come up with a solution and I am supposed to download that zip and install it via TWRP?

In this case: Thank you very much, Sir! :cool::good:

I'll try that tomorrow at work!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
...no. You're supposed to wait for someone to merge it and flash next day nightly.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GhostCow:
Just out of curiosity, what do the files that we delete from post #2 do? Would it take us back to stock if we didn't delete those files before flashing?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Yes and probably wipe your data.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] wintaeh:
Nice!

I can confirm that the issue with the navigation bar is fixed with the nightly of today! :good::cool: