yashsingh1/xdaforums huggingface dataset:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
You probably have mismatched firmware between A and B if that's a thing. Follow #2.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Aklenz07:
But is there a way to flash the update in twrp or the lineage recovery?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
What update?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Aklenz07:
The ROM update?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
Why would you do that?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Aklenz07:
Because I get a bootloop if I do the normal way and I don't have time to do #2 to get it working.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
why "my problem"??

the SUapp did not work in my case!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
I told you what to do but now that you installed magisk it's your problem now.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
you're a strange guy... i asked you something.

what is "lineage recovery" with sideload option? and why is it impossible to install through TWRP? Why is there no about it on the page??
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
>what is "lineage recovery" with sideload option?

It's a recovery that comes by default with Lineage builds for this device.

>and why is it impossible to install through TWRP?

Because someone broke it and thus it's impossible until https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/250700 gets merged and addon su packages rebuilt.

>Why is there no about it on the page??

[...]
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
puh.. wonderful... :D there is an official addon, without information about the fact, that it's broken and needs a special way of installation.

good to know.

Is there any benefit of the official SUaddon in comparison with the magisk? Or do magisk has any drawbacks in comparison with official SUaddon?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
what is about qualcom DIAG kernel driver (DIAG_CHAR)? Is there any possibility to get this work in LOS16?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Xfk:
Hello!

Just got a Xperia XA2 Ultra Single Sim (H3213). It is "vendor-fresh" (stock), never connected to WLAN, or mobile data. No Updates via Sony OTA were made, or from googles app-store.

Day of Security-Updates: First of march 2018

Kernel: 4.4.78-perf+

Build-Number: 50.1.A.5.59

Android: 8.0.0

After I read much about (soft-)bricked phones and the vertical-lines-display-f**k-up for various reasons: Is it safe to install Lineage 16 (latest dev build) via booting (not installing) TWRP on top of 50.1.A.5.59?

This would be my to-do list for installing lineagos - is it safe to do it this way?:

backup ta-files (no clue if this is needed, as for I understand, there is no way back)

unlock bootloader

from system > adb reboot to bootloader

from bootloader > fastboot boot twrp

from twrp > format data

from twrp > wipe system

from twrp > sideload lineageos 16 latest dev-build

from twrp > reboot to bootloader

from bootloader > fastboot boot twrp

from twrp > sideload lineageos su-root package

from twrp > reboot to system (no gapps wanted)

More detailed questions - please ignore, if a flash of a newer image is not needed to get to lineagos:

Do I have to flash a 50.1.A.13.123 image before (currently at 50.1.A.5.59)?

Am I correct, that I have to follow the Steps from the second post in this thread in case I have to flash a 50.1.A.13.123 image?

Is it safe to use flashtool64 instead of newflasher to flash a 50.1.A.13.123 image, if this "bridge-flashing" is needed?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
>Do I have to flash a 50.1.A.13.123 image before (currently at 50.1.A.5.59)?

>Am I correct, that I have to follow the Steps from the second post in this thread in case I have to flash a 50.1.A.13.123 image?

Tbh you need any O FW on both slots.

If you're 100% sure that you never updated your phone, which you can validate this way:

# strings /dev/block/bootdevice/by-name/modem_a | grep Daily

# strings /dev/block/bootdevice/by-name/modem_b | grep Daily

If only the first command returns anything then you can do:

# dd if=/dev/block/bootdevice/by-name/bluetooth_a of=/dev/block/bootdevice/by-name/bluetooth_b

# dd if=/dev/block/bootdevice/by-name/dsp_a of=/dev/block/bootdevice/by-name/dsp_b

# dd if=/dev/block/bootdevice/by-name/modem_a of=/dev/block/bootdevice/by-name/modem_b

Otherwise follow newflasher way.

>Is it safe to use flashtool64 instead of newflasher to flash a 50.1.A.13.123 image, if this "bridge-flashing" is needed?

As far as I can tell newflasher is the only available flash tool for Sony devices that flashes $current slot instead of flashing _a and setting it active which would be totally useless in our case.

---

btw 'from twrp > sideload lineageos su-root package'; You'll want to sideload it from lineage recovery instead and good luck backing up TA lol.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Xfk:
Thank you [MENTION=5075128]LuK1337[/MENTION]. My phone is running LOS16 now. Is OTA upgrade safe?

Got a permission error, when I used the shell commands. But I was too lazy to investigate. So I went with your newflasher tutorial, which was working like a charm.

Ah I understand. Have to learn more about this slot-thing. Using Cyanogenmod and LineageOS since the early days, but this slot-thing is new for me. Modern stuff - getting old I think.

Thanks for you advice. Can you point me to the right lineagos 16 recovery, so I will boot into to flash superuser.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
>My phone is running LOS16 now. Is OTA upgrade safe?

