Skyler Kaufman | 991ae4d | 2011-04-07 12:30:41 -0700 | [diff] [blame^] | 1 | # Flashing # |
| 2 | |
| 3 | To flash a device, you will need to use `fastboot`. Place the device in fastboot mode either manually by holding the appropriate key combination at boot, or from the shell with |
| 4 | |
| 5 | $ adb reboot bootloader |
| 6 | |
| 7 | Once the device is in fastboot mode, run |
| 8 | |
| 9 | $ fastboot flashall -w |
| 10 | |
| 11 | The `-w` option wipes the `/data` partition on the device; this is useful for your first time flashing a particular device, but is otherwise unnecessary. |
| 12 | |
| 13 | # Emulating # |
| 14 | |
| 15 | To run the emulator, type |
| 16 | |
| 17 | $ emulator |
| 18 | |
| 19 | |