My iPhone 3gs keeps showing apple logo and then shutting off and repeating

My iPhone 3gs keeps showing the white apple logo then shuts off then repeat while charging how do i fix this? I've tried resting it already

Added (1). there's no apple store near my location

Take it to an Apple Store for assistance

You may need a new battery. If you overcharge it, it'll make the battery life last shorter.

Try a different charger because the one you use may not be good.

Also take the phone apart and make sure all the wires are properly attached.

If there are further issues you may need to get it looks at or you're due for a new phone.

There could be several reasons for this issue. Try restoring with itunes with latest firmware.

  • My iphone won't turn on, the apple logo keeps coming on and then off? My phone randomly wouldn't come back on, so when I got home I connected it to a USB, ever since all that comes up is the apple logo and then it goes off again and keeps repeating, it won't switch on and I don't know why, please help Also my top right button, used to unlock the phone is also broken
  • My Iphone keeps shutting off, but before it shuts off, my screen freezes and there's these lines that show up, they're random? My Iphone keeps shutting off, but before it shuts off, my screen freezes and there's these lines that show up, they're random. Sometimes there's this crackling sound, and sometimes the line move, my mom says its just the phone, but my dad says, its the proccecor and that its overheated, i have an Iphone SE rose gold 64 gb and my iOS is 12.3.1
  • My Iphone 4s keeps freezing then shutting off? This started happening about two weeks ago, and it's happened around five times. What happens is it freezes up and I can't do anything on it, then it just shuts off. If I try to turn it back on it doesn't do anything. Even if I plug it in the charger. And the logo doesn't even show up if I hold down the lock button. Then after about five minutes it'll turn back on. What's wrong with it?
  • My iphone 3GS keeps turning off and then back on? It keeps doing this and it won't stop. I didn't do anything to it. I held the home and lock button for about 15 seconds and that completely turned it off. I then gave my phone a pep talk hoping it would listen and turn on but it didn't.