In the RUU zip there is a android-info.txt file that contains the text
My question: can I alter the CID in this file bypass the check? Or is it hardcoded / checked during other stages?
So... I do have a HTC J (valente_wx / ISW13HT) which has no operational ROM (CWM is installed though). Due to this faulty ROM flash the internal SD card isn't functioning properly, thus I have to flash the stock RUU. However, the phone is HTCdev bootloader unlocked, which in turn required a CID change (KDDI_801 -> 11111111) which causes a RUU CID mismatch error.