yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Status Update:

My local build supports now MTP.

Will optimize it before I upload it
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
What about decryption? Is it already included then, or will it follow in a future update?

Thanks in advance!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I am working on it :)

Status Update:

I moved the twrp.img into the universal folder

It can be used on both XZ2 and XZ2C

I hope the october XZ2P firmware will be shipped with the same version number/kernel
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Our Titanium Backup who art in heaven,

Hallowed be Thy name.

Thy kingdom come.

Thy will be done on earth, as it is in heaven.

Give us today our daily bread.

And forgive us our trespasses.

As we forgive those who trespass against us.

And lead us not into temptation,

But deliver us from evil.

For Thine is the kingdom,

The power and the glory,

Forever,

Amen
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] serajr:
Magisk bind mounts /system and /vendor in early boot time, so any modifications inside these folders on a running system, eg using apps like root explorer or titanium backup, may end up in bootloop, or even the changes don't survive the next rebooting.

Changes inside these folders (or partitions) must be done while on recovery (twrp) only, like I did with my debloat script for XZ series. I also intend to update its code according to new Pie fw, and release it when I have some spare time.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you!

The weird thing is, that it worked in Oreo.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
That's the one with MTP working? In the Android 9 - ...- Universal folder?

Does that img also work, when I'm still on Oreo?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Its not uploaded, I clean my device files at the moment :)

I will post a news about it, when I upload the 9.0 twrp with MTP :)

to get it to work I would need to extract the old touch drivers and the old kernel into my new img file and into my new universal twrp installer
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
This won't work because after newflasher update from oreo to pie, you will be stuck on the old twrp logo. You must flash new twrp.img first... and then fastboot --disable-verity... etc...

Then you can reboot in recovery.

Anyway, I've also tried newflasher pie fresh install (data wipe) and it ends up in bootloops...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Bro tried the steps by [MENTION=599722]niaboc79[/MENTION] ? I did and they worked for me :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I'll try when I have time ;)

I just want to help...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
So.

You have fresh PIE system.

Started once, so it can update your baseband at the end if the assistant.

Then flashed img twrp.

Flashed vbmeta

booted into twrp

Install stockkernel zip

install twrp zip

reboot into twrp

install magisk

reboot into system

profit

?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
A Titanium Backup Update got released.

May someone wants to remove a bloat app in PIE? :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Yes, ofc - but no system app with TB :silly:

I've already done all things including your step 7. What about step 8. (TWRP drmfix [Optional])? :D

Ok, I'll skip this atm. Let's see what happens...

Edit:

I hope, [MENTION=8363210]sToRm//[/MENTION] 's new XperiaFIX for the XZ2 with Pie will come soon and will be possible, even if I have rebooted into system after step 7.!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can install the DRMFIX ever time. :)

TWRP is persistent. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I am open for help to fix then decryption problem :)

Device Sources are linked in the first post in this thread. :)

I am compiling them with this

https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/tree/twrp-8.1

Minimal Omni Working Tree for support of building a TWRP recovery.

Will now download the entire Omni 9.0 source and build the twrp with it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Wtf, as I try to set up my device, it's asking for my PIN I've used before the fresh install. But it will

not

be accepted!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
[MENTION=6031898]MartinX3[/MENTION]

I think your updated steps (after newflasher OTA update) will work.

Might be I was stuck at twrp logo because of missing step 1.

But finally I won't try to update soon, I'll wait for a working DRMfix (it's very important for me to have the camera at its best...). And I don't see (from the comments in the forum) what is exciting about this Sony Pie...

So, I'll wait :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Ha ha ha, there's nothing to buy for now :D

I remain with Oreo with my working DRMfix :p:p:p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Well, it was my fault: I've debloated too much via TWRP terminal - before setting up my device. This resulted in the aforementioned behaviour :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
The chinese drm fix, you tried it and back up and restore app in settings works ?

---------- Post added at 08:50 PM ---------- Previous post was at 08:50 PM ----------

Use root explorer bro
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
This TWRP build doesn't support pie decryption :)

I work on the problem, but it doesn't break anything.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
I'm already about to do so :)

Thanks for the info - I guess, that's it, because /data/data was almost empty.

I've already set up my device. Now I use RootExplorer, as mentioned by Pandemic...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Still waiting om a fixed twrp bro, you can do it :thumbup:

---------- Post added at 09:01 PM ---------- Previous post was at 09:00 PM ----------

Hope it works ^^ confirm it please bro :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] :
Thread cleaned.

