Need help LOCKING a Moto G6 XT1925-13 after restoring stock OS
Install Magisk directly after a factory reset before it boots up and the device will be eligible for OTAs. You use 'fastboot boot TWRP.img' instead of flashing TWRP. Make sure to install Magisk Manager and select options to hide Magisk (2 different options) and reboot a couple times to see the effect.
This works on my Moto G6.