Probably.

>Thanks for you advice. Can you point me to the right lineagos 16 recovery, so I will boot into to flash superuser.

Just reboot to recovery mode, it should be already there.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
Did somebody try that?

www.thegeeksclub.com/use-dnscrypt-on-android/

I tried it with my XA2 ultra dual and TWRP said that its a wrong zip file or something like that (i tried dnscrypt-proxy-android_arm64-2.0.25.zip)... strange, because the CPU is arm64.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Can we get a dark mode for updater perhaps?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] LuK1337:
1. Set 'Light' style

2. Set 'Dark' style

4. Updater is dark now

5. Profit?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
As in here? I've always had this set to dark and it changes everything except updater, and there's no option in the preferences in updater itself. Sorry if I'm not looking in the right place.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Still not sure why it doesn't have any apparent effect on updater
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] TemporaryGuest.:
The Wifi won`t work and i dont know how to get a logcat.

And i can`t recieve calls or call someone, the app crashes the whole system.

And the tethering won`t work

And the MAC address is corrupted, it is 0:0:2:0:0:0:0:0 or something else and reseting wireless configs won`t fix that.

I`m using a Xperia XA2 Ultra H4233 Dual from Brazil, i have installed the rom using TWRP Discovery 3.3.0.0.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] layalala:
just start stock Rom (Android Oreo), after flashing it and turn on Wifi, and THAN flash LineageOS. So don't install LineageOS just directly after flashing the Android firmware, first go to the stock android and check everything there. My Wifi problems were gone after that.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] TemporaryGuestForgotHisPw:
I have erased the stock firmware before flashing lineage... i forgot to backup...

and there`s no download link for the brazilian version of the stock firmware, if i try to flash an non-brazilian version, flashtool says that`s incompatible.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
So still no solution for this?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] TemporaryGuestForgotHisPw:
What is your--

LineageOS version: 16.0-20190704

LineageOS Download url:

https:// download .lineageos.org /discov ery

Gapps version: open_gapps-arm64-9.0-aroma-20190704.zip

Did you--

wipe: Yes, it includes the stock firmware... i forgot to backup.

restore with titanium backup: No, i said i forgot to backup.

reboot after having the issue: Yes, it happens every time

Are you using--

a task killer: No

a non-stock kernel: No... i think. i just have installed TWRP Discovery 3.3.0.0 and Lineage OS 16.0, and idk how to flash a non-stock kernel or where i find one for my device.

other modifications:

Recovery: TWRP 3.3.0.0

Non-Stock Firmware: lineage-16.0-20190704-nightly-discovery-signed.zip

Device Info:

Xperia XA2 Ultra H4233 Dual from Brazil

Arm64

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

It happens every time when i try to use my phone, i can`t use WIFI, Tethering, Reverse Tethering, recieve calls or call someone (the app crashes the whole system).

The WIFI On/Off switch keeps on off when i try to activate it. i dont know what`s happening and i can`t find the stock rom or download it on xperifirm, please, help me.

Here`s a Logcat:

https:// driv e. goo gle.com /ope n?id=1Ppe2Mn2VaQqujtJZ3zA1VKSxZdvxjsXH

today i`m going to buy a new phone, i did a big mess..

