Chapter 4: Command-Line Factory Reset
Execute the following commands in the terminal:
hdc shell
write_updater user_factory_reset
reboot updater
Execute the following commands in the terminal:
hdc shell
write_updater user_factory_reset
reboot updater