If you are on Windows, ensure you have the specific USB drivers for your phone brand installed so your PC recognizes the device in Fastboot mode. How to Use Fastboot Erase Commands
Navigate to the SDK Platform-Tools page. fastboot erase tool download
Unlike a standard factory reset from the settings menu, the erase tool can target specific partitions of the phone's internal storage, such as: Wipes all personal files and apps. If you are on Windows, ensure you have
Most fastboot commands require an unlocked bootloader. Unlocking usually triggers a full factory reset automatically. If you are on Windows