ACC Logo
FASTBOOTErasingDestructive

fastboot erase system

Erase system partition

Destructive Operation WarningRenders the phone unbootable until a replacement system image is flashed.
What It Does

Wipes the system partition clean prior to flashing a fresh operating system image.

Command Syntax
Terminal
$fastboot erase system
Usage Examples
$fastboot erase system
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
  • Unlocked bootloader
Related Commands
Found an error or missing flag for fastboot erase system?

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