MTK SP Flash Tools All Error Solution
This page collects common MTK SP Flash Tool errors, why they happen and how to solve them, all in one place. Problems with SP Flash Tool come up often when flashing MediaTek Android phones, so the guide first explains the USB modes an MTK phone uses to connect to the PC, then lists the most common error codes, and ends with a step-by-step order of flash tools and options to try when flashing keeps failing.
MTK Connection Modes
An MTK phone can connect to the PC in several modes. Knowing which one is active helps you find the cause of an error.
BootROM
In Device Manager this mode usually appears as MTK USB Port with PID 003.
To connect the phone in this mode you need a key combination, such as Volume Up + connecting the cable, or Home + connecting the cable. Keep trying until you find the right key for your phone. Sometimes a special cable or test points are needed to reach this mode.
Preloader
In Device Manager this mode appears as MediaTek USB VCOM with PID 2000.
This is the most common mode on MTK Android phones. When you flash with SP Flash Tool and connect the phone to USB, it connects as preloader. Installing drivers in this mode can be difficult because the port disappears quickly, so install the driver with an EXE-based installer instead.
DA_HIGHSPEED
In Device Manager this mode appears as MediaTek DA USB VCOM with PID 2001.
When you flash, the phone first connects in BootROM or preloader mode. As soon as SP Flash Tool detects it, the tool tells the phone to switch to DA high-speed download to load the firmware. It is therefore always worth checking your drivers when flashing with SP Flash Tool: if the tool shows an error after the first red progress line, check the DA drivers.
How to Disable DA Download All
Turning off DA Download All sometimes helps avoid errors on phones with MTD (NAND) flash. In the latest versions of SP Flash Tool this cannot be done from the menu, so edit the file platform.xml in the SP Flash Tool folder instead.
- In the section for your phone’s platform, change the keys
usb_download_supportandda_dl_all_supportfrom"true"to"false". - After the change, click Download, connect the cable to the PC immediately, and wait until the process finishes.
Warning: this only works if the preloader and dsp_bl blocks are not ticked. If you need to flash those blocks, set the keys back to true.
SP Flash Tool Errors and Why They Occur
1. S_UNSUPPORTED_OPERATION (1040)
The scatter file does not fit the phone. For example, the scatter file is for MT6577, but the phone is actually an MT6573.
2. S_DA_EMMC_FLASH_NOT_FOUND (3144)
Besides hardware problems, this error can appear when the scatter file is not for this phone. For example, the scatter file is for eMMC flash, but the phone actually has MTD flash.
3. S_BROM_CMD_STARTCMD_FAIL (2005)
On phones with MTD flash, this error occurs in three cases:
- You select Download with the preloader or dsp_bl block unticked. Use the right SP Flash Tool version for the phone, such as v2.xxx for MT6573 phones, or turn off DA Download All.
- You select Download with the preloader or dsp_bl block ticked. Untick these blocks. If they must be flashed, connect the phone in BootROM mode.
- You select Readback, Format or Memory Test. Connect the phone in BootROM mode.
4. S_FT_READBACK_FAIL (4009)
Besides read errors on the phone, the same error appears for file system problems on the PC, for example when there is not enough disk space for the file or the file cannot be overwritten because it is locked. Check the log to find out which one it is.
5. S_FT_NEED_DOWNLOAD_ALL_FAIL (4050)
The block sizes in the PMT (the partition table on the phone) and in the scatter file do not match. Look at the BROM_DLL line in the log, for example:
Partition 13 (USRDATA) size changed from 0x0000000000000000 to 0x000000000B620000
This error can appear after a faulty scatter edit made while fixing error 8038. To fix it, flash with SP Flash Tool using all blocks, or only the userdata block, so that the size in the PMT is corrected. Instead of the entire userdata block, you can flash userdata_nvram_only.img from your own backup, or a dummy file.
6. S_DL_PC_BL_INVALID_GFH_FILE_INFOR (5066)
The files are wrong. For example, you chose a scatter file in a folder whose files have not yet been prepared for SP Flash Tool. Select the scatter file in the folder that contains the prepared files.
7. SP Flash Tool error 8038
This error occurs on phones with the old type of scatter file (MT6515 / 16 / 17 / 73 / 75 / 77 / 89) when the names and locations of the blocks in the scatter file differ from the table inside the phone (PMT). Open SP_FLASH_TOOL.log and look for the line with NOT MATCH. Example:
NandLayoutParameter :: CompareIsNandLayoutMatched (): NOT MATCH: load item key (CUSTPACK2), value (0x3444000), target item key (CUSTPACK), value (0x3444000)
In this example, rename CUSTPACK2 to CUSTPACK in the scatter file. If there are several differences, the error keeps appearing until the edited scatter file is identical to the PMT. You can fix it by comparing the two tables shown a little above the NOT MATCH line in the log: the first comes from the scatter file, the second from the phone’s PMT. Every block name in the scatter file must be the same as in the second table.
Edit the scatter file carefully. Change only the names and keep the original number of lines. Some people accidentally remove a line break so that the line with the block name ends up on the same line as a brace. SP Flash Tool then sees this block as missing from the PMT and writes it, and restoring the table afterwards takes a lot of effort.
Error list posted by Rahul_Bhutani (Super Moderator), collected from GSM-Forum.
What to Try When Flashing Keeps Failing
If you still get errors, work through these flash tool versions and options in order.
Step 1: SP_Flash_Tool_v3.XXXX.XX
- First try to flash the phone with an SP_Flash_Tool_v3.XXXX.XX version.
- Flash with the Firmware -> Upgrade option.
- If you get an error, flash with the Download option instead.
- Both options are shown in the screenshot below.

