This walkthrough takes you from zero to a working SP Flash Tool setup. You will pick the right build, install it on Windows or Linux, add the MediaTek drivers, and confirm that your phone is detected, all before you flash a single partition. If you follow the steps in order, you skip the errors that trip most people up on their first try.

Plan on 15 to 20 minutes. You need a Windows or Linux PC, a data-capable USB cable, and your MediaTek phone. You do not need the firmware yet to finish the setup, but you will need it to flash.

Before you start: what you need

  • A PC running Windows 7, 8.1, 10 or 11, or a 64-bit Linux distribution such as Ubuntu 20.04 or later. macOS is not supported.
  • A good USB cable. Many cheap cables only carry power. The cable that came with the phone is the safest choice.
  • A USB 2.0 port, ideally on the back of a desktop. USB 3.x ports usually work, but hubs and front-panel ports cause more dropped connections.
  • A MediaTek phone with at least 50% battery. SP Flash Tool only works with MediaTek chipsets (MT65xx, MT67xx, MT68xx, Helio and Dimensity).
  • Stock firmware for your exact model, when you are ready to flash. It comes from your phone maker, not with the tool.

Not sure your PC qualifies? The SP Flash Tool system requirements list every detail.

Step 1: Choose between SP Flash Tool V5 and V6

Two generations of SP Flash Tool are in use, and picking the right one saves time later:

BuildLatest versionUse it when
V5 for Windows5.2404Your firmware has a file like MT6768_Android_scatter.txt. This covers most MT65xx, MT67xx and Helio P/A/X phones.
V6 for Windows6.2404Your firmware ships a flash.xml or V6 XML download file, common on Dimensity and recent Helio G devices.
V5 for Linux5.2228You use Linux and have scatter-file firmware.
V6 for Linux6.2228You use Linux and have XML-based firmware.

The build number is a date code: 2404 means 2024, week 4. If you do not have firmware yet, start with V5. You can keep both versions side by side in separate folders, which many technicians do. For a deeper comparison, read SP Flash Tool file formats, versions and updates.

Step 2: Download SP Flash Tool

Go to the SP Flash Tool download page and open the build you chose. The download page shows the file name, version, format and supported systems, then enables the Download button after a short countdown. Save the ZIP to your Downloads folder.

Before opening it, right-click the ZIP and scan it with Windows Security or your antivirus. If a checksum is listed on the download page, compare it in PowerShell:

Get-FileHash .\SP_Flash_Tool_v5.2404_Win.zip -Algorithm SHA256

Some antivirus engines show a generic warning because SP Flash Tool is unsigned and talks to USB hardware at a low level. Read Is SP Flash Tool safe? to understand what these warnings mean and when to worry.

Step 3: Extract SP Flash Tool to a short path

SP Flash Tool is portable. There is no setup wizard and nothing is written to the registry. Extract the ZIP to a short folder path with no spaces or non-English characters:

C:\SPFlash\v5
C:\SPFlash\v6

Avoid the Desktop, OneDrive-synced folders and very deep paths. Long paths are a common cause of "file not found" errors when the tool loads a scatter file. Inside the V5 folder you will find flash_tool.exe; inside the V6 folder, SPFlashToolV6.exe. Leave every other file in place. The tool needs its DLLs, the MTK_AllInOne_DA.bin download agent and its settings files.

Tip: If your antivirus quarantines files after extraction, add C:\SPFlash to its exclusions and extract again. A missing DLL or DA file makes the tool crash or fail with DA errors.

Step 4: Install the MediaTek USB VCOM drivers (Windows)

This is the step that decides whether SP Flash Tool can see your phone. Windows needs the MediaTek PreLoader USB VCOM driver to talk to the phone while it is in boot ROM (BROM) or preloader mode.

Option A: Driver Auto Installer (recommended)

  1. Download the MediaTek USB VCOM drivers and extract the ZIP.
  2. Right-click the installer (or Install Drivers.bat) and choose Run as administrator.
  3. Accept the Windows prompt that asks to install driver software from an unknown publisher.
  4. Restart the PC when it finishes.

Option B: Manual install through Device Manager

  1. Open Device Manager (press Win + X, then Device Manager).
  2. Click your PC name at the top, then Action → Add legacy hardware.
  3. Choose Install the hardware that I manually select → Show All Devices → Have Disk.
  4. Browse to the extracted driver folder and select the .inf file for your Windows version (for example usb2ser_Win764.inf on 64-bit systems).
  5. Pick MediaTek PreLoader USB VCOM (Android) and finish the wizard. Ignore the "device cannot start" warning; it is normal until the phone is connected.

