Device bootloops with Magisk 15.2 flashed either from TWRP or via fastboot on top of a TWRP-ifyed boot image.
If starting from stock Oreo boot image, I can flash the Magisk patched_boot.img and it does boot but has broken wifi just like the SuperSU method. Stuck for now.
UPDATE: Whatever is breaking wifi is not fixed by re-flashing the stock boot.img. Interesting, as other devices have reported the "fix" as flashing a standalone kernel. It seems that on the X4 once wifi is broken by a root method, the only fix is to reflash the entire system partition from stock firmware.
wait even patched boot.img is breaking wifi ? that's weird. im using same method, and wifi is perfectly fine. although i'm on retail moto x4.