ACC Logo
FASTBOOTFlashingDestructive

fastboot flashall -w

Flash complete factory image package

Destructive Operation WarningReflashes the entire device. With -w flag, all personal files and data are permanently wiped.
What It Does

Flashes all firmware images (bootloader, radio, boot, system, vendor, product) contained in the current directory matching Android factory specs.

Command Syntax
Terminal
$fastboot flashall [-w] [--skip-reboot]
Parameters & Placeholders Breakdown

This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:

[-w] W Parameter

Replace this placeholder with your specific w value.

Real-world value:your--w
Command syntax: fastboot flashall your--w [--skip-reboot]
[--skip-reboot] SKIP REBOOT Parameter

Replace this placeholder with your specific skip reboot value.

Real-world value:your---skip-reboot
Command syntax: fastboot flashall [-w] your---skip-reboot
Usage Examples
$fastboot flashall -w
$fastboot flashall
Options & Flags
Flag / ParameterDescription
-wWipes userdata and cache during flashing (full factory reset).
--skip-rebootDo not automatically reboot the device after flashing finishes.
OFFICIAL COMPANION GUIDE

Flashing Generic System Images (GSI) / Project Treble?

Learn how to enter fastbootd, erase and resize logical dynamic partitions, and disable dm-verity with the complete handbook by @mkr-infinity:

Open GSI Flashing Guide
Prerequisites & Requirements
  • Official factory firmware unzipped in current directory
  • Unlocked bootloader
Related Commands
Found an error or missing flag for fastboot flashall -w?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity