yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I do but what I meant was that I'm tempted to buy a regular XZ2 just to help speed up the testing seeing as there's like what, 1 guy with unlocked bootloader and XperiFix.

But if the twrp works I could help test with the XZ2P maybe?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
- Flash boot.zip, a new twrp-installer.zip made by [MENTION=6031898]MartinX3[/MENTION] and Magisk-v17.1.zip

Where can i find that shiny "new twrp-installer.zip made by [MENTION=6031898]MartinX3[/MENTION]" ? I have only the old rusty chinese version.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hihihi, I think he mean I should create one :P

I sent you a new pm with a hotfix of the hotfix of the hack :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=4530014]VeixES[/MENTION]

And again :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
For reference to my previous posts. Twrp did load but no touch.

Waiting for xz2p to be added to open dev project before asking Martin again.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
In 2017 the OnePlus3T had the same problem with the stuck twrp logo.

For these people it worked to do

fastboot format cache

fastboot format userdata

a clean flash will wiping both, too.

So maybe the testers don't need to reapply the entire firmware again.

https://xdaforums.com/showpost.php?p=70660310&postcount=11

Btw. I am preparing a new, hopefully working, build with 10 steps to do.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
05.10.2018

[MENTION=4530014]VeixES[/MENTION]

[MENTION=5231789]nreuge[/MENTION]

(you can skip the part with storm drm)

Maybe instead of a clean flash now only

fastboot format cache

fastboot format userdata

?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
yeahr

Adapting this twrp for XZ2P was quite easy.

But adding the touch drivers will make more work and waiting that sony allows us to look for the touch pad hardware in the service board. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
I will resume testing in 2h. I have my doubts with that permissive.zip
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yeah, I understand you.

And thank you for testing!

But maybe it is the fault of the bootloader.

It could be, that a "fastboot flash" does different things than the "twrp installs kernel and twrp via zip file".

Maybe magisk want's to patch TWRP instead of the stock kernel or such a mess.

At least there is some weird behavior I never saw in the Galaxy S2, Nexus 4, Nexus 6, Nexus 7 2013 Wifi or Galaxy Note 2.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
I'm taking a break from this topic for an indefinite period.

I would have prefered my step by step philosophy...

Just a remark: the drmfix installation should be done at the very end of the process since it patches the boot partition (AFAIK)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, that's sad :(

But thank you for your help in the past! :)

Hmm, according to [MENTION=8363210]sToRm//[/MENTION] it doesn't touch the boot partition but touches the system partition. :confused:

[MENTION=5231789]nreuge[/MENTION]

Wasn't the steps I post not an adaption of your steps mentioned before?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Exactly you need twrp 1st to installed drm by [MENTION=8363210]sToRm//[/MENTION] his program, stands also on his page ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
To execute its shell to manipulate the system partition according to [MENTION=8363210]sToRm//[/MENTION]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
9. Did nothing, but every other step completed. device booted up rooted, but no drmfix. Also twrp was lost and unable to get into it.

Seems many things overwrite the boot(kernel) image, so previous install gets lost.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much.

I missed the to insert the correct sha1 digest base64 hashes for the files inside twrp-installer-xz2-2c-3.2.3.zip into the MANIFEST.MF file.

I fixed it and reuploaded the file. :)

Did you got any warning while installing this file?

Got Magisk 17.1 get installed?

If yes, then the stock kernel installer was successful and the magisk install on the new stock kernel was successful, but not the twrp installer.

if you want to test again [MENTION=4530014]VeixES[/MENTION] ? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
i dont understand what the trouble is, i got it work on the 1st try

my device hasnt burst into flames or called the president of china yet 'chinese drm fix' and all
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8363210]sToRm//[/MENTION] mentioned the old fixes could trigger a bug while in runtime, which could cause to break parts of the device partitions which we can't correct after that.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
so if he doesnt get paid, my device breaks, seems suspicious to me:confused:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Because he needed to modify the drm fix to adapt it for new security changes introduced with the TAMA plattform.

It acts in another way with the system, not modifying the kernel anymore. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] drowningchild:
the "chinese" zip doesnt modify the kernel

sounds like FUD spreading to me
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I only know what [MENTION=8363210]sToRm//[/MENTION] told me.

But the problem at the moment is, that it seems, that the twrp installer [MENTION=4530014]VeixES[/MENTION] installs not installed the TWRP on both slots.

Maybe now after I changed the manifest.mf file...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
OKay, i did the process in different order. Used the re-uploaded twrp-installer-xz2-2c-3.2.3.zip in twrp.

1. Clean flash

