yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
@MartinX3 i use this -->

Flash the ROM without a recovery:

Extract the payload.bin from the .zip file

Extract the .img files with the Playload Dumper

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot -w (Wipes your internal storage and the userdata)

Now you got the AOSP recovery, to please continue with the normal installation

but i confuse in 7 i got aosp recovery but how to install rom coz no have install ...only have update from sdcard n adb only..so how to flash twrp

now i got stuck on SONY logo
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Follow the TWRP thread or follow the recovery installation guide.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
i dont know how to explain ...after wipe ... have to flash twrp or what? flash witout recovery need to flash twrp again or not ...i got confuse man... 4hours i tried but no luck... can u explain with video
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dsntbc:
Hi, do you have info if echo in calls is now gone?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Is there an issue ticket?

I never heard echo. Or maybe it depends if speaker, normal, bluetooth or wired headset.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xperinaut:
You don't need to install TWRP. See my post https://xdaforums.com/t/sodp-rom-aosp-xz2-xz2c-xz3-sonyaosp-11-beta.4180835/page-22#post-85656301
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xperinaut:
After I restored a backup of /data the phone get's stuck in an animation produced by com.android.settings.

Any idea what to do about that? If I wipe /data it'll start up properly. (Without my settings though.) If I kill the com.android.settings process, it just gets restarted.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Danj1:
I also tried with nano but same result.

I only installed AOSP on one slot. I should be on the right slot as I can only install opengapps on the AOSP slot, otherwise it fails. Maybe I can try as you did and install everything on both slots.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
If you want the easier way. Let's use this step

Preparation : Make sure you are on Android 10 Stock and already have TWRP.

1. Boot to Bootloader and flash oem in both slot (just to make sure)

2. Boot to Twrp and flash zip there

3. please see the log where the zip installing. For example to inactive slot _b

4. After done with zip, boot to bootloader. Then in cmd from computer type "fastboot set_active b" ( if installed to slot _a then change b to a)

5. then boot to twrp sodp 11 by "fastboot boot twrp.img"

6. Flash ramdisk wit twrp sodp 11

7. reboot to recovery

8. Flash magisk and gapps

9. Reboot
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xperinaut:
Did anybody test the brightness sensor with this Build and the 4.14 kernel? I don't get any data, so no brightness adjustment. (Tested with diagnostic apps.)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dsntbc:
It had been there last time i wrote here, so around 3 months ago. And you phone volume didn't change anything. But if you say there are no problems on your side, then I'll try it soon :D

Possible ticket:https://github.com/sonyxperiadev/bug_tracker/issues/688
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please look at the light sensor ticket.

It's just hard to trigger and is not always broken :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
why i cant flash oem?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mielletseed:
leave the space out - it's "oem_a" not "oem _a"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
why after i flash twrp sodp 11 ..twrp stuck cant touch.. @MartinX3
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
If stuck can't touch, please use mouse with OTG
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
dont have otg..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xperinaut:
Just buy an OTG adaptor. While you wait for your amazon prime 24h delivery: Turn your screen off and on, retry, try a different TWRP version.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zackkiara2013:
Already done.. But after 1day usage.. I'm going to stock again coz not feel custom rom and camera a lot noise.. 😂 😂.. No tweaks at all.. I miss stock custom rom but no dev make it now.. Last i use existenz rom.. Very nice but dev no update till now..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xperinaut:
AFAIK the camera works better with OpenCamera, which you have to set to API2 in the settings.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] IMadeArya:
currently I'm still on stock ROM with bootloader unlock = no. I plan to unlock the bootloader to yes if this ROM can save RAW format in the Camera application. Is this ROM able to save RAW format? thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
RAW

- Stock -> no

- SODP -> yes
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] seilent:
yes RAW is working, but if your goal is for gcam and such then there's no fully working gcam yet. Most likely need different port for our device.

open camera works, but there's still focus issue, and the image quality in general is just better in stock / stock based rom.

just letting you know in case that's one of your goal for achieving RAW support.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, the autofocus should be deactivated, if you focus manually, you get way better quality results.

And about the gcam issue, we need more fixes in the camera driver, there is this issue ticket in the bug tracker where the sony employee (camera driver developer) is reacting to.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] IMadeArya:
Thank you all for your answers. My concern with RAW is to be able to edit more extensively in Lightroom. Apart from that I can upgrade to a newer Android. 😁🙏
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I think there won't by any new build by me for this ROM (going EOL).

