jtn10 :
My samsung galaxy Y gets auto restart as soon as I insert battery and it gets auto restart after every 2-3 minutes..
Turn off the device.
Press and hold down Volume down and Home button.
While holding both the above keys press and hold the power button, then you will see the disclaimer.
Let go of all the buttons and press Volume up to accept the disclaimer.
The phone goes directly into ODIN/Download mode right after this. You will see a green droid which indicates you’re in ODIN/Download mode.
I hope I have helped you!