This is a practical SP Flash Tool tutorial for your first real flash. We will reinstall stock firmware on a MediaTek phone the safe way, explaining what each option does as we go. The steps use SP Flash Tool V5, with notes where V6 looks different.

If you have not installed the tool and the MediaTek USB VCOM drivers yet, do that first with our step-by-step SP Flash Tool install walkthrough. Come back once your phone shows up in Device Manager.

What you will need

  • SP Flash Tool V5 or V6, extracted to a short path such as C:\SPFlash.
  • MediaTek USB VCOM drivers installed (Windows only).
  • The stock firmware for your exact model and region, extracted to its own folder.
  • A data USB cable and a phone charged to at least 50%.
  • A backup of anything you want to keep. Flashing can erase data.

Step 1: Check your firmware folder

Open the extracted firmware. A typical MediaTek stock ROM folder contains:

  • A scatter file such as MT6765_Android_scatter.txt (for V5), or a download_agent folder with a flash.xml (for V6).
  • Image files such as preloader_xxx.bin, lk.img, boot.img, recovery.img, super.img or system.img, vendor.img, userdata.img and others.

The chipset in the scatter file name must match your phone's chipset. If it says MT6765 and your phone is an MT6768, stop: you have the wrong firmware. Our explanation of SP Flash Tool file formats shows how to read a scatter file if you want to confirm.

Step 2: Open SP Flash Tool and load the scatter file

  1. Right-click flash_tool.exe and choose Run as administrator.
  2. On the Download tab, leave Download-Agent set to MTK_AllInOne_DA.bin.
  3. Click Choose next to Scatter-loading File and select the scatter file from your firmware folder.

The partition list fills in. Each row shows a partition name, its start address and the image file that will be written. Rows with a file path are ready; rows without one have no matching image in the folder and are greyed out.

In V6: click the file selector at the top of the window and choose the flash.xml or download XML instead. The partition list appears in the same way.

Step 3: Choose the flashing mode

Above the partition list is a drop-down with three choices:

  • Download Only: writes only the ticked partitions. This is the safest choice and what we use here.
  • Firmware Upgrade: backs up calibration data, formats the whole flash and writes everything. Use it when moving between firmware versions or when Download Only reports a partition table error.
  • Format All + Download: erases everything including NVRAM (IMEI and radio calibration) before writing. Only use it as a last resort with an NVRAM backup.

Select Download Only. The SP Flash Tool features explained article goes deeper into each mode.

Step 4: Pick the partitions

By default every partition with an image is ticked. For a safe stock reinstall, make two changes:

  1. Untick preloader. The preloader is the first code the phone runs. Your phone already has a working one, and replacing it with a mismatched file is the main cause of hard bricks. Only flash it when you know the device's preloader is damaged and the firmware is an exact match.
  2. Untick userdata if you want to try to keep your apps and files. Leave it ticked for a clean start.

If you are only fixing a single problem, you can flash a single partition. For example, to replace a broken recovery, untick everything and tick only recovery.

Step 5: Start the download and connect the phone

  1. Click the green Download button. The tool now waits for a device. Nothing happens yet, which is correct.
  2. Make sure the phone is fully powered off.
  3. Connect the USB cable. If nothing happens within a few seconds, unplug, then reconnect while holding Volume Down. Some models use Volume Up or both volume keys.

Once the phone is detected, the progress bar at the bottom moves through stages: a red bar while the download agent loads, a purple bar while DRAM is initialised, then a yellow bar while images are written. The status bar shows the COM port, the chip, the storage type (EMMC or UFS) and the transfer speed.

Do not unplug the cable or touch the phone while the yellow bar is running. Interrupting a write can leave partitions half-written.

Step 6: Wait for "Download OK"

When every partition is written, a small window with a large green tick and the words Download OK appears. Flashing a full ROM usually takes 3 to 10 minutes, depending on the size of super.img and your USB speed.

Close the dialog, unplug the phone and hold the Power button to start it. The first boot after a full flash commonly takes 5 to 10 minutes while Android rebuilds its caches. If you kept userdata and the phone loops, boot into recovery and wipe data once.

What to do if it fails

If a red error box appears, note the exact error name and number. The most common ones on a first flash are:

  • BROM ERROR: S_BROM_DOWNLOAD_DA_FAIL (2004): usually a driver, cable or wrong-firmware issue.
  • PMT changed for the ROM; it must be downloaded (8038): switch to Firmware Upgrade mode.
  • Nothing happens at all: the phone is not being detected; check the driver and the key combination.

Each of these has a full fix in our SP Flash Tool errors and fixes reference.

Optional: back up before you flash

Experienced technicians use the Readback tab to save the NVRAM area (and sometimes the full ROM) before flashing. If something goes wrong with IMEI or Wi-Fi after a flash, that backup is what restores it. It takes a few minutes and is well worth learning. The address and length come from the nvram entry in your scatter file.

Quick reference

StepActionCommon mistake
1Load scatter / XMLFirmware for a different chipset
2Choose Download OnlyUsing Format All without a backup
3Untick preloader (and userdata)Flashing a mismatched preloader
4Press Download, then connectConnecting before pressing Download
5Wait for Download OKUnplugging during the yellow bar

Once you are comfortable with this flow, see the best uses for SP Flash Tool for other jobs the same steps can do, from installing a custom recovery to rolling back an update.