yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Thank you my friend. I really appreciate this. And you know what? It's not that money thing, it's a "give and get" situation. Because...

Devs need money, too. They invest their lifetime, the most important thing in life. And they could invest time with their family, coffee and pizza instead of sitting tons of hours on the desk to develope free stuff for the whole world. Devs have to learn these things, have to buy hardware that's perfect for their job (I personally own a 15k Euro workspace that's important for my work), and they pay for licenses, too.

The main reason why I decided to make Xperifix commercial was, that it was to much work to give it away. The users wanted individual support where other users weren't able to help most of the time. And they wanted solutions for other devices or systems as well. Things that I personally wouldn't need and for what I wouldn't invest my time. So it made the whole thing much better since it's commercial. I got really good feedback and some guys also donated after paying a license because they were extremely happy about the software and the support.

And... Let me tell you what I do with that money... For example... There is a good friend of mine. She has a little baby, her boyfriend was an idiot. And now she's alone with her baby, has no money but a lot of trouble. I took money from Xperifix payments, payed taxes and fees, and gave her some money to get away from different problems. I also helped her with her car that was a **** up. Took it to the next service and let it repair, so she can drive her baby to the doctor and is safe to go.

I give away my time, I get some money, I help with that money. And I can also invest more time for the users, because I can take more free time to develop things (I'm selfmade so I can choose).

Is that so damn bad? I think no...

I am 13 years in this business and I invested tons of hours of work for free projects. Joomla, WordPress, some Ecommerce platforms,... I developed for years for free. But most of the time you earn not even a thank you. The donations are not the big deal. They are maybe 1% of the licenses costs of software, hardware and energy the developers are using to develop things. Just saying...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Hi,

I do understand your point of view and motivations.

You decide to sell your work and I respect that, this is your choice and as I can see you’re doing great things with the money you earned [emoji6]

I’m also a developer since more than 10 years so I know what you mean by working thousands hours for nearly no thanks.

But... I still like to think that we can develop by pleasure and nothing else, when I do something this is mainly for me, then I share it to the community.

If I receive donations I’m always happy, I’ve received a lot and keep getting but my motivation doesn’t come from that [emoji6]

Maybe I’m old school or has been but that’s my way [emoji3]

Keep the good work [emoji6]

Envoyé de mon iPhone en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Are you sure you use

1. The slot with an up to date bootloader?

2. The newest google platform tools version (r29)?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] longshenaizhong:
stock ROM
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
And if you install it in the stock twrp , what does happen?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
And the installed apps in magisk app you see them [MENTION=6283426]levone1[/MENTION] ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cartman56:
.....stock in TWRP logo
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Are you sure that the security patch date is June?

The newest twrp needs June.

I put the needed stock version number in the twrp bundle file name.

The google rollback protection is enforcing this.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cartman56:
Forget it I do it over again please tell me where is wrong.

First flash the Omni rom (the last build as the stock rom 52.0.A.8.83)

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

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot flash oem oem.img

fastboot flash userdata userdata.img

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

fastboot flash boot twrp-xz2.img

Reboot into TWRP

Flash dual SIM patcher.

Install mini Gapps

Ramdisk trwp

Reboot into TWRP flash magisk 18.1

Reboot into system

That's all nothing special
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cartman56:
Yes I sure that the files is June and my security patch is June
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
But is the m-rom June too?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
But you done mix the stock twrp with the custom omni ROM?

I would need dmesg and logcat from bootloop via adb.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cartman56:
Yup

---------- Post added at 09:11 PM ---------- Previous post was at 09:08 PM ----------

.... No stock for stock custom for custom.

If the steps are right I'm going to try again later
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Logs would be nice :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
Yep...(you mean Magisk modules, right?)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cartman56:
Ok but let me try again later, if it goes wrong again then I will sent you logs, plz look into my fully installation

PS wrong post it should be in eXistenZ thread
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Great so all works without issue now bro wirh magisk v19.4 ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Still no 19.4.

But maybe it works in the future canary build which will be renamed to 19.4.

But a xz2 user said he wasn't able to use modules.

Hmm, maybe they fixed it. Maybe not. We'll see what Magisk 19.4 will bring :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please don't install gapps on a stock ROM.

