[Magisk] matwlodek:
Hi,

I have installed Magisk on CM 12.1 Nightly Togari (Xperia Z Ultra), but Magisk Manager shows that Magisk is not installed?

FLASH ROAD:

1) Clear 5.1.1 stock rom

2) TWRP 3.0.2-0 with fastboot flash recovery

3) CM 12.1 Nightly

4) GAPPS 5.1 Pico

5) REBOOT

6) Magisk.zip

What I'm doing wrong? When I launched Magisk Manager before flashing magisk.zip with recovery it showed no root.

Screenshots:

Log:

Installing zip file '/sdcard/Download/Magisk-v13.2.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

Archive: /sdcard/Download/Magisk-v13.2.zip

inflating: META-INF/MANIFEST.MF

inflating: META-INF/CERT.SF

inflating: META-INF/CERT.RSA

inflating: META-INF/com/google/android/update-binary

inflating: META-INF/com/google/android/updater-script

inflating: addon.d/99-magisk.sh

inflating: arm/magisk

inflating: arm/magiskboot

inflating: arm64/magisk

inflating: arm64/magiskboot

inflating: chromeos/futility

inflating: chromeos/kernel.keyblock

inflating: chromeos/kernel_data_key.vbprivk

inflating: common/boot_patch.sh

inflating: common/init.magisk.rc

inflating: common/magisk.apk

inflating: common/util_functions.sh

inflating: x64/magisk

inflating: x64/magiskboot

inflating: x86/magisk

inflating: x86/magiskboot

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

* Magisk v13.2 Installer

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

- Mounting /system, /vendor, /cache, /data

! System installed root detected, mount rw :(

- Device platform: arm

- Constructing environment

- Adding addon.d survival script

- Creating /data/magisk.img

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6ffffffe arg 0x1ad0

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6fffffff arg 0x2

Creating filesystem with parameters:

Size: 67108864

Block size: 4096

Blocks per group: 32768

Inodes per group: 4096

Inode size: 256

Journal blocks: 1024

Label:

Transparent compression: none

Blocks: 16384

Block groups: 1

Reserved block group size: 7

Created filesystem with 11/4096 inodes and 1294/16384 blocks

Total files: 0

Total bytes: 0

- Mounting /data/magisk.img to /magisk

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6ffffffe arg 0x1ad0

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6fffffff arg 0x2

- Found Boot Image: /dev/block/mmcblk0p14

sh: gid=0(root): unknown operand

Bad mode

- Unpacking boot image

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

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

KERNEL [5029560] @ 0x00008000

RAMDISK [5200362] @ 0x02000000

SECOND [0] @ 0x00f00000

DTB [663552] @ 0x01e00000

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=300M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y]

COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Checking ramdisk status

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- Stock boot image detected!

- Backing up stock boot image

/tmp/updater: /dev/tmp/install/common/boot_patch.sh: line 195: tail: not found

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

40960+0 records in

40960+0 records out

20971520 bytes transferred in 0.724 secs (28966187 bytes/sec)

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Compressing to [stock_boot_.img.gz]

- Patching ramdisk

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Dump cpio: [ramdisk.cpio]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

Cannot find the file entry [sepolicy]

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

WARNING: linker: ./magisk: unused DT entry: type 0x6ffffffe arg 0x1ad0

WARNING: linker: ./magisk: unused DT entry: type 0x6fffffff arg 0x2

Can't open 'sepolicy': No such file or directory

Could not load policy

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

open: sepolicy failed with 2: No such file or directory

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [init.magisk.rc] (0750)

Dump cpio: [ramdisk.cpio]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [sbin/magisk] (0755)

Dump cpio: [ramdisk.cpio]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Loading cpio: [ramdisk.cpio.orig]

Record new entry: [init.magisk.rc] -> [.backup/.rmlist]

Record new entry: [sbin/magisk] -> [.backup/.rmlist]

Dump cpio: [ramdisk.cpio]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

- Repacking boot image

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

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

KERNEL [5029560] @ 0x00008000

RAMDISK [5200362] @ 0x02000000

SECOND [0] @ 0x00f00000

DTB [663552] @ 0x01e00000

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=300M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y]

COMPRESSION [gzip]

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

Compressing to [ramdisk.cpio.gz]

KERNEL [5029560] @ 0x00008000

RAMDISK [5270438] @ 0x02000000

SECOND [0] @ 0x00f00000

DTB [663552] @ 0x01e00000

PAGESIZE [2048]

NAME []

CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=300M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y]

COMPRESSION [gzip]

WARNING: linker: ./magiskboot: unused DT entry: type 0x6ffffffe arg 0xfb8

WARNING: linker: ./magiskboot: unused DT entry: type 0x6fffffff arg 0x1

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

Cleaning up...

- Flashing new boot image

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6ffffffe arg 0x1ad0

WARNING: linker: /data/magisk/magisk: unused DT entry: type 0x6fffffff arg 0x2

- Unmounting partitions

- Done

I:Updater process ended with RC=0

I:Legacy property environment disabled.

Updating partition details...

I:Data backup size is 1080MB, free: 10860MB.

I:Unable to mount '/usb-otg'

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

...done