I have had my laptop hp pavillion g6 for 4 years and now when i turn it on it shows no display and turns off by itself after 5 secs. Sometimes if i spam enter and f11 it boots up loads into windows but it's display is still black and I have to use my tv. When I attempted to reset it thinking it was a software issue causing this it restarted and wouldn't start again it did what I said at the start. I tried to turn it on again and spammed enter and f1 and it started without shutting off after 5 secs but now it won't display on my tv.
sounds like a major hardware failure and there isn't much you can do. the only hope i see you having is that it is overheating so if your able to get access to the motherboard from the bottom try using a can of compressed air to clean any dust out of it and the fans