Xbox 1X hdmi repair

I recently got my Xbox 1X repaired after the hdmi port broke, however, all they did was swap the two ports and call it a day. Now all my Xbox does is boot up for a couple seconds and then shut down whilst smelling like smoke. Is there anyway I can fix this?