How to take the passcode off of my iPhone?

I locked myself out of my iPhone 3Gs and can't remember the passcode.

I believe you go to your settings, then go to general, then go on to passcode lock and turn it off.

You could try plugging it into a CPU and restoring it. Make sure to back all of your info up if you do this though

Unfortunately you will need to do a system restore on your iphone. Hopefully all your stuff is backed up.

Unfortunately you will have to restore the iPhone data from the latest backup.

Restore the iPhone on your computer