I got my MSI gs65 stealth in 2018 and used it with no problems (other than some irrelevant things concerning my question) until the last 1 or two months of its life when it stopped working. I dual-booted Ubuntu alongside Windows 10.
The last 2 months the laptop was working showed that it was charging on and off and it seemed to have to do with the cord position. I thought there may be a break in the wire and changed that out and also noticed my battery was bloated so I bought a new battery but by that time there was too much damage. The charging indicator stopped appearing and the laptop stopped charging even with a new cord and new battery. I think the pin/tip to the charger got hot enough to cause a soldered part of the motherboard or the charging port to be damaged. This is a picture of what I am talking about.
I am trying to avoid shipping the laptop to China (it's out of warranty and was told it would be 75USD to diagnose and was likely in need of a motherboard replacement). I am competent enough to do repairs myself, but I just need to know what to do. Any guidance is extremely appreciated.