yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I compiled one from sony aosp and one from sony stock kernel sources.

The stock wants the correct diffconfig and the aosp wants the correct defconfig.

They are included in their repos. :)

As far as I know now, I need to extract the stock vbmeta.img and someone need to flash it with

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://xdaforums.com/oneplus-6/how-to/treble-mistery-solved-developer-t3800716

According to this thread, the failed booting is the fault of the Qualcomm bootloader.

Maybe the there mentioned "not bootable" flag, too.

Maybe it got worse with the Snapdragon 845 chipset.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Main Sony Developer told me

"please wait for the next bootloader release

XZ2 is "work in progress" supported"

So maybe the August or September update will make the bootloader compatible.

There is nothing I can do now, but wait for the sony update.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
That's what I figured on github, too. So hyped! :D Good luck with the recovery project!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you! :D

Maybe you saw my issue ticket. :p

And when twrp work as "fastboot boot twrp.img" and a working DRM fix got released, I can start testing it on my own device. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Working drm fix it released by [MENTION=8363210]sToRm//[/MENTION] with xperifix 3.1 but as we know we need a wrorking twrp 1st before using the program bro :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yeahr, but is that the official way to do it?

Does it provide a installable zip? :p

Did anyone buy it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yes and i have it.

Check pm bro
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mirhl:
I thought xperifix was useless since the secd work that had been made on XZ1c?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I don't know.

The xperirix developer said, version 3.1 introduced xz2 and xz2c support.

We need to test it, after we've got a working twrp.

I don't know how he could develop a DRM fix, when he say, he need twrp to do this, which doesn't exist.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
great, I wonder if I should proceed, now that I better think about that, I am pretty sure that unlocking BL in my country means lose the warranty, which is not really ideal on such a expensive phone... :rolleyes::crying:

will see if it is worth in the next days :o

xposed and gravity box should work fine now with root, right? :fingers-crossed:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Could someone test if DRM works?

Photo compare with stock app.

So I need to erase my userdata?

Means

1. Install magical for root

2. Titanium backup

3. Fullwipe to install twrp, root, DRM

4. Titanium restore
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Does anyone tried this without newflasher ?

I have H8216 but i wonder if we unlock the bootloader we get also a full wiped xz2 so cant we install then twrp and so on ? I need the ftf file then of my xz2 but xperifirm aint making an ftf and i struggle with that always.

Please help me :)

---------- Post added at 04:58 PM ---------- Previous post was at 04:38 PM ----------

Xposed aint work yet in latest security patch since may i think.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Unlock will erase userdata?

Can we somehow used the bug which will get fixed with the next update, to root the phone?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I've done all as you explain but I'm stuck at twrp logo...

What .51 firmware did you flash exactly ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Don't boot the firmware, use newflasher and flash all files like that it will erase user data too.

I am using German firmware

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Unlock will erase user data once.

Then newflasher will erase once again.

Then next build shouldn't erase anything since you won't flash boot anymore at first.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Does it matter if I flash stock boot in twrp as zip or img? Backed up my stuff.. Going clean flash now
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
That's I had done... I'm going to try with German FW......
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
that's bad news :( i thought xposed was working.. but maybe serajr can do it's magic without it :fingers-crossed: :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I need to flash boot with next build.

The kernel gets updates, too
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Well, it's working this time, I'm in twrp, I've now to search how to enable mtp...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Let me explain ;)

You are now forced to erase user data and use newflasher only once. This allowed the boot of TWRP.

With next rom update, here are the steps:

1) Update with newflasher but exclude kernel, userdata (like that you keep the one with twrp integrated)

2) Convert kernel.sin to kernel.img

3) Flash the new kernel in recovery then flash TWRP to edit it

4) Done
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Look for language settings like that you will know what is what ;)

Then reboot recovery in TWRP settings ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
as far as i can tell the chinese zip works for drm

