Default [Q] Random Reboots

So, i've an old sensation xe, it constantly random reboots, i've tried the trick with paper but nothing changed, so i think it is a software problem.
now it have the old hboot and firmware and android 4.4.2 but with old kernel, what can i upgrade to get rid of this problem? (kernel rom radio or everithing else) thanks in advance

Remember to press thank bottoun if I've helped you!