They already include fapps. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
19.4 canary all good on XZ2c, ...83 firmware, eXistenZ. Magisk installed, safetynet passed with MicroG, (with help from EdXposed), and 10 modules installed and working fine.

Just install canary Magisk Manager, set update channel to canary, and use direct install..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] longshenaizhong:
magisk is included in the rom,i have used your newest stock twrp,then magisk will not be installed,but it can be flashed by using M-ROM's twrp(zip),after flashing the rom,my phone will reboot in bootanimation(charging led is lighting),and then reboot indefinitely

sorry for my poor English and thank you very much;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can you remove his twrp?

It is not compatible.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
New Magisk canary build today (19305) working well...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
phone reboots sony logo

hello to everyone! I'm having a problem.i have a dual sim card xperia xz2 premium device.my device unlocked bootloader.then I downloaded twrp from the zip file above and flashed .after that I installed my phone to magisk men.zip.now android doesnt open on my phone...Twrp screen opens but the phone reboots sony logo during reboot.what do i need to ask your suggestions?twrp version 3.3..1.0....I'm ready to donate whoever you want to hellp me!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
Update - so I flashed another module, and no error, then on reboot, now I have the same 'core-only mode' problem...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
So again a core issue, screenshot bro ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
OK, did a test from clean install and back up again on 19.4 canary. Seems like it's this specific build that works, (19304).

I flashed stock ...83 firmware with Flashtool, installed TWRP from [MENTION=6031898]MartinX3[/MENTION], installed Magisk 18.1, booted, installed eXistenZ, then went to recovery, and flashed canary 19304, (since I can't flash through Magisk Manager anymore because build number is updated). Now again I have functioning Magisk 19.4 with working modules...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Cool

What about direct install without using 18.1? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] tigrik7474@mail.ru:
Can anyone give boot.img from this firmware 52.0.A.8.50?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] longshenaizhong:
i had removed it

http://bbs.gfan.com/forum.php?mod=viewthread&tid=9579106

can you test it?:D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
sadly I don't own a xz3 and only read ching chang Chong :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
I probably would have to mess something up to be motivated to try, (which is likely to happen at some point before too long) ... Maybe someone else in the meantime...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Hello again. This is my business phone and I really need help!:(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did the twrp firmware version and the stock firmware version march exactly?

Did you use magisk 18.1?

PS: sorry, didn't saw your post on my phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
No problem Mr. Martin! About Twrp version and stock version im not sure .but somehow I managed to flashed and install and twrp .and then im installed Magisk 18.1 .but nothing dont worked .and than again uninsatalled Magisk 18.1.. now my phone is connected to a computer with usb and i can see disks .but my phone reboot back to the TWRP screen after I rebooted..however, the installation guide i saw "Advanced menu -> "Install recovery ramdisk" -> Choose twrp.img Reboot into installed TWRP' But but here I could not find the twrp image.and and I couldn't install twrp.image.maybe it was this that caused the problem?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The versions need to match or it won't work.

Please follow the instructions carefully.

What happen after the magisk installation?

Maybe the newest canary magisk version work better.

They updated the system-as-root integration. :)

And please wipe the misc partition.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
however, the installation guide i saw "Advanced menu -> "Install recovery ramdisk" -> Choose twrp.img Reboot into installed TWRP' But but here I could not find the twrp image.and and I couldn't install twrp.image.maybe it was this that caused the problem?After setting up magisk i didn't change anything, Mr. Martin.ok where i can download this new version?now im wiped dalvik and system..about my English sory pls!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
The twrp img file which you boot and install over the recovery ramdisk option is the same.

So be sure that you boot the twrp img via fastboot and before that copy the img to your phone (for example sdcard).

As said you need it for the recovery ramdisk because over this way the recovery the will be installed permantly.

Then you can flash Magisk.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=10003868]depeche76[/MENTION] and the version in the twrp bundle name and the firmware version in about phone must be the same :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
yes its same Mr.Martin. twrp-xz2p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
52.0.A.8.83 in about phone?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
So would you suggest I do it all over again?thank so much for reply!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I think you should reinstall the stock firmware boot.sin via newflasher, boot twrp, install the twrp.IMG in the advanced menu and install magisk 18.1

