what ROM are you trying to install? how did you install TWRP?
by the way, the way it works on this phone is that the recovery is packaged with a kernel. whatever the kernel has, you're stuck with. unless you flash a kernel that has an alternative recovery (example: one of hhp's Devil TWRP kernels) you can't just flash a recovery. so maybe you have a bad flash if you tried doing that.