I think it is usually hard to tranfer to another course without starting from year 1, because the course content may not be similar, unless you are studying something like mathematics and would like to change to statistics, which the credits you take at year 1 are sort of similar. In your case, I would suggest you to see if any university near your home have other course which have a similar course in year 1, if there is, u may try to apply it, if no, then I think you need to start from year 1 if u really want to change to other course.
As for friends, I saw that you said you hated it, can you tell me why? I think making friends are quite easy if you are willing to join club and society that you like, coz it will be easier to find someone who have the same interest with you. So did you do anything which makes you into this situation?