If that doesn't work I would try the newest canary magisk version.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Mr Martin 52.0.A.8.25 firmware.thank you for help really!im very novice about it all.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, please either use an old twrp with the same number in its name or install the newest firmware (which I recommend) :)

You're welcome and problem solved :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
ok Mr Martin! first i need uninsatall Twrp this versinon? if i need where can i fint newest firmware?sorry pls so many questinons!:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Just use xperifirm to download the newest Version and newflasher to install it.

And remove the userdata.sin from the firmware folder or you wipe your userdata.

Mr. Depeche :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shoey63:
I'm on latest stock kernel - no Magisk or twrp. Just some modified system files.

Tomorrow I will fastboot boot twrp and flash latest canary build. That will be the definitive test....
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
Be aware that for me, the latest canary build is 19305, which caused 'stuck in core-only mode' issue for me, (modules won't load), after updating via Manager from 19304. The build that worked for me is 19304. Not sure if there's access to previous builds on canary channel. I can upload if you want, or maybe newest will work for you...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
unfortunately device give erorr "your device is corrupt" :( I didn't download anything new...I think there's nothing to do now..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please upgrade your firmware :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
ok Mr Martin im working now for download :)ps:device dont connect with comp. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
Drivers installed? You need the sony flashmode driver for Newsflasher and fastboot driver for flashing twrp etc.

And your phone must run in flashmode before flashing stock rom.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
I'm checking now :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Or switch to Linux

Muahahahahahaha
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
:D:D:D:D:D:D linux is a best !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
And the android adb / fastboot connect works without any problems [emoji14]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
I know that's why I wrote the best linux :):)zip in bot file Can I flash HASH files in zip format with newflasher?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
:P

Why do you want to flash a hash value?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shoey63:
Flashed canary 19305 on top of stock 8.83 kernel. No bootloop or other issues. Modules load and core only mode is deactivated. Root is granted to apps requesting it and Magisk hide prevents root detection from selected apps.

I don't have twrp integrated. Just fastboot booted the June twrp and flashed the Magisk canary zip.

Didn't wipe anything before installing. Works as it should.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
I don't need to flash them?I'm currently trying to upgrade _52.0.A.8.83 uk .
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Just download the Firmware via xperifirm and install it via newflasher :)

And remove the file userdata.ein first.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
No. You only need to copy the Newsflasher.exe file into the unpacked stock firmware folder and start Newsflasher.

When you phone is recognized you can simply start the flashing process. No need for zips and hash file at this point.

If you want to remain your data cut/delete the file 'userdata.sin' out from the Firmware folder.

Don't forget the command with 'disable-verify --disable..'

Otherwise the stock Firmware won't boot.

[MENTION=6031898]MartinX3[/MENTION]

Dammed you were faster:D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
But you was slower, erm, I mean you contained more bloat, erm, i mean, manual informations from the xda threads of the tools I linked on the first page :silly: :D

I wonder if the vbmeta disable things are still needed on every tama phone except for the camerafix.zip or if magisk is now fine with patching the verity of dtbo and boot.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
first step win!;):good: [MENTION=6031898]MartinX3[/MENTION] [MENTION=9542156]dhacke[/MENTION] thank you for my first step! by the way dhacke "Don't forget the command with 'disable-verify --disable..'

Otherwise the stock Firmware won't boot." it wasnt for me !:)

---------- Post added at 02:13 PM ---------- Previous post was at 02:13 PM ----------

first step win!;):good: [MENTION=6031898]MartinX3[/MENTION] [MENTION=9542156]dhacke[/MENTION] thank you for my first step! by the way dhacke "Don't forget the command with 'disable-verify --disable..'

Otherwise the stock Firmware won't boot." it wasnt for me !:)

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

first step win!;):good: [MENTION=6031898]MartinX3[/MENTION] [MENTION=9542156]dhacke[/MENTION] thank you for my first step! by the way dhacke "Don't forget the command with 'disable-verify --disable..'

