yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
Are the plattform tools on the newest version?

By the way i'm using the plattform tools from this site:

https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Then i downloaded it, unziped on the desktop, went into the subfolder "platform-tools" and made a right click into the subfolder by holding the shift-key to open a Powershell window.

There all fastboot commands work when i type before all commands this: .\

Check your driver for fastboot and flashmode. Seems that there is missing or wrong.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
hi! im using platform tools 29.0.1 version.it s a new? aren't these two drivers in the adb driver package?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you tried in the normal terminal instead of powershell, too?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
no Martin i didnt !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
Yes.

I don't know. I use the usb drivers from sony for my device which they offer on their dev site.

Take a look into the device manager on your windows pc when your phone is connected (once flashmode and once fastboot).

Did it scream after drivers there? Then you need to install the drivers.

By me my phone is recognize by the device manager as follows:

Fastboot mode:

Sony sa0111 ADB Interface Driver

Flashmode:

SOMC Flash Device
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
flash mode

Fastboot mode

Everything looks normal, doesn't it?The only interesting thing is the fastboot mode on my phone is activated with the volume key up and blue light...
[MENTION=6031898]MartinX3[/MENTION] I did Martin nothing changed
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Windows gave me headaches about installing the correct driver and avoiding the driver certificate in windows 10

I just use Linux (Linux Mint Cinnamon 19.1) and all is working out of the box

I am sadly not a big help in the android adb fastboot windows driver problematic :(

Linux in Virtual box with USB pass through will work too.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
martin you think this error is caused by drivers??

i mean comand error.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You said you do it in flash mode, this mode is for the newflasher or flash tool.

Fastboot mode with blue led is the correct one, but you said the phone isn't recognized there.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
yes its all right.but fastboot mode works normally in blue light.This is the only command error I get.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What does

fastboot -v

Say?

Or fastboot -version

Or fastboot --version

I sadly don't remember the exact command
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
I get this error when I put my phone in fastboot mode and then enter the command "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" Martin.But command "fastboot boot twrp.img" works well
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
Well it least win doesn't scream after drivers. But my win shows me the mentioned description when my phone is in fastboot. It differs from yours.

To be honest i don't know whether this the important difference. Did you try it in the meantime with the sony usb drivers for your device?

As MartinX3 said windows really hard regarding the driver aspect. I still know that i tell windows to search on the disk and navigate directly to the folder with the sony usb drivers.

PS: The activation way for fastboot is normal. So it's not an interesting thing:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What's the result of the version command? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesar65:
I still owe you a Response. It seems all is fine with a few glitches which may have to be attributed to Magisk or other programs that I have installed. AFWall+ sometimes seems to have problems to get root access when it requests.

I also have EdXposed and XprivacyLua installed. So whatever problems remain may be due to my somewhat ambitious collection of apps.

Concerning my requests for confirmation of the steps: the description is there in the first post, though somewhat minimalistic. On the other hand, this may shy away people who lack proper understanding for such a daring task. Anyway, seems that I finally qualified for it. :)

Thanks again for you supporting our phones!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Mike7143:
Any update on getting the H8314 XZ2C in USA with Verizon service to unlock/root, or even just root? Really wanting to update from my original Moto X to the XZ2C!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That was only the standard recovery for the AOSP Sony 4.9 kernel, but I was able to compile omni TWRP with the Sony AOSP 4.9 kernel 5 minutes ago :silly:

A H8266 can run the H8216 firmware, so I assume, that the H8216 could boot it.

But firstly someone need to test my new build.

The upload is finished in 10-20 minutes. :victory:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please delete.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
01.08.2018 #2

Do you two want to test it again?

[MENTION=4620038]yanke928[/MENTION]

[MENTION=9286795]spirit-eh[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
Of course, but where's the image?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The third post in this thread. :)

Sadly my XDA app messed up the pc written code tags.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
Still with no luck.

When trying to boot directly using image (boot.img rec.img behaves the same), it restarted with SONY logo, but then shut down and re-enter the fastboot, no clues for why.

I also tried to flash the image, flash both boot.img rec.img as boot (since it hints that there is no such partition called "recovery"), they both failed to start. After seconds of "SONY" logo, they shut down and restart into a boot loop. Fortunately I have newflasher tool to recover from this situation without erasing userdata, restored without any data loss.

Hope the feedback will help.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much for your feedback! :)

Maybe the AOSP kernel is still not stable enough.

Sony told me, that only the recovery part is working, so I thought it would work.

Now I try to compile it with the hacky kernel and the Omni 8.0 sources.

