IPhone 5s Lighting port replacement help

My friends iPhone 5s stopping charging unless he applied leverage on the port by bending up on the lighting cable while plugged in.

So we both figured it was the port. Bought one off amazon and installed it.

The installation process wasn’t super easy but went very well.

However, the battery seems not to accept a charge at all. When I plug in a lightning cable it just bootloops and if i plugged it turns off completely.

It’s like it doesn’t even recognize that battery at all.

Also I did not touch the battery. I only flipped off its connection while replacing the port. I did not even attempt to remove the battery.

Any help is appreciated, thanks.

Sent from my Nexus 6 using Tapatalk