First: You have to know HTC file description for Exmple :
RUU = rom update utility.
Bravo = phone model.
Froyo = phone android version.
O2_UK= Carrier of firmware.
188.8.131.52 = main version of rom.
Second: Every firmware.zip has 2 main attributes: modelid (MID) and cidnum (CID).
MID contains a codename of your device. For example the “0P6B1000” is the international version of the HTC One M8, while the “0P6B13000” is the T-Mobile U.S. version of the HTC One M8.
CID is the carrier software codename. For example the “HTC__J15” code represents the unbranded international version of the HTC One M8, while the “T-MOB010” code represents the T-Mobile U.S. software. Different CID numbers are usually used for mobile operators to include different regional settings, languages or to include some extra software (Wi-Fi Calling, Visual Voice Mail etc.).
Once you know the version of the firmware you have, you need to check if your device can be safely flashed with that particular firmware.zip. To check that:
- Download this mini-sdk package and extract it to c:\mini-sdk
- Connect your device to the PC
- Boot your device in fastboot mode (vol down + power ===> fastboot)
- Open a command prompt on the PC (cmd.exe), type and confirm each command with ENTER:
- cd /d c:\mini-sdk
- fastboot getvar all
This is an example output from the international version of the HTC One M8:
If both CID and MID numbers match you can safely flash the firmware.zip.