

Once the flash completes successfully, reboot the device into recovery to verify the installation.Flash recovery onto your device by entering the following command:įastboot flash recovery your_recovery_image.img where the latter part is the filename of the recovery image.If you see “no permissionsfastboot”, make sure your UDEV rules are setup correctly.Once the device is in fastboot mode, verify your PC sees the device by typing.Open a terminal on your PC and reboot the device into fastboot mode by typingĪdb reboot bootloader or by using the hardware key combination for your device while it is powered off.Make sure the fastboot binary is in your PATH or that you place the recovery image in the same directory as fastboot.


Connect the device to the computer through USB.( Note: Not all devices have this setting, so continue with next step if yours does not.) Enable OEM unlock in the Developer options settings on the device.Make sure your computer has working fastboot and adb.Some devices, however, have no other method to install custom firmware. This unlock method may have certain restrictions, such as not being able to flash a kernel via recovery (no longer applicable to 2013+ released HTC devices) or no USB access to sdcard in recovery. The One (GSM) can be unlocked officially via the HTC Dev unlock program.
