What recovery are you using. TWRP right? switch to CWM touch should work. its a issue ive stumbled on quite a few times CWM dosnt seem to care about "ro.build.device" TWRP does and wont flash.
I guess its to stop you from flashing the wrong ROM for example.
if the rom states its intended for the m7ul "International HTC One" and you have the m7tmo "HTC One on T-mobile" it wont let you flash because your ro.build.device dosnt match the ROM flash script.
Never built a ROM before so i dont know the stages of how it checks the device model so i may be wrong i just made a educated guess.
Last edited by Sieze; 10th February 2014 at 02:47 AM.