Wednesday, December 19, 2012

Factory Reset Android Developer Phone without password

If fastboot is installed on the handset (or commonly called bootloader), it might be best to re-flash via usage of USB cable and the handset with the cable plugged in.

In order to achieve this, a original image file is needed for this to work. The essence of fastboot, is that from the command line, the handset can be re-formatted and told to boot specific kernels without touching the original on the handset.

Consider the options used in the fastboot binary command line application, as in:

usage: fastboot [ <option> ] <command>  commands:   update <filename>                        reflash device from update.zip   flashall                                 flash boot + recovery + system   flash <partition> [ <filename> ]         write a file to a flash partition   erase <partition>                        erase a flash partition   getvar <variable>                        display a bootloader variable   boot <kernel> [ <ramdisk> ]              download and boot kernel   flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it   devices                                  list all connected devices   continue                                 continue with autoboot   reboot                                   reboot device normally   reboot-bootloader                        reboot device into bootloader   help                                     show this help message  options:   -w                                       erase userdata and cache   -s <serial number>                       specify device serial number   -p <product>                             specify product name   -c <cmdline>                             override kernel commandline   -i <vendor id>                           specify a custom USB vendor id   -b <base_addr>                           specify a custom kernel base address   -n <page size>                           specify the nand page size. default: 2048 

Thus, the command line to wipe cleanly and flash the original image file would be this:

  1. fastboot erase system to wipe the /system partition cleanly.
  2. fastboot erase data to wipe the /data partition cleanly.
  3. fastboot flash system original_system_image.img

The optional step may as well be, to flash the original boot image which can be achieved in this manner - fastboot flash boot original_boot_image.img.

If you happen to have the original update.zip for your handset, it might be easier to do it in this fashion, instead of the three steps above listed, as in fastboot update update.zip.

Source: http://android.stackexchange.com/questions/35689/factory-reset-android-developer-phone-without-password

fat tuesday obama sweet home chicago accenture match play george washington carver king cake

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.