Try, because I need to fight again against the compiler errors.

Like

Maybe someone can help me?

Edit:

Or I need to wait for the GitHub Sony AOSP 4.9 kernel to get finished (then XZ2 will be announced as part of the Sony open source program).

Edit0:

According to Sony

I hope this helps to get a working TWRP image.

I will experiment with it.

Edit1:

Yeahr, compiling the kernel works sooo goooooood.......

The "missing" file exists... meeehh....

Edit2:

#include <device_event.h> changed to #include "device_event.h"

Weird "C" things.

It worked, Image.gz-dtb got compiled.

Edit3:

Building the AOSP image results in

Very weird.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
04.08.2018

Do you two want to test it again?

[MENTION=4620038]yanke928[/MENTION]

[MENTION=9286795]spirit-eh[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
Behaves the same as build of August 1st.

I wondered if I have to update to firmware 51.1.A.4.265, I've got 51.1.A.4.225, but 225 is the latest version that I can get from XperiFirm, let me try to upgrade it and try again.

Update:

Well, I've seen 265 on XperiFirm, but it was 225 a few days ago.

Update:

I've updated to 265 but it's still the same.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much!

It is very weird.

At least there should me some error or a generated logfile on your smartphone.

Something, that indicate the error.

Or the kernel is still broken and need to be finished.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
04.08.2018 #2

Do you two want to test it again? [MENTION=4620038]yanke928[/MENTION] [MENTION=9286795]spirit-eh[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
No luck sir.

First I tried "fastboot boot bootimg.img", it behaves as the last time.

And I also tried "fastboot flash boot bootimg.img" attempting to get it into a common boot but still went into a bootloop. During the whole process, the phone didn't try to connect to the PC at all, which means no log, it died before enumerating USB.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much!!

This was a normal bootimage, compiled with the Sony aosp image and the Sony soap kernel.

I did not changed anything and followed only their compile guide.

This means, that the Sony kernel itself is not able to boot this device, because it is not finished/stable enough.

I made an issue ticket in the Sony Xperia bugtracker to get informations, how to solve it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
Not sure if you compiled it with the correct option. Since you've mentioned that you're on H8266 firmware installed on H8296 hardware, so I assume that you tried to compile the kernel with H8266 options, if so, maybe a H8296 build would help?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
But you tried the H8266 bootimage on your H8266 hardware.

Also the H8266 firmware is fully compatible with the H8296 hardware. (A Sony developer said that)

Also the AOSP Sony Kernel is still under heavy development.

Also because of project treble the only difference is the vendor image.

The H8296 has additionally LTE Band 20 (which needs a special driver) and 6gb ram (which doesn't need a special driver).

That's the only difference.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
No, I have 6GB which is the H8296, the same setup as you except I still run on H8296 HK firmware.

---------- Post added at 11:38 AM ---------- Previous post was at 11:32 AM ----------

Also I know that maybe the AOSP kernel can only be applied with AOSP ROM. I have an Xperia XZs before, I tried to compile the kernel and install it with the stock firmware, which didn't work. After that I compiled AOSP and paired with that kernel and finally got a bootable device, but only in AOSP. Not sure what is going on inside.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for the informations!

Then we need to wait for Sony to finish their work.

So I can compile and upload the compiled AOSP firmware (or Sony uploads it) and we can test my AOSP TWRP image.

I asked Sony how to compile the stock kernel, because its source stops with a compiler error.

So according to your information, this should work with our stock image.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
04.08.2018 #3

Do you two want to test it again? [MENTION=4620038]yanke928[/MENTION] [MENTION=9286795]spirit-eh[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
I think this time it sheds some light:

For "sony-omni-8.0-twrp-3.2.3-xz2-04-08-2018-boot-with-stockkernel":

with "boot" or "flash boot", it boots well, but shows a "toobox" image, seconds later it disappears leaving the backlight on. Couple of dozens of seconds later it restarted again. Still No USB connect, no possibility for logcat.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for your feedback!

What do you mean with a "toobox image"?

And what is the result of the 2 other files?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Everyone has his own reasons for going this and/or that way.

Most important thing is, to respect each point of view!

And now lets end this discussion and lets work together to finally get this damn thing to boot.

Ps.: in "HTC-world" some devs created a in some way similar tool and made it commercial. You need to pay 25 $ licence per device. Everybody is free to choose if the result is worth the money...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Back on topic.

Before to build a kernel with twrp.

Why not build a working stock kernel?

Envoyé de mon iPhone en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I did it in the past, before the bootloader patch and it did boot.

I will upload different builds to test

I will make a "news" after I finished the work

boot__omni_8.0__stock_8.0_kernel__stock_51.1.A.11.51_libs

boot__omni_8.0__aosp_8.1_kernel__stock_51.1.A.11.51_libs

TWRP__omni_8.0__aosp_8.1_kernel__stock_51.1.A.11.51_libs

boot__omni_8.1__stock_8.0_kernel__stock_51.1.A.11.51_libs

boot__omni_8.1__aosp_8.1_kernel__stock_51.1.A.11.51_libs

TWRP__omni_8.1__aosp_8.1_kernel__stock_51.1.A.11.51_libs

boot__omni_8.0__stock_8.0_kernel__oem_8.1_libs

boot__omni_8.0__aosp_8.1_kernel__oem_8.1_libs

TWRP__omni_8.0__aosp_8.1_kernel__oem_8.1_libs

boot__omni_8.1__stock_8.0_kernel__oem_8.1_libs

boot__omni_8.1__aosp_8.1_kernel__oem_8.1_libs

TWRP__omni_8.1__aosp_8.1_kernel__oem_8.1_libs

boot__omni_8.0__stock_8.0_kernel__oem_9.0_libs

boot__omni_8.0__aosp_8.1_kernel__oem_9.0_libs

TWRP__omni_8.0__aosp_8.1_kernel__oem_9.0_libs

boot__omni_8.1__stock_8.0_kernel__oem_9.0_libs

boot__omni_8.1__aosp_8.1_kernel__oem_9.0_libs

TWRP__omni_8.1__aosp_8.1_kernel__oem_9.0_libs
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Damn 18 [emoji14]

Envoyé de mon iPhone en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
If you turn on SteadyShot the film camera works???

Well then.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
After make clean? 0_o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
WTF??? :eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I did build the complete system 3 days ago :silly:

I wish I had more than 8 threads in my ThinkPad.

the stock vendor builds are uploaded!

Now I will make the oem 8.1 vendor builds

Then the oem 9.0 vendor builds
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
:eek::eek::eek::eek::eek::eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
I'm curious. I'll give them a try. ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
And I will shot my self, if none of the 18 files will work :silly:

So I want at least a success rate of 5,55555555556% :eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
It boots man! :D Congratulations! U've made it. Well sort of... I'm at the prompt that asks to mount /system rw or keep it ro. device is responsive, no touch, screen dims after a period of time then goes to sleep, waking up the device with the power button works, but the UI is unusable. No ADB. I'll try the 8.0 build.

---------- Post added at 12:37 AM ---------- Previous post was at 12:31 AM ----------

OK, the omni_8.0 branch is not booting in recovery at all.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Woohooo :laugh::laugh::laugh::laugh:

That means, the AOSP 8.1 kernel is not compatible with the omni 8.0 TWRP build system :)

And the stock kernel has no recovery support, until someone hacks the code :(

Maybe we can replace the stock kernel by the AOSP one in the future without problems.

Now I need the log :P hihihi
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
any idea on how to obtain it w/o ADB?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
According to this nice tester with the github account "fl3x1324"

https://github.com/sonyxperiadev/bug_tracker/issues/169

sdcard and adb are not working, and the touch is buggy in the aosp kernel at the moment. :P

A restart deletes the log in the tmp folder, and, erm, you can't mount it in your computer?

Then we need to wait for sony to developer the 4.9 kernel further.

But good to know that all the pain in the past happen because of

bootloader v59

stock kernel

:highfive:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The stuff with the oem 8.1 vendor stuff got uploaded!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
That's my account. :D

OK i get it. It's just that I'm always getting the devices with delayed opensource releases. How does that happen? :D We wait. :) or not...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hihihi

:angel:

Maybe the new oem 8.1 stuff is working better? :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
OMGOMGOMGOMG! It works. I flashed the dtbo image from my build machine's $OUT dir along with the twrp omni8.1 image and the touch works. I'll try to obtain logs now, still no ADB
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What could I add to the instructions? :)

Thank you :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://community.verizonwireless.c...ompact-now-available-for-Verizon/td-p/1030813

H8314 is compatible
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Mike7143:
I know the H8314 is compatible and works on Verizon. I was asking if any progress has been made to unlock and root the H8314 for use on Verizon in the US.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesar65:
I am currently on holidays. I'll have a deeper Look when I am back. And perhaps I'll make some Suggestion.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It's just a tama xperia like the others here :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you and happy holidays :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Mike7143:
I don't know what that means. Back in January you said:

Which I took to mean that yes it works on the H8314 but NOT with Verizon as it was "special". So you're saying that now, it all works?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Ahhh, you mean that.

Unlocking and rooting works for sure.

You can use the magisk app to modify the boot.img of your firmware and flash it back via fastboot.

You just need to use unsin.exe to convert the boot.sin to boot.IMG first.

About the TWRP, I just can't test it properly and just saw 1-2 people claiming that it doesn't work.

Maybe it was only an usage error :S
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Mekator:
How can I remove the unlocked bootloader warning? And fix the black screen of the camera?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
Not at all unless you lock it again.

Flash xperiafix after you change the selinux to permissive.

Or use one of MartinX3s custom roms. They use another camera implementation and don't need the camera fix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] slsamg7112:
in step 2 i got error:

E:error getting bootctrl module

after step 2 i can reboot into recovery again.but after i boot up my phone the recovery was gone.

how to fix it?

XZ3 running 52.0.A8.83
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Camera -> FAQ in the first page
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please upgrade to firmware .107, use the matching twrp, try it again and report back if it works now :)

If you are able to reboot into twrp the first time, you should be able to do it a second time, I mean that means twrp is installed as long as you don't overwrite the boot partition with another boot.img or boot.sin

The bootctrl error is just a cosmetic problem introduced with a omnirom security patch level, until you want to switch the boot slot with the twrp buttons.

Then you would need to mount /vendor to fix this error.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ocwvarx:
XZ2P using 107framework and redownload TWRP today , screen touch seens not working in TWRP:confused:

Just after step "fastboot boot twrp.img"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can you give me a dmesg?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
installation succeeds but then my phone gives corrupt messageMartin so :)

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

