SP Flash Tool
Flash To Stock Firmware
Download your Stock Firmware. Unzip this file.
Open SP Flash Tool.
Load your Scatter file.
Select the partitions you want to flash.
Press Download.
Connect your device to your computer.
Reboot.
Note: If the Download Agent (DA) does not load automatically, hold Power+Volume Down while the phone powers on.
Firmware Upgrade
If you are stuck with dm-verity and want to remove it, Use the Firmware Upgrade option. This will erase you back to stock specially to allow for removing the verfication issues.
Format All + Download
Under no circumstances should you use Format All, this will wipe your baseband information (IMEI)