yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] masoxik_cz:
Maybe you have right. I dont know now. I use Emma because I don know where I may find correct firmware to download. Emma itself offers two versions. H8266 51.1.A.11.51 Cust_US 1313-4500 R7A or H8266 52.0.A.3.27 1313-4807 R2B. But I have two downloaded firmwares: XPERIASITE.PL_XZ2_Dual_H8266_8.0.0_51.1.A.11.51_Germany and XPERIASITE.PL_XZ2_Dual_H8266_8.0.0_51.1.A.4.225_CentralEurope1 which I tried flash via newflasher, but both firmwares does bootloop.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] whiteduck89:
[MENTION=9578686]masoxik_cz[/MENTION]

MartinX3 has uploaded his original files for use in Newflasher, check the downloads folder in Google Drive. Try that in Newflasher v13. Works for everyone here who has tried it. Unless they haven't reported boot loops ...

If you can get into SYSTEM without TWRP on the Oreo image in Martin's google drive, then the rest should be doable :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] masoxik_cz:
I am totaly confused

Someone told me that drmfix works only with Oreo FW. but on the first page is writen this:

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

ROM Firmware Required: 52.0.A.3.84 ????

Based On: AOSP

But 52.0.A.3.84 is not OREO but PIE.

Please which version of FW I have to use.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's not a DRMfix thread, it is a TWRP thread. :silly:

Behind the download link, you can choose the Android 8 folder.

Its TWRP matches my uploaded firmware. :o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] masoxik_cz:
Sorry , I will test martins image.

I already flash the phone hundred times. And I am totaly confused what I did and what not.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
After reading through over 200 pages,it still seemes to me that there are issues with regards unlocking my bootloader because i lose DRM keys and cannot lock the bootloader again if i need to send my device in for something. Also,it seems that after unlocking the bootloader and flashing TWRP and rooting,the only sure way to have DRM functions again is to use a certain fix that must be paid for,irrespective of if im on Oreo or Pie. Am i understanding this correctly or have i missed something somewhere?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
to root you need to unlock BL and void your warranty.

doing that you will also lose your DRM keys, that can be restored with the paid tool. but it won't relock you BL or give you back your TA partition (and warranty status). so with the paid fix (100% working in oreo atm, not in pie) you can have back all the original phone functions back, but if you need a repair any sony repair center will see you unlocked your bl and can deny you a repair in warranty (as it happens here in italy for example, even if the failure is hw, mechanical defect etc so nothing sw related)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Thank you,so it seems im stuck with a device that i cant root then because i want to be able to re-lock my bootloader if decide to sell someday when i upgrade my cellular contract to a newer device. Also,with regards the paid fix in question. We dont all live in Europe so the amount wanted for said fix is just nopt possible for those of us unlucly enough to live in poor African countries or India etc. In my particular case,i am unemployed as a result of a motor accident that left me with a broken neck.

All i get now is a Government paid allowance that is barely enough to buy food for a month. So all that taken into account,it just isnt possible for me it seems.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Thetega:
Can I now unlock my bootloader on pie? And fix DRM, please help me out, new to Xperia phones. Thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] masoxik_cz:
Thank you so much.

It worked. But this did not resolve problem with the GSM signal. I had to send phone to warranty service.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please tell us if they refused to repair your device. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Moved to MEGA.nz

Old link was

https://drive.google.com/open?id=1ODwHDwoUjH_sC8_9EgVecfegzctzKyS2

Please tell me until Monday if there is something missing.

I will remove the google drive content on Monday, because I am running out of space.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] whiteduck89:
I see the poll up the top [MENTION=6031898]MartinX3[/MENTION]. Of course, we want you to continue! Did we do something wrong? :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Everything is fine. :)

I am just missing download statistics in Google drive, so I want to know which twrp gets downloaded. :)

If, as example, someday the XZ2P version is no more used, I would stop updating it to save more of my litte spare time and invest more time in my job or studies. :)

And at the moment it looks like there is no XZ3 guy who wants TWRP, but I will advertise it in the XZ3 XDA area, after the next monthly update. :)

Downloading firmware, updating twrp and uploading TWRP takes time and space.

The same goes for my AOSP rom in the other thread which got the same poll.

On the other side I want to help people and make them happy with my work. :silly:

And I would like to get in touch with a super hero with enough TWRP know how to fix the decryption bug.

