Hardware error. Return your device to Apple if possible. The problem is a bad dock connector on the iPhone. Must change the connector. If you have tried almost everything, reset the logic board (leave uncharged for five days or remove battery for half an hour), then pwn and restore. if this doesn't work, the "hard disk" of your iPhone is damaged.
Error 29