HTC One is on display at a store. (Reuters)Reuters

Early this year, HTC announced that it would disband software service to the 2013 flagship smartphone One M7.

However, here is some good news for One M7 owners as software developer community AICP (Android Ice Cold Project) has released new custom LP 9.0 ROM based on the latest Android 5.1.1 Lollipop.

[Read more: HTC One (M7) Software Update Service Ends with Android 5.0.2 Lollipop; Don't Wait for v5.1 Stability Software, Says Company]

It brings numerous bug-fixes and new features including battery life enhancements and performance tweaks to improve user-experience.

Prerequisites (Things to remember before installing the CyanogenMod CM12 Nightly):

1.  This new AICP Android 5.1.1 Lollipop custom firmware has to be installed on the HTC One M7 model only ; if tried on other devices, it might get bricked [To check your device model: Go to Settings >> About phone >> model number]

2.  Make sure the device is rooted before going forward with custom ROM installation

3.  Installation of custom ROM requires clearing of memory in the smartphone, so make sure to back all the data by installing Clockwork Mod (CWM) Recovery/ TWRP in the smartphone.

4.  Make sure you have installed USB drivers on the PC, or else your smartphone (HTC One M7) will not be recognised by the computer.

5.  Make sure your device has more than 80% battery, or else there is a chance of smartphone getting temporarily bricked if the installation process is interrupted mid-way.

[Disclaimer: This procedure is very technical and should be performed by a person with sound knowledge of rooting (or manual software installation) Android devices. If the step-by-step installation process is not followed properly, there are chances of the smartphone getting bricked or being permanently irreparable. International Business Times, India Edition cannot be held responsible for any damage or claims from readers if the procedure does not yield the required results or if the smartphone is bricked. Hence, users are advised to proceed with caution.]

Tutorial: Step-by-step Installation Guide for AICP Android 5.1.1 Lollipop custom ROM on HTC One M7 (GSM) model:

Step 1: Download AICP Android 5.1.1 Lollipop custom ROM (HERE) and Google Apps (HERE) in to your PC.

Step 2: Connect HTC One M7 to PC via USB cord.

[Note: Before plugging the phone to the computer, be sure that you have installed USB driver software, if not, click HERE to download the firmware]

Step 3: Then, place Android 5.1.1 Lollipop zip file and Google Apps files into the phone's SD card memory. [Note: Users are advised to paste the .zip file in SD card root, not in any other folder.]

[Note: Before installing the custom software, be sure that the device must have been rooted and has installed ClockworkMod Recovery tool.]

Step 4: Later, place boot.img file in to the android-sdk-windowsplatform-tools directory

Step 5: Now, turn off the device and disconnect from the PC.

Step 6: Perform the regular Bootloader mode sortie, by press holding 'Volume (Down)' and 'Power' buttons.

Step 7: After entering the Bootloader mode (on the phone), go to android-sdk-windowsplatform-tools directory (on the PC) and open Command prompt, then type in: 'fastboot flash boot boot.img' and press enter.

(To enter Command prompt: Shift + right-click >> open Command Prompt)

Step 8: Then, type - 'fastboot reboot' and press enter. Then, follow instructions displayed on the screen. Select BOOTLOADER option to enter Recovery Mode.

Step 9: After entering the Recovery mode, clear the phone memory, by choosing 'wipe data/factory reset' [Note: use Volume keys to navigate and power button to select options, while operating under Recovery Mode]

Step 10: Now, clear the cache memory by selecting 'wipe cache partition'.

Step 11: Then to go back to ClockworkMod recovery, and select 'advanced' and tap 'wipe dalvik cache' [Note: This step is optional, but many recommend this procedure so that user will not face boot loops or any other errors in the middle of custom ROM installation]

Step 12: Again come back to main recovery screen and then tap 'install zip from SD card'

Step 13: Then tap 'choose zip from sdcard' and go to Android 5.1.1 Lollipop ROM .zip file in SD card and enter the installation process. Repeat the same procedure for Google Apps [Note: use Volume keys to navigate and power button to select options]

Step 14: Once done with the installation process, navigate to '+++++Go Back+++++' and re-start the device by opting 'reboot system now' seen in the recovery menu.

Now, your device (HTC One M7) will take at a few minutes (only for the first time) to complete the booting process.

Head to Settings >> select 'About phone' to confirm the installation of AICP Android 5.1.1 Lollipop custom ROM.

[Credits: AICP (Android Ice Cold Project)]

Quick Links