Water damage. Replaced home bottom, dock connecter and battery.
Took me 4hrs but the phone works fine now. I cleaned all contact points while open with isopropyl alcohol. Hopefully it will last!
look at the repair instructions a few times before you start.