2. Fastboot flash twrp-xz2-2c-fixed-fstab-fixed-security.img

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

4. Reboot into recovery

5. Twrp flash stock kernel xz2_51boot.zip

6. Twrp flash twrp-installer-xz2-2c-3.2.3.zip(according to logs it went to both slots)

7. Install drmfix by storm(installs also magisk as last thing and reboots)

Device boots up, there is magisk root, but no drmfix(viewfinder is black). The twrp did not stick either.

But the last 2 things flashed were xperifix and magisk. One of them is succes, but other not. Xperifix logs(attached) tell that everything got installed ok.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you very much!

Seems to be a problem with the drm fix by [MENTION=8363210]sToRm//[/MENTION] , it would be nice, if he look into the logs.

At this moment, I get only a 404 error when I want to open them. The XDA servers are slow.

Can the ramdisk get viewed in a root explorer or viewed via adb?

So we can get sure that it got inserted?

Maybe the twrp installer script has a bug?

Did it output any terminal text in twrp while the twrp installer got installed?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Yes, output was in the twrp window and from there i saw that it installed to both slots. I tried to find the previous recovery log but that might be lost along with twrp.

I'm happy to provide any other logs or files to see what mods were successful and what not.

Just let me know
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Suspicious, exactly the really thruth ;) It's just intimidation...

Where did you get the chinese drm fix ??

Can you send it to me at my paypal donation e-mail ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Can you use your mighty root power to

dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img

or maybe

/dev/block/bootdevice/by-name/boot_a

or

/dev/block/bootdevice/by-name/boot_b

to create a boot.img of your actual boot partition?

I hope it works, I would like to analyze it, to make sure that TWRP got inserted.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Could yes but did he tried it or do he want eveyone buy his drmfix ? I asked to add iDeal but not added yet or a respond :(

I used new files with some old on my xz and xzs and never had an issue or triggering a bug or similar.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Take a look at the recovery log i pulled after twrp.zip install and before xperifix install.

Some complaints in the log

I:operation_start: 'Flashing'
正在安装 Zip 刷机包 '/sdcard/twrp-installer-xz2-2c-3.2.3.zip'
正在检测 Digest…
跳过 Digest 校验：未找到 Digest 文件
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.

########################################## TWRP installer ##########################################Unpacking the installer...Archive: /sdcard/twrp-installer-xz2-2c-3.2.3.zip
creating: META-INF/
inflating: META-INF/CERT.RSA
inflating: META-INF/CERT.SF
inflating: META-INF/MANIFEST.MF
creating: META-INF/com/
creating: META-INF/com/android/
inflating: META-INF/com/android/otacert
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: magiskboot
inflating: ramdisk-twrp.cpio
Running boot image patcher on slot A...
131072+0 records in
131072+0 records out
67108864 bytes (64.0MB) copied, 0.267407 seconds, 239.3MB/s
/tmp/updater: line 64: /tmp/twrp-install/magiskboot: not found
/tmp/updater: line 66: /tmp/twrp-install/magiskboot: not found
dd: can't open 'new-boot.img': No such file or directory
rm: can't remove 'dtb': No such file or directory
rm: can't remove 'kernel': No such file or directory
rm: can't remove 'new-boot.img': No such file or directory

Running boot image patcher on slot B...131072+0 records in
131072+0 records out
67108864 bytes (64.0MB) copied, 0.244690 seconds, 261.6MB/s
/tmp/updater: line 75: /tmp/twrp-install/magiskboot: not found
/tmp/updater: line 77: /tmp/twrp-install/magiskboot: not found
dd: can't open 'new-boot.img': No such file or directory
Boot image patching complete
Done installing TWRP!
I:Updater process ended with RC=0
I:Install took 1 second(s).
正在更新分区详情…
I:Data backup size is 0MB, free: 48079MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Can't probe device /dev/block/sda1
I:Unable to mount '/usb_otg'
I:Actual block device: '/dev/block/sda1', current file system: 'vfat'
…完成
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'install'
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I am only scared to kill a new device I paid for. :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nreuge:
Bro, we own xperia devices since years and indeed never had problems with drmfix

If it works, it works, if it doesn't, it just doesn't... No need to go further, no need to accept intimidations!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It looks like the updated scripts in stock kernel zip and twrp installer zip.

But that is hard to debug if you rely on remote testers. :P

But the DRM fix by storm should edit the system image and that shouldn't be reverted by these 2 mentioned zip files.

[MENTION=8363210]sToRm//[/MENTION] need to fix it.

I paid 19€ for it and others , too.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
I will be on my desk in a few hours. Then I'm all in here. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Woohooooo :silly:

[MENTION=4530014]VeixES[/MENTION] will be your lovely slave :o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
If anyone want to get a github notification of the progress of the bootloader update.

https://github.com/sonyxperiadev/bug_tracker/issues/149
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://github.com/sonyxperiadev/kernel/pull/1688

This pullrequest will be merged, after the 4.9 kernel became stable.

This will be an indicator, that the XZ2 AOSP project will be released.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Patiently waiting for working TWRP, a basis for successful xperifix install :) thank you for your great work
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
That's the thing I mentioned months ago in my thread related to the software. I knew Sony would notice my work and try to change something so that in future firmware versions it's harder to get it fixed. There were developers months ago, copying the changes made by my fix (hex) and fixed other devices with this method. But that's useless in future firmwares, because the code has been changed by Sony. I had to analyse (reverse engineering) the firmware again for XZ2 series and found the relevant parts, so I was able to patch it again for future firmware versions. The old secd file (zip in the wild) should not be used, because it could brick the device (possible changes in TA and communication functions).