Instead of entertaining known banned members, be better to report them. ;)

Cheers,

Darth

Senior Moderator
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Who got banned this time in this cursed thread? :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Luckily not me bro ^^

How is the progress with twrp ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Omni got downloaded, but tomorrow evening I get the time to continue. :cowboy:

It's only the userdata partition, not needed by magisk or the drm patch. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Update: Using RootExplorer, no problems so far :good:

Titanium Backup now shows 1,88 GB of free space (System-ROM)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Great bro and yes TB give issues like on oreo also

Btw who knows if substratum works on pie now and systemui related things like this theme https://play.google.com/store/apps/details?id=flux.white.substratum ? [MENTION=599722]niaboc79[/MENTION], [MENTION=224920]Klaus[/MENTION]. N [MENTION=5231789]nreuge[/MENTION] ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
when you mention root explore you mean directly deleting system apps from any root file manager, right?

cause i never use TB here, but always delete sys apps via twrp or mixplorer...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yes from system/app and system/priv-app, the entire folder bro
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Thank you very much. Currently, I do not want to root the phone, if it cannot be restored. It may violate the warranty:)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Hi, I found that after I dial *#*#7378423#*#*, it showed yes for bootloader unlock allowed option. I also found that there is a Oem unlocking option in developer options.

My Xz2 is Hong Kong H8296 version, and system version is 51.1.A.11.51

Is this phone secure for bootloader unlocking? Is it still need drmfix patch? Thank you.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yes and no if you flash pie, camera and preview still works :)

Btw to all:

