Default how to install custom kernels roms on endeavoru xe ship s off rl

hi devs

recently i'm gifted with htc one x. specs are

endeavor xe ship s-off rl
cid-11111111
h boot- 1.73.000
radio-5.1204.107.31 rest all are disabled and none,
unlocked
cwm-philZ touch 6.0.4.5.


i tried to install custom roms, custom kernels. but found no luck. but whenever i tried to flash roms i ended up with "checking model id assert failed;getprop("ro.prouduct.device")==
endeavoru || getprop("ro.proudct device") ==
endeavoru || getprop("ro.prouduct board


how to fix this