Did you get an error 9?
I have this exact problem with my daughters iPhone SE.
I ended up buying her a new phone but I am still trying to find a way to fix it. I found some software called Reiboot but to actually fix it they want about £50 for the software.