[One (M8) General] mike1986.:
This thread is a placeholder for all possible firmwares we can get from official HTC OTA's.

Your CID number must be exactly the same. If it's written "HTC__001" it means you can't flash it, if your CID is "02__001". The whole text must match!

How To: Find the proper firmware variant for the HTC device

How To: Flash firmware package on the HTC device​

Please READ this small F.A.Q. before continuing!

What is firmware.zip?

Firmware.zip is a part of each OTA update from HTC. It contains important part of the firmware like radio, bootloader, recovery, kernel etc..

Why it's important to flash firmware.zip and when should I flash it?

It is recommended to have flashed latest firmware on your device for best modem performance and system stability. Sometimes it's necessary to have latest bootloader flashed because otherwise your device might not work well with new system update.

Does firmware.zip contains radio?

Yes, it does contain radio, and for S-ON devices the only method to update radio is to flash latest firmware.zip

Why it's important to flash it before flashing custom ROM?

Because firmware.zip contains boot.img (ramdisk and kernel) that will replace custom boot.img from any custom ROM you have. That's why you have to flash firmware.zip first, because otherwise boot.img will be overwritten with stock one.

If you already flashed firmware.zip after flashing custom ROM, just flash this particular custom ROM again.

Does firmware.zip contains recovery?

Yes, it does contain recovery image, that's why after flashing firmware.zip you will have to flash custom recovery again, to be able to flash custom ROM afterwards.

Can I flash this firmware.zip on any HTC One?

Not if your device is S-ON. To be able to flash it on S-ON device, your modelid (example: PN0710000) and cidnum (example: HTC__001) must match the firmware.zip version you are about to flash.

If my modelid or cidnum doesn't match, can I brick my device if I try to flash firmware.zip anyway?

As long as your device is S-ON flashing firmware.zip with non matching modelid or cidnum will result in error and nothing will be flashed, so there is no risk of brick.

Do I need to have locked, unlocked or relocked bootloader to be able to flash firmware.zip?

Your bootloader needs to be

relocked

.

If I can't flash newest firmware.zip because of wrong modeid (MID) or cidnum (CID) does it mean I can't use custom ROM based on the latest HTC update?

In most cases you should be able to run any custom ROM as long as hboot update is not mandatory.

What if there is no firmware.zip for my MID/CID?

Try to find latest OTA update for your original stock ROM and send it to me. I will post firmware.zip here.
​

How to flash?

(bootloader needs to be

relocked

)

If you are S-ON ---> Re-lock your bootloader (this will most probably wipe content of your device)

If you are S-OFF ---> no need to re-lock the bootloader.

Copy downloaded .zip to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)

Re-name .zip file to firmware.zip

Open command prompt

Boot your device in fastboot mode (vol down + power ===> fastboot)

Connect device to the PC

In command prompt cd to fastboot.exe location

Make sure you have correct modeid and cidnum (type: fastboot getvar all)

Type: fastboot oem lock (if your device is not relocked yet or in case it's S-ON)

Type: fastboot oem rebootRUU and wait for device to reboot

Type: fastboot flash zip firmware.zip and wait for process to complete

Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.

Type: fastboot flash zip firmware.zip and wait for process to complete

Type: fastboot reboot

Unlock your bootloader and flash custom recovery if you are going to use custom ROM.

RUUs variants:

Click here

​