I find it usually has to go to the service counter to let them flash it back to stock. If that fails, it's a hardware failure.

TWRP is something nonstock so be sure to use forums that support TWRP.
Bob