[Motorola One Questions & Answers] helloitu:
Well, device bootloader is unlocked and after trying install magisk, the phone can't boot, i just flash a stock rom running these commands:

<step operation="getvar" var="max-sparse-size"/>
<step operation="oem" var="fb_mode_set"/>
<step MD5="dbf272771d89f41981d153dafe2991ac" filename="PGPT" operation="flash" partition="gpt"/>
<step MD5="c98f7a52308d75d0378e7fff690b74a8" filename="preloader.bin" operation="flash" partition="preloader"/>
<step MD5="54264b95885650ef4d641a0012840f84" filename="lk.img" operation="flash" partition="lk_a"/>
<step MD5="5178cb15479e9c05df419cd3f4861186" filename="tee.img" operation="flash" partition="tee_a"/>
<step MD5="9a68979789b47296a767e023d8a88fee" filename="md1img.img" operation="flash" partition="md1img_a"/>
<step operation="erase" partition="nvdata"/>
<step MD5="2db2aac5ca670899cccf7bdec37ba4d0" filename="spmfw.img" operation="flash" partition="spmfw_a"/>
<step MD5="b46e7f1b9ca40d33dfe0a2b987d6df33" filename="scp.img" operation="flash" partition="scp_a"/>
<step MD5="a13640f4a7872c5196c9e5a79c32590b" filename="sspm.img" operation="flash" partition="sspm_a"/>
<step MD5="a627e53271c640d4ce1735ccc6775ebe" filename="cam_vpu1.img" operation="flash" partition="cam_vpu1_a"/>
<step MD5="7c4e3ece0d002120d56251220c835cb6" filename="cam_vpu2.img" operation="flash" partition="cam_vpu2_a"/>
<step MD5="623a68f928862c76cb965f4bd1e5427c" filename="cam_vpu3.img" operation="flash" partition="cam_vpu3_a"/>
<step MD5="43e0c261acce37a784b60e7b7cdc9254" filename="vbmeta.img" operation="flash" partition="vbmeta_a"/>
<step MD5="76dd1e64bf71aa9a3e2e3f5303a1f35b" filename="oem.img" operation="flash" partition="oem_a"/>
<step MD5="806b8d64e8b11bd4c9c0dacedfbc7ff9" filename="logo.bin" operation="flash" partition="logo_a"/>
<step MD5="ba915886970313fe3f5b2f8616a9bb6d" filename="boot.img" operation="flash" partition="boot_a"/>
<step MD5="19cee299062c4d9fc6a1dcbe2bb19d37" filename="dtb.img" operation="flash" partition="dtb_a"/>
<step MD5="0e30583060052df04b9f77bbf4959443" filename="dtbo.img" operation="flash" partition="dtbo_a"/>
<step MD5="a8b3093300b6d7c39e6c7b77a84dccb5" filename="system.img_sparsechunk.0" operation="flash" partition="system_a"/>
<step MD5="65afd7ea3e95c0a084d540da85adbd40" filename="system.img_sparsechunk.1" operation="flash" partition="system_a"/>
<step MD5="52f33dd534af15fac3b9dc76eb89e669" filename="system.img_sparsechunk.2" operation="flash" partition="system_a"/>
<step MD5="d8c3e01e9588b15675171c6f0d128c7e" filename="system.img_sparsechunk.3" operation="flash" partition="system_a"/>
<step MD5="f5f95285c0ea411bdded6609d6804e91" filename="system.img_sparsechunk.4" operation="flash" partition="system_a"/>
<step MD5="fab703c97214f212c4f368ea8868df07" filename="system.img_sparsechunk.5" operation="flash" partition="system_a"/>
<step MD5="20aee3663d8aba2e0870fa1b86e63f52" filename="system.img_sparsechunk.6" operation="flash" partition="system_a"/>
<step MD5="5fd014761125a7783a3b1a97376cfec8" filename="system.img_sparsechunk.7" operation="flash" partition="system_a"/>
<step MD5="78a9e3caea85137ae6f8c000d2aa1f03" filename="system.img_sparsechunk.8" operation="flash" partition="system_a"/>
<step MD5="f731c4bdb1ee305d6646e500a5d4ca55" filename="system.img_sparsechunk.9" operation="flash" partition="system_a"/>
<step MD5="e9a86e148fe2f4461478a47ed7c2bacb" filename="system_other.img_sparsechunk.0" operation="flash" partition="system_b"/>
<step MD5="f86f415a22c7ea33944890dc00e47829" filename="system_other.img_sparsechunk.1" operation="flash" partition="system_b"/>
<step MD5="713bf69057b43ab04158c4d5dadccee8" filename="vendor.img_sparsechunk.0" operation="flash" partition="vendor_a"/>
<step MD5="8c0f78ebf3681a35a5167c16c3f28464" filename="vendor.img_sparsechunk.1" operation="flash" partition="vendor_a"/>
<step operation="erase" partition="userdata"/>
<step operation="erase" partition="metadata"/>
<step operation="oem" var="fb_mode_clear"/>

But the phone still in boot loop, im losing the hope guys, please need help :\

Something that i know so far:

if i run fastboot erase cache:

erasing 'cache'...

(bootloader) erase permission denied

FAILED (remote failure)