[Magisk] stiffis:
Can't install Magisk v12 with custom kernel

Hello

I can't get Magisk v.12 flashed when using custom kernel. I just get an error 1. It can't find Boot backup. Does Anyone know how to fix this?

Log:

Magisk v12.0 Boot Image Patcher

*****************************

- Mounting /system(ro), /cache, /data

- Device platform: arm

- Constructing environment

- /data/magisk.img detected!

- Mounting /data/magisk.img to /magisk

- Found Boot Image: /dev/block/mmcblk0p17

- Unpacking boot image

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

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

IMG [AOSP]

KERNEL [9103824] @ 0x00008000

RAMDISK [4777303] @ 0x02600000

SECOND [0] @ 0x00f00000

DTB [3448832] @ 0x02400000

PAGESIZE [4096]

NAME [SYSMAGIC000KU]

CMDLINE [console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x3b7 dwc3_msm.cpu_to_affin=1]

COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Checking patch status

MagiskBoot (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- SuperSU patched boot detected!

- Adding ramdisk patch script for SuperSU

- We are using SuperSU's own tools, mounting su.img

losetup: /data/su.img

- Mounting /data/su.img to /su

- Restoring ramdisk backup with sukernel

sukernel v2.79 (ndk:armeabi-v7a) - Copyright (C) 2014-2016 - Chainfire

Loading from [ramdisk.cpio] ...

Removing [init.magisk.rc] ...

Removing [magisk] ...

Removing [sbin/magic_mask.sh] ...

Removing [init.mdm.sh] ...

Creating [init.mdm.sh] ...

Removing [.subackup/0000_init.mdm.sh] ...

Removing [init.qcom.class_core.sh] ...

Creating [init.qcom.class_core.sh] ...

Removing [.subackup/0001_init.qcom.class_core.sh] ...

Removing [init.qcom.early_boot.sh] ...

Creating [init.qcom.early_boot.sh] ...

Removing [.subackup/0002_init.qcom.early_boot.sh] ...

Removing [init.qcom.factory.sh] ...

Creating [init.qcom.factory.sh] ...

Removing [.subackup/0003_init.qcom.factory.sh] ...

Removing [init.qcom.rc] ...

Creating [init.qcom.rc] ...

Removing [.subackup/0004_init.qcom.rc] ...

Removing [init.qcom.sh] ...

Creating [init.qcom.sh] ...

Removing [.subackup/0005_init.qcom.sh] ...

Removing [init.qcom.ssr.sh] ...

Creating [init.qcom.ssr.sh] ...

Removing [.subackup/0006_init.qcom.ssr.sh] ...

Removing [init.qcom.syspart_fixup.sh] ...

Creating [init.qcom.syspart_fixup.sh] ...

Removing [.subackup/0007_init.qcom.syspart_fixup.sh] ...

Removing [init.qcom.usb.rc] ...

Creating [init.qcom.usb.rc] ...

Removing [.subackup/0008_init.qcom.usb.rc] ...

Removing [init.qcom.usb.sh] ...

Creating [init.qcom.usb.sh] ...

Removing [.subackup/0009_init.qcom.usb.sh] ...

Removing [init.rc] ...

Creating [init.rc] ...

Removing [.subackup/0010_init.rc] ...

Removing [init.rilcarrier.rc] ...

Creating [init.rilcarrier.rc] ...

Removing [.subackup/0011_init.rilcarrier.rc] ...

Removing [init.rilchip.rc] ...

Creating [init.rilchip.rc] ...

Removing [.subackup/0012_init.rilchip.rc] ...

Removing [init.rilcommon.rc] ...

Creating [init.rilcommon.rc] ...

Removing [.subackup/0013_init.rilcommon.rc] ...

Removing [init.target.rc] ...

Creating [init.target.rc] ...

Removing [.subackup/0014_init.target.rc] ...

Removing [init.trace.rc] ...

Creating [init.trace.rc] ...

Removing [.subackup/0015_init.trace.rc] ...

Removing [init.usb.configfs.rc] ...

Creating [init.usb.configfs.rc] ...

Removing [.subackup/0016_init.usb.configfs.rc] ...

Removing [init.usb.rc] ...

Creating [init.usb.rc] ...

Removing [.subackup/0017_init.usb.rc] ...

Removing [init.zygote32.rc] ...

Creating [init.zygote32.rc] ...

Removing [.subackup/0018_init.zygote32.rc] ...

Removing [oem] ...

! Cannot restore from ramdisk

- Finding stock boot image backup with sukernel

sukernel v2.79 (ndk:armeabi-v7a) - Copyright (C) 2014-2016 - Chainfire

Loading from [ramdisk.cpio] ...

Loading from cpio:[init.rc] ...

Finding [^# SuperSU:STOCK:]

-Found@1896 [# SuperSU:STOCK:6fc4731fe4244cbe6751d95400f2cf70c47d1e41]

Stock boot image backup missing

! Cannot find stock boot image backup

Updater process ended with ERROR: 1

I:Legacy property environment disabled.

I:Install took 2 second(s).

Error installing zip file '/external_sd/Magisk-v12.0.zip'

Updating partition details...

I:Data backup size is 15557MB, free: 2885MB.

I:Unable to mount '/usbstorage'

I:Actual block device: '', current file system: 'vfat'

...done