If it stopped working after you changed the port, you disconnected or broke something when putting it together. Exactly what you did is impossible to know without being there to look at the tablet. If you took it apart to change the port, take it apart again and make sure all the connections are seated properly.