I'm sorry I can't tell more about XperiFIX related information here on XDA. Because I already got a penalty from the staff, as I answered questions from users that mentioned me in a thread a few days ago.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
so can you tell us at least if we can really get root safely with your fix (no camera related problems with unlocked bl after applying your fix) and how to do that? i mean, we should really wait for a working recovery to get it to work/apply it? tia and in any case for your great work! ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
What's the reason for that?

Can't you help building a recovery with your knowledge, my money can't wait to get out for your tool...?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FcukBloat:
yes same here can't wait for a good root method for this beast phone
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Building a recovery is not impossible.

The "locked" bootloader makes it impossible until Sony unlocks it with the official announcement. :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Yeah, i know, i follow this story.

It was mostly meant like wishful thinking paired with a bit of joking...?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You evil evil man, you got me! :eek:

We need a joking tag! :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
There were users asking me, if there is a fix for XZ2 and XA2 in upcoming versions of the software. I answered and gave a link to the related blog post, so I don't have to write down the same informations again. My post was reported then, because it's "advertising" a product. Nonsense, but okay... not my circus.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Strange! Advertising for Sunshine (paid app to S-Off/unlock HTC devices) was never a question.

Really strange...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
So I should sell the working version of twrp? :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Better not ???
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I give you a friendship price.

Only 20€.

(Family Members pay more.)

:cool:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Hmm exactly but now Android P is around the corner, does xperifix work also on android p also like [MENTION=6031898]MartinX3[/MENTION] his coming twrp on android p ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] old.splatterhand:
Wouldn't count on this. Even if betas for the xz2 are running, i guess it will be some weeks til we get it.

[MENTION=8363210]sToRm//[/MENTION]

You said, you developed your tool on latest firmware. Today a new firmware is out. What do you think, is it save to install, or is it possible that it can break your fix and we better should wait, if we want be unlocked/rooted?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Until the bootloader got updated with a new monthly patch, analysing previous patches is quiet useless :P

When the bug tracker bootloader issue is "done", I will continue my work on twrp.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
XperiFIX is flexible until the code of some security functions changes in the firmware. But if that happens, I will analyze the firmware again and add patches if possible. On XZP for example, the fix is still working flexible with every firmware version since Oreo is out. There is no need for pre-modded kernels/ramdisks or something like that. It will patch the stock system.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The difference between the stock firmware and the Sony aosp code base.

https://github.com/sonyxperiadev/device-sony-lilac/issues/6

So it could be, that we need two different builds of twrp.

One with the stock kernel and one with the aosp kernel.

Weird, very weird.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Checked some things quickly. I think I found bugs in the TWRP installer. I will have a deeper look and report them. :angel:

---------- Post added at 21:47 ---------- Previous post was at 20:48 ----------
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you! :)

[MENTION=4530014]VeixES[/MENTION]

Could you repeat the steps, but now with [MENTION=8363210]sToRm//[/MENTION] 's fixed twrp installer zip file instead of mine? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Steps repeated, no drmix working. recovery log attached.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8363210]sToRm//[/MENTION]

while looking into the changes of the twrp installer, I see, that you inlined 8 rows into 4 rows in the bash script.

dd if=/dev/block/bootdevice/by-name/boot_a "of=$target"
"$tool" --unpack boot.img
cp -f ramdisk-twrp.cpio ramdisk.cpio
"$tool" --repack boot.img

to

dd if=/dev/block/bootdevice/by-name/boot_a "of=$target" "$tool" --unpack boot.img
cp -f ramdisk-twrp.cpio ramdisk.cpio "$tool" --repack boot.img

and