i have official driver sony.. :(

i need download my comp linux?oh my god how much problem with Sony .. thank you [MENTION=9542156]dhacke[/MENTION] friend :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Only with twrp or with magisk? Because the twrp installation doesn't interfere with the normal android system boot.

It modifies only the ramdisk filesystem, an isolated place for the recovery kernel boot mode.

And what's the result of

"fastboot --version"? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I had always trouble with adb drivers since windows 10 or maybe windows 8.

Linux just works out of the box

I wouldn't say it's a special Sony problem.

It seems like it is a problem with the fastboot driver installation in windows :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
my platform tools version 29.0.1 Martin .with Twrp i get corrupt error but i dont remeber after then

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img command or before.im now again try Martin and write you

---------- Post added at 02:00 PM ---------- Previous post was at 01:59 PM ----------

i hope so :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please try to flash a clean boot.sin from your firmware.

(Downloaded via xperifirm and flashed via newflasher)

Just throw both files in a separate folder and execute newflasher.

Then boot the system, if there is no corruption, perfect.

Then just install the stock ROM twrp for the stockfirmware .107 via the twrp install ramdisk button and choosing the same .107 twrp.img again.

Then boot into your stock firmware and after that restart into twrp.

PS flash only the boot.sin via newflasher.

You can try to execute "of=/dev/block/bootdevice/by-name/misc" via adb shell while being in twrp.

But if that is needed the device would restart into the recovery.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=10003868]depeche76[/MENTION]

