[Moto G7 Play Guides, News, & Discussion] ForForkSake:
It just doesn't seem to detect Magisk after setup and installing magisk manager.

you can tell right away as when you flash DmVerity, with the files and magisk patched boot image - the installer doesn't detect MagiskSu

I tried a million combinations like adding the files to ramdisk of boot image same outcome every time,

interestingly - if you install magisk zip after formatting.... the installer detects magisk patched.. followed by DmVerity detecting it..

Installing zip file '/external_sd/00May2020/Download/Magisk-2aede977(20407).zip'

Checking for Digest file...

I:Update binary zip

Verifying package compatibility...

Package doesn't contain compatibility.zip entry

I:Extracting updater binary 'META-INF/com/google/android/update-binary'

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

I:Legacy property environment not used in updater.

2038+0 records in

2038+0 records out

2086912 bytes transferred in 0.013 secs (160531692 bytes/sec)

1389+1 records in

1389+1 records out

1423268 bytes transferred in 0.008 secs (177908500 bytes/sec)

Archive: /external_sd/00May2020/Download/Magisk-2aede977(20407).zip

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

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

inflating: arm/magiskboot

inflating: arm/magiskinit

inflating: arm/magiskinit64

inflating: chromeos/futility

inflating: chromeos/kernel.keyblock

inflating: chromeos/kernel_data_key.vbprivk

inflating: common/addon.d.sh

inflating: common/boot_patch.sh

inflating: common/magisk.apk

inflating: common/util_functions.sh

inflating: x86/magiskboot

inflating: x86/magiskinit

inflating: x86/magiskinit64

inflating: META-INF/MANIFEST.MF

inflating: META-INF/CERT.SF

inflating: META-INF/CERT.RSA

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

Magisk 2aede977(20407) Installer

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

- Current boot slot: _a

- Mounting /system

- Mounting /vendor

- Device is system-as-root

- System-as-root, keep dm/avb-verity

- Target image: /dev/block/mmcblk0p41

- Device platform: arm

- Constructing environment

Signature is VALID

- Boot image is signed with AVB 1.0

- Unpacking boot image

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

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9253355]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [daeecdd1c9233387bd2741fbdf3b24383f4e8ed7000000000000000000000000]

KERNEL_DTB [303985]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

- Checking ramdisk status

Loading cpio: [ramdisk.cpio]

- Magisk patched boot image detected

Loading cpio: [ramdisk.cpio]

Remove [.backup]

Remove [.backup/.magisk]

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

Dump cpio: [ramdisk.cpio]

- Patching ramdisk

Loading cpio: [ramdisk.cpio]

Add entry [init] (0750)

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

Loading cpio: [ramdisk.cpio.orig]

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

Create directory [.backup] (0000)

Add entry [.backup/.magisk] (0000)

Dump cpio: [ramdisk.cpio]

Loading dtbs from [kernel_dtb]

Found fstab in dtb.0000

Found entry [vendor] in fstab

- Repacking boot image

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

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9253355]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [daeecdd1c9233387bd2741fbdf3b24383f4e8ed7000000000000000000000000]

KERNEL_DTB [303985]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

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

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9230684]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [f3d63a5a4e9f6f67e798936d24df7514e25d62c7000000000000000000000000]

- Flashing new boot image

- Sign image with verity keys

Cleaning up...

- dtbo image: /dev/block/mmcblk0p43

Loading dtbs from [/dev/block/mmcblk0p43]

DT_TABLE v0

Found fstab in dtb.0000

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0001

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0002

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0003

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0004

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0005

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0006

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0007

Found entry [vendor] in fstab

Found entry [system] in fstab

Found fstab in dtb.0008

Found entry [vendor] in fstab

Found entry [system] in fstab

- Unmounting partitions

- Done

I:Updater process ended with RC=0

I:Install took 12 second(s).

I:operation_start: 'Flashing'

Installing zip file '/external_sd/00May2020/Download/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip'

Checking for Digest file...

I:Update binary zip

Verifying package compatibility...

Package doesn't contain compatibility.zip entry

I:Extracting updater binary 'META-INF/com/google/android/update-binary'

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

