Hi i recently took my samsung galaxy 2 to a place that sells phones and service and also repairs them. Well i took it there because my charge port was not charging anymore so he said he could replace it for 65 dollars, well now it will not even connect to the computer at all any computer doesnt not matter i have tried everything. since it doesnt respond to my computer or any computer i wont be able to root my phone will i? And also is it even possible for the port he put on to not do data transfer only charge??
Most rooting techniques require you to connect the phone to a PC via USB in order to unlock the bootloader, so you won't be able to root the phone this way without a working USB port. Some phones have security vulnerabilities which allow you to root the phone from an app (such as Framaroot), but this only applies to specific phones and specific firmware versions which have such a bug.
It's certainly possible for a port to only charge and not transfer data. In a USB port, there are two data pins, a +5V power pin, and ground. If either of the two data pins are broken or not connected properly, you can still transfer power over the power connection, but no data can be transferred. Most likely these pins weren't soldered correctly when your new USB port was added.