yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
Xz2c returns to other people. The only thing that can be done now is this twrp.

I borrow xz2 when I have time.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's only a setting which needs to be switched.

You like to use "!!" And repeat already answered questions, Don't you?

:silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
You still need 9.0 ko
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Of course.

Open the vendor sin and exchange the drivers.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Here's stock Pie kernel inside a zip ;)

https://drive.google.com/open?id=1HFE_T7Y0bCpBCZC__kNYC6DYRex7xbn4
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you :)

But I will still need to redownload the complete firmware this evening to update my device :o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Sorry and my bro was faster then me lol
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janolucero:
Hey [MENTION=6031898]MartinX3[/MENTION] are you gonna update the twrp? i can test it on xz2 compact :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Evening, after Work :D

(+2:00 Timezone)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
XZ2C new vbmeta and new boot img zipped.

https://drive.google.com/file/d/1CgdHCS5CJYaSg16Fvu5GgQQza5eoLYzK/view?usp=drivesdk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

Redownloading the Firmware + redownloading Sony AOSP because of build error....

Please report ASAP if the XZ2P firmware got released.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] pablo19921989:
also works for the dual sim model? Thank you!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It doesn't matter which firmware you have.

The entire time I used the German dual SIM firmware for the twrp. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hary232:
you might wanna erase your serial number
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
****, thx!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

TWRP is working for the XZ2 (XZ2C will come and of course the XZ2P after it got upgraded.)

What is weird now, it doesn't accept my decrypt password.

That's no problem, you can click cancel and still install stuff.

Only the userdata partition is encrypted and can't be used.

After I rebooted into TWRP again for magisk and then rebooted into the normal system -> First boot hang in Xperia Animation -> Crash -> Restart and this worked. Now I am in my system with root.

I uploaded the XZ2 files (new download link in third post) -> feel free to test.

I wil lnow figure out why the **** it doesn't accept my decrypt PW and remove again the ****ing bloat apps with titanium backup.

BTW:

My camera preview still works without any fix.

Edit:

I will write the not working decryption on the buglist, together with the deactivated MTP...

Now I will work on the XZ2C!

Edit:

After I rebooted from the SYSTEM into the TWRP again, I can't boot the SYSTEM again -> BOOTLOOP.

So I went into TWRP again, reinstalled the stockkernel installer, the twrp installer, rebooted into TWRP and reinstalled MAGISK.

No Luck. It killed the userdata partition.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Bro [MENTION=6031898]MartinX3[/MENTION]

Was that issue also on oreo or only at pie now when you rebooted and after that reboot, it's boots normal and is it now in English and can we flash from SD card (external memory)?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Don't use it, it has encryption problems and killed my userdata
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Oke hopefully you can fix it bro
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
:silly:

fastboot format userdata

:silly:

did not worked!

I was in the need to entirely reflash the device with newflasher,

only reflashing the bootpartition and userdata did not work.

Maybe the system got faulty, too?

Or because I did remove too many bloat apps before.

That was weird, very weird.

But I was scared that I bricked my device.

Maybe the userdata did not got killed, maybe I removed too many apps with titanium backup.

I will test this ASAP!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aaaaaaaaand I can still use the camera preview. WTF?!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] twistedddx:
Did you ever see on your device the camera preview not working?

Eg did you install drmfix on first boot after unlock?

Maybe camera issue is resolved in a firmware update by Sony?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It didn't worked before I installed the drm fix long time ago straight after unlocking the bootloader and getting twrp to work.

It this drmfix isn't anymore part of my device since a few installations and formattings and wipings.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

I still can't decrypt my userdata.

Changing the kernel and drivers is not enough, I also need to recompile it for TWRP 9.0, instead of using the 8.1 RAMDISK.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

It did not corrupt my userdata.

I am a idiot who removed the wrong app in TWRP and killed the system in the systempartition on my own..

I think I am not allowed to remove the LOUNGE App or the chinese keyboard or something like this.

But of course it can't decrypt the new encryption format of Android 9.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
See my pm ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Oke and now all works bro or need to wait a little ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Until now I can reboot like I never rebooted before. :silly:

TWRP and MAGISK are niiiiiiiiiiiiice. :silly:

I think you can test it.

I think hardly that the softbrick was my own fault, because I removed the wrong system app with titanium backup. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Bro, btw, "hardly" means "kaum" :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I eeehhh am very sure, that the softbrick was my fault? :eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
13.10.2018
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It feels like removing "bloat" will now easier trigger a bootloop in pie.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] twistedddx:
I assume you want the word "firmly", meaning it is totally your fault.

Hard and firm are so similar but hardly and firmly are so opposite. English language is all one off random rules :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you!

