yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Does the touch work on the last build? :P

Does you have a clearpad or tcm touchpad?

Call in the dialer

*#*#SERVICE#*#*
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
I'm abroad, I can't test [emoji17]

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's fine :)

The first 3 entrys on my roadmap are

Unlock my phone

Fix twrp installer script (and include stock kernel)

Fix Sdcard mount in XZ2 und XZ2c twrp

Then I will work on my own twrp
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8004595]FartyParty[/MENTION]

Bad news about the XZ2 Premium :(

https://github.com/sonyxperiadev/bug_tracker/issues/197#issuecomment-427688835
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mirhl:
If you go the stock blobs with aosp route (like on kitakami and z1c) it shouldn't be big deal eventually.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Of course, but you need to find a maintainer which owns a XZ2P. :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
For me it's not a letdown at all since I would never flash another rom anyway.

twrp, flashing and everything works. Like, there's no sadness from me.

I love the Premium and if Storm// somehow manages to make drmfix work on the XZP2 then that would be awesome but until them I'm happy as I am.

So right now there's the stupid can't mount vendor. Maybe your updated twrp fixes that, maybe a new patch from Storm// will fix it. Who knows :).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I fixed the fstab file in the XZ2 TWRP

Unlocked the phone at this moment.

Or it is still unlocking.

I inserted the code, but see only a "..." in the terminal....

I will then use my last twrp build and look if it fixed the problem, then I upload the new file.

Erm.

Are the three dots normal?

There is only a blue light and 3 ****ing dots in the terminal. :eek:

Edit:

Happy to see the corrupted device message. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
lol :P. Nice.

I hope you also get the can't mount vendor :laugh::silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Grrrrr

At the moment, I get the "Xperia" logo. Ahh. Factory Reset. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Okay, straight after I flashed TWRP without doing a clean flash, I am in the "stuck" twrp logo, too.

BUT I an use ADB.

So I use

adb shell

Now I see that it mounted /sdcard (internal storage)

I looked into it via

ls /sdcard

And the output is

That means, that the userdata is encrypted and TWRP has no access the decryption key.

And I hardly think that this will cause the twrp logo stuck.

to kill the phone I did need
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yeah its takin a while so wait patiently and all will be good.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I realized something... Right now you gotta flash clean or wipe user data before flashing twrp and thats annoying as heck.

So I guess the idea is to get it to stick permanent? Or at least so you don't have to wipe userdata. It will be easier to test things then.

So goddam annoying though, why did they have to remove recovery.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
After I got stuck I did a

fastboot format userdata

Now I can get into the :eek::eek::eek::eek::eek::eek::eek: chinese twrp.

Will flash stock kernel and chinese drm, reboot and will be fine. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
the hacky twrp build can't access a encrypted userdata partition. I need to fix that :)

Recovery got removed because of treble (A/B)

But if I am informed correctly sony did never use a recovery partition since a longer time?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
So the xz premium had a fake recovery or what.

How will you make twrp to stick?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
it should be a ramdisk recovery (fota kernel)

I will correct the twrp installer zip.

And I can't use touch.

Will need to modify the previous build with only the clearpad drivers.

Found the cause in the permissive.sh form [MENTION=6844550]M-Rom[/MENTION]

The output of

cat /sys/devices/dsi_panel_driver/panel_id

is

akari default

at my device.

I don't know why he uses the numbers 4, 8, 3 and 7

But I will need a

cat /sys/devices/dsi_panel_driver/panel_id

from everyone with touch problems with the next build.

(ADB for 'adb shell' works).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Flash boot

Flash twrp (the one in niaboc79 steps)

Flash magisk 17.1

Reboot

Flash chinese drm

Flash permissive zip

Reboot and good to go bro !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I fixed the touch.

And I can monut the internal storage and the sdcard.

And every other partition.

I switched the language to english.

MTP is not working, but I can use 'adb push'

SInce I am using ENglish, I can't use ADB anymore. weird.

But I am happy that I can put files on the sdcard.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, the adb server is crashing the TWRP, if I connect my usb while using the twrp in english.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
08.10.2018

Who has touch problems need to give me the output of

cat /sys/devices/dsi_panel_driver/panel_id

and which touch driver he uses according to the service menu.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I see now why you should use the newflasher at the very first time.

It installs the latest firmware on both slots.

I installed everything in slot b but rebooted in slot a.

And can't switch the slots in fastboot. (results in error 'error: Could not get suffixes.')

Edit:

The TWRP is unstable if I choose the english language?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] twistedddx:
Sony has flip flopped on the recovery partition and bootloader booting direct from it.