Or some day I find the solution. (Even dmesg doesn't make me smarter.)

PS: I personally want to use my XZ2 until it dies.

Maybe for 6 years. :angel:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] whiteduck89:
[MENTION=6031898]MartinX3[/MENTION] glad to hear, I was worried for a second haha. I'm loving my rooted XZ2C on Oreo, super excited for Pie :) Please do keep up your awesome work!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much. :)

Maybe a lightning will hit me and gives me the right idea to fix the twrp decryption. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
im trying over and over again but how do i root my h8314 on android 9? i cant seem to find a way to get twrp properly installed and i just want a systemless magisk root like i had on my old nexus
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Follow the twrp installation steps and install the magisk Android app.

Then you got root by accident via magisk. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
I’m trying to use adb but can’t figure out commands. I have everything downloaded to my desktop. I’m trying to install twrp. Can you explain in easier terms. Pretty new to this with Sony. My google phones were pretty simple in comparison.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
Martin do you know maybe the current status of drmfix for pie? are you working with storm about this or is that on hold maybe? are you aware? thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Still waiting for an answer from [MENTION=8363210]sToRm//[/MENTION] :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Follow the install instructions on the first page. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
I’ve tried following instructions. But what do I type exactly? I just copy and pasted and it couldn’t find the phone.

---------- Post added at 01:43 PM ---------- Previous post was at 01:41 PM ----------

Sorry to double post. But is because I haven’t unlocked the boot loader and I’m on android 9?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You should unlock your phone first. :)

Sony has a nice guide. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] friendofroot:
Dear XZ2 friends,

I get my new XZ2 compact tomorrow and would like to upgrade to Android P via OTA and use it until end of warranty unrooted.

So when that time ist over, is it possible to downgrade to Oreo to get root access if Pie support wont work? Does that work simply by flashing OREO FW with newsflasher? I dont want to regret updating, because root is such ab big deal i think ;)

Thanks! Keep up the great work :good:

Max (friendofroot)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
I'm working on it. Like mentioned, this can take some time and there's no guarantee that it will be realized.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Just update it. :)

In 2 years you will be able to root it. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] PhonerX:
Thank you for the update. We all hope you will succeed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Thetega:
Please [MENTION=6031898]MartinX3[/MENTION] can you help me with a link to the last oreo update, I want to downgrade my phone so as to be able to root it and install twrp, thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
I have updated my xz2c to pie this evening after a pita to get newflasher running (the driver pack of flashtool, installed on Win7 x64 in compatibility mode for WinXP SP3 was the solution).

Then i had the same like whiteduck89, the twrp.img of 2018-11-16_00.44+2.00 folder the touchscreen did not work for me. But other like him, adb also did not work, the device was not recognized.

So i used twrp.img from 2018-10-13_01.10+2.00 folder and touch was working (but screen brightness was very dark, like in the Oreo twrp mentioned earlier).

With that twrp.img i was able to proceed with the steps in the guide. In the end, the screen brightness was same as i know it from other phones.

I did not know at which point i had to do the format data step because of the encryption bug so i noticed in the end i still have to do it.

After that the devices did not boot, because of "corrupt system...blah,blah,blah". So i did all steps from beginning again, then the system booted fine.

Magisk Manager app was missing, so i could not get root immediately. That was no problem, because i had it on my sdcard already, but a hint in the guide could be a good idea and save some time for other users.

I restore my internal sdcard files right now and tomorrow i will take a look at the goodies we get with pie...;):laugh:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please Klick on the download link on the first page. :p

But you can root and twrp in pie, too. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Interesting bug :silly:

You don't need to wipe your userdata, because I simply deactivated decryption to make this TWRP bootable.

So your twrp will just show garbage without write access.

And you can't boot a twrp IMG file which doesn't match your firmware version, because the dtbo got excluded from the boot partition / from the kernel.

If you want to boot a kernel without the right dtbo it won't boot.

The ramdisk installer zip doesn't include a kernel.

So it doesn't need to match your dtbo partition.

But it includes the touch drivers, like the twrp IMG file.

And these touch drivers need to match your firmware, too.

Maybe sometimes not, because they get not upgraded in monthly patch.

But I will write a hint to the magisk app in the installation steps. :)

