Image Credits: HTC Corporation
HTC Smartphones are among the premium versions of the Android devices available in the market. When it comes to HTC M9 it is rich in features and also have a premium feel. It is factory installed with a large 5.0 inches Super LCD3 capacitive touchscreen display having Corning Gorilla Glass 3 protection, 3GB RAM, Octa-core processor, stereo speakers etc.
Even though this phone is a top performer it will even better when installed with custom ROM’s like Cyanogenmod. So today we are going to explain a detailed tutorial on installing the all time favourite Cyanogenmod, sorry it’s predecessor the LineageOS 14.1 on your HTC One M9 (GSM) and HTC One M9 (VZW).
This tutorial will answer the below queries.
- How To Install LineageOS On HTC One M9 (GSM)?
- How To Install LineageOS On HTC One M9 (VZW)?
Before proceeding with any of the steps below make sure that your HTC One M9 is properly backed up.
1. To start with the flashing procedure first please enable the “Developer options” and the”USB Debugging mode” on your phone by going into the settings menu. Once done also enable the “OEM Unlock“, under the same menu. A detailed tutorial to enable OEM unlock is given below.
When done all the above steps please enter your phone into fastboot mode by pressing and holding the “Volume Up + Power” buttons at the same time when in the switched off status.
Or you can try an adb command, to run the command you need a working “ADB” on your PC. To execute the command please open the “Command Prompt” on windows system or terminal on Linux/Mac PC’s, then type,
adb reboot bootloader
Now press enter to execute the command.
Once in “fastboot mode” please connect your phone using a USB data cable to your computer.
If you doesn’t have a working ADB please set it up before proceeding with the further steps.
In the next step when you are in the fastboot mode please type the below adb command,
fastboot oem unlock
When the the process is finished your HTC One M9 Smartphone will be rebooted and it’s bootloader will be unlocked.
3. Now you need to install a custom recovery on your phone like TWRP. TWRP can be downloaded by following the below given link. In the download page find your device and download the correct file.
To install the TWRP custom recovery on your HTC One M9 you need to enter it again into fastboot mode.
Once in fastboot mode please type the following adb command in CMD or terminal.
fastboot flash recovery twrp-3.1.1-0-hima.img
Here replace the “twrp-3.1.1-0-hima.img” file name with the downloaded one.
When the command is successfully run your device will be installed with the TWRP custom recovery.
4. In the next step we are going to, install the LineageOS 14.1 on your HTC One M9.
As a first step download the correct LineageOS firmware file from the below given links.
In the next step please copy the LineageOS 14.1 “.zip” file to the root of your phone’s sdcard. Now reboot into recovery mode by pressing and holding the “Vol Down + Power” buttons at the same time when you are in the power down status.
In the recovery mode please select “Wipe and then Advanced Wipe” and select Cache, System and Data partitions to be wiped and then do a Swipe to Wipe it all.
After that return to the recovery mode main menu and tap on “install” and navigate to the LineageOS file you have already saved on your sdcard and select it. In the coming screens you will be prompted for some user actions which when done will result in the installation of the LineageOS.
Also you may install the Google Apps by following the same procedure.
That’s it guys, if you have followed the steps carefully your HTC One M9 Smartphone will be installed with LineageOS 14.1.
If you liked How To Install LineageOS On HTC One M9? tutorial please give a like on social networks by using the below buttons.