So I just finished modding my Iphone I did three things. I replaced the mic, speaker and dock part on my 3gs, replaced the battery and made the back shell green. Everything went fine but every 5 minutes the thing restarts I dont think its charging unless its shut off too.

I know I am new here and I'll probably only post in this thread but any help will be greatly appreciated.

Thanks guys.