Yes, I know, I only missed the 3. Step with the dtbo.img, because I thought, I don't need it.

The A/B device XA2 has a twrp boot.img for "Fastboot boot" which doesn't need to get a dtbo.img first.

Also, they uploaded a kernel build.sh script in the aosp repo.

The Tama Plattform is still not included in this script, but will be in the future.

This will speed up the development, we can then get rid of our hacky build.scripts.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janjan:
Here is my build- based on latest security patch August. Software version 51.1.A.4.265. (Only for H8266). I will build for H8216 and H8314 when ever I have free time.

If anyone want to try it then remember to take a backup before flashing. The kernel is patched..it means it is ready for root. You just need to install the magisk manager apk

As always I also attach the Stock boot image in case if it doesn't boot at all.

adb devices
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot reboot

https://mega.nz/#!xpwRjBSL!gng-EWe-Y2LNQBdAeUeFYPjFSdeSte-LuMva5fnZuNQ

---------- Post added at 12:24 PM ---------- Previous post was at 12:22 PM ----------

Yes. Devices with A/B (seamless) partitions needs to boot from fastboot mode in this case there is no need of dtbo.img.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you!

Yes, but that's the problem.

My twrp build doesn't boot with "fastboot boot".

With the compiled stock kernel or the compiled aosp kernel.

Getting a log is impossible and the Sony developer said we need the bootloader update.

But I hope I can extract the boot.img, attach the twrp ramdisk, make a new boot.img and someone can successfully boot it with the dtbo.img.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mirhl:
When did sony start to support boot command? I thought only flash always worked.

Also, jerpelea.. maybe had his mind into some whatever other "proper" method?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe he tried to tell us, that the bootloader update will implement the "boot" command support.

But then the only method to try my twrp builds is to flash boot and dtbo.

Weird.

The XA2 supports the "boot" command according to the twrp page.

But maybe the XA2 received this bootloader patch in the past.

I try to make a new twrp build this evening with the dtbo.img in mind.

This is a try and error journey and I want to have success. :silly:

[MENTION=4620038]yanke928[/MENTION]

[MENTION=9286795]spirit-eh[/MENTION]

Does the last august boot.img and dtbo.img work, which [MENTION=490110]janjan[/MENTION] did compile ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
These commits stir up the anticipation.

https://github.com/sonyxperiadev/vendor-sony-kernel/commit/8a8bfff666f5dd27edb7748d3d75695e4a163a41

https://github.com/sonyxperiadev/vendor-sony-kernel/commit/0cbe8eff8187eadc9e1541faf10052609a252834

https://github.com/sonyxperiadev/vendor-sony-kernel/commit/0064c28bb3aa115b3ced0ec1bc3f0c1feb4a3c52

https://github.com/sonyxperiadev/kernel/commit/cd2c457ebc16604a483e178ca5cc23aecae8da20

https://github.com/sonyxperiadev/kernel/commit/7258eab04091e5645c11916fab092d1f1faea0c7

Btw.

Android P will only be delivered with kernel 4.9, which got introduced by our Tama devices (XZ2, XZ2c, XZ2P).

But I hope they switch to the lts kernel 4.14 soon.

Kernel 4.9 reaches end of life in up to 6 months.

I also hope we will run the 4.19 kernel in the future, which has a native support for our SMD845 chipset. :cool:

I hope the XZ2 and the XZ2c are officially supported by Sony AOSP next week. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Good luck!! And thanks to your efforts!! :fingers-crossed:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
I think this should be the problem of my model H8296, even the stock kernel inside the XZ2-akari-H8266.zip behaves the same as post #38. However, even after I restore the whole system and ONLY flash stock_boot.img inside the package, it still won't boot. If there is no other problem, I strongly guess H8296 & H8266 doesn't only differ from their RAM sizes, or their images are not compatible.

---------- Post added at 04:51 PM ---------- Previous post was at 04:50 PM ----------

Or maybe I should flash stock ROM for H8266 and try if it boots?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Weird, I am running the H8266 stock firmware on my H8296

Did you flash the dtbo image?

adb devices

adb reboot bootloader

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot reboot

Did they both fail to boot?

Here are the links

July

https://mega.nz/#!xpwRjBSL!gng-EWe-Y2LNQBdAeUeFYPjFSdeSte-LuMva5fnZuNQ

June

https://mega.nz/#!Eo5B0QBA!I3rGxjU-u6A1Td8NByDvz5b_X6Q3OFUUOOFMjb_ttxc

Oh, the filename of you "August" build

[MENTION=490110]janjan[/MENTION]

The 265 is the July update

Or did you name it wrong?

I don't know if this device can run the July update, after the firmware upgrade to August