The fact that it worked in the end shows you, that the latest firmware works with the latest TWRP environment. :)

Thank you for your ideas. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
Check for empty files (0b)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Where?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
On mega. for example one is TWRP installer in Android 9/TWRP/Universal.

On googledrive its ok, i downloaded from there.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you, I will look into it. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Fixed the single 0 byte file. :)

I ope now everything is okay. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
No matter what I do, and I have followed everyone's advice here so far, I cannot get past the second step with disabling vbmeta verification. I always get> fastboot: unrecognised option `--disable-verity

I have tried every driver I can get to install from the google adb drivers in the sdk to the most current samsung version. I need to get my drmfix in and get my camera back.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
whats the output of

fastboot --version?

My version is (that's the correct one):

fastboot version 28.0.1-4986621
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I can't use that command

have a link to a latest version so I can just start over?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://developer.android.com/studio/releases/platform-tools
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
how do I make sure no older version is installed? I have the lastest sdk installed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Use the exact path in the terminal.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
used the sdk to remove platform tools, restarted, re-installed and I get "fastboot: unknown option -- version"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Thetega:
But on pie I won't get DRM fix right? Cause I have not unlocked bootloader yet
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I have gotten myself up to the point of DRM fix....but I can't get that to work now
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Then you're not using the tool from the given Link
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://xdaforums.com/xperia-xz2/development/aosp-aosp-8-1-h8266-t3843269/post78321025 :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I got it. I just can't install the drm fix yet. But everything else is done... But I really would like my camera viewer back
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Im stuck on step 2. My phone successfully unlocked boot loader and flashed twrp it says. But my my cmd prompt keeps telling me

“Fastboot: unknown option - - disable verity”

I had typed the command as such

“Fastboot - - disable verity - - disable verification flash vbmeta-xz2c.img”

I opened cmd proper via right click open command window here. I’m lost in sauce. Please help.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Goodtwo:
There are 2 mistakes in it. first of all it is '--' not '- -'. No Space between it.

Besides that it is "flash vbmeta vbmeta-xz2c.img'.

if you write only 'flash vbmeta-xz2c.img' fastboot doesnt know that you want to flash the vbmeta file over.

So the correct command in your case is:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta-xz2c.img
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
It seems Xperifix can't find my device in twrp
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You need to be able to use adb & fastboot on your windows machine :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I can
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
fastboot devices (in fastboot mode)

adb devices (in regular system mode & TWRP)

are showing your device?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
yes
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Then xperifix 3.2 should find your device.

Ae you using A/B & vendor mode?

And only ticking magisk and not TWRP in this app?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
Yes to A?B and Vendor mode, Xperifix does find my device at the beginning, when I am in fastboot, once I set it up as you mentioned and fix my device, it asks me to put it in TWRP mode, then I click TWRP ready and it tells me there was a problem.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You are using an OREO rom?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
yes, I downgraded to it..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I don't know what's the problem is.

Maybe someone else knows this weird behavior.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I think I should try again. I couldn't find a file that was labeled twrp-installer.zip for my xz2 only in the universal, but it's one of the steps in your instructions so I used the universal one. Where is the installer for my device?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe the installer is universal for multiple devices.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
Then I don't know what to do
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe you should install it after you installed the stock kernel zip in twrp.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
You mean install the drm fix before the twrp-installer?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
If you can boot the system and twrp, xperifix should find your device.

Did you test it with a complete different computer, too?

Or switching from usb3 to USB 2?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
Deleted
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
ok so i copied and paste what you have and still get the issue where it says fastboot: unknown option -- disable verity

what am i missing?

i right click on folder that has the vbmeta file and click open command window.

i ensure that my device is found via command " fastboot devices"

but when i type in the code you provided... nothing happens except there error above
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
I did try it on 2 different computers.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
this is what i get from the command prompt:

C:\Users\tplat\Desktop\Sony Root>fastboot devices

BH9019A5CU fastboot

C:\Users\tplat\Desktop\Sony Root>adb devices

List of devices attached

C:\Users\tplat\Desktop\Sony Root>fastboot --disable-verity --disable-verification flash vbmeta vbmeta-xz2c.img

fastboot: unknown option -- disable-verity

C:\Users\tplat\Desktop\Sony Root>fastboot --disable-verity --disable-verification

fastboot: unknown option -- disable-verity

C:\Users\tplat\Desktop\Sony Root>flash vbmeta vbmeta-xz2c.img

'flash' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\tplat\Desktop\Sony Root>fastboot flash vbmeta vbmeta-xz2c.img

target reported max download size of 536870912 bytes

sending 'vbmeta' (4 KB)...

OKAY [ 0.052s]

writing 'vbmeta'...

OKAY [ 0.004s]

finished. total time: 0.060s
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
Hi. Can i use your updater-binary code for my project?

Im going to make automatic installer for fw, twrp, existenz, some addons...

And my script will copy your twrp ramdisk from your twrp installer zip, and use stock kernl found in fw folder.

only problem is that i need to have modified updater-binary for your twrp installer.

I found solution. i wull have twrp.zip with that modified updater-binary included,

and i will force user to download your twrp installer from xda and hit thanx button, and ramdisk will be extracted automaticly from that file.

so user need to visit your xda thread.

But im asking to include your updater-binary, because i need to have it modified.

Can you please tell me, if im alowed to modify and use it? (i will not modify post info, so your credits will remain of course)

See attachments. my script will add kernel.img extracted from fw folder (.sin), and your twrp ramdisk extracted form your twrp installer (it will be not included).

here is example

7z.exe e -aoa ..\fw\boot_X-FLASH-ALL-B6B5.sin

7z.exe e -aoa ..\files\twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip

move boot.000 kernel.img

7z.exe a twrp.zip kernel.img

7z.exe a twrp.zip ramdisk-twrp.cpio

7z.exe a twrp.zip magiskboot

twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip will not be included

twrp.zip in attachments is file i want to include.

First i want to extract updater-binary from installer, then i dont need to include it, but as i need it modifyed, i need to include modified one with my script.

its just modified to patch kernel.img in zip, and then flash result to boot,

so difference is, that ir doesnt use kernel from phone, but from zip.

its like combination of stockkernel installer and twrp installer. i need it because i use adb reboot sideload, so user dont need todo anything. when i will install stock kernel, and then twrp, it will need user input.

can you give me permissions to include it please?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What's the output of

fastboot --version

?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8363210]sToRm//[/MENTION]

