SP Flash Tool Download (v6.2404 & v5.2404) + MTK_AllInOne_DA.bin Explained for Xiaomi MediaTek Phones

SP Flash Tool Download (v6.2404 & v5.2404) + MTK_AllInOne_DA.bin Explained for Xiaomi MediaTek Phones

Last updated: November 11, 2026. Short answer: the latest SP Flash Tool is v6.2404 (for firmware with a flash.xml file) and v5.2404 (for firmware with an Android_scatter.txt file), both from late 2024; there has been no newer release since. MTK_AllInOne_DA.bin is the Download Agent that ships inside the SP Flash Tool folder. On most Xiaomi, Redmi and POCO phones with a MediaTek chip from 2019 onward, SP Flash Tool can’t flash in BROM mode without a Xiaomi authorized account, so for normal updates and many unbricks you should use Fastboot and Mi Flash instead. Downloads, the DA explained and every common error are below.

SP Flash Tool download

VersionFor firmware withSystemSize
v6.2404 (latest)flash.xml / *_Android_scatter.xmlWindows 64-bit~12 MB
v5.2404 (latest v5)MT####_Android_scatter.txtWindows 7–11~66 MB
v6.2228 / v5.2228xml / txtLinux 64-bit (newest Linux builds)53 / 75 MB
v5.1648 (classic)scatter.txtWindows~60 MB

Download: SP Flash Tool v6.2404, v5.2404 and every older version for Windows and Linux are listed on AndroidMTK’s SP Flash Tool archive. MediaTek doesn’t run a public download page; the tool is distributed to manufacturers and shared from there. On our server: SP Flash Tool v5.1648 for Windows, the classic build that older Xiaomi MTK phones like the Redmi Note 4 (MTK) and Redmi 6A were flashed with, plus MediaTek VCOM / Preloader USB drivers.

SP Flash Tool is portable: extract the ZIP and run flash_tool.exe (Windows) or flash_tool.sh (Linux, run with sudo or add a udev rule). No installation is needed, but the MediaTek USB drivers must be installed first.

v5 or v6: which one do you need?

Look inside your firmware folder, not at the phone:

  • Android_scatter.txt (for example MT6768_Android_scatter.txt) → SP Flash Tool v5.
  • flash.xml or a .xml scatter file → SP Flash Tool v6. This is the format of newer Dimensity firmware.

Using the wrong branch is the most common reason SP Flash Tool refuses the firmware or fails halfway.

What is MTK_AllInOne_DA.bin?

MTK_AllInOne_DA.bin is the Download Agent (DA): a small program SP Flash Tool uploads to the phone’s MediaTek chip first, which then reads and writes the storage. Every SP Flash Tool package already contains it in its main folder, and the tool loads it automatically into the Download-Agent field. You don’t need to download it separately.

Newer phones with Secure Boot reject the generic DA. They need a DA signed for that chip (often named DA_SWSEC.bin or MTK_AllInOne_DA_SP.bin) and sometimes an authentication file (auth_sv5.auth). On Xiaomi phones even that isn’t enough, because of SLA (next section). Be careful with “Xiaomi DA” packs from random sites: a wrong DA can’t fix an SLA-protected phone and you never know what else is in the archive.

Xiaomi MediaTek phones: the authorized account problem

Xiaomi protects the MediaTek BROM mode of its phones with SLA (Serial Link Authorization). When SP Flash Tool connects, the phone sends a challenge that only Xiaomi’s server can answer, and only for Mi Authorized Accounts given to service centers. Without it, flashing stops with an authentication error no matter which DA or SP Flash version you use. This applies to most Xiaomi MTK phones released since 2019, for example:

Older models like the Redmi Note 4 (MTK) and Redmi 6A are partly affected depending on the preloader they run.