Android 12 comes this month and there should me no new 11 release in the AOSP repos to sync with.

So I'll create a new topic with SODP AOSP 12 after it's ready (first A12 OEM image released or if the A11 OEM image is compatible).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
I thought your next project is ArrowOS,, or will do at same time?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sadly in my life outside of the smartphone stuff my job and my studies ate much time (corona virus/chaos at the university because of the old, internet hating teachers and trouble in the job because corona made our customers crazy).

Seems that arrowOS should start with android 12 (and we probably get kernel 4.19 which should fix our battery drain caused bei the qcom RPMh preventing the real deep sleep).

So I hope optimistically I can port it now. (the battery drain disturbed me a lot, since I don't want to age my battery).

And I need to port my TWRP on AOSP11.

And some IT projects for my family, since I'm the multi functional cowpigsheep there doing development, server administration, smartphone fixes, etc for them xD
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Wew... Nice...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
:3
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The A12 build guide is up and I almost synced A12 AOSP.

Now we need to wait for it to be in a bootable state on tama. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
Can you please explain this step:

fastboot flash oem _a oem_*.img (Only needed until the device receives mainline support by SODP)

I tried fastboot flash oem_a SW_binaries_for_Xperia_Android_11_4.19_v7b_lena.img

but got an error:

4.19_v7b_lena.img
Sending 'oem_a' (356640 KB) OKAY [ 8.431s]
Writing 'oem_a' FAILED (remote: 'Error flashing partition : Volume Full')
fastboot: error: Command failed

Of course I first went through the "flashing without a recovery steps".

Edit: What I understood from the last step of flashing without recovery:

Now you got the AOSP recovery, to please continue with the normal installation

Was that after I'm done with all the steps there, I'm supposed to perform the steps in "flashing with recovery". This would at least explain the need for the OEM files provided. Am I wrong here?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's a tama thread, not lena.

Please follow the aosp build guide on the Sony website.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
You're right, I didn't notice the code words.

As for the build guide, I looked at it but it looks a bit different from your instructions and I prefer to follow yours.

So I'll ask again - once I'm done with Flash the ROM without a recovery steps, am I supposed to do:

fastboot flash oem _a oem_*.img

but replace oem_*.img with SW_binaries_for_Xperia_Android_11_4.14_v7_tama.img?

OR, is flashing the ROM without a recovery enough? In which case, I don't need to care about the SW_binaries_for_Xperia_Android_11_4.14_v7_tama.img? file.

Thank you very much!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Lena or tama? xD

For tama you need to flash the OEM binary.

Sadly tama is now the only qcom xperia platform (and its devices) since xperia x without device trees merged into the Linux kernel, so I think it will take a bit until we get the mainline kernel and getting rid of the OEM file.

(But mainline boots fine to run telnet and having a terminal on the phone)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
Tama :) Like I said, I didn't even notice the code words - I just selected what was on top of the list in the software binaries page. That's why I got to Lena.

Okay, so if I understand you correctly, I have to perform the Flash the ROM without a recovery steps first, and then Installation with a recovery second (since the the first one does not include a step saying to flashing the OEM file). And that recovery is AOSP recovery. Can you please confirm this?

Thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
if you run stock, you could use stock twrp (fastboot boot) and flash AOSP (and maybe magisk and gapps).

Then instead of booting aosp you boot fastboot and flash oem_a.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
Thanks for the answer.

I managed to flash the ROM, and have three unrelated questions:

1. I'm missing the ambient display. Is there any way to bring that back?

