@mptu:
please read the whole thread or the wiki, this has been answered 100's of times.
The CID is a 8-byte string identifying the operator/carrier and country.
The CID is stored on your device and on ROM upgrade files (NBH).
When you flash a ROM on your device the bootloader checks that the CID on your device matches the CID on the ROM you are trying to flash, before actually flashing it. If both CIDs do not match you get the "Invalid vender ID" error.
The CID string has 2 parts: first 5 bytes identify the Operator, next 3 bytes identify the country. I've put some some examples in the next table:
Code:
+---------------+----------+----------+----------+----------+----------+----------+
| | HTC | Vodafone | I-mate | Orange | o2 | T-Mobile |
+---------------+----------+----------+----------+----------+----------+----------+
| English (WWE) | QTEK_001 | VODAP001 | CDL__001 | ORANG001 | O2___001 | T-MOB001 |
| Germany (GER) | QTEK_102 | VODAP102 | CDL__102 | ORANG102 | O2___102 | T-MOB102 |
| Spain (ESN) | QTEK_304 | VODAP304 | CDL__304 | ORANG304 | O2___304 | T-MOB304 |
| Italy (ITA) | QTEK_405 | VODAP405 | CDL__405 | ORANG405 | O2___405 | T-MOB405 |
| France (FRA) | QTEK_203 | VODAP203 | CDL__203 | ORANG203 | O2___203 | T-MOB203 |
+---------------+----------+----------+----------+----------+----------+----------+
There is a bug in Hermes bootloader 1.04 which lets you bypass CID checking, this has been corrected in bootloader 1.06, so everything you flash in bootloader 1.06 MUST match your CID.
If your device is SuperCID you can flash ANY ROM upgrade (NBH), it doesn't matter which CID it has.
You can check the CID in your device with bootloader command 'info 2': this command will return [HTCS] + 8byte CID + 4byte CRC + [HTCE]
To learn how to access the bootloader
read the wiki.