Anyone tried tried lawnchair and lawnstep ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The dynamic vibration sound system works on my phone even without a drmfix since pie.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's my phone. :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
drmfix doesn't work for me... I've tried everything, any suggest? please some xz2 compact user with drmfix can upload secd file patched and secd.bak...?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I would wait for STORM// fixing Xperifix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
But the right question is where is secd file in Android pie? In vendor/bin is missing! This is strange :(, Martin I very need camera preview ...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
The camera preview is present with Pie - without the DRM fix, even though without it we've got the suntory blobs error.

I really hope that [MENTION=8363210]sToRm//[/MENTION] will release the fix very soon. Although I've already bought XperiFIX, I'd reciprocate it with a (not so) little something :p:good:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
The camera preview doesn't work for me in Pie and in Oreo... I've wiped cache and dalvik and I ve tried drmfix
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You used the XZ2C variant in the past?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
yes always
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
decided to unlock today, but im having an issue with the unlock procedure, see attachment.

any ideas?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
I'm rooted now also. I skipped the part with newflasher because it did not want to flash anything...

So i made a factory reset, unlocked bl and followed the steps in post 3.

The phone is rooted now with magisk and permissive but "old drmfix" does not flash. Tried to flash on slot a & b but the files from the fix are not there.

What i have noticed (and i don't know, if it is the same for the rest of xz2 family): twrp is veeerrry dark on my phone. May be related to the factory reset i did, the phone booted into system after the reset with lowest darkness available...

---------- Post added at 21:12 ---------- Previous post was at 21:08 ----------

Have you verified with the cmd fastboot devices that fastboot is connected correctly?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
I have, I've also checked it's unlockable
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
What was the output?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you tried it in the fastboot mode (blue LED) or in the flash mode (green LED) ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
I did it in fastboot mode (blue led)

---------- Post added at 09:03 PM ---------- Previous post was at 09:02 PM ----------

Output? It listed my device if that's what you mean
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
I did yes and yes it did
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Yes

Yes

Yes

Didn't ask me, I'll look into it.

Yes
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
I'd consider to open up a new thread about opening the bootloader of the XZ2/XZ2C, just to stay on topic here. Sorry, only a suggestion... ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Probably a good idea
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Ah yes it did, think I might start from scratch and see how it goes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
I'm out here. Do whatever you want to!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
No comment, FartyParty.

I guess, you haven't heard the final whistle ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Well I fixed it, id got on digit wrong in my imei so I had the wrong code...*face hand* :p
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
:silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's not a childhood.

Please act like adults.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Now I cant flash Magisk

cant mount DATA
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can't mount data is fine. This TWRP doesn't support the new PIE encryption.

Why you can't flash MAGISK?

Please show me the log (advanced tab) or take a picture from it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Here's the log
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you flash stockinstaller.zip and then twrpinstaller.zip before?

Then restarted into recovery and then installed magisk?

And used the newest files from the android 9.0 folder and the newest date?

I can't also mount /data

But I can still install magisk 17.1
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
I did all that, im gonna start from scratch I think
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
yes. because magisk only need to manipulate the boot partition. nothing else.

maybe the system partition for the magisk manager app.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
just wanna check this step

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img <- IMPORTANT OR THE SYSTEM WON'T BOOT!

do I type the --disable-verification etc, or not?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
yes :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
This is what I get ...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please load the r28 Plattformtools for Android 9.0 :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
Done. Thank you very much :D

Lets hope the rest works now.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Now you need to do every step again :P

I made the same mistake :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ionSeven:
All working now ? however WiFi and Mobile Data keep dropping off.

*FIXED*
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
So, this phone is different with other variants?

---------- Post added at 06:13 AM ---------- Previous post was at 06:12 AM ----------

After unlocking, can I still get official OTA?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
No you cant get OTA due unlocked bl then you will brick your device ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] boringpie:
I would like to provide a status update here. I updated the phone to Pie and installed TWRP as per instructions posted by MartinX3. Overall, the phone is working fine. Just wanting to point out a few things.

1. Running dual sim cards + SD card simultaneously:

a) I followed the hack in this youtube site (https://www.youtube.com/watch?v=N3euuZqoETU), in order to install two sim cards and a SD card.

b) However, sim 2 is disabled by default once a SD card is detected.

c) After rooting the phone, I modified the "build.prop" file as per the following instructions. (https://xdaforums.com/xperia-x/how-to/how-to-enable-dual-sim-memory-card-t3664408)

d) Now I have both sim cards working as well as the SD card.

e) One minor issue is that after each restart, the data sim will default to sim 1 even though I set sim 2 as my data sim previously. I have to change this every time I restart the phone. I don't know how to stop the phone from reverting the data sim to sim 1 after each restart.

f) Another minor issue is that the sim 2 signal is sometimes weak, and I don't have a solution yet.

2. Camera screen is black

- After rooting the phone, the camera screen turns black, but I guess this is already a known issue by all of you.

3. Sony Xperia applications not working

- A few Sony apps have also stopped working such as Xperia Assist, Xperia Intelligence Engine, and Xperia Backup. These apps fail to load.

I think issue (1) is just a matter of finding the right settings in build.prop. As for issues (2) and (3), I think a DRMfix is required???

I have already bought Xperifix, so I hope there will be an update soon fixing all these problems.

Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
Martin If everything works fine without any drm fix there is something of strange, maybe we could find it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
2 and 3 needs drmfix :)

I don't know a solution about 1, because this was never intended to work this way.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Only the camera preview and this only because I installed the XZ1 drmfix in the early past once.

(Of course I don't use it anymore and camera still works)

I think that something in the TA partition got changed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Thanks very much.

As a conclusion, my phone can be safely unlocked in developer options. If unlocked, I can still use camera and other Sony features even no drmfix. But OTA is failed.

Is it right?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Bro [MENTION=6031898]MartinX3[/MENTION] can we update to magisk 17.2 without issues and anyone tried it ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I only recommend stable versions.

What is the advantage of using the unfinished beta?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You would need a drmfix
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yes ofcourse and for lawnstep because 17.1 of magisk dont install it so thats why i ask if we can use the beta of magisk 17.2
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Try it :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Oke and any news about fixed twrp ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Work in progress in my short free time :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] SynisterWolf:
Thread cleaned.

