[Sony Cross-Device General] cee43ja1:
Apparently SuperSU 2.79-SR3 is broken for Sony devices, according to this post:

https://xdaforums.com/showpost.php?p=71547605&postcount=375

So, I have tried to switch to PHH superuser. However, using my current patched kernel will result in bootloops. And using a previous kernel version with POC results in no DRM functions. Will attach POC output and dmesg soon

'mshta' is not recognized as an internal or external command,
operable program or batch file.
'mshta' is not recognized as an internal or external command,
operable program or batch file.
'mshta' is not recognized as an internal or external command,
operable program or batch file.
'mshta' is not recognized as an internal or external command,
operable program or batch file.
------------------------------------------------------------------------
Trim Area PoC kernel image patcher by Munjeni @ 2017
------------------------------------------------------------------------

hash:0x655AFB58 calc_hash:0x655AFB58
hash:0x120E966D calc_hash:0x120E966D
hash:0x68A3FBC0 calc_hash:0x68A3FBC0
hash:0xE81278DE calc_hash:0xE81278DE
device: F8331
serial number: [B][COLOR="Red"]EDITED[/COLOR][/B]
drm key: [COLOR="red"][B]EDITED[/B][/COLOR]
Trim area dump is a valid.
Locked bootloader.
Deleting old folder ramdisk if exist...
command ret: 0.
New directory ramdisk created.
Created ouput folder "out"
opening boot.img
boot.img is Android image format.
Dumping to out...
BOARD_KERNEL_CMDLINE androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x23
7 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=16M@0-0xffffffff coherent_pool
=2M enforcing=0
BOARD_KERNEL_BASE 80000000
BOARD_NAME
BOARD_PAGE_SIZE 4096
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET 02200000
BOARD_SECOND_OFFSET 00f00000
BOARD_TAGS_OFFSET 02000000
Done.
No file exist out/boot.img.elf .
Gunziping...
setting up infflate...
infflating...
infflate returned: 0
gzpipe: ok.
unziped: ok.
Extracting ramdisk.cpio...
Runing user script...

Making ramdisk/stufs folder... done

Found android version equal or greater than Marshmallow.

Making ramdisk/init.ta.sh script... done

Found string in ramdisk/init.sony-platform.rc@0750
patching ramdisk/init.sony-platform.rc@0750

installing ramdisk/stufs/TA.img

Found string in ramdisk/init.rc@0750
patching ramdisk/init.rc@0750

Found binary ramdisk/file_contexts.bin@0644
converting ramdisk/file_contexts.bin@0644 to plaintext file_contexts
patching file_contexts
converting plaintext file_contexts to binary ramdisk/file_contexts.bin@0644

Patching ramdisk/sepolicy@0644

Searching for old drmfix and removing...

Adding ua-modem-switcher

making ramdisk/init.uamodemswitcher.sh script... done

dm-verity:
dm-verity is already disabled!

Sony RIC:
Sony RIC is already disabled!

force-encrypt:
force-encrypt is already disabled!

Install Recovery:
No recovery.img! If you need recovery you must find recovery.img for your device
model and put in the same dir with ./ta_poc

Press any key to continue . . .
command ret: 0.
Repacking ramdisk...
ramdisk.cpio done.
Making ramdisk.gz
defflating...
defflate returned: 0
setting up infflate...
infflating...
infflate returned: 0
gzpipe: ok.
gzip: ok.
ramdisk.gz done.
Packing new_boot.img
cmdline="androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.p
ark=3 lpm_levels.sleep_disabled=1 cma=16M@0-0xffffffff coherent_pool=2M enforcin
g=0"
base="0x00000000"
pagesize="4096"
ramdiskoff="0x02200000"
No kernel dt, probably zImage allready have dt appended? Continuing anyway.
making new_boot.img
new_boot.img created.
Done.

Press any key to continue . . .