The Pwnage Tool by the DevTeam hacker group allows you to create custom iPhone firmwares for the purpose of jailbreaking, to get full control over your device (see why you should jailbreak here).
Just a word of caution in case Apple decides to release an iPhone firmware update, say… tomorrow —or next week or whenever: if you have a software-unlocked iPhone, don’t update until it gets confirmed ...