Step 2: SP_Flash_Tool_v5.XXXX.XX
If you cannot flash with SP_Flash_Tool_v3.XXXX.XX, use an SP_Flash_Tool_v5.XXXX.XX version.
- Flash the phone with the Download Only option.
- If that fails, flash with the Firmware Upgrade option.
- If it still fails, flash with the Format All + Download option. This option can erase the phone’s IMEI and calibration data, so back them up first.
- The options are shown in the screenshot below.

Step 3: SP_MDT_v3.XXX.XX
If neither SP_Flash_Tool_v3.XXXX.XX nor SP_Flash_Tool_v5.XXXX.XX works, try SP_MDT_v3.XXX.XX.
- Follow the same process as in steps 1 and 2.
- Select the options shown below one by one and try each.

Note: SP_MDT_v3.XXX.XX works well on dead phones and on phones with a dead preloader after a failed flash.
If you followed all of these steps and still get an error, see the original SP Flash Tool problems and solutions thread (GSM-Forum).
Related Guides
- MTK S_BROM_DOWNLOAD_DA_FAIL (ERROR 2004) Solved
- SP Flash Tools For All MTK Device Latest Version
- Mediatek ADB USB VCOM Driver Peck 2016 For Windows 10,8.1,8,7 And XP
FAQ
Why does SP Flash Tool not detect my phone?
Usually the driver is missing. The preloader port appears only for a moment, so install the MediaTek VCOM driver with an EXE installer, then switch the phone off and connect it again.
Is Format All + Download safe?
Use it only as a last resort. It can erase the IMEI and calibration data, so back up first.
Where do I find the cause of an error?
Check the SP Flash Tool log (SP_FLASH_TOOL.log). Errors such as 4009, 4050 and 8038 are explained by lines in this log.
https://droid-developers.com/mtk-sp-flash-tools-error-solution/https://droid-developers.com/wp-content/uploads/2016/10/SP-Flash-Tools-All-Error--1024x560.pnghttps://droid-developers.com/wp-content/uploads/2016/10/SP-Flash-Tools-All-Error--150x150.pngForumHelp & TroubleshootingHow ToSoftware FixSP Flash Tools All ErrorThis page collects common MTK SP Flash Tool errors, why they happen and how to solve them, all in one place. Problems with SP Flash Tool come up often when flashing MediaTek Android phones, so the guide first explains the USB modes an MTK phone uses to connect to...Fahim MahmudFahim Mahmud[email protected]AdministratorDroid-Developers

Leave a Reply