[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jetblackcoopers:
Is the photo on Oreo/Xperifix supposed to still be black preview / green picture? Or is it supposed to shoot a normal picture?

I downloaded your H8166_Customized DACHBLX_1316-1570_51.1.A.12.48_R4A.tar.gz and used newflasherv13 to reflash, my phone is the H8166 Dual SIM.

Here's what I did:

-Flash H8166_Customized DACHBLX_1316-1570_51.1.A.12.48_R4A.tar.gz (no files were removed)

-Flash kernel.img from stockkernel-xz2p-installer.zip

-Boot into stock rom (grant permission for usb debugging bridge)

-Go into fastboot and flash twrp & vbmeta

-Reboot into Recovery

-Flash stockkernel-xz2p-installer.zip -> twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip

-Reboot into Recovery

-Flash Magisk-v17.1.zip

-Reboot into System

-Set SELinux Permissive via SELinux Switch

-Xperifix

-Reboot into System

-Open camera, still with black preview and green images

Please let me know if I'm doing something wrong. Below is my Xperifix log.

23-2-2019_01-55-10 ===> Serial: CB512FSCH1
23-2-2019_01-55-10 ===> Get device unlocked info

unlocked: yes
finished. total time: 0.001s
23-2-2019_01-55-10 ===> Get device product id

product: H8166
finished. total time: 0.000s
23-2-2019_01-55-10 ===> Get device firmware info

version-baseband: 1311-7919_51.1.A.12.48
finished. total time: 0.001s
23-2-2019_02-35-55 ===> Push Magisk Flasher

[ 1%] /tmp/magiskflash.zip
[ 3%] /tmp/magiskflash.zip
[ 4%] /tmp/magiskflash.zip
[ 6%] /tmp/magiskflash.zip
[ 7%] /tmp/magiskflash.zip
[ 9%] /tmp/magiskflash.zip
[ 10%] /tmp/magiskflash.zip
[ 12%] /tmp/magiskflash.zip
[ 13%] /tmp/magiskflash.zip
[ 15%] /tmp/magiskflash.zip
[ 16%] /tmp/magiskflash.zip
[ 18%] /tmp/magiskflash.zip
[ 19%] /tmp/magiskflash.zip
[ 21%] /tmp/magiskflash.zip
[ 23%] /tmp/magiskflash.zip
[ 24%] /tmp/magiskflash.zip
[ 26%] /tmp/magiskflash.zip
[ 27%] /tmp/magiskflash.zip
[ 29%] /tmp/magiskflash.zip
[ 30%] /tmp/magiskflash.zip
[ 32%] /tmp/magiskflash.zip
[ 33%] /tmp/magiskflash.zip
[ 35%] /tmp/magiskflash.zip
[ 36%] /tmp/magiskflash.zip
[ 38%] /tmp/magiskflash.zip
[ 39%] /tmp/magiskflash.zip
[ 41%] /tmp/magiskflash.zip
[ 42%] /tmp/magiskflash.zip
[ 44%] /tmp/magiskflash.zip
[ 46%] /tmp/magiskflash.zip
[ 47%] /tmp/magiskflash.zip
[ 49%] /tmp/magiskflash.zip
[ 50%] /tmp/magiskflash.zip
[ 52%] /tmp/magiskflash.zip
[ 53%] /tmp/magiskflash.zip
[ 55%] /tmp/magiskflash.zip
[ 56%] /tmp/magiskflash.zip
[ 58%] /tmp/magiskflash.zip
[ 59%] /tmp/magiskflash.zip
[ 61%] /tmp/magiskflash.zip
[ 62%] /tmp/magiskflash.zip
[ 64%] /tmp/magiskflash.zip
[ 66%] /tmp/magiskflash.zip
[ 67%] /tmp/magiskflash.zip
[ 69%] /tmp/magiskflash.zip
[ 70%] /tmp/magiskflash.zip
[ 72%] /tmp/magiskflash.zip
[ 73%] /tmp/magiskflash.zip
[ 75%] /tmp/magiskflash.zip
[ 76%] /tmp/magiskflash.zip
[ 78%] /tmp/magiskflash.zip
[ 79%] /tmp/magiskflash.zip
[ 81%] /tmp/magiskflash.zip
[ 82%] /tmp/magiskflash.zip
[ 84%] /tmp/magiskflash.zip
[ 85%] /tmp/magiskflash.zip
[ 87%] /tmp/magiskflash.zip
[ 89%] /tmp/magiskflash.zip
[ 90%] /tmp/magiskflash.zip
[ 92%] /tmp/magiskflash.zip
[ 93%] /tmp/magiskflash.zip
[ 95%] /tmp/magiskflash.zip
[ 96%] /tmp/magiskflash.zip
[ 98%] /tmp/magiskflash.zip
[ 99%] /tmp/magiskflash.zip
[100%] /tmp/magiskflash.zip
C:\XperiFIX\DATA\TMP\magisk.zip: 1 file pushed. 27.1 MB/s (4268787 bytes in 0.150s)
23-2-2019_02-35-59 ===> Run XperiFIX Flasher

Installing zip file '/tmp/xperifixflash.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found

XperiFIX by sToRm
################################
# XperiFIX Flasher by sToRm// #
# @ XperiFIX.com #
################################
Installing...

Do some magic...

System partition used
Vendor partition used
Path is: /vendor
Backup system files...
Init patched...

Fix system file...
Do more magic...
Cleaning up...

Whooop! sToRm// did it! :)
Done processing script file
23-2-2019_02-36-25 ===> Run Magisk Flasher

Installing zip file '/tmp/magiskflash.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
************************
* Magisk v17.1 Installer
************************
- Current boot slot: _a
- Mounting /system, /vendor
- Using system_root_image, keep dm/avb-verity
- Encrypted data detected, keep forceencrypt
- Target image: /dev/block/sda36
- DTBO image: /dev/block/sda39
- Device platform: arm64
- Constructing environment
- Unpacking boot image
- Checking ramdisk status
- Magisk patched boot image detected
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
Done processing script file
23-2-2019_02-36-27 ===> Wipe Cache

Unable to find partition for path '/cache'
Done processing script file
23-2-2019_02-36-29 ===> Wipe Dalvik

Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!
Done processing script file
23-2-2019_02-36-31 ===> Reboot...