2 Ways to Reset Lost iPhone Password

July 10th, 2012 by Admin Leave a reply »

Setting a password on your iPhone is an effective method for protecting your personal data. However, if your password is lost it can be a real problem. The conventional method of bypass iPhone password is to restore your phone to factory default using iTunes. This will reset the lost password but will also delete all of your data. Is there a way to reset iPhone password without losing your data?

In this article I’ll show you 2 easy ways to reset lost iPhone password. Each of them has its own advantages and disadvantages.

Method 1: Reset iPhone Password by Restoring to Factory State

  1. Plug your iPhone into your computer using the bundled USB cable. iTunes will launch automatically.
  2. Select your iPhone from the “Devices” menu in iTunes. Select the “Summary” tab and click “Restore”.
  3. Click “Don’t Back Up” when prompted to back up your data, as this will not work without your password. Click “Restore”.
  4. Wait while your iPhone is reset. It will display “iPhone is activated” when complete.
  5. Click “Restore from the backup of” and select “iPhone” from the drop-down list. This will only work if you’ve previously backed up your data. Click “Continue”. Your data will be restored.
  6. Set up password protection on your iPhone once again if desired.

Method 2: Reset iPhone Password without Losing Data

For jailbroken devices, the root access that comes along with a jailbreak can also be very useful in the case the user forgot the iPhone password. The process involves gaining access to the var/KeyChains root directory and deleting the keychain that holds the password information.

To achieve this, you’ll need a method of gaining root access into your device, either via wireless SSH or a free program like iExplorer. Please note that this method will require your device to be already jailbroken and OpenSSH installed if you plan on using wireless SSH. This method may also fail if your device was jailbroken using limera1n and you haven’t reinstalled the afc2add service.

The following steps utilize iExplorer (download here) to remove the password on your iPhone or iPod Touch without losing data, for both Windows and Mac.

  1. Connect your powered-on device to the PC/Mac using USB cable.
  2. Launch iExplorer and select Root Directory from the left hand pane.
  3. Navigate to var > Keychains.
  4. Within Keychains, locate the one titled keychain-2.db. Right-click on it and Delete Selected.
  5. Disconnect your iPhone from the computer, power it off and power back on. The password would be removed without affecting your personal data or settings.