Hack an iPhone

This article teaches you how to jailbreak your iPhone and use a factory reset to bypass a forgotten passcode.

Disclaimer: Jailbreaking an iOS device is an unauthorized use of Apple's software and may result in security vulnerabilities, instability, and the disruption of Apple services. Doing so voids Apple's user-end-agreement and Apple reserves the right to deny service to any devices that have used unauthorized modifications or software.

Steps

Jailbreaking iOS 10 - 10.2.1

  1. Make sure your iPhone is jailbreak-compatible. You must have an iPhone 5S, 6, 6 Plus, 6S, 6S Plus, or SE in order for the iOS 10 jailbreak to work. You won't be able to jailbreak an iPhone 7 or 7 Plus.
    • Your iPhone must also be running iOS 10 or iOS 10.2.1. There is no iOS 10.3 jailbreak as of March 2017.
    • For an iPhone still running iOS 9 through 9.3.3, proceed to the next method.
  2. Make sure iTunes is running the most recent version. Do so by opening iTunes, clicking the Help tab in the upper-left corner, clicking Check for Updates, and clicking Download iTunes if prompted.
    • You'll have to restart your computer after updating iTunes for the changes to take effect.
  3. Plug your iPhone into your computer. Do so by plugging the charger end of the charger cable into the bottom of the iPhone, then plugging the USB end into the USB port on your computer.
  4. Back up your iPhone. While optional, backing up your iPhone will ensure that you can restore any corrupted or missing information if you ever decide to get rid of the jailbreak.
    • Your iPhone will automatically back up by default when you connect it to iTunes.
  5. Disable your iPhone's passcode. You can set it back up once the jailbreak is complete. To remove your iPhone's passcode:
    • Open Settings.
    • Scroll down and tap Touch ID & Passcode (or simply Passcode).
    • Enter your passcode.
    • Scroll down and tap Turn Passcode Off.
    • Enter your passcode again.
  6. Disable Find My iPhone. You'll be able to re-enable it after the jailbreak finishes. To disable Find My iPhone:
    • Scroll down and tap iCloud.
    • Scroll down and tap Find My iPhone
    • Slide Find My iPhone left to the "Off" position. You may need to enter your Apple ID password to do so.
  7. Place your iPhone in Airplane Mode. The Airplane Mode switch is at the top of the "Settings" page; simply scroll up and slide Airplane Mode right to the "On" position. Doing so will prevent your iPhone from updating "Over the Air", which would render the jailbreak impossible.
  8. Go to the Yalu jailbreak webpage on a computer. Use the link provided since there are several impostor sites that will attempt to install malware on your iPhone.
  9. Click the "Download Yalu jailbreak IPA -10.2" link. It's the first link beneath the "Yalu10.2 Beta 7" heading.
  10. Click the "Download Cydia Impactor" link. It's directly below the first link. Doing so will take you to a page with links for different operating systems:
    • Mac OS X
    • Windows
    • Linux (32 bit)
    • Linux (64 bit)
  11. Click the link that pertains to your computer's operating system. These links are located near the top of the page; clicking one will prompt a ZIP file with the jailbreak installer in it to download to your computer's desktop.
  12. Double-click the ZIP folder. Doing so will open it. You'll see several files inside, but the only one you need is the one labeled "Impactor" under the file type "Application".
  13. Double-click the "Impactor" application. This will launch an installer; you'll need to wait for a few minutes until the installer finishes loading its files.
  14. Click and drag the "Yalu" file onto the installer window. This file has an iTunes logo on it.
  15. Enter your Apple ID email address. Do so in the pop-up window.
  16. Click OK.
  17. Enter your Apple ID password. Make sure that this is the same password you use to log into iCloud or the App Store.
    • You may need to generate an app-specific password if you are getting error messages:
      • Go to the Apple ID website.
      • Log in with your Apple ID and password.
      • Click Generate Password... under "APP-SPECIFIC PASSWORDS."
      • Enter a label (such as "jailbreak") and click Create.
      • Copy the password that appears and use it in Impactor when it asks for a password.
  18. Click OK. As long as your Apple ID credentials are correct, Yalu will begin installing onto your iPhone.
    • The installation process will likely take a few minutes.
  19. Open Yalu on your iPhone. This app is black and grey with a human face on it. You'll see it on the Home Screen.
  20. Tap go. It's in the middle of the screen. Doing so will prompt your iPhone to restart; when it finishes rebooting, the jailbreak will be implemented and you'll see Cydia on the Home Screen.

