[Magisk] nomeata:
v16.2 fails to install on pristine Google Pixel 2

I have a new Google Pixel 2, which I want to root.

I unlocked the bootloader. I did a factory reset, set a PIN, installed MagiskManager-v5.6.3.apk using adb install, then copied the boot.img from walleye-opm1.171019.021-factory-ab7d4133.zip to the device, started MagiskManager, selected the Beta channel, asked it to patch the boot image with Magisk-v16.2, copied the generated patched_boot.img to my PC, flashed it with fastboot flash boot patched_boot.img.

But when I start MagiskManager, it says that Magisk is not installed. – as if the flashing did not happen.

Here is the log:

- Device platform: arm64
- Extracting files
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
KERNEL [16951724]
RAMDISK [7908222]
SECOND [0]
EXTRA [0]
PAGESIZE [4096]
OS_VERSION [8.1.0]
PATCH_LEVEL [2018-03]
NAME []
CMDLINE [androidboot.hardware=walleye androidboot.console=ttyMSM0 lpm_levels.sleep_disabled=1 user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 service_locator.enable=1 swiotlb=2048 firmware_class.path=/vendor/firmware loop.max_part=7 raid=noautodetect buildvariant=user]
CHECKSUM [06d7872c1115299598bcca28db16565110956836]
- Unpacking boot image
DTB [391844]
KERNEL_FMT [lz4]
RAMDISK_FMT [gzip]
- Checking ramdisk status
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Backing up stock boot image
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Compressing to [stock_boot_97153051972caa3ea8ef4774fcc58283fc0452ba.img.gz]
- Patching ramdisk
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Remove pattern [,avb]
Save SHA1: [97153051972caa3ea8ef4774fcc58283fc0452ba] -> [.backup/.sha1]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [etc/recovery.fstab] -> [.backup/etc/recovery.fstab]
Backup mismatch entry: [init] -> [.backup/init]
Dump cpio: [ramdisk.cpio]
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Loading dtbs from [dtb]
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Patch @ 01B8A96E [736B69705F696E697472616D6673]->[77616E745F696E697472616D6673]
- Repacking boot image
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
KERNEL [16951724]
RAMDISK [7908222]
SECOND [0]
EXTRA [0]
PAGESIZE [4096]
OS_VERSION [8.1.0]
PATCH_LEVEL [2018-03]
NAME []
CMDLINE [androidboot.hardware=walleye androidboot.console=ttyMSM0 lpm_levels.sleep_disabled=1 user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 service_locator.enable=1 swiotlb=2048 firmware_class.path=/vendor/firmware loop.max_part=7 raid=noautodetect buildvariant=user]
CHECKSUM [06d7872c1115299598bcca28db16565110956836]
DTB [391844]
KERNEL_FMT [lz4]
RAMDISK_FMT [gzip]
Repack to boot image: [new-boot.img]
KERNEL [16950299]
RAMDISK [8289365]
SECOND [0]
EXTRA [0]
PAGESIZE [4096]
OS_VERSION [8.1.0]
PATCH_LEVEL [2018-03]
NAME []
CMDLINE [androidboot.hardware=walleye androidboot.console=ttyMSM0 lpm_levels.sleep_disabled=1 user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 service_locator.enable=1 swiotlb=2048 firmware_class.path=/vendor/firmware loop.max_part=7 raid=noautodetect buildvariant=user]
CHECKSUM [8a2d692f1d8856ead8456551e6fda53c8dce67a7]
MagiskBoot v16.2(1620) (by topjohnwu) - Boot Image Modification Tool
Cleaning up...

*********************************
Patched Boot Image is placed in
/storage/emulated/0/MagiskManager/patched_boot.img
*********************************
- All done!