Unexpected automatic shutdown solution
The problem, sounds weird, was I had put the phone in a new case. The case was similar to the last case which broke, a leather flip over. First case was no problem second case gave me the problem.
The case causing the problem from H D Accessories IPHONE3G-DELUXEFLIP-BLACK
I tested this many times, hope this helps someone.
24" imac, Mac OS X (10.5.6), iphone, macbook