2. Is there a way to hide the fact this is a custom ROM (even though it's AOSP) from apps? I have an app that does not run.

3. Can I permanently stop the open devices ModemConfig notification?

Thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I think it isn't part of the core AOSP code.

Maybe magisk hide.

Maybe swiping it away. It never disturbed me, so I never looked for.

You could also open an issue ticket about it. (But I think it only appears if your mobile provider config file isn't in the sodp database, which prevents you from using IMS (VoLTE/VoWIFI).

You're welcome.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] IMadeArya:
Still waiting for Android 12 SODP release...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Go help the team and make the devices compatible.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheeWolf:
Sorry but I've got some more questions (for anyone using this, actually).

1. I've noticed the call volume is incredibly loud. I mean, I'm talking to someone (not on speaker), I lower the volume to it's lowest value, and still it's so loud that not only other people can hear my conversation, but the person on the other side says they hear themselves.

Is this something you also encounter?

2. Am I mistaken or is the camera quality much worse than before?

3. Apps (Magisk and Bitwarden) don't recognize the fingerprint sensor. Why is that?

4. I think there is also a battery drain worse than before. Is this something you also experienced?

5. @MartinX3 everytime I open Magisk, there is a message saying that another, unsupported "su" command is detected. Why is that?

I'm seriously thinking of reflashing Android 10 again...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
1. Bug Tracker

2. Bug Tracker

3. It works here, if you can reproduce it and see something in the logs, please open a bug tracker entry

4. Bug Tracker

5. 23.0 works here, if you can reproduce it and see something in the logs, please open a bug tracker entry
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MCBuhl:
Yo, after not being able to build my own sources and some time of hesitation, my xz2c actually is on Android 11. Thank you.

Two things:

- the tan app (dkb tan2go) won't install, as they claim phone is rooted (which it isn't)

- the auto down scrolling of notification panel is still an issue, but better than on stock-10. Someone mentioned this won't happen anymor, can't confirm

Despite, phone's graphics are lagging from time to time, but no pb.

Thanks for giving the opportunity!!!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you, you're welcome :)

Did you try magisk hide?

Maybe the tan app's message is bad written and checks for the unlock state of the bootloader instead via the google services?

The ui lag is here:

[TAMA][APOLLO] UI performance degradation (aosp, lineage) · Issue #603 · sonyxperiadev/bug_tracker

Platform: TAMA Device: XZ2 Compact Kernel version: 4.14 Android version: 10 Software binaries version: 8 Previously working on stock (H8314_Customized US_1313-0031_52.1.A.0.672_R7C) Description not...

github.com
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MCBuhl:
I didn't do anything magisk-ish, so nothing of that sort is installed. I also think that the bank's programming is, let's call it "not ideal", as I encounter problems all the time when "switching phone" (i.e. installing Update...) - but you know how it is, no possibility to tell'em...

The lagging --> reboot --> oK
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, google rolled out a unlock state probe in the play services (which is in the bootloaders since android 7) and they're starting to use it actively now.

That's also the reason the magisk dev canceled magisk hide because of the massive stress trying to workaround it.

Instead he switched to a basic hide system just hiding system modifications and root status, but not the unlock status.

It's a mad world, that as example banking apps exploit this feature, since they think a stock ROM without any security updates is way more secure than a custom rom with newest security patch level.

In my local area I heard about cases where criminals used security bugs in a phone to empty bank accounts via the banking app.

Especially since you don't need any tan generator with these apps and just transfer money directly.

(So the TAN way on a second hardware isolated hardware is the most secure way to not become a victim and poor)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] glockmane88:
Try this:

https://xdaforums.com/t/dkb-tan2go-app-on-rooted-device.3835355/post-85830633
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MCBuhl:
Ok, there's a solution. But that's waaay too workaroundish for my likings. I'd have the tan2go installed on another device which is in addition safer. But thanks for hinting that solution!!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform) - Patchwork

Hello xz2/c/3 (tama)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ALUCARD4DEAD:
Why I can't install a custom ROM like this with recovery TWRP?

I flash like the guide and try other ways but not luck only boot to TWRP flash ROM reboot to recovery again and it's on the same slot and only reboot to TWRP or boot loop, when I change slot B manually show me corrupt partition until I back again to slot A.

The only way to success installing a custom ROM is flashing all via fastboot(system.bin, boot.bin, vendor.bin, OEM, etc) in boot slots.

Anyone explain why?

Is a xz2 dual sim USA, with bootloader unlock.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] braveheartleo:
Great work to those involved in getting this upstreamed (although there's a scary bit about a UFS issue that could render the device dead).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes

Btw every Xperia with UFS storage has this UFS bug needing a kernel hack.

Only the new Xperia 1 III seems to have a properly formatted UFS storage.

And we can't fix it, since this means to format the entire UFS with the bootloader on it.

So the hack is in stock, sodp and later in mainline for affected devices.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] braveheartleo:
@MartinX3 Wow, talk about a factory defect that affects several generations of Xperias, and that needs a workaround nonetheless. One wonders how could this have slipped QA under the "watchful" eyes of their engineers. 🙄
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
i tried this rom with latest firmware and v7 tama binaries but camera not working so good,no autofocus and quality is too bad, i tried to install gcam but gcam only showing black screen and close, i also tried GSI roms everything working great and smooth on GSI except camera, camera auto close and pop up showing cannot connect to camera, and on GSI rom facelock working very good i seen my face was so clear when i was trying to set facelock , sir @MartinX3 please help , im looking for a great rom for gaming playing pubg with no lags like poco f1 with corvus os no throttling but here ui lags when i swipe how can i play smooth games ??please please help i tried los 18.1 by @Sjil but camera issue on that games are not too smooth like poco (same sdm845)...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The UFS flash storage just got formatted in a way the kernel think by default it's garbarge which needs to be formatted first.

