Found this website.. enjoy! (Worked on my 2g unlocked/jailbroken iphone btw)

Push Fix: Tweak To Enable Push Notifications on iPhone 2G and 3G | FSMdotCOM

It takes off the passcode lock and takes out all passwords (for emails, etc.) so be sure to type back in that info