https://developer.sony.com/posts/re...wider-range-of-unlocked-xperia-devices-video/

2015 era Sony added an independant recovery partition in updated bootloader.

But 3rd party devs had already established fota/ramdisk recovery method.

The new bootloader was not reliably installed by users so 3rd parties were mostly backing the established fota/ramdisk method.

It appears in 2018 sony has abandoned bootloader supporting an independent recovery partition.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Weird.

I installed the drmfix.

If I use the adb shell in TWRP i can see, that the files got correctly installed in the vendor partition.

If I start the system, I can't see them (using root)

[MENTION=5231789]nreuge[/MENTION] [MENTION=2902434]Pandemic[/MENTION]

?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sony Backup & Restore App doesn't work if the device is rooted.

Does anyone know how to fix that problem with magisk?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I've managed to get it work after a while... Try to restore everything but apps
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Check system/vendor/lib64 and search drm, they are there and back up and restore works fine for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
How that?

Backup and restore ist Rellingen menthat Thema device ist rooted and it cant be used.

Maybe it needs the DRM fix to work.

The files arn't there.

I also could not execute the Fastboot vbmeta command, because of "unknown option" error.

Edit: maybe my fastboot and ADB tools are in a too old version.

But at least I have root for titanium backup and can restore my stuff in the future.

I also can't flash boot directly.

I need to choose boot_a or boot_b

What is your fastboot version number [MENTION=2902434]Pandemic[/MENTION]

[MENTION=5231789]nreuge[/MENTION]?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Those commands does not work on older adb. Use the adb from m-rom.

That one works.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you.

Yeah, I think that was my mistake.

I used the fastboot shipped with Ubuntu 18.04 , but sometimes the packages are still quite old.

Need to check it in the evening and restart from the first step.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] twistedddx:
Newest platform tools (adb/fastboot) available from Google here :

https://developer.android.com/studio/releases/platform-tools#downloads
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I have a quick question. Is there no other, absolutely no other way to push files into vendor without twrp?

Not even if you flash twrp temporarily and then uses adb to push the drmfix files there?

I just wonder why twrp complains it can't mount vendor when flashing drmfix but everything else works just fine.

There must be a solution.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Mount vendor partition is useless

Drm fix is installed in system/vendor which is accessible in TWRP

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
/system/vendor is a symlink of /vendor at my site

You can use ADB in the "do you want to modify system" screen at start.

And I need to fix your build to use external sdcard.

But first I need to fix DRM at my site.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's the photo quality without the DRM fix.

While the photo preview is black, I can shot pictures.

The video preview works.

Edit:

XDA shrinks the photos. They are bigger/better on my phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Drmfix doesn't want to install for me. It gives an error that it can't mount vendor etc. So that's why I asked what I asked.

So you're saying I could use adb to push the files into vendor while in twrp?

I know but as I said I can just put the files in toot and get access to them there.

Unless you mean they have to be on sdcard?

Also how could you take pics with stockapp without drmfix? Or are you using open camera?

The video preview works as long as you have stabilizer on.

[MENTION=6031898]MartinX3[/MENTION]

Also this is offtopic but I really want to ask you this. So when Sony does crap like this you get kinda tired and want to check for alternative brands/phones.

So I spent a few days researching Samsung, Asus, Huawei, OnePlus, HTC, Xiami etc. But you know what? Either their phones are ugly as heck with chin/notch or ugly UI.

I just can't bring myself to buy another phone and I read that Huawei stopped giving out bootloader codes, Asus doesn't have a working twrp for Asus 5Z and HTC is just a big no...

So all in all, I love Sony for their beautiful designs, the clean UI etc and I just can't see myself buying something else than Sony... So I guess I'm stuck with Sony.

It just feels like there's nothing else than Sony and it makes me somewhat sad. Sony are the only ones making phones I can relate to and actually want.

How do you feel about it? Could you potentially get another brand/phone and if so which?

I just wanted to get that off my chest.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
the only other alternative I could consider is the pixel 3 (non XL of course) being announced tomorrow.. not too big, no notch, fast updates etc. also, I think it will be easily unlockable, and development is usually big. but it will be expensive... :crying:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shoey63:
[MENTION=8004595]FartyParty[/MENTION]

I'm hearing you. I'm a Sony tragic too. First smart phone was Galaxy Note 1 N7000. Super bricked it (yes it is a real term). Since then it's been Z, Z3, Z5, X and XZP, and I still own them all lol.

Probably XZ2 next . .
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I saw now, that my fastboot version, which installed TWRP, was for Android 7.0.0

Shame on me!

In the evening I will reflash my device again with newflasher and will use the newest fastboot (for android 9.0).

