Hi guys, I have an HTC One m7 unlocked and rooted with TWRP 18.104.22.168. The other day my phone died while i was on the phone with someone, and when i tried turning it back on after charging it some, it would turn on as normal and around 30 seconds later the screen would go black and it would restart. I went into boot loader and from there into recovery. i was going to try to restore it to a previous backup, but when trying to do so it would say the restore "failed" in red. i turned it off through the boot loader power down option. i let it get a full charge overnight and then tried to turn it back on when i woke up. now it worked it stayed on and did not restart over and over again. the next day i wasn't around a charger and my phone died. now I'm faced with the same problem again, only this time it didn't work normally after i let it get a full nights charge. can anyone tell me what this could be due to? any advice on how to fix it would be greatly appreciated also. Thanks!