Here is the source code for who wants to learn. https://www.mediafire.com/file/5qph48sxolmfm4h/SPD_Flash_Tool_Source_Code.zip/file