So here is a post for a guide to flash a [UNOFFICIAL] CM-12.1 latest security patches! [28.02.2016] onto the Sprint HTC One (M7). Here you will see that how you can step by step install or flash a rom on your device. So let us begin.

Before you Begin:

There are couple of things that you need to know before you begin with the procedure. Like you should be knowing and having a basic knowledge about android rooting, recoveries, and also in general a bit about roms. Of course you are going to install one on your device. But before please note, that this tutorial is only for Sprint HTC One (M7), and any other device would brick if you flash the same rom on it (Downloaded from this post). ROM is a general interface that runs over the android source code, and acts as an interface between the main source code and the user.

Skip to Section

It is not an operating system, but more like a skin that is over the android. Generally the roms that come along pre-installed on your device are known as Stock ROMs, and since they have so many unwanted app known as Bloatware, they are very slow and lag too much So if you have an old device, and you are already fed up from it's performance, you can always root your device and change the stock rom with a custom rom and increase the speed and the performance and also add many features to your phone that weren't present before.

Pre Requisites:

There are some things that you need to get done before we start wth flashing of [UNOFFICIAL] CM-12.1 latest security patches! [28.02.2016] on Sprint HTC One (M7), and below is a checklist of those things.

You need to have root access on the device, and a compatible recovery or the device.

Also you need to install a compatible recovery on the device, a cwm or a twrp.

You can do that by links given below, at the end of this section.

Since you are flashing a new rom, it would also wipe of the data on the device, so make sure that you have a proper backup of the device before you begin.

Download the ROM files, and place it to the SD card partition of the phone.

Charge the device to at least 70 percent before you proceed, as it should not turn off while in the procedure, and it could soft brick the device as well.

Downloads:

Download the [UNOFFICIAL] CM-12.1 latest security patches! [28.02.2016] file from the link below for Sprint HTC One (M7) from the link in the below section. Note that it has been locked and so as to get your access, you need to do as mentioned on the locker box below.

There are two ways by which you are going to flash a rom on the device, and they are named as dirty flash and clean flash. Only use dirty flash if you are using an older version of the rom that you are going to flash or a similar rom based on it. But in case it is your first time, and you were on stock rom before, then you got to use clear flash. WE recommend that you use clean flash, instead of dirty flash. But again, clean flash will wipe the data, so I hope you ave backed it up already.

Dirty Flash:

So here is the first part, i.e., the method to clean flash the ROM on the device.

Place the ROM file on to the SD card of the device.

Reboot the device into the Recovery mode.

Now 'Wipe Cache', of the device, tap on 'yes', if it asks for confirmation.

After that, go into 'Advanced' and then 'Wipe Dalvik Cache', select 'Yes' for confirmation.

Now come back into the main menu, and select the 'Install zip from SD card', and then select the file that you have placed on to the device.

After that confirm, and let the recovery install the rom file for you.

After it is successful, reboot the device. That's it.

So this is how you dirty flash [UNOFFICIAL] CM-12.1 latest security patches! [28.02.2016] on Sprint HTC One (M7), so now let us see how to clean flash a ROM. FOllow the instructino that are give below to do so.

Clean Flash:

So place the rom file on to the SD card of your device.

Reboot the device to the recovery, that you installed.

Now select, 'Wipe Data/Factory Reset' and tap on 'Yes' if it asks for confirmation.

Now 'Wipe Cache', of the device, tap on 'yes', if it asks for confirmation.

After that, go into 'Advanced' and then 'Wipe Dalvik Cache', select 'Yes' for confirmation.

Now come back into the main menu, and select the 'Install zip from SD card', and then select the file that you have placed on to the device.

After that confirm, and let the recovery install the rom file for you.

Now again select the 'Install zip from SD card', and this time choose the Gapps package.

So this was a short post that helped you out to flash [UNOFFICIAL] CM-12.1 latest security patches! [28.02.2016] on Sprint HTC One (M7). Needless to say, if you face any error, ask us out in the comment section, or go to the original thread, by clicking on the Source link and Contact The Developer(jafangie) of the ROM.