HTC one m7 wont charge or turn on

A

AC Question

My htc one (m7) had the battery die one day and after that it gave me an error on startup saying the system was tampered with and it was locked out.
i plugged it into my computer and when i tried to open it up on the computer the phone instantly shut down and no longer shows any battery lights and wont tun on/respond in any way