If you bricked your iPhone by updating an unlocked device, the iPhone Elite dev team has a tool that will restore it to its inital virgin state. It will safely back up and then restore the seczone area of the phone, undoing the bug created by the inital unlock code.

RevirginizingTool – Link