If you built a custom ROM larger than the original system partition size:
SP Flash Tool uses an XML-based syntax because it is: xml file for sp flash tool
If your tool is asking for an XML but you only have a scatter file, download a V5 version of the tool instead. If you built a custom ROM larger than