I am sure that will successfully install the TWRP which will successfully install the drm fix. :)

The current roadmap is now

fix twrp mounting encrypted partition, so you won't need a clean flash

Fix Sdcard mount in XZ2P/C twrp. (Need to unpack the xz2 twrp img file and move the fstab files in the etc folder into the XZ2P/C img twrp file)

Fix twrp installer script to install the TWRP and will include the stock kernel in it. :)

at the moment the only difference between the XZ2c, XZ2 and XZ2P twrp img files are the touch drivers. :)

[MENTION=8004595]FartyParty[/MENTION]

The screen is black but I can still shot pictures in the stock camera app on the XZ2 :)

And the quality is not as bad as i was scared about. :D

[MENTION=377340]rest[/MENTION]

I will answer the PM's after I arrived at home and got time :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
So english can be fixed and we can flash from sdcard1 (not internal memory i mean) ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sdcard got fixed by me in XZ2 build only.

Because i needed it fast to flash my phone.

Of course I will add it to the XZ2C and XZ2P build, too, but adding successfully the DRM fix has top priority now.

Fixing the "can't monut encrypted userdata" has a higher priority, too, because you would need to format the userdata to test the fix. :P

Edit:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1141

"TWRP 3.2.1-1 unable to find crypto footer"

I think that's our case.

Edit:

Using the latest fastboot, I can also flash the vbmeta.

And now MTP is working in the TWRP.

Maybe the wrong fastboot destroyed some software in my device, which got repaired thanks to newflasher.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
When do you think the fixed sdcard mount build will be up then?

Just to clarify, the sdcard could be mounted and you could select it but nothing could be seen when you looked in the file browser.

So I hope that's what you fixed so files can be seen and selected from the sdcard.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes of course, it is already fixed, but only in the XZ2 build-

Installed DRM fix in recovery.

Now I can see the drm fix files in the root explorer of the phone.

But the camera preview image is still black.

WTF [MENTION=5231789]nreuge[/MENTION] ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
B-b-b-usted ????

Can you throw it up for me so I can test as well.

If the drmfix now worked for the others why wouldn't it work for you.

Haven't they been saying several times the drmfix does actually work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
This confuses me.

I'm trying to fix the encryption bug now.

Then fixing sdcard. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Okey ?

I'm just being impatient right now but maybe it's better if I let you fix the encryption ? first.

You can do it ?

I really look forward to until I get money, I wanna boost your motivation ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
:confused::confused:

Have you installed the SElinux magisk manager and set it to permissive ??

Don't panick, you'll manage it to work :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
[MENTION=8004595]FartyParty[/MENTION]

The chinese drm fix works 100% i use it to and for free...

If they didn't saw it then they need for sure... glasses !!

If i make a picture i can see the preview in the right uppercorner so yeah no issues at all and use it several days now :D :cool:

Btw:

Dont believe what another always say that our phone get destroyed by that chinese drm fix.. Aint true :rolleyes:

---------- Post added at 10:20 PM ---------- Previous post was at 10:19 PM ----------

I told him to flash permissive.zip after flashing that drm fix and then reboot.. [MENTION=6031898]MartinX3[/MENTION] now the 3rd time -__-
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Didn't mean to accuse anyone. I believe you that it works :)!

Probably just MartinX3 being tired :p.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Me too :)

Hihi thank you :)

I uploaded the build with the fixed mount for the XZ2P now. :)

For the XZ2C, too. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
yeahr, I installed the permissive.zip right after installing the magisk.zip.

after that I installed the drm fix zip. :) and rebooted into the system. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Come on bro [MENTION=6031898]MartinX3[/MENTION] -__- i told you 3 times how and now again and i hope you do it good now...

Flash in this way:

Boot.zip

Twrp.zip

Magisk.zip

>> REBOOT<<

drmfix.zip

Permissive.zip

Reboot

Done
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thx, I will try that again. It's weird for me.

[MENTION=9350973]All[/MENTION]

Theoretically I could remove the encryption of the userdata by removing encryptable=footer from the fstab file.

But I don't know if you really want this workaround.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The weird thing is, I cant reboot into TWRP.

It wants to start into the system.

After several tries, I achieved to boot into TWRP again, install the drmfix and permissive twice (permissive gives me the red error code 1 )

Rebooted into system.

Does the fist things, then phone need to reboot again.

Camera preview does NOT work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The chinese drmfix simply doesn't work on my H8296 Rev 2 with German H8266 firmware.

The files are there, but they are doing noting.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
A workaround could be, that twrp does NOT mount the userdata partition.

Only the other partitions.

This would be fine for everyone who uses a sdcard.

