If you follow this guide and put in a new battery;
Make sure to align the battery very carefully so that the flex cable lines up with the connector!
I put mine in a bit to the side, which makes it so the flex cable doesn't lie down flat. When reassembling the phone the cable is crushed down, which I think could damage it.
Though it did end up working fine in my case, it felt very sketchy.