[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] matrix_guy:
I'm unable to get magisk installed it successfully for installed in recovery but when I boot into system it says "magisk not installed" tried flashing certain version but nope.

Here's the recovery log if someone can help

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

* Magisk v17.1 Installer

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

- Mounting /system, /vendor

- Target image: /dev/block/mmcblk0p21

- Device platform: arm64

- Constructing environment

- Adding addon.d survival script

Invalid image: not signed

- Unpacking boot image

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

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

KERNEL [11177629]

RAMDISK [1815514]

SECOND [0]

EXTRA [0]

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=userdebug]

CHECKSUM [9d80e91d0e95b8d23330f674fed7e49b3ddd1f10]

DTB [255602]

KERNEL_FMT [gzip]

RAMDISK_FMT [gzip]

- Checking ramdisk status

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- Magisk patched boot image detected

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Restore [.backup/init] -> [init]

Remove [.backup]

Remove [.backup/.magisk]

Remove [.backup/.sha1]

Dump cpio: [ramdisk.cpio]

- Patching ramdisk

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [init] (0750)

Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[false]

Save SHA1: [15fa4398f7fb490d31ff38ef4f4afe2731405ab5] -> [.backup/.sha1]

Loading cpio: [ramdisk.cpio.orig]

Backup mismatch entry: [init] -> [.backup/init]

Dump cpio: [ramdisk.cpio]

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading dtbs from [dtb]

Found fstab in dtb.0000

Found block [vendor] in fstab

Found block [system] in fstab

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

- Repacking boot image

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

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

KERNEL [11177629]

RAMDISK [1815514]

SECOND [0]

EXTRA [0]

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=userdebug]

CHECKSUM [9d80e91d0e95b8d23330f674fed7e49b3ddd1f10]

DTB [255602]

KERNEL_FMT [gzip]

RAMDISK_FMT [gzip]

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

KERNEL [11177629]

RAMDISK [1815514]

SECOND [0]

EXTRA [0]

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=userdebug]

CHECKSUM [9d80e91d0e95b8d23330f674fed7e49b3ddd1f10]

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Cleaning up...

- Flashing new boot image

- Unmounting partitions

- Done

I:Updater process ended with RC=0

I:Install took 29 second(s).

I:eek:rangeFox: installed standard zip: /sdcard/Download/Magisk-v17.1(17100).zip

I:flash_zip: installer code = 0