Firstly, you need to figure out which version of the One X+ you have, the International one, or the North American one.
Then, you said that the phone has a custom ROM installed, it probably has the wrong bootloader. Search for another ROM (either for the International or the N/A version) and be...