And there`s no another firmware that i can use in my device, i can`t download or install any stock firmware found on the internet. If i try to flash a non-brazilian firmware, flashtool says that`s incompatible

Please, remove the spaces from the links
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Elbie27:
I'm using the 9th July nightly on the xa2 ultra.

I've lost all fingerprint support.

The setting isn't there and if I check for the hardware using an app its not listed.

Any idea.

I was on 24th may nightly and used the lineage OTA updater.

Thank you

Edit: after several reboots it had found my fingerprint scanner and works fine XD
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Recents is broken with today's build

https://pastebin.com/hfgbVUSS

EDIT: Oddly enough,after several reboots it works again
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bjeagle:
Had a H4233 now it is a H3213

Hi there. I have a H4233. Long story short i flashed Lineage 16 for Discovery in order to fix a problem with the phone not wanting to boot.

The Flashing went fine but i soon realized i wanted to try and install the stock rom again. Now when i use Emma Flash Tool ,with the phone in flashmode, the tool detects my phone as a H3213 and it suggests a firmware package for that phone. I have not installed the suggested firmware since a single SIM firmware must not be good on a Dual SIM Phone. Any suggestions on how to make my phone a H4233 again?

EDIT:

So i got home and had a TWRP backup laying around from when i bought the phone. I hotbooted TWRP through FlashTool and went on to restore my full backup. Unfortunately i could not restore the Data partition it gave me the dreaded: "E:extractTarFork() process ended with ERROR=255" so i proceeded with restoring all except that and now my phone is back on track, and is a XA2 Ultra H4233 again. To all H4233 users considering installing Lineage16 as it is of 26th of July 2019, you might get the phone changed to a from a H4233 (dual SIM) to a H3213 (single SIM). That was what the Emma Flashtool from Sony detected my phone as, in download mode, when trying to revert. If anyone is interested in my TWRP backup i will upload it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
See post #2, but download and use firmware for the H4233 that you have.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bjeagle:
Tried to unpack

Hey Ultramanoid. I did try that method before posting or i got to the point unpacking this file: H4233_50.1.A.13.123_1312-1383_Customized-TW with the mentioned command:

for f in FILE_*; do unzip $f; done
unzip boot.zip -d boot

(the "unzip boot.zip -d boot" part did not do anything since there was no boot.zip)

The files i got out from the first part looked like this:

Archive: FILE_ (H4233_50.1.A.13.123_1312-1383_Customized-TW)

inflating: META-INF/MANIFEST.MF

inflating: adspso.sin

inflating: amss_fsg.sin

inflating: amss_fs_1.sin

inflating: amss_fs_2.sin

inflating: appslog.sin

inflating: auto-boot.ta

inflating: bluetooth.sin

inflating: boot_delivery.xml

inflating: boot/Nile_XBootConfig_MiscTA.ta

inflating: boot/bootloader_X_Boot_SDM630_LA1_X-FLASH-ALL-18AE.sin

inflating: boot/bootloader_X_Boot_SDM630_LA1_X-FLASH-ALL-AAC5.sin

inflating: boot/bootloader_X_Boot_SDM630_LA1_0_O_123_X-FLASH-ALL-9B8D.sin

inflating: cust-reset.ta

inflating: diag.sin

inflating: elabel.sin

inflating: fsconfig.xml

inflating: fsmetadata.sin

inflating: kernel.sin

inflating: mdtp.sin

inflating: mdtpsecapp.sin

inflating: misc.sin

inflating: modem.sin

inflating: oem.sin

inflating: oem_other.sin

inflating: osv-restriction.ta

inflating: partition-image.sin

inflating: persist.sin

inflating: Qnovo.sin

inflating: ramdump.sin

inflating: reset-wipe-reason.ta

inflating: system.sin

inflating: system_other.sin

inflating: userdata.sin

inflating: vendor.sin

The files mentioned to be excluded in post 2 are not to be seen. Yes i am no expert here so something could be wrong, but it is a bit strange that there is not a single file recognizable from post 2. Any help is greatly appreciated.

EDIT:

So i got home and had a TWRP backup laying around from when i bought the phone. I hotbooted TWRP through FlashTool and went on to restore my full backup. Unfortunately i could not restore the Data partition it gave me the dreaded: "E:extractTarFork() process ended with ERROR=255" so i proceeded with restoring all except that and now my phone is back on track, and is a XA2 Ultra H4233 again. To all H4233 users considering installing Lineage16 as it is of 26th of July 2019, you might get the phone changed to a from a H4233 (dual SIM) to a H3213 (single SIM). That was what the Emma Flashtool from Sony detected my phone as, in download mode, when trying to revert. If anyone is interested in my TWRP backup i will upload it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Knarff:
Hello everyone,

i have a XA2 Ultra (H3213) and i flashed lineageos lineage-16.0-20190721-nightly and Open Gapps (arm64, android 9, pico) on the device. Installing Both .zips worked flawless without any errors. However i have massive Problems with the Camera. The Camera App that comes with lineageos crashes often and is only able to use the rear camera, no option to switch to the front cameras. I tried two other camera apps (open camera and google camera) the problem remains the same. To verify that the cameras themself are working i flashed the stock rom via newflasher. Worked without any problems and all 3 cameras are working fine. Now i am stuck, any sugestions/solutions to make all cmeras work with lineageos?

Thank you very much for your help!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
I'm no expert on firmware with A/B slots and this device sure seems to be a very temperamental one... We also got one hard bricked, so I don't think I should give any other advice.

Open Camera working perfectly here, two frontal ones, rear, and video. ( Snap camera and libraries removed. )
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Knarff:
Hmm ok. Did you know which firmware version was on your Phone before flashing lineageos? Sometimes this seems to make a difference.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
50.1.a.13.123

Edit : On several devices, not just one. But also note they all are the dual sim model.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Today's update broke my phone, had to wipe system and flash yesterday's
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] GhostCow:
After I updated this morning my phone started running really slow. I rebooted to finish the update and my phone wouldn't boot back into android. Didn't have time to try to fix it the normal way so I had to use newflasher to go back to the newest stock. I have no idea how to download an older version of the firmware so I really hope this rom gets updated to work with the latest firmware so I can go back to lineage OS after work
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Is today's build good?

EDIT: It is
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] makkkkkkkko:
Does somebody have a backup or an image of aosp 8.1 for Xperia XA2 Ultra (H3213)?

I've no wifi on lineageos and need to go back to aosp to turn on wifi again. I have been fighting for weeks to build aosp and now I give it up. I also accidentally erased my backup...

Thank you in advance!
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] evo_zheng:
Hi, is this rom support LDAC bluetooth coding?

It's a shame that sony axe it due to marketing purpose.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] darvo:
I need advice with a H3223. I'm having issues with the camera and screen rotation. I want to start from scratch by installing 50.1.A.13.123 but it isn't available for this device in XperiFirm. Is it safe to flash a H3123 firmware on a H3223 device? The only "50.1.A..." firmware available is 50.1.A.8.15 (Peru) or 50.1.A.5.59 (Internal). What do you recommend?

Please note that Sailfish X was previously installed with v16 Sony vendor image. Phone was shipped with a 8.0 firmware and was never upgraded to stock 9.0.

Edit: Here's the modem versions just in case.

Modem A: 20180718_BY120_Daily

Modem B: 20180829_BY120_Daily
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] bentalebnordine:
buffff

no 4G
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Is there ever going to be an update to the camera app that will allow us to select which front camera to use? I noticed mine switches on a per app basis. For example Snapchat uses the left camera, whereas the camera app itself and Facebook use the right camera. Or maybe a port of an up to date stock Sony camera app?

Just a thought
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Open Camera can switch between the two front cameras and the rear one. ( Plus it's open source and without a trace of malvertising, trackers, data mining analytics, et al. as those from 'social' media applications. )
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
How do you switch the front two? I must be missing something
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Tap the icon to switch from rear to front. Then tap it again to switch to the other front camera. Tapping a third time goes back to rear.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] appleknight:
Doesn't work for me, just switches between rear and right camera
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Working perfectly fine on all our XA2U devices running Lineage. They're all dual sim, but camera hardware should be exactly the same in single sim models.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] ultenhiemer:
Stuck on rooted stock 50.1.A.13.83 (Oreo). It's working well, but there's still no root for Android 9, should I install this instead? Whats the quality like?

Whats IMS? It says its not working in the instructions. "Instant Messaging Service" at all, there's only the acronym without the original words. so does that mean I can't text on this?
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
Hopefully you tried this great ROM out already, but if not, and to help others with your same question, ims is for IP multimedia subsystem, which is used for VoLTE.

https://en.m.wikipedia.org/wiki/Voice_over_LTE

Texting works great on this ROM.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] ultenhiemer:
Arghhh! Now I'm pissed!

I had this set up perfectly, the phone couldn't have been customised for me any better... Until I got a notification from LineageOS asking me to update. Sure I could have ignored it... But I didn't.

I downloaded the update and installed, I rebooted and was then given a recovery screen where I could select to either "Try Again" or "Factory Data Reset"... Neither option worked and instead always led back to that recovery screen... That basically does nothing whatever option you select.

I had it set up perfectly... Now I have to start from the beginning all over again and it took me AGES last time.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
For what it's worth, I've never been able to update a build in any other way other than getting hold of a laptop to run TWRP, wiping the device clean, installing Lineage, and spending a whole morning / afternoon setting up everything from scratch -- that's if there are no issues, whenever there's a bootloop as often happens, there goes the whole day and sometimes a whole weekend. Which means I only update the build once a month for the security update, and fully aware I might need a day or two.

If anybody knows of any other way to update A / B devices that actually works, and particularly without needing a laptop, would be glad to hear of it.
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] AlaskaLinuxUser:
That is one downside to daily builds coupled with OTA updates. Sometimes the OTA update doesn't get tested before it is pushed. In my own ROMs, they are not OTA, so I can test them personally before putting them out. But, then again, my ROMs may go a while between updates, too, since it is not automatic. If everything is set up properly, and the OTA update is good, you should be able to dirty flash without having to set anything up again. I think what makes this phone frustrating is the lack of built in TWRP. Most phones, TWRP resides permanently on the phone itself, allowing you to easily make backups and flash ROMs, etc., without the need for a computer. Fortunately, we do have a great dev, LuK1337, who has taken the time to build the TWRP and build LineageOS, even if flashing them becomes a bit of a hassle. :good:
[Sony XA2 Ultra ROMs, Kernels, Recoveries, & Other ] Ultramanoid:
Not having TWRP in-device is the biggest issue for sure. Even old SONY devices could get a recovery on using the FOTA partition. I'd gladly kill one of the slots in exchange for that as OTA is useless for me. In fact, the whole two slots system is actually a problem, as I need / mounted RW and updating means going through all system customizations; removing libraries, replacing binaries, etc. Not to mention having to travel either with another backup device at all times or a laptop.

This device has also the 'honour' of being the first hard brick I've ever had in a decade of running my own ROMs, Lineage-based or otherwise. Anyway. Glad there is a maintainer and Lineage for it.