But with the Sony kernel fix the kernel see that it's already a perfect formatted storage.

So with the kernel fix you can't kill your device.

I don't know why they formatted it in a way which is not supported by default in the Linux kernel, but only a kid would drop this patch in a kernel port.

So we're save :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's SODP AOSP thread.

And the stock based LOS 18.1 has issues as well, but runs well enough for daily usage.

The SODP kernel 4.19 for tama is on the way, maybe it will help you.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
bro big thanks ,,, when u will launch new kernel 4.19 ? im waiting for your great work ,please try to launch it as soon as possible
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
btw why camera issue on our xperia xz2 even api2 is lvl 3 supported,no gcam

working,,can u please share working gcam?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aye aye

As soon as possible, so it can kill your userdata and apps. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
There is an issue ticket about gcam support.

The latest changes are made after OEMv7 if I remember correctly.

So we need to wait for the A12 OEM.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
no issue bro im data less and app less person haha ,still waiting for new version
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
bro can u please suggest me stable rom for xz2 akari,im new to this device ,or can u share stable version of sodp 11 or older version link? bcz latest patched one odm v7 rom not working good i cnt even install gapps in it and lagging? sorry for disturbing but plz help
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Perfect, then this ROM and LOS are just fine for you.

Gapps are working

Please open an issue ticket with logs at github
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
how to copy logs?

gapps installed but not showing in rom no playstore or other things
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
but gapps working fine in v6 rom ,but no gcam
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
rom with working gcam and good in performance?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can also use microG

I switched yesterday to it.

In magisk is an installer modul (with instructions for a patched play store)

Also there is a magisk module to enable calendar and contacts sync.

On XDA is a guide to enable android auto/car support with microg.

The signature spoofing can be easily patched by magisk -> riru -> lsposed -> signature spoofing xposed module
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
ok i understand im trying it now ..thanks for suggesstion , but bro please make a rom for gaming eas enable kernel and less tweak one , no much throttling like corvus os ,,,its a humble request to a great developer
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I'm sorry, but I'm not a gaming guy

If I play I use a computer

Games are asks aging the phone and its battery faster

And a gaming focused kernel would also lead into instability and battery drain
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Man.. lucky you there's developer want to help with keep update for your obsolete phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
i can understand but in my country there are many xz2 users who play games on this phone bcz its cheap price phone with extra good hardware thts why requisting you to create kernel for stock one or a rom ,is it possible to increase refresh rate from 60Hz to 70hz like in poco f1? i dnt hav a computer or laptop for thease types works thats why help us sir
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
no worries of battery drain we use charge during gameplay ,sony is good in battery managment ,but its need modification to maintain fps under 50 degree voltage ,hotdrop and heatup causing lag and fps drops otherwise its a still gaming phone due to powerfull sdm845
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
yeah bro me only can request them and they are very good n humble
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
There's custom Kernel in another xda thread with performance unlocking.

And I think that Sony is not type for gaming phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
phone hardware is same,depends on software how to use that hardware for gaming...need some customizations from dvlprs and can u plz tell me that gaming kernel is for xz2 or for other device?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Hardware same? I think no. Maybe it's same if you see only on a paper.

Btw here's what you looking for https://xdaforums.com/t/caf-kernel-10-kang-kernel-for-xz2-c-p-overclock-52-1-a-3-49.4058335/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xtLUCIFER:
i tried but sound problem , speaker crimbling
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] RelaxIamOnlyAghost:
Hi, does WiFi calling work with this ROM?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] duckwind:
Hello Guys, great work on the rom! Do the DRM Keys stay in place for the rom? and how is the camera compared to the original stock camera app?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I'm excited for kernel 4.19 and the new OEM for A12 😁
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Oem A12 released?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Not

Not officially
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xsetiadi:
any luck? i got the same issue