What causes a not recognized device?

It happens only with his device, so we need a way to debug your application.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Of your you can use the update binary, but take a look here https://xdaforums.com/showthread.php?t=2239421 :)

What's now the exactly goal of your project?

I still do not understand it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
Thanx.

goal of it is:

user will just fill "files" folder with files i reccomend him to donwload,

and this script will flash fw, install twrp, install magisk, existenz, addons...

everything just by running one .bat

twrp will be patched for kernel found in xperifirm firmware, so it can be used in any fw version.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Nice. :)

Will you provide an .sh script, too or should I write that?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Installed as c:\users\tplat\downloads\platform-tools_r26.0.2-windows\platfrom-tools\fastboot.exe
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Goodtwo:
I have a Computer with Windows 10 and only USB 3.0 and 3.1 ports. With Linux I was able to use fastboot and do everything.

For Xperifix I need to be able to use fastboot on Windows. Any idea how to be able to use fastboot with USB 3.0/ 3.1??

Searched a lot on the internet, seems like the only answers I find are 'use USB 2' lol

adb and flash mode work on Windows, just fastboot doesnt work :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please upgrade to r28.x
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It works, I achieved to get it working too, others in the forum too, so you will have success.

You only need to break through the driver verification and install the USB drivers. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
I will try, but im not good in bash.

Once i will get it working, i will release windows version first.

Then i will try to make .sh.

I got it working, but it need just little bit tweaks to auto-detect files (different versions - different filenames).

then i want to include mechanism to check if file already exist, and when not, it will redirect user to XDA thread where he can get it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
In bash you can implement functions and if cases :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] gouster3:
in cmd i already use if. and for functions... i use CTRL+C & CTRL+V. and i also use goto :

but yes, in bash it will be easyer (with at least basic knowedgle).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
How exactly do I do that? Never messed with a Fastboot before. Always did it with a windows program (one click root install program)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Maybe the firewall is blocking the app or adb process. Also it could be a driver issue. While in TWRP, try to push files with a cmd. The device should be listed as a "Sony XXXX ADB Interface" in the Windows device manager while TWRP is running. If not, XperiFIX will not work because 9f wrong drivers.