If the problem was solved after reflashing the kernel then it might be an issue with an app that you have been installing after it,or some settings you might have change.
First reflash the boot.img again,then after that check your settings in any kernel control app you might have on your phone,try running the frequencies that are not too low,also turn off sweep2wake function.And make sure that settings are not set at boot,so the kernel can boot with its default values at boot after a restart.
Do not install more than one kernel app cause they will conflict with each other.
This is the only answer I could offer based on the info you gave in your posts.
I installed kernel control app and also followed instructions as u said but still my phone restarts continuously. Nothing helped..! I returned to stock by restoring nandroid backup but the problem remains.
Please tell me what other information do u want to identify the exact problem...