Installing TWRP Recovery Image to HTC M8

1. Introduction

“Team Win Recovery Project (TWRP) is a FOSS, custom recovery image for Android-based devices. TWRP provides a touchscreen-enabled interface which allows users to backup the current system, ‘root’ the device, and to install third-party firmware such as custom ROMs.” (Paraphrased from Wikipedia, November 4, 2016.)

The following guide is adapted from the TWRP instructions for a “fastboot” install from MacOS. Additional instructions were adapted from the XDA Developer forums. This guide has been tested with, and is specific to, the HTC One M8 handset with Android version 6.0. Your results may vary.

2. Requirements

Device

  • Root access is not required.
  • Developer permissions enabled.
  • USB debugging enabled.
  • Unlocked bootloader.

Desktop

3. Installation

Desktop

  1. Copy the TWRP recovery image to the platform-tools folder.
  2. Connect the device to the desktop with a USB cable.
  3. Use the following command in MacOS Terminal to relaunch the device in bootloader “fastboot usb” mode.

  1. Use the following commands in MacOS Terminal to install the TWRP recovery image to the device and to reboot the device. Use the actual image filename instead of “twrp.img.”

4. Launching TWRP Recovery

TWRP Recovery may be launched either from the desktop over USB or on the device itself from its bootloader screen.

From Desktop

  1. Connect the device to the computer with a USB cable.
  2. Use the following command in MacOS Terminal to relaunch the device in TWRP Recovery mode.

From Device

  1. Power off your device. Press and hold the Volume Down button and then simultaneously press and hold the Power button for several seconds. This will launch the device into bootloader mode. The HBOOT label should be indicated with a blue highlight.
  2. The Volume buttons are used to make selections in the bootloader screen. Highlight RECOVERY and then press the Power button. TWRP will now launch.
m8_recovery
Bootloader screen with Recovery mode highlighted.
See this page at https://kinasevych.ca/index.php