Chosen Solution

inside my charging port is snapped but the main port is still fixed to my phone i would like to know how to replace it as ive bought 2 new charging ports but dont know how to fit them

mark, follow this teardown, you should get to the logic board. There you can replace the port itself. Hope this helps, good luck.

sometimes the USB jack may not be working properly, but you can change it of course,you will need to solder it to the board since it is not a flat one