Here is a guide to the most frequent errors when using the SP Flash Tool with an MT8127 device and how to resolve them.
Flash procedure (conservative)