Woops forgot to mention you.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
and now..

after then now twrp working in my system.now Do I need to flash the twrp file agin now?

---------- Post added at 02:17 PM ---------- Previous post was at 02:14 PM ----------

i saw only now thank you !:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You're welcome :)

About that unrecognized option, it's weird

Please never flash the twrp.IMG via fastboot

Only install it in twrp via the "install recovery ramdisk" option.

There you need to choose the exactly same twrp.IMG again :)

(Me hoping that since the integrated magsik twrp patcher the vbmeta patch is obsolete

But the vbmeta patch is mandatory, of you need the camera patch)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] slsamg7112:
will give it a try as long as i have free time.

press power & vol- to boot into TWRP,right? this works on my XZ but not on XZ3,maybe upgrade will work:confused:

since i just brick my xz3 this afternoon,i might do it few days later

i just flash magisk,do that overwrite boot partition?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Luckily you can't brick it forever, only if you modify/delete the TA/bootloader or repartitioned the boot partition on your own. :)

Yes, twrp is accessible via POWER+VOLDOWN
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
ok Martin but now touch screen doesn't work at twrp :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can you give me a dmesg and you device model? :)

And perfect, that the twrp boots now without the corruption message :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Martin sorry pls but i dont know what is it dmsg .how can i take it?my device model xperia xz2 p 81166