I:Legacy property environment not used in updater.

Archive: /external_sd/00May2020/Download/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip

inflating: tools/x86/keycheck

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

inflating: tools/arm/busybox

inflating: tools/arm/keycheck

inflating: tools/arm/futility

inflating: tools/avb/verity.x509.pem

inflating: tools/avb/verity.pk8

inflating: tools/chromeos/kernel_data_key.vbprivk

inflating: README.md

inflating: tools/util_functions.sh

inflating: tools/x86/busybox

inflating: anykernel.sh

inflating: tools/ak3-core.sh

inflating: tools/x86/futility

inflating: banner

inflating: tools/x86/magiskboot

inflating: tools/arm/magiskpolicy

inflating: tools/x86/magiskpolicy

inflating: tools/BootSignature_Android.jar

inflating: tools/chromeos/kernel.keyblock

inflating: tools/arm/magiskboot

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

"*************************************************"

"* DmVerity,ForceEncrypt, and DiscQuota Disabler *"

"* By: Zackptg5 *"

"* Heavily based on the work of: *"

"* TopJohnWu and Jcadduono *"

"*************************************************"

AnyKernel3 by osm0sis @ xda-developers

Installing...

- Chosen/Default Arguments:

Keep ForceEncrypt: false

Keep Dm-Verity: false

Keep Disc Quota: true

- Detecting Root Method...

MagiskSU detected!

- Unpacking boot img...

32+0 records in

32+0 records out

33554432 bytes (32.0MB) copied, 0.237606 seconds, 134.7MB/s

Parsing boot image: [/tmp/anykernel/boot.img]

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9230684]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [f3d63a5a4e9f6f67e798936d24df7514e25d62c7000000000000000000000000]

KERNEL_DTB [303985]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

Loading cpio: [ramdisk.cpio]

Loading cpio: [ramdisk.cpio]

Loading cpio: [ramdisk.cpio]

Extract [.backup/.magisk] to [/tmp/anykernel/config]

- Modifying existing .magisk file...

- Patching fstabs:

/vendor/etc/fstab.qcom

- Patching ramdisk...

Loading cpio: [ramdisk.cpio]

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

Dump cpio: [ramdisk.cpio]

Loading cpio: [ramdisk.cpio]

Create directory [.backup] (0000)

Add entry [.backup/.magisk] (0000)

Dump cpio: [ramdisk.cpio]

Loading dtbs from [kernel_dtb]

Found fstab in dtb.0000

Found entry [vendor] in fstab

- dtbo image: /dev/block/mmcblk0p43

Loading dtbs from [/dev/block/mmcblk0p43]

DT_TABLE v0

Found fstab in dtb.0000

Found entry [vendor] in fstab

Found pattern [,verify]

Found entry [system] in fstab

malloc failed with 12: Out of memory

- Repacking boot img...

cp: '/tmp/anykernel/split_img/kernel' and 'kernel' are the same file

cp: '/tmp/anykernel/split_img/ramdisk.cpio' and 'ramdisk.cpio' are the same file

Parsing boot image: [/tmp/anykernel/boot.img]

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9230684]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [f3d63a5a4e9f6f67e798936d24df7514e25d62c7000000000000000000000000]

KERNEL_DTB [303985]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

Repack to boot image: [/tmp/anykernel/boot-new.img]

HEADER_VER [1]

KERNEL_SZ [10074641]

RAMDISK_SZ [9230676]

SECOND_SZ [0]

RECOV_DTBO_SZ [0]

OS_VERSION [9.0.0]

OS_PATCH_LEVEL [2020-02]

PAGESIZE [2048]

NAME []

CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true vmalloc=300M loop.max_part=7 printk.devkmsg=on androidboot.hab.csv=13 androidboot.hab.product=channel androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]

CHECKSUM [2abba1e7ac92b6164fb0d6cea541a62b05e46e12000000000000000000000000]

Signing with AVBv1...

Done!

I:Updater process ended with RC=0

I:Install took 11 second(s).

Updating partition details...

I:Data backup size is 5MB, free: 22616MB.

I:Unable to mount '/usb_otg'

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

...done

I:Set page: 'flash_done'

nothing detected :(