Friday, December 20, 2013

Android: ADB - Recovery (Factory Rest)

You can use the below ADB command to do recovery your phone (Do factory reset).

adb shell recovery --wipe_data   
   * The arguments which may be supplied in the recovery.command file:
      *   --send_intent=anystring - write the text out to recovery.intent
      *   --update_package=path - verify install an OTA package file
      *   --wipe_data - erase user data (and cache), then reboot
      *   --wipe_cache - wipe cache (but not user data), then reboot
      *   --set_encrypted_filesystem=on|off - enables / diasables encrypted fs

adb shell reboot recovery

No comments:

Post a Comment