i did it without newflasher, used sony's flashtool & xperifirm using firmware: H8266_Customized US_1313-4500_51.1.A.11.51_R7A
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
With clean flash i got now twrp started(in chinese). But from Mount option(3rd from top left), enabling MTP does not make the device appear under windows. So i am stuck, unable to copy files to sdcard.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Try another USB port or/and re-repeat enable/disable MTP

Which boot.zip must I flash ? I've tried the one attached a few page back, and after having flashed boot.zip, twrp....zip and magisk.17.1.zip it doesn't want reboot, it says device corrupt :eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Mind share the ftf ? H8216
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Reflash both fastboot things and retry

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
[MENTION=8363210]sToRm//[/MENTION]

Tried to use your XperiFIX, but unfortunately it doesn't work...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Newflasher don't keep trace of ftf, sorry bro

Finally succeed, thanks a lot :)

________

Edit: the process is somewhat random, even advanced users will suffer... You're warned :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Yes, finally succeeded also. Had to install virtualmachine with usb2.0 ports only, to get MTP show up. Current laptop too new with usb3 ports.

Next step DRMfix...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
System is not mounted?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Ha ha, yes it didn't like my usb3 ports too, but I succeed without your workaround. Good to know by the way!

:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Same here with different devices.

Usb 3 type a is somewhat evil.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Did you keep your twrp in Chinese ?

I've tested backup / recovery, it works but in Chinese only. Damn language... :rolleyes:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Kept twrp in chinese, swiped right to allow modifications when it launched. DRMfix failed with same error as previous user.

Tried again, selected system and vendor from mount before giving okay for drmfix go ahead. Still same error.

Seems the path to sh is wrong

error: exec '/system/bin/sh' failed: No such file or directory

checking the file manager from twrp, i can see that sh is /system/system/bin/sh
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
Is the twrp itself looked to a fw? Or could you technically take the vbmeta.img from another fw and build zip with same fw and it should technically work?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can try the vbmeta from my AOSP thread.

It has exactly the same byte size like the one from M-ROM.

Maybe that's my one. :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
/system/system ?

Errrrrr :eek:

is that normal? [MENTION=8363210]sToRm//[/MENTION] [MENTION=6844550]M-Rom[/MENTION]

Edit:

At my device with stock firmware, there is no /system/system

There is a /system with the correct bin/sh path
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Are you sure you switched the partition mode in XperiFIX software to "Vendor"?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
I had not prior knowledge that i had to do that. Tried it now, and exactly the same error message.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
For some reason I'm not able to download the logs (mobile). Please open a support ticket on the website. I will check this asap.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Can someone explain and step by step what we must do in twrp due the chinese language ?

Appricaite it ^^

Btw:

Bro [MENTION=6844550]M-Rom[/MENTION]

Can you translate it into english ? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
03-10-2018_23-54-27 ===> Serial: QV700FYK1E
03-10-2018_23-54-27 ===> Get device unlocked info

unlocked: yes
finished. total time: 0.000s
03-10-2018_23-54-27 ===> Get device product id

product: H8266
finished. total time: 0.000s
03-10-2018_23-54-28 ===> Get device firmware info

version-baseband: 1311-7920_51.1.A.11.51
finished. total time: 0.001s
03-10-2018_23-55-32 ===> Push Magisk Flasher