And there is ADB side loading.

Disabling encryption via database file would only work until the next monthly update.

Would this workaround be okay for everyone?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
i thought it wouldnt make a difference as the kernel/recovery is updated also every update?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Disabling encryption would be ok for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I flashed your new xz2p twrp and it mounted the sdcard just fine, I flashed the files and this time drmfix did flash properly.

But I'm getting the same as you, nothing is happening.

Also funny thing, I can't even do the disable vbmeta.img command because then it cant boot without vbmeta.img flash.

But if I skip the command it boots without issues. So I guess I just skip that command.

I also got error on permissive.zip.

I wonder what we're doing wrong.

---------- Post added at 07:35 ---------- Previous post was at 07:30 ----------

Hmm, checking in vendor there doesn't seems to be any drmfix files now even though it did flash properly.

How did you make them to stick in there?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
1) Have you used ONLY the files (twrp, installer, etc..) provided by M-rom and exactly followed the steps?

No ? Do it. Yes, go to 2)

2) Try a H296 FW

3) Use this root checker to verify that SElinux status is permissive

Good luck :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Yes that's it.

Follow my tutorial, reboot, install apps then go back in recovery and flash drm fix then permissive.zip

If permissive can't be flashed or give error that means you did something wrong.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
weird very weird !

if onbject tracking works in camera and color gamut in settings/display and you see that it change.. then it works.. you have always something, i have also rev2 and all works fine for me, maybe you didn`t follow the exact instructions and files what is posted in [MENTION=599722]niaboc79[/MENTION] his steps !! please follow them and dont do you own steps !

and its easy to say that it aint work and blaim to files, but if it works for someone else like by me then the fault lays down by yourself ;)

---------- Post added at 09:07 AM ---------- Previous post was at 09:04 AM ----------

then do clean install again and use the files by [MENTION=599722]niaboc79[/MENTION] in his steps !

and follow exact the steps !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Ahhhhhh, permissive.

I didn't know I can flash zips in the magisk app like in twrp! :silly:

I flashed now everything in twrp, only the permissive zip I flashed in the magisk app in the modules section. Ahhhbbbbbbbb.

It is working now.

Thank you all :)

I never used magisk before in any phone.

This is my first time. Sorry for the trouble.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
great and yes you can, good it works now :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, guys, sorry.

Encryption works with twrp.

After using the twrp installer I can reboot into twrp without problems. :)

You need to install the twrp installer zip correctly.

If you can't reboot into twrp after installing.it, please tell me. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

I want to merge the different TWRP's ASAP.

So I need your help.

The XZ2 and XZ2C owners are using tcm or clearpad drivers for their touchpad hardware.

The XZ2P users using only a single touchpad hardware I already know.

So I need the following information from you:

Device: XZ2 or XZ2C or XZ2P

The Terminal Output of

cat /sys/devices/dsi_panel_driver/panel_id

IN TWRP INSTALLER ZIP AND IN TWRP IMG FILE AND the android system

And the Information if it is the img file TWRP or the TWRP from the TWRP installer zip.

(You can use

adb shell

or your terminal. In both cases you need to get root with the command

su

first. And you need Magisk Root)

Howto Terminal in Chinese TWRP:

In advanced

https://img.gadgethacks.com/img/71/...nly-custom-recovery-youll-ever-need.w1456.jpg

and then in terminal

https://img.gadgethacks.com/img/06/...ad-flashable-zips-android-with-twrp.w1456.jpg

Touchpadhardware:

"Dial"

*#*#SERVICE#*#*

Shared Informations:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
As i still don't have root, i only can post the service info part for xz2c.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I spoke with 2 test slaves which owns a XZ2C and installed the "unofficial" drmfix.

They are happy that they got their camera back. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
As the drm fix by sToRm// actually still doesn't work: Where can I find the one from M-Rom? Thanks in advance!

Edit:

I want to thank all people providing me her kind help!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] :
Thread cleaned.

:good:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Why did you ban the User [MENTION=8004595]FartyParty[/MENTION] ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

This TWRP works on XZ2, XZ2C and XZ2P and can fix the drm with a proper drmfix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Statusupdate:

Expermentalbuild

English

Touchy

Mount Every Partition & SDCARD

Doesn't need a clean flash, will decrypt your userdata

ADB is working.

MTP does not work, because the MTP button is lost, I think it is device file config I need to change.

I did flash the kernel and magisk with it.

My userdata is fine.

Now I will update the TWRP installer.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
TWRP is working.

Now polishing, posting a news, be happy and go sleep. (3:00 at night)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
10.10.2018
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] laoli0913:
Thanks to your great work on this!