Jailbreaking iOS 9 - 9.3.3

  1. Make sure your iPhone is jailbreak-compatible. You must have a 64-bit iPhone (iPhone 5S, 6, 6 Plus, 6S, 6S Plus, or SE) for jailbreak versions 9.1 and up, though anything below iOS 9.1 can use any iPhone.
    • Your iPhone must also be running iOS 9, 9.3.3, or somewhere in this middle.
  2. Make sure iTunes is running the most recent version. Do so by opening iTunes, clicking the Help tab in the upper-left corner, clicking Check for Updates, and clicking Download iTunes if prompted.
    • You'll have to restart your computer after updating iTunes for the changes to take effect.
  3. Plug your iPhone into your computer. Do so by plugging the charger end of the charger cable into the bottom of the iPhone, then plugging the USB end into the USB port on your computer.
  4. Back up your iPhone. While optional, backing up your iPhone will ensure that you can restore any corrupted or missing information if you ever decide to get rid of the jailbreak.
    • Your iPhone will automatically back up by default when you connect it to iTunes.
  5. Disable your iPhone's passcode. You can set it back up once the jailbreak is complete. To remove your iPhone's passcode:
    • Open Settings.
    • Scroll down and tap Touch ID & Passcode (or simply Passcode).
    • Enter your passcode.
    • Scroll down and tap Turn Passcode Off.
    • Enter your passcode again.
  6. Disable Find My iPhone. You'll be able to re-enable it after the jailbreak finishes. To disable Find My iPhone:
    • Scroll down and tap iCloud.
    • Scroll down and tap Find My iPhone
    • Slide Find My iPhone left to the "Off" position. You may need to enter your Apple ID password to do so.
  7. Place your iPhone in Airplane Mode. The Airplane Mode switch is at the top of the "Settings" page; simply scroll up and slide Airplane Mode right to the "On" position. Doing so will prevent your iPhone from updating "Over the Air", which would render the jailbreak impossible.
  8. Go to the Pangu jailbreak website on your computer. Use the link provided here to avoid accidentally visiting a fraudulent site.[1]
  9. Click Download & Help. It's in the middle of the page.
  10. Click Download. You'll find this option at the top of the page.
  11. Double-click the Pangu program. Doing so will launch Pangu; it will need a little bit of time to detect your iPhone.
  12. Click Start to begin the jailbreak. You'll be asked to confirm that you have created a backup.
  13. Click Already backed up when prompted. Doing so will confirm that you've created a backup in iTunes.
  14. Wait for the initial part of the jailbreak to complete. Your iPhone will reboot when the setup is about halfway done, and you'll be prompted to re-enable Airplane Mode at around the 65 percent mark.
    • You can monitor the percentage of progress that has taken place by watching the bar on your computer's screen.
  15. Open the Pangu app on your iPhone when prompted. You'll see this prompt at 75 percent in the Pangu window. The Pangu app will be on one of the Home Screens.
  16. Allow access to your photos on your iPhone. Pangu will prompt you for access to your photos. This lets Pangu access your iPhone's DCIM folder, which is required to run the exploit that allows the jailbreak to work.[2]
    • Since your iPhone is in Airplane Mode, you don't need to worry about your photos being transferred, and the Pangu app will be removed after the jailbreak is complete.
  17. Wait for the jailbreak to complete. Once Pangu has access to your photos, the jailbreak will proceed. The Pangu window on your computer will display "Already Jailbroken" when the jailbreak is finished, and you'll see Cydia on one of your Home screens.
  18. Launch Cydia. Cydia will begin its initial setup, which may take a few minutes. Once it's finished, your iPhone will reboot. Once your iPhone has rebooted, your jailbreak is complete.
  19. Avoid updating your iPhone. Future updates will likely terminate your jailbreak and prevent you from being able to jailbreak again.

Bypassing a Password with a Factory Reset

  1. Open iTunes on your computer. It's a white icon with a multicolored musical note on it.
    • If a window pops up that tells you to update iTunes, click Download Update and wait for iTunes to update. You'll need to restart your computer after iTunes finishes updating.
  2. Attach your iPhone cable to your phone and computer. The large end of the cable should fit into your computer, while the small end goes in the charging port on your iPhone.
    • Although you can use any USB-to-iPhone charger, use the one that came with your iPhone for best results.
  3. Wait for your iPhone to sync to iTunes. The bar at the top of your iTunes window should say "Syncing [Your Name]'s iPhone (Step 1 of 6)" or something similar. After your iPhone finishes syncing to iTunes, you can begin the restoration process.
  4. Click the "Device" icon. This icon resembles an iPhone and is located beneath the "Account" tab.[3]
  5. Click Back Up Now under the "Backups" section. Doing so will prompt your iPhone to create a backup will all of your iPhone's data that is as up to date as possible.
    • If you have automatic backups enabled, you don't need to back up again--your phone will have done so when you plugged it into your computer.
    • You can check the date of the latest backup under the "Backups" section to confirm that your phone's data backed up.
    • When backing up your phone, you can choose either iCloud, which backs up your phone to your iCloud account, or "This computer", which saves your phone's data on your current computer.
  6. Click Restore iPhone. This option is on the right side of the iTunes page.
    • If you have "Find My iPhone" enabled, iTunes will prompt you to disable it before restoring. Do this by tapping the Settings app, scrolling down and tapping iCloud, scrolling down and tapping Find My iPhone, and sliding Find My iPhone left to the "Off" position. You may need to enter your Apple ID password.
  7. Click Restore and Update when prompted. You'll see this option in a pop-up menu on your computer's screen.
    • Be sure to read the information on the pop-up before continuing so you know what to expect when you restore your iPhone.
  8. Click Next, then click Agree. Doing so will initiate the restore process.
    • Beginning the restore process means that you accept the terms and conditions of use for Apple's software.
  9. Wait for your restore to finish. Since iTunes is erasing and reinstalling iOS on your phone, this may take several minutes.
  10. Click an option under the "Restore from this backup" heading. To do so, click the bar with your iPhone's name in it, then click the date and location of your most recent backup.
    • You'll need to click the circle next to "Restore from this backup" to enable it if it isn't your default option.
  11. Click Continue. iTunes will begin restoring your phone; you should see a "Time remaining" value on the bottom of the restoration pop-up window.
    • The overall phone restoration time can take up to 30 minutes.
  12. Press your iPhone's Home button. Doing this will unlock your phone, with no need to enter your iPhone's passcode.[4]
    • You can place a new passcode on your phone at any time from the Touch ID and Passcode (or just Passcode) section in the Settings app.
  13. Enter your Apple ID password when prompted. Doing this will restore your phone and its data, though you'll need to wait for awhile longer to allow your phone's apps to finish updating.

Tips

  • Though older iOS versions aren't covered here, you can jailbreak your iPhone on iOS versions all the way down to early iOS 7.

Warnings

  • Never attempt to bypass or jailbreak a friend's phone without their permission.

Related Articles

Sources and Citations