[ 1%] /tmp/magiskflash.zip
[ 3%] /tmp/magiskflash.zip
[ 4%] /tmp/magiskflash.zip
[ 6%] /tmp/magiskflash.zip
[ 7%] /tmp/magiskflash.zip
[ 9%] /tmp/magiskflash.zip
[ 10%] /tmp/magiskflash.zip
[ 12%] /tmp/magiskflash.zip
[ 14%] /tmp/magiskflash.zip
[ 15%] /tmp/magiskflash.zip
[ 17%] /tmp/magiskflash.zip
[ 18%] /tmp/magiskflash.zip
[ 20%] /tmp/magiskflash.zip
[ 21%] /tmp/magiskflash.zip
[ 23%] /tmp/magiskflash.zip
[ 25%] /tmp/magiskflash.zip
[ 26%] /tmp/magiskflash.zip
[ 28%] /tmp/magiskflash.zip
[ 29%] /tmp/magiskflash.zip
[ 31%] /tmp/magiskflash.zip
[ 32%] /tmp/magiskflash.zip
[ 34%] /tmp/magiskflash.zip
[ 36%] /tmp/magiskflash.zip
[ 37%] /tmp/magiskflash.zip
[ 39%] /tmp/magiskflash.zip
[ 40%] /tmp/magiskflash.zip
[ 42%] /tmp/magiskflash.zip
[ 43%] /tmp/magiskflash.zip
[ 45%] /tmp/magiskflash.zip
[ 47%] /tmp/magiskflash.zip
[ 48%] /tmp/magiskflash.zip
[ 50%] /tmp/magiskflash.zip
[ 51%] /tmp/magiskflash.zip
[ 53%] /tmp/magiskflash.zip
[ 54%] /tmp/magiskflash.zip
[ 56%] /tmp/magiskflash.zip
[ 58%] /tmp/magiskflash.zip
[ 59%] /tmp/magiskflash.zip
[ 61%] /tmp/magiskflash.zip
[ 62%] /tmp/magiskflash.zip
[ 64%] /tmp/magiskflash.zip
[ 65%] /tmp/magiskflash.zip
[ 67%] /tmp/magiskflash.zip
[ 69%] /tmp/magiskflash.zip
[ 70%] /tmp/magiskflash.zip
[ 72%] /tmp/magiskflash.zip
[ 73%] /tmp/magiskflash.zip
[ 75%] /tmp/magiskflash.zip
[ 76%] /tmp/magiskflash.zip
[ 78%] /tmp/magiskflash.zip
[ 80%] /tmp/magiskflash.zip
[ 81%] /tmp/magiskflash.zip
[ 83%] /tmp/magiskflash.zip
[ 84%] /tmp/magiskflash.zip
[ 86%] /tmp/magiskflash.zip
[ 87%] /tmp/magiskflash.zip
[ 89%] /tmp/magiskflash.zip
[ 91%] /tmp/magiskflash.zip
[ 92%] /tmp/magiskflash.zip
[ 94%] /tmp/magiskflash.zip
[ 95%] /tmp/magiskflash.zip
[ 97%] /tmp/magiskflash.zip
[ 98%] /tmp/magiskflash.zip
[100%] /tmp/magiskflash.zip
C:\XperiFIX\DATA\TMP\magisk.zip: 1 file pushed. 24.9 MB/s (4174026 bytes in 0.160s)
03-10-2018_23-55-34 ===> Run XperiFIX Flasher

error: exec '/system/bin/sh' failed: No such file or directory
03-10-2018_23-55-36 ===> Run Magisk Flasher

error: exec '/system/bin/sh' failed: No such file or directory
03-10-2018_23-55-38 ===> Wipe Cache

error: exec '/system/bin/sh' failed: No such file or directory
03-10-2018_23-55-38 ===> Wipe Dalvik

error: exec '/system/bin/sh' failed: No such file or directory
03-10-2018_23-55-40 ===> Reboot...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Okay, that's for sure a TWRP problem, no XperiFIX bug. Magisk also can't be flashed.

Edit:

It looks like the TWRP shell doesn't work in this recovery build. Maybe there is an error in the paths in TWRP.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
What I meant was. Since this require this specific fw, what is it that is from the fw. Is it the vbmeta.img?

So my thought was, couldn't you just take vbmeta.img from let say the XZ2P fw and then build the zip with that fw.

And it should technically work? Because the twrp image itself is not locked to any fw?