Selling software on XDA is not allowed. Anymore talks about this paid software DRMfix will be removed. If you want to offer a free version and post a donation link with it you can but if you want to talk about a paid version it needs to be done off XDA.

You cant come to XDA looking to make money. This isnt what XDA was founded on.

Thank you for your time

Wolf.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Pro Tip:

In TWRP Terminal, you can write

twrp decrypt <your password>

if there is no password dialoge.

But it can't decrypt your data at the moment.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HoneyWorks:
Finally get the Magisk and DRM working on XZ2P.(twrp lost)

Tried M-Rom's twrp.zip for xz2p(also tried zip for xz2/xz2c), which will stuck on twrp logo

Is there anyway make the twrp working? Thanks:cowboy:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You followed the third post?

M-ROM is very much outdated.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HoneyWorks:
I could only find the .img for twrp from your drive (twrp-3.2.3-0-xz2p.img.gz), and it will be lost after flashing other zip files.

And I could not find anything like twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip,

I tried M-ROM‘s one(build #20180728), it seems outdated and not working.:crying:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you also look into the universal folder in the android 8 folder? :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HoneyWorks:
Sony > Android_8 > TWRP_8.0 > Universal > 2018-10-10XXXXX

There are only Magisk and permissive.zip, did I miss anything?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sorry!

Reuploaded!

I accidentally deleted the file.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HoneyWorks:
Thanks! Now it is working perfectly!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You're welcome :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Some one mentioned that if flashed pie, it seems no need for drmfix. Is it right?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Michele2:
For me it s wrong. Maybe tomorrow I m going to backup user data, I m willing to downgrade to 51.1.A.4.265 and trying drm fixing and then upgrading to Pie
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Applied once long long time ago in the past.

Since then the camera preview survived every reinstallation and the pie upgrade.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Thus, my phone is no different with other version?

Only advantage is that I can unlock the phone directly in developer options.

I thought that my phone can be directly unlocked and no harm to any Sony apps such as camera. But it seems it still need drmfix.

Am I right?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The unlock procedure is the same on every phone in the XZ2 line.

Sony has a perfect unlock guide on its website. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Mario.D:
If you enable that option in developer options it wont unlock the bootloader.

It just enable it so you have a option to do it the normal way trough adb.

Skickat från min H8266 via Tapatalk
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
*fastboot
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
How is the camera quality now?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I like the photo quality.

But I don't have the eyes of a professional photographer :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
There should be an improvement over Oreo but I wonder if it's DRM related...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, I don't use any drmfix.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I do know ;)

But I wonder if the DRMless stock camera is worthwhile or if we can find any other camera app (from playstore or any port from xda) performing better...

I'll study this when I have time.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Try opencamera and play with its settings.

But don't activate the camera2api switch or you are limited to 17MP
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Yes Open Camera is still a reference (despite its ugly design...)

Actually 17MP is more than enough... You can do great shots at 8MP and ugly shots at 19MP
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Here's a example picture - made with my XZ2 running Pie, without DRM fix (low-light condition).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Seems fine, the halos are noisy but it's way better than what I got with my Z5 with stock and DRM :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Yeah, looks pretty good - and promising... :fingers-crossed:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bfdream:
Thanks very much.

I have wrong understanding before :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] janolucero:
Hey [MENTION=6031898]MartinX3[/MENTION] can you guide me, im on stock android 9, unlocked the bootloader, and then tried to flash twrp. i can reboot to twrp as you say on new install instructions, but the touch isnt working so i cant continue. You made a quote about not working touchscreens but i cant give that info because i can flash magisk so i can have system logs :/ can you help me please?

i am doing something wrong? is there a way to control screen without touching it?

im using xz2 compact :3