unable to boot into recovery mode
To successfully flash the TWRP you must enter it at the first time boot after flashing. Otherwise it will be overwritten by the standard recovery and all your efforts will be wasted. Also check this question.

Only first time matters.