[Sprint HTC One (M7)] manish dubey:
here is the latest firmware

Modified Firmware w/ Radio....removed hboot, boot, recovery (fastboot flashable): https://www.androidfilehost.com/?fid=95747613655046758

Step-By-Step

using adb

Open a Command Prompt (Windows) or Terminal (Mac) window and change into your ADB directory if necessary.

cd adb

Reboot your device into the bootloader:

adb reboot bootloader

Now you need to put the device into fastboot mode:

fastboot reboot-bootloader

Now you need to put the device into OEM flash mode:

fastboot oem rebootRUU

At this point, you should see a silver HTC logo appear on your device’s screen.

rebootruu-mode

Now you’re going to flash the firmware file.

Make sure your device is positioned such that it will not fall off the table and disconnect it’s USB cable. Do not disconnect, power off, or push buttons on your device while the firmware is flashing. Interrupting the firmware flash can brick your device.

fastboot flash zip firmware.zip

You will get a response that looks something similar to this:

sending 'zip' (71868 KB)...

OKAY [ 4.936s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 6.410s

IMPORTANT!!! Repeat the same exact command again. You will notice the flash says “FAILED” and an instruction to “flush the image again immediately”. This is a typo by HTC, it means to flash the image again.

You can easily get the command again by pressing the UP key on your keyboard.

fastboot flash zip firmware.zip

Now you will get something like this:

sending 'zip' (71868 KB)...

OKAY [ 4.884s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[adsp] unzipping & flushing...

(bootloader) [RUU]WP,adsp,0

(bootloader) [RUU]WP,adsp,100

(bootloader) ...... Successful

(bootloader) start image[cir] unzipping & flushing...

(bootloader) ...... Successful

(bootloader) start image[rpm] unzipping & flushing...

(bootloader) [RUU]WP,rpm,0

(bootloader) [RUU]WP,rpm,100

(bootloader) ...... Successful

(bootloader) start image[sbl1-1] unzipping & flushing...

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-2] unzipping & flushing...

(bootloader) signature checking...

(bootloader) verified fail

(bootloader) ..... Bypassed

(bootloader) start image[sbl1-3] unzipping & flushing...

(bootloader) signature checking...

(bootloader) [RUU]WP,sbl1-3,0

(bootloader) [RUU]WP,sbl1-3,100

(bootloader) ...... Successful

(bootloader) start image[sbl2] unzipping & flushing...

(bootloader) [RUU]WP,sbl2,0

(bootloader) [RUU]WP,sbl2,100

(bootloader) ...... Successful

(bootloader) start image[sbl3] unzipping & flushing...

(bootloader) [RUU]WP,sbl3,0

(bootloader) [RUU]WP,sbl3,100

(bootloader) ...... Successful

(bootloader) start image[tp] unzipping & flushing...

(bootloader) ...... Successful

(bootloader) start image[tz] unzipping & flushing...

(bootloader) [RUU]WP,tz,0

(bootloader) [RUU]WP,tz,100

(bootloader) ...... Successful

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,26

(bootloader) [RUU]WP,radio,53

(bootloader) [RUU]WP,radio,79

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

OKAY [ 39.601s]

finished. total time: 44.485s

The status bar on your phone will likely not go all the way to 100%. This is normal. The last little bit is actually the device rebooting. But at this point, the update pauses to allow you to view the log and correct any potential errors before rebooting. Look at the second-to-last line of the process. If you see the result status “OKAY” you are good to go.

Reboot your device:

fastboot reboot