I think it's better to just wait for your twrp.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
There is no magisk flashing issues when i flashed them via the menu option before. boot.zip twrp.zip and magisk.zip all went okay.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Yes, because manual flash does not use the shell. The shell binary is missing in this TWRP build. It can't be executed. But that's related to the recovery, not XperiFIX software.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
If that's the case... How in the world did the chinese users manage to flash the drmfix?

Also, aren't they pirating it since it seems they are distributing the drmfix?

I seriously doubt everyone in that thread has a XperiFix license.

Unless they are using some really old version of the drmfix files.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Can i take the drmfix.zip from DRM folder and flash it directly in menu? magisk, dalvik-cache clear after that.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Maybe they are using an old fix from the other devices. Not the current patch for this device. Like I mentioned weeks ago, this could hard brick the device, because Sony changed the security functions on this device and the secd code, too. I haven't checked their files so far. If they kill their devices, it's not my problem. Haha...

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

There is no drmfix.zip in current versions. So, no.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Done!

Thanks in advance :good:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
[MENTION=8363210]sToRm//[/MENTION] why people aint follow this steps:

Maybe the fault lays down by the people that flash and wanna rush but forget something to flash so what i mean is that they miss a step todo and end up with a stuck or whatever... I was also a flash junky but i am sure know what in am doing.... Btw added iDeal to buy xperifix for Dutch people (european people) like me ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Because the old fixed file does simulate the same thing, but related functions have changed. For example, if Sony changed units in the TA on this device, then the secd from other devices doesn't match them. The security functions are reading and writing the units. So it's possible that after a few days or restarts or on some event a unit will be checked and written with wrong content = TA ****ed up irreversible = phone drop to the trash. Also it's possible that some enhancements don't work, because the security functions checks and return don't match. It has a good reason that there is a new patch in the software.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe my early stock ROM twrp builds did not work, because People needed to flash the firmware including a full wipe and installing twrp without booting into the system before....
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hmm, but how can I install my bought drmfix with the Chinese twrp to speed up my twrp development, if I can't install my bought drmfix because I have no zip and need it's broken shell?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
[MENTION=8363210]sToRm//[/MENTION]

Oke but what if not then it should all work fine isn't and with some new and old parts combined in 1 should also work fine in my way but i can be wrong.. It worked fine on my xz and btw did you check if you can add Ideal ? I need it otherwise i cant buy it the xperifix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
[MENTION=6031898]MartinX3[/MENTION], I think that the best thing that you could do about twrp now is to work with [MENTION=6844550]M-Rom[/MENTION] to fix:

1- the shell binary if it's really missing

2-freeze when using other language than Chinese

:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I already asked him in this thread 2 times for a cooperation without success :silly:

Btw. it only looks like a mounting error.

It mounts the system partition under /system/system and not under /system.

But I will look into it.

Edit:

It is shipped with the stock kernel.

https://xdaforums.com/showpost.php?p=77790504&postcount=632

Mehhh.

Edit2:

the twrp.fstab and the recovery.fstab are not the right ones for our device.

It is for a device that has no sdcard & a recovery partition. (OnePlus6 is A/B, so it shouldn't have one)

Edit3:

Oh, the latest firmware has now a ramdisk, too.

Nice.

Edit4:

Uploading modified twrp-xz2-2c.img

(Exchanged recovery.fstab and twrp.fstab)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
04.10.2018

It looks like I could reuse the stock kernel for future twrp builds.

It has now a ramdisk, too.

It was missing in the past, so I thought it has no support for it.

Repakcing the ramdisk doubled its size.

Is there a better programm to repack it than the bootimgtools from xda?

https://xdaforums.com/showthread.php?t=2319018
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
How to install [MENTION=5479767]machao44[/MENTION] TWRP and root.

You need unlocked bootloader.

1) Download latest .51 firmware with Xperiafirm and paste newflasher files inside download folder. Execute newflasher.exe and answer no twice.

2) Once firmware flashing is done unplugg usb cable and let the device power off.

3) Download both zip from here: https://mega.nz/#F!dphRQabL!w6_pynFjz1GZ1nAdFpC3fg

