Chosen Solution

I repLaced my dock connector successfully. Though something went wrong wen I was trying to unplug the battery connector, I mistakenly pulled it from the root instead of taking it off the socket. Well after following all the other steps, I successfully installed and put together the phone. To my greatest surprise the phone turned on. After a few mins it started going off and on by itself. Is this because of the the battery socket I pulled of the board by mistake or there’s another thing I didn’t plug in? If the former is the case, how can I get the battery connector socket back to the iPhone logic board. Thx for any help given.

It probably is the battery connector. Unless you are good at micro soldering, you’ll have to replace the logic board.