George Hotz (aka "geohot") recently made a name for himself when he released a software utility called purplera1n that gave Windows users the first usable iPhone 3GS jailbreak. The reason why this became such big news was not just because he had produced the first jailbreaking tool for the new iPhone, but because he had beaten the iPhone Dev Team to the punch. (The Dev Team is the group of developers who release the utilities to unlock and jailbreak iPhones and iPod Touches.)
Now it seems Hotz is at it again. Although this time around he's not first, he is claiming that his new software, "purplesn0w," is a better unlocking tool for the iPhone 3GS than what the Dev Team has put out.
Hotz says his tool is closer to a "true unlock" and it only patches three files to do so. He also notes that it addresses the Wi-Fi and battery issues seen with the Dev Team's unlock called "ultrasn0w." If you're skeptical about his claims (and a developer), you can look at the purplesn0w source code and decide for yourself if his work is better.
In case you're unfamiliar, jailbreaking and unlocking are two entirely different things. Jailbreaking is simply a type of hack that lets you install unapproved third-party applications on your iPhone or iPod Touch from searchable repositories provided by apps like Cydia and Icy. Unlocking, on the other hand, is a hack that lets you use your iPhone on another cellular network. Here in the U.S., that means you can use the iPhone on T-Mobile instead of AT&T. You have to first jailbreak your phone before you can unlock it, but you don't have to unlock a phone in order to jailbreak it.
In order to unlock your iPhone 3GS to work on another carrier's network, you have to first jailbreak your phone. The instructions below assume you have already done so. Because jailbreaking is a more involved process, we won't document it in this post. (Note: you can read our online guide "how to jailbreak your iPhone to OS 3.0" to jailbreak your phone).
In this case you'll want to use the software "purplera1n" to perform the jailbreak before using purplesn0w.
As always, it's a good idea to have a current iPhone backup in place in case something goes horribly, horribly wrong and you have to restore your device to factory settings.
Also note that at the present time, your phone will have to already be activated in order for this unlock to work. However, it sounds like a "hacktivation" is in the works -meaning that, in the future, you won't need to officially activate your phone with AT&T (or your country's default carrier) first.
Note: You can follow the same steps as above to install the ultrasn0w unlock as well, if that's your preference. The only difference is that the repository to add to Cydia is http://repo666.ultrasn0w.com and, obviously, you'll be looking for the ultrasn0w app to install.