Hi,[br]
[br]
The feedback you got about the charging port not being genuine is mostly correct. Since you probably didn't touch another part of the phone, chances are high that something in your charge-port is broken. But it's more likely that you got a faulty charging-port. Try to get a charging port from a reliable source, that will accept the part back if doesn't fix the issue. (eg iFixit,..) The phone doesn't know that precisely that your charging-port is non-original, it only sees a missing response from a sensor. I once damaged the barometer on an original charging port just by cleaning it and it caused the phone to restart.
And before you spend any more money on parts, check the panic logs to make sure that the restarts are caused by the charging port, and not another flex cable:[br]
[[iPhone Kernel Panics]][br]
[br]
PS: Wild guess, but have you tried cleaning your old original charging-port with a sim eject tool?