dd if=/dev/block/bootdevice/by-name/boot_b "of=$target"
"$tool" --unpack boot.img
cp -f ramdisk-twrp.cpio ramdisk.cpio
"$tool" --repack boot.img

to

dd if=/dev/block/bootdevice/by-name/boot_b "of=$target" "$tool" --unpack boot.img
cp -f ramdisk-twrp.cpio ramdisk.cpio "$tool" --repack boot.img

Are you sure that this will really work in a bash shell?

I mean, dd and the execute of "$tool" are different commands.

[MENTION=4530014]VeixES[/MENTION] THANK YOU!

[MENTION=8363210]sToRm//[/MENTION]

After looking into the log

Yes, inlining these commands made errors.

Hmm, we could integrate the stock kernel into the twrp installer zip as new-boot.img file.

But I will optimize this after the drm fix is confirmed to work.

And I would prefer storm drm instead of the already working old drmfix.

btw.

[MENTION=8363210]sToRm//[/MENTION]

when [MENTION=4530014]VeixES[/MENTION] execute your drm fix, the twrp log said that your fix got sucessfully installed.

but he has still no drm fix.

so there should be an error in your drm fix code.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Exactly bro :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
God daaaaamn... WTF I did there ?

Sorry, had no sleep since yesterday.

Was the wrong one. Holy ****...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I know that feeling, hihi ;)

Better look into this log

https://xdaforums.com/showpost.php?p=77805114&postcount=775

XperiFix is telling that magisk and the drm fix got installed. but after booting the device, there is only magisk. :P
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
I will flash 1 more time this evening, then i have to sleep. Early morning wakeup and drive tomorrow.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Please check if there is /vendor/lib64/drmfix.so installed.

If not, then the partition wasn't mounted read/write or something like this.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Shouldn't xperifix not show an error in the logs? :P

[MENTION=4530014]VeixES[/MENTION] What does the root explorer tell you?

Or the terminal or whatever? :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Root explorer does not tell me anything at the moment because i have clean flashed the device... in anticipation that there is something to flash in twrp.

I will check afterwards, when you provide me something new :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
OH, same procedure, flash twrp, install the stock kernel and the xperifix, then reboot into the system :)

You got magisk but no drm fix now.

Now you need the root explorer to look for the file [MENTION=8363210]sToRm//[/MENTION] mentioned. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
storm twrp zip or yours?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
you don't need the twrp installer, I need to fix it :D

1. Clean flash

2. Fastboot flash twrp-xz2-2c-fixed-fstab-fixed-security.img

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

4. Reboot into recovery

5. Twrp flash stock kernel xz2_51boot.zip

7. Install drmfix by storm(installs also magisk as last thing and reboots)

after that you got a rooted magisk firmware, buuut no drmfix

then you need to look for /vendor/lib64/drmfix.so and report it to [MENTION=8363210]sToRm//[/MENTION] :)

With 'ls -lha' in the terminal, you will see the size and the ownership of the files. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
here ya go.

H8266:/vendor/lib64 # ls -lha drmfix.so
-rw-r--r-- 1 root shell 35K 1970-05-02 20:59 drmfix.so
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=8363210]sToRm//[/MENTION]

There is the file, the xperifix got successfully installed

(HORRAAAY A WORKING TWRP! SUCH A NICE STEP TOWARDS FINISHING THIS TWRP PROJECT! I AM SO EXCITED! THANK YOU!)

but it doesn't fix the problem, while the "old" drm fix helps.

What's to do now, [MENTION=8363210]sToRm//[/MENTION] ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Sleep :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sleep well, I need to do the same :)

And I hope [MENTION=8363210]sToRm//[/MENTION] will sleep well enough to help us without letting the world burn. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
How you will recognize the drm fix then ? Lol if you flash/install it and then open camera and enable object tracking and it works then drm is installed..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please follow the thread conversation. :)

We are now trying to find a solution, why the xperifix doesn't work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Yeah sorry my bad bro :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Hahaha... Sleep? Dafuq is that? :cowboy:

Can you please post the content of /init.rc file in root dir while Android is running (after XperiFIX)?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
[MENTION=8363210]sToRm//[/MENTION]

Here you go... :p

Ah, if you still have problems with downloading attachements:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Thanks! Is that after using XperiFIX (installed drmfix.so file) like mentioned?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
Yep!

Edit: If you mean

Yes, it is!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
After using XperiFIX there should be /vendor/lib64/drmfix.so

You can check it with a root explorer while Android is running.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Klaus N.:
See my post above yours: Yes, it is.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Okay, I think I know what's wrong with this. Let me check it later. Will be a long night haha...