i have iphone 3G , Firmware 3.1.3 & i tried 3.1.2 , jailbreak by redsn0w unlocked with ultrasn0w 1.2

but the problem is restarting itself

i need help please ...