Hi I had exactly the same problem as you and I'll explain the procedure to follow, first is what your bootloader is to unlock?
If so, I hope you know how to use ADB / Fastboot!
So you have to download the latest TWRP as well as Disable-DM-verityFECv1.1 and your rom
You start your smartphone by...