Vivo AFTool (PD Flash Tool) – Firmware Flashing Guide for Vivo & iQOO
Vivo AFTool (commonly called PD Flash Tool) is the official Vivo firmware utility for flashing stock ROM on Vivo and iQOO smartphones. This guide covers both MediaTek (scatter file) and Qualcomm (XML/Firehose) device variants.
Pre-Flight Checklist
Complete ALL items before proceeding. Skipping any step increases the risk of bricking your device.
-
Backup all data before flashingFlashing via AFTool wipes the device completely. Back up contacts, photos, and files before starting — they cannot be recovered after a flash.
-
Battery charged above 50%A low battery mid-flash can brick your device. Charge to at least 50% before proceeding.
-
Correct Vivo firmware for your exact modelVivo firmware packages are named with the device's internal model code (e.g. PD1824, PD2055F, PD2408F). Confirm your model code at Settings → About Phone and download firmware that matches exactly. Using firmware for a different model will result in a brick.
-
Vivo AFTool (PD Flash Tool) downloadedDownload the latest Vivo AFTool (also listed as "Vivo Flash Tool" on most sites). The tool is Windows-only. The latest version is typically bundled inside the firmware ZIP — if your firmware package contains an AFTool folder, use that version as it is matched to your firmware.
-
Vivo USB Drivers installedInstall Vivo USB drivers before connecting your device. Most firmware packages include the driver installer. Without drivers, AFTool will not detect the device.
-
Know your device chipset (MediaTek or Qualcomm)The firmware loading method in AFTool differs by chipset. Check your device spec sheet or the firmware package name — MTK in the name indicates MediaTek, MSM or SDM indicates Qualcomm Snapdragon.
-
Running AFTool as Administrator on WindowsRight-click AFTool.exe and select "Run as administrator". Required on Windows 10 and 11.
Guide Steps
Extract your downloaded firmware ZIP or RAR to a folder. The package typically contains:
- A firmware folder with partition image files
- An
AFToolfolder with the flash tool executable - A USB driver installer
- A
flash_all.batorflash.xmlfile (Qualcomm devices)
Identify your chipset from the firmware folder name or the image files present:
- MediaTek — Contains a
scatter.txtorMT*.txtscatter file alongside.imgpartition files. - Qualcomm — Contains
rawprogram*.xml,patch*.xml,prog_firehose*.elf, and individual.imgpartition files. May also include aflash_all.batfastboot script.
Navigate to the AFTool folder inside your extracted firmware package (or your standalone AFTool installation). Right-click AFTool.exe and select "Run as administrator".
The tool opens showing the firmware loading panel and a status area. Do NOT connect your device yet.
Skip this step if your device uses a Qualcomm chipset — proceed to Step 4.
- In AFTool, select the MediaTek or MTK tab if shown.
- Click Load Scatter File and navigate to your firmware folder. Select the
scatter.txtorMT*.txtfile. - AFTool populates the partition table automatically from the scatter file. All partitions are checked by default.
- Select Download Only to flash without wiping userdata, or Format All + Download for a full clean flash. Use Format All + Download for brick recovery.
Skip this step if your device uses a MediaTek chipset — you completed Step 3.
- In AFTool, select the Qualcomm or QCM tab.
- Click Load or Browse and select
rawprogram0.xml(orrawprogram_unsparse.xml) from the firmware folder. The partition list populates automatically. - Ensure the
prog_firehose_ddr.elfprogrammer path is set correctly — AFTool usually auto-detects it from the same folder as the XML. - Select your flash mode: Erase All for a clean full flash (recommended for recovery), or deselect userdata to preserve data.
flash_all.bat script. This runs standard fastboot commands and can be used as an alternative to AFTool for Qualcomm devices if the bootloader is unlocked.Power off your device completely. Then connect it to the PC via USB:
- MediaTek devices — Connect the USB cable with the device powered off. Most Vivo MTK devices enter download mode automatically on connection. On some models, hold Volume Down while connecting.
- Qualcomm devices — Connect with device powered off while holding Volume Down + Volume Up, or use
adb reboot edlif the device is still bootable.
AFTool detects the device and shows a green status indicator or COM port in the port panel.
Click the Download or Start button. AFTool flashes each partition in sequence. The progress bar updates per partition and overall.
Total flashing time is typically 5–15 minutes depending on firmware size and USB speed.
When complete, AFTool shows SUCCESS or PASS and the device reboots automatically.
First boot after a flash takes several minutes as Android initializes. Do not interrupt or press buttons during this time.
After booting, verify the firmware at Settings → About Phone. Confirm the software version, model code, and Android version match the firmware you flashed.
Congratulations! Flash Successful!
You've successfully completed all steps. Your device should now be running the new firmware. If it's booting normally — you're done! Check the troubleshooting section below if you encounter any issues.
Troubleshooting & FAQ
Common errors and their solutions. Read this before asking for help.
They are the same tool. AFTool is the actual name of the Vivo official flash utility. "PD Flash Tool" is a community nickname derived from Vivo's internal model code format — all Vivo device model codes begin with "PD" (e.g. PD1824, PD2055F, PD2408F). When you see firmware files named with PD codes, the flash tool to use is AFTool.
Check Settings → About Phone → CPU, or look at the firmware package name — "MT" in the firmware name (e.g. MT6765) indicates MediaTek; "MSM", "SDM", or "SM" indicates Qualcomm Snapdragon. Budget and mid-range Vivo devices often use MediaTek; higher-end models use Qualcomm or MediaTek Dimensity.
Reinstall Vivo USB drivers and try a USB 2.0 port. Ensure AFTool is running as Administrator. For MediaTek devices, try connecting the device while holding Volume Down. For Qualcomm devices, confirm the device is in EDL mode (screen fully black, PID 0x9008 in Device Manager).
The firmware is likely mismatched for the model or region. Confirm your exact model code from the sticker under the battery / SIM tray, or from Settings → About Phone → Model Number if still accessible. Download firmware that matches your exact model code and re-flash using Format All + Download (MTK) or Erase All (Qualcomm).
Flashing official stock firmware using AFTool is generally treated as a standard software restore and does not automatically void your warranty in most regions. However, flashing unofficial or modified firmware, or unlocking the bootloader, will void your warranty. Always flash the original firmware matching your device model and region to stay within warranty terms.
Reference screenshots for this guide. Click any image to view full size.
Prioritize our guides in your Google search results.
No comments yet. Be the first to share your experience with this guide!