My phone won't boot as i stated it turns off automatically at the htc logo screen. Sometimes if it wants to it do get turn on (totally the phone's choice i would say ), but it won't stay turned on for more then 5-7 minutes. I have been trying switching it on for more then 2-3 hours ,in between i firstly wiped the cache then made a factory reset (yes it loads into twrp recovery sometimes....totally my phone's choice here too). I was waiting for it to get into recovery again as the above stuff didn't make any progress. So just when it got into recovery I re-flashed my custom rom that i have been using i.e Lineage 14.1....but even this time nothing resolved ....it still switches off at the htc logo screen and stays off and now I know nothing else to do. Please help me with this.