I bought an iPhone 2g off of a friend. He gave me the phone without the SIM card because he switched carriers. Now that AT&T Sim doesnt work. Stupid me, I tried to upgrade the firmware. Now it is stuck on the emergency call screen. How can I bypass this and unlock it so that I can use my Tmobile sim on it?