[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ogm_glass:
Cant get twrp installed for xperifix.

Hi,

I have Xperia XZ2 8296. I unlocked it on 51.51.1.A.4.225. And I lost my DRM Keys. So camera preview does not work and video recording lags.

Now I am trying to use Xperifix to fix my camera. In order to use xperifix, I looked up XperiFirm for the supported firmware. 51.1.A.4.265, listed here. (https://www.xperifix.com/downloads/xperifix-latest-version/). But couldn't find it. So I downloaded MartinX3's firmware image H8266_Customized CE1_1313-3193_51.1.A.11.51_R7A.tar.gz from https://androidfilehost.com/?w=files&flid=288265.

So going from H8296_51.51.1.A.4.225 -> H8266_51.1.A.11.51 using newflasher.exe v18. And it did not work. I got bootloop.

Then I tried flashing an FTF file XPERIASITE.PL_XZ2_Dual_H8296_8.0.0_51.1.A.11.26_HongKong, available here https://androidfilehost.com/?fid=1322778262903980387 using sony flashtool v0.9.25 and phone came back alive.

Now tried installing twrp-3.2.3.0 from 2018-10-11_16.20+2.00_51.1.A.11.51, from MartinX3's file https://androidfilehost.com/?w=files&flid=288265.

But got the bootloop. ( wasn't really hoping that it will work )

Again I tried newflasher v18 to flash MartinX3's H8266_Customized CE1_1313-3193_51.1.A.11.51_R7A and voila, I could boot the system. ( I think this had something to do with flashing with sony flashtool )

Then rebooted into fastboot to perform twrp installation steps.

1. fastboot flash boot twrp.img - Works, all good

2. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img ( vbmeta.img from MartinX3's androidfilehost file. )

Getting bootloop.

I tried with stock vbmeta.img from vbmeta.sin using unsin found here https://xdaforums.com/crossdevice-dev/sony/tool-unsin-sin-v3-unpacker-t3128106

No luck either.

Now I am out of ideas. Can anyone please help me getting XperiFix on my xz2 8296?

My fastboot version is

fastboot version 0.0.1-4500957
Installed as D:\Xperia\minimal_adb_fastboot_1.4.3\fastboot.exe

Sony driver version 2.0.10.30036 for Sony sa0118 ADB Interface.

newflasher.exe v18 by Munjeni @ 2017/2019

Boot loader version is 1310-7079_X_Boot_SDM845_LA1.0_O_60

D:\Xperia\minimal_adb_fastboot_1.4.3>fastboot getvar all
(bootloader) unlocked:yes
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4182
(bootloader) version-baseband:1311-7920_51.1.A.11.51
(bootloader) version-bootloader:1310-7079_X_Boot_SDM845_LA1.0_O_60
(bootloader) variant:SDM UFS
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xBFA96C000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xFC000000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:0
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) secure:no
(bootloader) serialno:QV700J0Q1F
(bootloader) serial:d5bcd40d
(bootloader) product:H8266
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
finished. total time: 0.087s