4) Unzip twrp-adb.zip and enter in fastboot mode (keep volume up and plug usb cable).

5) Open commmand prompt inside twrp-adb and execute this command: fastboot flash boot twrp-xz2-2c.img

6) Then execute this command: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

7) Unplugged usb cable (if the device doesn't power off, press volume up and power and wait until it vibrate 3 times).

8) Enter inside TWRP, that means press volume down and power button, release power button when it vibrate once.

9) The TWRP recovery is in chinese, keep it like that or it won't work. At first TWRP boot slide right (to allow system modifications).

10) Enable MTP (search inside TWRP you will find it) I've attached TWRP screenshots to help you ;)

11) Move all files to sdcard (twrp-installer-xz2-2c-3.2.3.zip, XZ2_51boot.zip and Magisk-v17.1.zip) if the device isn't available on your computer, unplugged the usb cable once again.

12) Flash XZ2_51boot.zip, twrp-installer-xz2-2c-3.2.3.zip and Magisk-v17.1.zip

13) Reboot (the phone will reboot three times)

If after reboot you've got a message saying that the device is corrupt: Power off device (press volume up and power button until it vibrate 3 times and enter in fastboot mode again (see step 4), then execute command from steps 5 and 6 again.

Then follow steps from 7 again.

If anything goes wrong don't worry, follow step 1 and ask here ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Thanks a ton bro and clearly explained ^^
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for this clear explanation!

But please test step 5 with my hopefully fixed build of M-ROM's OnePlus6 twrp.

So we can see if the shell is working now and the mounting of the partitions is correct.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Stock is already 65Mo you mean that you've got 130Mo?

Once zipped the kernel image will be smaller ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The M-ROM img file is around 30mb big :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
I need kernel + TWRP integrated or I might have to do a clean install once again.

Or I could backup my modded kernel+twrp...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
procedure is valid also for xz2 Compact H8314?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
The size doesn't matter :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Yes for all XZ2 and XZ2C variants but I haven't tested on XZ2C, only on my XZ2 ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's what a guy would say. :P

So I would need to fix every file and if the fix need a patch, I would need to patch every file again.

Untill we found a working solution. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Can you test it and please tell us ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
i thought xz2c is using a different kernel from regular xz2?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Humm good point.

You must do boot.zip by yourself

Use unsin.exe with your XZ2C kernel.sin

Rename kernel.img to boot_exz.img

Open my boot.zip with 7zip and paste your kernel inside existenz/ftf folder

Use that zip instead of xz2 one

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
It would be better that a guy already having purchased the DRM fix to test this fixed twrp build

[MENTION=4530014]VeixES[/MENTION] ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
This should technically also work for xz2p then?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
thanks if I unlock will try this way.

no way to backup the TA right? neither now nor in future? because I'm not sure I will void my warranty for this :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
No and yes it will. Once you unlock bootloader a permanent warning will be displayed on each boot saying you've unlocked it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
I'm watching the discussion unfold and have downloaded MartinX3 twrp. If i get gap in my work schedule then i will do the flash once again. Only got 5h sleep last night because of this topic here :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Woohooooo :laugh::victory:

And sleep well next day :D

Twrp drives me crazy, too. :fingers-crossed:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
We all had a short night I think ;);)

Thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Let me clarify. Should i have MartinX3 twrp also at point 12? There it is in zip form(martinX3 twrp is gzip and .img). Probably could flash twrp as img as well in twrp?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Actually, you need to redo the whole process but in point 5 you have to flash MartinX3's twrp.img instead of M-rom's twrp-xz2-2c.img.

Don't change anything on point 12.

PS: prior to do it, you can do a backup of boot/system/data and copy it on your extSD

Edit: actually, I'm not sure at all for point 12...

[MENTION=6031898]MartinX3[/MENTION], what is the M-rom's ramdisk-twrp.cpio that we have to flash on point 12 ?