Otherwise the stock Firmware won't boot." it wasnt for me !:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] serajr:
I can also confirm this (but I've integrated the twrp - step 2)! :good:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Lammer_2019:
Guys, Im stuck with black screens on me camera.

I have xz2 dual 8296 that I downgraded to 8 Android

H8266_CIS RU-UA-KZ-BY_1311-7920_51.1.A.11.51_R7B, then -

fastboot flash boot twrp-3.2.3-0-xz2.img

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

Got into recovery and flashed Magisk19 and then permissive but the camera is dead

Also have tried XperiaFIX no results, any ideas where did I **** up?

Thank you

---------- Post added at 03:35 AM ---------- Previous post was at 02:55 AM ----------

Xmm, after a few tweaks I changed the order what to flash first Magisk_selinux_manager-develop, Permissive and MultiFunctions4Magisk-v1.0.3.4.1.4 I got my camera back!!

If only anyone would advice me how I can back up my phone incl root, permissive and everythingelse?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Martin hi again!) What does this command "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"do not work? :(.its comand working with adb or with newflasher?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
With fastboot. :)

If everything works without this command, it is fine and you can ignore it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
my device have a error.when i try install TWRP TWRP

Advanced menu -> "Install recovery ramdisk" -> Choose twrp.img

Reboot into installed TWRP

TWRP "E;Error getting bootctrl module. finished cd/tmprepackorig/ && /sbin/magiskboot--unpack -h '/temp/repackorig/boot.img' process ended with ERORR error unpacking image. so .whats is it Martin?:(than system doesnt reboot and stuck on sony logo again.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
What are you doing?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Hi Mr Martin. when i try install twrp image I get this error

---------- Post added at 06:41 AM ---------- Previous post was at 06:22 AM ----------

so problem twrp working in my devıce but my device doesnt return to android after the reboot system
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Does your firmware version match the twrp version? (June)

Did you install any magisk newer than 18.1?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
you know a few days go im flashed 52.0.A.8.83 .and twrp version 3.3.1-0 and im installed 19.3 magisk.

---------- Post added at 11:02 AM ---------- Previous post was at 10:42 AM ----------

second (maybe that's the problem)i cant install twrp.img on the recovery mode.I get an error message.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You did used Advanced -> Install ramdisk -> point to twrp.img?

I used 52.0.A.8.83 and it worked on my H8296.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
yes i did so ..But i get error each time.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Chinese firmware? with mrom?

Did the may version with may firmware worked?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
Did the may version with may firmware worked?[/QUOTE]

no my firmware uk version.about mrom i dont know sory Mr [MENTION=1739940]MartinX3 C[/MENTION]an you explain me what is it mrom? no i didnt may version?is it worth trying?:o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Woops, sorry, I thought you're an chinese user :silly:

Did you something to modify your stock firmware?

maybe the july twrp will fix it, but i need to wait for omnirom to update to july.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
my stock rom was not the uk version.maybe its creating some problem?ok what do you recommend me to do now?i from Serbia :Di know russian language ,Turkish language but I don't know Chinese:D:D:D:D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, please install the UK stock rom without modifications and if the twrp installation works, we know, where the error comes from, if not, harakiri for the twrp developer. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
ok Mr [MENTION=6031898]MartinX3[/MENTION] Thank you very much for patience.Last im downlaoaded my firmware with xperifirm.Is the version there modified?if yes where can i find without modifications?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Mr. depeche, just download via xperifirm and install via newflasher (and remove the userdata.sin first). No modifications are included there. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
okay.and then again i will flash twrp 3.3.1.0?:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, just my newest twrp with the stock firmware version number included in its filename. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] depeche76:
ok i saw have us and ru version new firmware 52..0.A.8.107 :) thank you Martin do you have only pay pal?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
107 will need a new update, but I need to wait for omnirom updating their files :)

Yes, only PayPal. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
12.07.2019
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] levone1:
Touch screen not working for me in TWRP. Anybody else?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
With connected usb cable ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Which model ?

With .107 stock firmware?

Can you give me dmesg and logcat via adb?

What does the execution of the script "/sbin/preptouch.sh" ?

Does deactivating and reactivating the screen fix the problem?

And yes, with attached usb cable?

I remember a race condition with the execution of the preptouch.sh script and MTP. (rc file stuff I assume).

And does it happen with "fastboot boot twrp.img" or after you installed it on the ramdisk and rebooted into the now persistent twrp?