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.....
fastboot erase data
fastboot erase cache
fastboot boot /path/to/file/on/pc/twrp.img
adb shell
wipe data
wipe cache
did you find anything??"fastboot erase data" is not allowed on my phone. a workaround could be:
for more details see https://twrp.me/faq/openrecoveryscript.html and https://android.stackexchange.com/questions/201212/how-can-i-reboot-into-recovery-from-fastbootCode:fastboot boot /path/to/file/on/pc/twrp.img adb shell wipe data wipe cache
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?
That worked nicely for me and erased both, whereas fastboot erase data was not allowed permission on my device. Thanks.
how can I fix this error "CreateProcess failed: the system cannot find the file specified"
fastboot oem unlock-go
Will this help if bootloader was unlocked but unchecked in developer options? I put in -w on my edge plus 22 and it wiped it completely...I was able to wipe data on an old tablet I forgot the code to usingJust in case this helps someone else.Code:fastboot oem unlock-go