Lightning port not working

My iPhone 12 initially would not turn on. I changed the battery, and it now boots up normally, but it will not charge. I then replaced the charging port assembly; the phone still turns on, the Taptic Engine responds, and the speaker works perfectly, but it still does absolutely nothing and does not detect anything when a charging cable is plugged in. Any advise?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1
crwdns2934285:0crwdne2934285:0