August version

51.1.A.11.26

[MENTION=4620038]yanke928[/MENTION]

Yeahr, that would be nice, if you could try it with the H8266 Stock firmware.

The one with the 265 is the one, [MENTION=490110]janjan[/MENTION] compiled it for.

Maybe it works with 51.1.A.11.26, too. :eek:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yanke928:
I tried two situations:

1.flash both dtbo.img and boot.img of inside customized kernel folder.

2.After a whole system restore, flash stock boot image inside the XZ2-Akari-H8266.zip.

They both didn't boot.

BUT!! Maybe I'm too stupid since I'm still running on H8296 firmware on H8296, I'm downloading a H8266 firmware and use newflasher to give it a try.

---------- Post added at 05:21 PM ---------- Previous post was at 05:02 PM ----------

I’ve just tried "H8266_Customized HK_1313-2476_10229_R1A", oddly it doesn't have any version code such like "51.1.A.4.265", these sort of thing. But I flashed it (without appslog_X.sin diag_X.sin Qnovo_X.sin ssd_X.sin userdata_X.sin to keep my data), and it didn't boot. Then I tried those two above, no boot.

I checked from XperiFirm, seemed there is only Central Europe version for H8266 has a firmware labelled with "51.1.A.4.265". I'm will download this one and try again.

If there is any conflict in my userdata partition (operated by H8296 firmware) and the H8266 firmware, this could happen. Hope this isn't the situation because I won't be able to verify it anymore if it requires a totally clean up (I want to keep my data anyway).

---------- Post added at 05:45 PM ---------- Previous post was at 05:21 PM ----------

This time "H8266_Customized CE1_1313-3193_51.1.A.4.265_R7A", the stock firmware itself boots fine. But both attempts in "XZ2-akari-H8266.zip" failed like post #38. Back to square one, seemed the H8296 firmware didn't play any role in this problem.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you!

Your h8266 system had version 265 and the [MENTION=490110]janjan[/MENTION] 265 build did not work?

Maybe we really need the bootloader update for the stock kernel.

I will continue the twrp work, after we successfully boot our first normal bootimage.

:(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janjan:
Umm..strange. I am going to remove all my modifications and try to compile again. Which device and firmware should I build for?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
51.1.A.11.26

:)

One build with modification and one build without would be nice. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janjan:
And which device. I mean which model H8216 or H8266?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
I don't know if it helps, but...

There were a lot of users reporting issues with my software after using Flashtool to flash the firmware. With Newflasher there were no problems. Maybe you should give Newflasher a try for your development devices.

You say that TWRP doesn't boot with fastboot boot command? Does it not boot anything or does it stop with black screen? The XZP and XZ1 devices had the same problems. But I was able to fix it directly in the recovery ramdisk. There was a libmintwrpui file (can't say it sure, because I'm on my phone now without a pc here) that I patched then. After that it was able to boot with fastboot boot command. Maybe this can help.

Just my 2 cents...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
H8266 could be fine

H8296 is impossible, or?

But we can install the H8266 firmware on our H8296.

Like I did.

If you have time, a h8216 build would also be nice.

So [MENTION=4620038]yanke928[/MENTION] can test every single build. :)

I hate this DRM **** preventing me testing it myself.....
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for your 2 cents!

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

Is this the behaviour you saw in the past? :)

But it looks like [MENTION=490110]janjan[/MENTION] build without twrp did not boot, too. :confused:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janjan:
Here is a new build for XZ2(H8266)-51.1.A.11.26

https://mega.nz/#!V5p1jLSK!Z1RMcj-N5swZpjzGCq5BTNaJJXCbdeesQvijvV2-cCc
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Tak for din indsats! :silly:

[MENTION=4620038]yanke928[/MENTION], could you try it with the 51.1.A.11.26 firmware? :)

I don't know if it matters if you installed a H8296 or H8266 51.1.A.11.26 firmware before.

adb devices
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot reboot
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Mmmh... No, that's not the same behavior. In my case there was a black screen while trying to boot into TWRP with fastboot boot command. But if the led blinks red, and the system got a bootloop, it should be a denied boot by avb or something like this.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
xD

FIRMLY MY ****ING FAULT!

SINCE PIE I CAN'T REMOVE A SINGLE ****ING BLOAT APP WITH TITANIUM BACKUP!

That's extremely weird.

But I am lucky, that I only need to reflash system, instead of wiping the userdata.

I tried it only with the 2 amazon apps and the virus protection.

But I can still deactivate them.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
A question is if I flashed the twrp, can I restore the vanilla system in the future? Then the mobile phone can still get the official OTA update.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I've downloaded all your files for pie.

