Tuesday, 15 August 2017
How to use SP flashtool For MTK chip and their error solutions
How to use SP flashtool For MTK chip and their error solutions
Files to download
MTK preloader driver (wait for 5 secs and skip ads)
Sp flashtool 5.1428 (wait for 5 secs and skip ads)
after download,install drivers first
extract mtk preloader driver and install like this

click next

now extract sp flashtool and run the application


sample of loading file of scatter in the firmware


download ok image will appear when its done

Note: before proceeding in format+download option that can be change at 6th image in this post. make a backup first. Ill show you how in my next post.
Some error and their solutions
Error 5054
Message: BROM ERROR S_DL_GET_DRAM_SETTINGS_FAIL (5054)
Meaning: The files youre trying to flash do not belong to or are not compatible with the phone youre trying to flash them to
Solution:
* Ensure youre using the correct files. If youre sure they are, then try formatting before flashing again
Initialize scatter failed
Message: Error: Initialize scatter file failed. Please check the scatter file name you load is legal
Meaning: SP Flash tool doesnt accept the name format of your scatter file
Solution:
* Ensure the scatter file wasnt renamed. If youre certain it wasnt, try a higher version of SP Flash tool
Error 8038
Message: Error 8038! Android download pmt is ready and layout has been changed
Meaning: SP Flash tool is having trouble writing to certain partitions due to some incompatibility
Solution:
* Format the phone in SP flash tool (Do not format Bootloader) then try flashing the files again using Download
* If Download doesnt work then do a firmware upgrade
* If the MTK backup contains more than one scatter file, retry flashing with the other scatter file.
* If that isnt feasible, try formatting first or use firmware upgrade
* If that doesnt work, open the scatter file using Notepad++ and change __NODL_FAT to FAT by removing "__NODL_" .
Error 4032
Message: BROM ERROR : S_FT_ENABLE_DRAM_FAIL (4032) [EMI] Enable DRAM fail
Meaning: The firmware youre trying to flash is either not compatible with your device or you have selected the wrong flashing settings
Solution:
* Ensure that the file(s) youre trying to flash are actually for your exact phone model
* Ensure you tick the boxes for only the files present in the ROM youre about to flash
* Probably have the wrong driver installed. Uninstall vcom, preloader and MTK drivers using usb deview then manually re-install
* Delete the sp flash tool folder then re-extract
* Ensure the phone is switched off (with battery still inside) before connecting to PC for flashing.
* If that doesnt work, keep holding down the volume decrease button just before connecting the phone to PC for flashing (you could try volume increase , power + volume decrease or power + volume increase).
* Consider using the latest version of Sp Flash tool
* Format the phone before trying to flash the file(s) again
Error 5056
Message: BROM ERROR : S_DL_PMT_ERR_NO_SPACE (5069)
Meaning: The size of a file is larger than the available / possible partition size
Solution:
* Ensure that the file(s) youre trying to flash are actually for your exact phone model
* Try another stock ROM
* Change the phones emmc chip
Error 4001
Message: S_FT_DA_NO_RESPONSE or Da didnt send response data to FlashTool!
Meaning: SP flash tool is having difficulty communicating with the device
Solution:
* Change the USB-port
* Run SP flash tool as Admin
* Ensure to install the correct drivers
* Try another PC and USB cord
* Ensure the phone is switched off with a charged battery inside when connecting to the PC for flashing
Sp flash tool was successful but phones calibration doesnt work
Message: Soft keys and touch screen dont work / respond
Solution:
* Edit the scatter file using Notepad++ and remove NODL__ (or set is_download: false to is_download: true ) in front of the items you have in the backup folder but arent listed when you load the scatter file in SP flash tool. This way, these items will become listed when next you load the scatter file (after saving of course) and therefore flashable
Error 4008
Message: BROM ERROR : S_FT_DOWNLOAD_FAIL (4008)
Meaning: SP Flash tool encountered an error while attempting to flash files
Solution:
* Ensure the battery is in the phone and the phone is switched off before connecting for flashing
* Try using a higher version of SP flash tool
* Change the USB cord and port or PC
* Use the format option then download in SP flash tool
Error 3149
Message: BROM ERROR : S_DA_SDMMC_WRITE_FAILED (3149)
Meaning: SP Flash tool was unable to flash files to the phone
Solution:
* Ensure to run the latest version of SP flash tool as Administrator
* Format first then Download
* Dont tick a box with an unspecified / empty file path
* Ensure the phone is switched off (with a well charged battery in it ) before connecting to PC for flashing
* Try a different PC
* Try a different ROM
* Try a different USB cord
* Try formatting the phone first before flashing files to it
Error 3168
Message: BROM ERROR: S_CHIP_TYRE_NOT_MATCH(3168)
Meaning: Sp flash tool believes theres a mismatch between the information provided in the scatter file and the phones info.
Solution:
* Ensure youre using the ROM for the exact phone model
* Try a higher version of SP flash tool
* Ensure to install the correct drivers for the phone on the PC
Error 2004
Message: BROM ERROR : S_FT_DOWNLOAD_FAIL (2004)
Meaning: There was an interruption in the communication between SP flash tool and the device
Solution:
* Take out and reinsert the battery
* Try using a different USB cord, port and PC
* Right-click flash_tool.exe > Select Properties > Select Compatibility > Set to Windows XP Service Pack 3 > Click Apply > Click OK > Run SP flash tool as Administrator
* Try a different USB cord
* Try a different port on the PC or another PC
* Ensure the battery is well changed and inside the switched off phone before connecting to PC for flashing
USB device not recognized
Message: USB device not recognized prompt at system tray after connecting the phone to PC
Meaning: The PC is having problems communicating with the phone (often due to interruption, hardware or driver problems)
Solution:
*try reinstall drivers
* Try a different USB cord, PC port or PC
Error 1013
Message: BROM ERROR:S_COM_PORT_OPEN Fail(1013)
Meaning: SP flash tool encountered an error while attempting to communicate with the phone via the target port
Solution:
* Try using a different port on the PC
* Try a different version of SP flash tool
* Install VCOM drivers
* Ensure the phone is switched off with battery inside before connecting to the PC for flashing
* Try using a different PC
* Try changing the USB cord
* Ensure the phones USB port isnt damaged
Error 2020
Message: BROM ERROR : S_BROM_CHKSUM16_MEM_RESULT_DIFF (2020)
Meaning: SP flash tool encountered a problem moving the files to be flashed into the phones internal SRAM
Solution:
* Use the latest version of SP flash tool
* In SP flash tool, navigate to Options > Option > Connection > Battery. Set it to "with battery".
* Use the Format all + Download option
* Hold both volume buttons before connecting to the PC for flashing and release once flashing begins
Error 5007
Message: BROM ERROR : S_FTHND_FILE_IS_NOT_LOADED_YET (5007)
Meaning: Youre trying to flash an item with an unspecified path (no file selected for the ticked item/box)
Solution:
* Ensure the scatter file is in the same directory as the other file(s) to be flashed
* Untick any item whose file you do not have or whose path is not specified; yet, is ticked / selected for flashing
Error 4010
Message: BROM ERROR : S_FT_FORMAT_FAIL
Meaning: The blocks map in the scatter file doesnt match the phones partition sizes
Solution:
* Try using the latest version of Sp flash tool
* Try using another firmware for the exact phone model
Error 3182
Message: BROM ERROR: S_STORAGE_NOT_MATCH (3182)
Meaning: The ROM yourre trying to flash is not compatible with the target device
Solution:
* Download the ROM for the exact phone model youre trying to flash
* Ensure to install VCOM drivers on the PC
* Dont tick any box (after loading the scatter file) without a file path / whose corresponding file has not been automatically or manually loaded.
Error 6012
Message: BROM ERROR: S_SECURITY_SF_CODE_COMMAND_FORBIDDEN (6012), MSP ERROR CODE: 0X00
Meaning: The Download-Agent being used is incompatible with the phone
Solution:
* Set Download-Agent to MTK_AllInOne_DA.bin
Error 1042
Message: BROM ERROR: S_TIMEOUT (1042)
Meaning: The flashing process took too long so SP flash tool encountered a timeout
Solution:
* Try flashing one file at a time
* Use the latest version of SP flash tool
* Try using a different PC and USB cord
Error 2
Message: BROM ERROR: ?? (2)
Meaning: SP Flash tool was unable to communicate with the phone
Solution:
* Try using a different PC (preferably Windows 7 or lower)
* Install the correct VCOM drivers for your PCs OS and architecture (32 or 64 bit)
* Try another USB cord
Error 2005
Message: BROM ERROR: S_BROM_CMD_STARTCMD_FAIL (2005)
Meaning: The device attempted to power on before SP flash tool could flash files to it
Solution:
* Take out and reinsert the battery
* Try using a different USB cord, port and PC
* Right-click flash_tool.exe > Select Properties > Select Compatibility > Set to Windows XP Service Pack 3 > Click Apply > Click OK > Run SP flash tool as Administrator
* Try a different USB cord
* Try a different port on the PC or another PC
* Ensure the battery is well changed and inside the switched off phone before connecting to PC for flashing
Error 4058
Message: BROM ERROR: S_FT_GET_MEMORY_FAIL (4058)
Meaning: SP flash tool was unable to locate the partition youre trying to flash to
Solution:
* Untick any item (box) with a blank or empty Location
Error 3178
Message: BROM_ERROR_S_STORAGE_NOT_MATCH (3178)
Meaning: The firmware you are trying to flash isnt compatible with your phone
Solution: Try flashing another firmware for your exact phone model / variant
Error 8406
Message: SP FLASH TOOL ERROR (8406)
Meaning: There is some compatibility problem interrupting the flashing process
Solution
* Try flashing another firmware for your exact model
* Update VCOM drivers for the device under Device manager
Error 1012
Message: BROM ERROR: S_NOT_ENOUGH_MEMORY (1012)
Meaning: The version of SP flash tool youre using doesnt support the size(s) of the file(s) in the firmware / stock ROM.
Solution
* Use the latest version of SP flash tool
Error 3140
Message: BROM ERROR : S_DA_UPDATE_BOOLOADER_EXIST_MAGIC_NOT_MATCHED
Meaning: SP flash tool encountered an error flashing a selected file to a non-specified partition
Solution:
* Try using the latest version of SP flash tool
* Use the format option then download in SP flash tool
Error 8417
Message: BROM ERROR: Initialize scatter file failed. Please check the scatter file name you load is legal
Meaning: The format of the scatter file is invalid
Solution: Open the scatter file in Notepad++, the first line must begining with:
############################################################################################################## General Setting #
If there is anything else above this then delete it and save the scatter file
Error 6047
Message: BROM ERROR: S_SECURITY_SECURE_USB_DL_IMAGE_HASH_FAIL
Meaning: Hash (integrity) check of the images being flashed failed.
Solution
* Use SP Flash Tool V5.1516.00 @ http://adf.ly/1ZI3Ym
* Ensure to select the right Download-Agent
* Navigate to Options > Option > Download and untick DA DLL All.....
Error 6010
Message: BROM ERROR: SP FLASHTOOL ERROR 6010 CODE DOWNLOAD FORBIDDEN
Meaning: The phone has a protected bootloader
Solution: Untick Preloader and flash the rest
Error: 0xFDA