Chosen Solution

I have samsung galaxy s3. WHen i charge it gets charge easilly but when i connect to pc it doesnot recognized. I tried lot of other ways but none of methods worked for me. My friend said that software changing can fix this problem. Now i am confused that if mtp mode doesnt shows on pc but chrages then can i flash. And if not then what method i use.

The Galaxy S3 is basically famous for having charging port issues. It sounds like the power and ground connections are fine but the ones that handle data are not making connection. A charging port change is what is needed. If you have soldering skills, its not that hard of a job. Or any reputable repair shop will make short work of this for you.