Performing a Factory Reset Using ADB
Performing a Factory Reset Using ADB

Performing a Factory Reset Using ADB

Perform a Factory Reset using ADB.
  1. Connect the device to a host computer using the USB Programming Cable. See Installing the USB Programming Cable and Connecting the Device to the Host Computer.
  2. Go to
    Settings
    .
    If you are unable to go to
    Settings
    because the device is locked, perform the steps in Entering into Recovery Mode, and then proceed to
    Settings
    .
  3. On Android 11, touch
    System
    Advanced
    Developer options
    .
  4. On Android 13, touch
    System
    Developer options
    .
  5. Slide the
    USB debugging
    switch to the
    ON
    position.
  6. Touch
    OK
    .
  7. If the device and host computer are connected for the first time, the
    Allow USB debugging?
    dialog box with the
    Always allow from this computer
    check box displays. Select the check box, if required.
  8. Touch
    OK
    or
    ALLOW
    .
  9. Type
    adb devices
    .
    The following displays:
    List of devices attached XXXXXXXXXXXXXXX device
    Where XXXXXXXXXXXXXXX is the device number.
    If the device number does not appear, ensure that the ADB drivers are installed properly.
  10. Type:
    adb reboot recovery
  11. Press
    Enter
    .
    The System Recovery screen appears on the device.
  12. Tap the touch panel to advance to the next menu choice and navigate to
    Apply upgrade from ADB
    .
  13. Press
    Scan
    .
  14. On the host computer command prompt window type
    adb sideload <file>
    .
    where: <file> = the path and filename of the zip file.
  15. Press
    Enter
    .
    The Factory Reset package installs, and then the System Recovery screen appears on the device.
  16. Press
    Scan
    to reboot the device.
  17. Disconnect the USB programming cable. See Removing the USB Programming Cable.