YouFor devices that support Fastboot mode, you can try the following commands:
To enter the fastboot mode:
adb reboot bootloader
Check whether the mobile phone is also in fastboot mode:
fastboot devices
To delete the data:
fastboot erase userdata
To delete cache:
fastboot erase cache
Source and more detailed instructions click here.
- Enter fastboot mode:
adb reboot bootloader
- Check whether the mobile phone is also in fastboot mode:
fastboot devices
- Delete the data:
fastboot erase userdata
- Delete cache:
fastboot erase cache