try using phone xc v6 command line

rename flash file to fs-flash.bin
main file to main-flash.bin

select flash.bat and then it starts flashing

after flashing donot start phone

download custom files and copy them in files_to_phone folder

then select finalize.bat

its easy i done it before