So, what are the exact steps to update from Oreo (root+twrp) to Pie (root+twrp) ?

Thanks in advance :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] boringpie:
Hi, I am following the rooting instructions in the sticky post. I am up to the step "TWRP drmfix (Optional)". What does this step mean? Is that the same as using Xperifix?

Also, how do I fix the camera?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe with a drmfix the ota will work.

:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can make a new install with flashing the img file and so on

Or switch the slot in fastboot and install the twrp installer zip, then switch the slot in twrp boot menu, restart into recovery and install magisk :)

Don't forget vbmeta in both solutions :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's XPeriFix after my testing together with storm finished :)

There is no other drm fix as storms.

A old "free" version by storm and shared by someone who wants hard work for free....... for the previous device which maaaaaaay brick the device during a longer usage period.

And the buyable xperifix by storm adapted for the new security of this device.

(Wait until I post a status, storm is busy and testing the xperifix betas a bit slow )
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Yoannjap:
OK, but you don't have to newflash a Pie firmware before flashing kernel and twrp?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
At my site, I can't use the ota updater.

So I switched the slot with fastboot and installed the pie firmware in the "older" slot with newflasher.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Maaay brick yes but like i said 10 times.. Never happend on my xz so just a rumour because its never happend to me bro
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
A XZ has not the same security environment like the XZ2.

You can't compare a denuvo protection for FIFA 15 with the next generation denuvo protection in Mass Effect Andromeda.

They could also include some counter fix algorithms.

Or it is only 99% compatible and the other1% will **** your device after a month usage.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Yoannjap:
If I understand, I do this :

* Recovery mode,

* Then switch to slot b with fastboot

* Then install pie with newflasher (and it will install it logically on slot b?)

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

* fastboot set_active other

* Reboot into RECOVERY

* TWRP flash twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip

* fastboot set_active other or switch the slot via TWRP

* Reboot into RECOVERY

* TWRP flash Magisk-v17.1.zip

* TWRP drmfix (Optional)

* Reboot into SYSTEM

* Magisk App -> "Module" flash permissive.zip (Optional)

* Reboot into SYSTEM (Optional)

Ànd is that make me loose my user data?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Third post in thread.

Quoted as "Update after OTA stockfirmware update or usage of newflasher" :)

It won't kill your userdata :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Yoannjap:
Thank you. But just for the install with newflasher, I first change to slot b before installing pie with newflasher?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, before every system update with newflasher, change the slot with fastboot.

Only the OTA updater changes automatically the sluts. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
1. fastboot set_active b

2. flash the new FW with newflasher (remove userdata_XXX.sin first)

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

4. fastboot set_active other

5. Reboot into RECOVERY (Power + VOL DOWN)

6. TWRP flash twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip

7. fastboot set_active other or switch the slot via TWRP

8. Reboot into RECOVERY

9. TWRP flash Magisk-v17.1.zip

Is this correct ?

And later, if I want to go back to Oreo, I just need to restore a backup boot/system/data in twrp ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
fastboot set_active b

would be right

but

fastboot set_active other

switches the slot, so you don't need to know which was the active one.

and redownload the new twrp installer.

and yes, userdata should be updated, if you want to switch back.

i don't know if they will be backward compatible.

Also PIE changed the encryption ( to a better one?).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
Martin I've read that pie decryption support has been added since twrp 3.2.3-1, maybe using this new source as base for porting will fix the problem?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
yes, thank you. :)

I planned to add this later, after doing my own work. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Thank you, but I heard that the BL cannot be relocked if flash a custom recovery such as twrp.

Is it true?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
If you unlock the bootloader, it is unlocked forever :)

Maaaybe someone hack the ta partition.

But that's very unlikely :)

But you get root, TWRP, stock room modifications or you can install a custom rom, like treble GSI images or the AOSP i am providing for the xz2. :)

And of course, you will be able to restore the camera, after xperifix confirmed working. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
It was a disaster :eek:

Pie Update or new fresh install led me finally to bootloops...

Finally, to restore my twrp oreo backup, I've had to redo a new fresh install of oreo.

Well, backup restored, not totally a disaster but many lost and lonely hours :laugh:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh ****.

Sorry!

So maybe its better to do the manual vbmeta and flash img file after newflasher update on a brand new android version :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Follow niaboc his instructions bro, did the same and all good :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Or the "new installation" instructions on the third post. :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Lol yes and uninstall bloatware use root explorer and not titanium back up, that already gave issues on Oreo
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Good to mention that, bro :good: But it's also important to mention, that it's not enough to delete an system app inside /system/app or /system/priv-app. You always have to delete the corresponding folder in /data/data, ofc!

This is related to system apps in particular!