[Magisk] Mozziliac:
Magisk v12 17-03-16 is not flashing on my OnePlus 3T OOS 4.1.0

*****************************
Magisk v170316 Boot Image Patcher
*****************************
- Mounting /system(ro), /cache, /data
- Device platform: arm64
- Constructing environment
- Found Boot Image: /dev/block/sde18
- Unpacking boot image
MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/sde18]

IMG [AOSP]
KERNEL [12702208] @ 0x80008000
RAMDISK [2419729] @ 0x81000000
SECOND [0] @ 0x80f00000
DTB [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [7.1.1]
PATCH_LEVEL [2017-03]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff buildvariant=user]
COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Checking patch status
bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- Restoring ramdisk backup
bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

! Cannot restore from ramdisk backup
- Finding stock boot image backup
! Cannot find stock boot image backup
! Will still try to complete installation
- Patching ramdisk
bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

grep: init.rc: No such file or directory
sed: init.rc: No such file or directory
sed: init.rc: No such file or directory
bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

Can't open 'sepolicy': No such file or directory
Could not load policy
bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [/dev/tmp/boottmp/ramdisk.cpio]

bad cpio header

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- /data/magisk.img detected!
- Mounting /data/magisk.img to /magisk
- Installing MagiskSU
MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/sde18]

IMG [AOSP]
KERNEL [12702208] @ 0x80008000
RAMDISK [2419729] @ 0x81000000
SECOND [0] @ 0x80f00000
DTB [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [7.1.1]
PATCH_LEVEL [2017-03]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff buildvariant=user]
COMPRESSION [gzip]

Repack to boot image: [new-boot.img]

Compressing to [ramdisk.cpio.gz]

KERNEL [12702208] @ 0x80008000
RAMDISK [2419729] @ 0x81000000
SECOND [0] @ 0x80f00000
DTB [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [7.1.1]
PATCH_LEVEL [2017-03]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff buildvariant=user]
COMPRESSION [gzip]

- Flashing new boot image
3694+0 records in
3694+0 records out
15130624 bytes (14.4MB) copied, 0.152929 seconds, 94.4MB/s
- Unmounting partitions
losetup: /dev/block/loop0: No such device or address
- Done
I:Updater process ended with RC=0
I:Legacy property environment disabled.
I:Install took 4 second(s).
Updating partition details...
I:Data backup size is 1216MB, free: 46809MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done