1. Before proceeding ensure you have downloaded the custom recovery from the link given in the Download section above
1. Connect your device to your PC via USB.
2. Connect your device to your PC via USB.
1. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
3. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
```
adb reboot bootloader
```
@@ -19,14 +18,15 @@
* {% t devices.with_the_device_powered_off %}
* {% t device.download_boot %}
{% endif %}
4. Once the device is in fastboot mode, verify your PC finds it by typing:
4. Once the device is in fastboot mode, verify your PC finds it by typing:
```
fastboot devices
```
{% include alerts/tip.html content="If you see `no permissions fastboot` while on Linux or macOS, try running fastboot as root"%}
{% include alerts/tip.html content="Some devices have buggy USB support while in bootloader mode. If fastboot hangs with no output when using commands such as `fastboot getvar` .. , `fastboot boot` ..., `fastboot flash` ... try a different USB port (preferably a USB Type-A 2.0 one) or a USB hub"%}
5. Flash a recovery image onto your device by typing
5.Flash a recovery image onto your device by typing