What to do instead:

  1. Phone still reaches Fastboot (Power + Volume Down shows the Fastboot screen)? Flash the official Fastboot ROM with Mi Flash Tool. That needs no authorized account, but it does need an unlocked bootloader: on a locked phone Mi Flash can’t flash in any mode. It fixes most bootloops. Fastboot ROMs for these phones are on our firmware pages.
  2. Phone still boots to recovery? A Recovery ROM or Mi Flash Pro in MiAssistant mode can reinstall the system without unlocking. It installs only the official ROM for your phone’s region and may erase your data.
  3. Only BROM mode left (black screen, the PC sees a MediaTek USB port)? Then you need an authorized flash: a Xiaomi service center, or a paid remote “Mi Auth” service (use at your own risk). Community tools such as MTKClient or the MTK auth-bypass utility work on some older MediaTek chips by exploiting the BROM; newer chips have the exploit patched, and these tools can also corrupt the phone if used wrongly.

How to flash with SP Flash Tool (non-SLA phones)

  1. Install the MediaTek VCOM / Preloader drivers and restart the PC.
  2. Extract the firmware and SP Flash Tool (v5 for scatter.txt, v6 for flash.xml) to short paths like C:\sp and C:\rom.
  3. Open flash_tool.exe as administrator. Download-Agent shows MTK_AllInOne_DA.bin from the tool folder.
  4. In Scatter-loading File select the scatter file from the firmware folder.
  5. Choose Download Only (or Firmware Upgrade if you know you need it: it formats the phone first, so back up NVRAM before using it). Never use Format All + Download: it erases the IMEI and calibration data and can make the phone unflashable.
  6. Click Download, then connect the powered-off phone (on some models hold Volume Down or both volume keys while connecting). Wait for the green check mark.

SP Flash Tool errors and what they mean

ErrorMeaning / fix
STATUS_SEC_AUTH_FILE_NEEDED (0xC0030012)The phone needs authentication (SLA/DAA). On Xiaomi: authorized account required. Try Fastboot + Mi Flash instead.
STATUS_BROM_CMD_FAIL / BROM ERROR: S_BROM_DOWNLOAD_DA_FAILThe chip refused the DA, usually because of SLA. Connecting the phone powered off without holding keys (preloader mode instead of BROM) sometimes works.
STATUS_BROM_CMD_SEND_DA_FAILWrong DA for the chip. Use the DA that came with a recent SP Flash version or the one made for your model.
S_INVALID_DA_FILE / “LIB DA not match”DA and SP Flash version don’t fit together, or the DA is for another chip. Use the default DA of the tool version you run.
Stuck at “DA 100%”DA loaded but the next step was rejected: authentication, or a preloader that blocks it.
S_FT_DOWNLOAD_FAIL (2004) / 4032Connection or storage problem: other USB port or cable, reinstall drivers, check that the firmware is for your exact model.
Phone not detected at allDrivers. Install the MediaTek VCOM drivers (on Windows 10/11 you may need to disable driver signature enforcement once) and watch Device Manager for “MediaTek USB Port” when you connect.

FAQ

What is the latest version of SP Flash Tool?

v6.2404 for XML-based firmware and v5.2404 for scatter.txt firmware, both from late 2024. The newest Linux builds are v6.2228 and v5.2228.

Where do I get MTK_AllInOne_DA.bin?

It’s already in the folder of every SP Flash Tool package, and the tool selects it automatically. Download SP Flash Tool and you have the matching DA.

Can I flash a Xiaomi MediaTek phone with SP Flash Tool without an authorized account?

Usually not in BROM mode, because of Xiaomi’s SLA protection. If the phone can still enter Fastboot, flash the Fastboot ROM with Mi Flash, which needs no authorization.

Does SP Flash Tool work for Qualcomm Xiaomi phones?

No. SP Flash Tool is only for MediaTek chips. Qualcomm phones use Fastboot with Mi Flash, or EDL mode (Qualcomm 9008): see Mi Flash EDL errors.

Xiaomi firmware & news on Telegram

New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

Join @xiaomifirmware_news