If Windows 10 or 11 refuses the driver

Windows blocks unsigned drivers by default. You can allow them for one session:

  1. Open Settings → System → Recovery and click Restart now next to Advanced startup.
  2. Choose Troubleshoot → Advanced options → Startup Settings → Restart.
  3. Press 7 for Disable driver signature enforcement.
  4. Install the driver again. It stays installed after the next normal restart.

On PCs with Secure Boot and Memory Integrity (Core Isolation) on, you may also need to turn Memory Integrity off temporarily under Windows Security → Device security. Turn it back on after flashing.

Step 5: Set up SP Flash Tool on Linux

Linux needs no driver install, but it does need USB permissions. These commands are for Ubuntu and Debian; adjust the package manager for other distributions.

  1. Install the USB library and extract the tool:
    sudo apt update
    sudo apt install libusb-1.0-0 unzip
    unzip SP_Flash_Tool_v5.2228_Linux.zip -d ~/spflash
    cd ~/spflash/*/
    chmod +x flash_tool flash_tool.sh
  2. Add a udev rule so your user can access MediaTek devices (USB vendor ID 0e8d):
    echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666"' | sudo tee /etc/udev/rules.d/80-mediatek.rules
    sudo udevadm control --reload-rules
    sudo usermod -aG dialout $USER
  3. Stop ModemManager, which grabs the phone's serial port and breaks the BROM handshake:
    sudo systemctl stop ModemManager
  4. Log out and back in so the group change applies, then start the tool:
    ./flash_tool.sh

If the window does not open, run it from the terminal and read the missing-library message. Older V5 Linux builds sometimes need libpng12 or Qt libraries from your distribution's compatibility packages.

Step 6: Launch SP Flash Tool for the first time

On Windows, right-click flash_tool.exe (V5) or SPFlashToolV6.exe (V6) and choose Run as administrator. The V5 window opens on the Download tab with three main fields:

  • Download-Agent: already filled with MTK_AllInOne_DA.bin. Leave it unless your phone maker supplies its own DA.
  • Scatter-loading File: empty until you load your firmware's scatter file.
  • Authentication File: only needed for some secure-boot phones.

V6 shows the same information on a single screen, with the download XML in place of the scatter file. If you see a message about a newer version, ignore it; the builds listed on our download page are current.

Step 7: Test the connection before flashing

Always confirm that the PC sees the phone before you risk a flash:

  1. Power the phone off completely. If the battery is removable, take it out and put it back.
  2. Open Device Manager and expand Ports (COM & LPT).
  3. Connect the phone. Within a second or two you should see MediaTek PreLoader USB VCOM (Android) (COMx) appear and then disappear. That short appearance is normal, because the preloader only waits briefly.
  4. If nothing appears, hold Volume Down (or Volume Up on some models) while connecting to force BROM mode, which shows as MediaTek USB Port.

On Linux, run lsusb while connecting. You should see an entry with ID 0e8d:2000 (preloader) or 0e8d:0003 (BROM).

If the port appears, setup is done. If it does not, the SP Flash Tool error fixes cover every detection problem in detail.

Step 8: Your first flash

With the tool installed and the connection confirmed, flashing follows a simple pattern: load the scatter file, choose Download Only, untick preloader and userdata unless you need them, press Download, then connect the powered-off phone. Our beginner's walkthrough for using SP Flash Tool covers each screen and option in order, including what to do when the green "Download OK" tick appears.

Common setup mistakes to avoid

  • Connecting the phone before pressing Download. SP Flash Tool must be waiting first, or the preloader times out.
  • Leaving the phone switched on. It must be fully off, not in recovery or fastboot.
  • Mixing V5 and V6 files. A V6 download XML will not load in V5, and the reverse is also true.
  • Running from a ZIP preview. Windows lets you open an EXE inside a ZIP, but the tool cannot find its files that way. Extract first.
  • Skipping administrator mode. Without it, the tool may fail to open the COM port on Windows 10 and 11.

Frequently asked setup questions

Do I need to uninstall an older SP Flash Tool?

No. Because it is portable, you can delete the old folder or keep it alongside the new one. Only the VCOM driver is installed system-wide, and it works with every version.

Can I install SP Flash Tool on a Mac?

There is no macOS build. You can run the Windows build in a virtual machine with USB passthrough, but the brief preloader connection often fails through a VM. A Windows or Linux PC is far more reliable.

Does SP Flash Tool need an internet connection?

No. After you download it, the tool works completely offline.