Factory reset with fastboot or adb?

Search This thread

mcerk02

Senior Member
Jan 21, 2011
388
108
Slatington, PA
What command can I use in fastboot or adb to factory reset my nexus 7? Digitizer cracked and touch no longer works, I have someone that wants it for parts but want to reset it before I give it to him.....
 

JPT223

Senior Member
Dec 13, 2020
45
11
"fastboot erase data" is not allowed on my phone. a workaround could be:
Code:
fastboot boot /path/to/file/on/pc/twrp.img
adb shell
wipe data
wipe cache
for more details see https://twrp.me/faq/openrecoveryscript.html and https://android.stackexchange.com/questions/201212/how-can-i-reboot-into-recovery-from-fastboot

but this somehow does not work on my phone. It either does not boot twrp or twrp does not enable ADB. I don't know because the display is broken.

any other way?
did you find anything??
 
Oct 24, 2014
22
1
I was able to wipe data on an old tablet I forgot the code to using
Code:
fastboot oem unlock-go
Just in case this helps someone else.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    fastboot -w
    this command delete data and cache.
    3
    Code:
     fastboot erase data
    should remove all data. If you want to be sure that also all caches are cleaned up, apply
    Code:
     fastboot erase cache
    too.