Chosen Solution
I have an iPhone 7 and the power recently run out. I have been charging it for 2 hours and all thats happening is the apple logo is appearing meaning its about to turn back on but then it goes black again and repeats. I thought it was because of the cord so I changed it but it doesn’t help, so I changed the plug and it doesn’t help either. What should I do?
Did the phone have any issues before like speaker phone not working during calls / greyed out icon? Sounds like charging chip needs to be replaced. Take it to a reputable phone repair shop that does board-level repairs / microsoldering to get it fixed.