yes i have unlocked both 2g and 3g. the 3g one is still tricky, i had to buy an add on sim chip from china for 15 bucks, and then you can stick your tmobile sim in the phone with the chinese sim (its very thin) and then it works fine. it has not been software unlocked tho but supposedly soon you will be able to.
visit iclarified.com or
http://blog.iphone-dev.org/
those are the guys that are making the unlock