If the charging port is broken you'll have to unsolder the current contact and resolder a new one.
open