Jailbreaking your iPhone or iPad is a risky process that we can't unreservedly recommend, but it remains popular among those who wish to install unofficial apps and tweaks on their smartphone or tablet via the Cydia marketplace. Here's how to jailbreak your iPhone or iPad in iOS 9 - and iOS 8, too.

(What is jailbreaking? In essence it means bypassing the locks put in place by Apple on its iPhones and iPads, and thus gaining access to a large number of apps that Apple hasn't authorised. For explanations of this and many, many more Apple-related terms, see our Apple jargon-buster encyclopedia.)

Update 22/10/2015: Apple has just released iOS 9.1 which brings the News app to UK users, along with a host of new emoji. Sadly, it also blocks the vulnerabilities used by the Pangu team to jailbreak iOS 9 devices, so if you're jailbroken right now/thinking about jailbreaking your device, avoid downloading iOS 9.1.

Read next: Should you jailbreak an iPhone? Jailbreaking safety and security tips

How to jailbreak an iPhone: A warning

Some of the unofficial apps that you'll gain access to after jailbreaking are pretty tempting, and may offer features you'd never otherwise be able to access, but be weary; jailbreaking your iPhone and installing tweaks and apps from disreputable sources may lead to hackers being able to access your iPhone. We recommend only using reputable sources, such as those pre-loaded in Cydia, and staying away from any pirated repositories – it may be tempting to download tweaks for free, but you might be handing over access to all your personal information at the same time!

Apple itself offers advice on the subject of jailbreaking (although you may feel that the company is biased in this respect, since it wants to continue getting its cut of the revenue from official app sales). In this tech note Apple suggests that jailbreaking your iOS device may lead to security vulnerabilities, instability, shortened battery life, unreliability, disruption of services and inability to apply future software updates. It may result in Apple denying service for your device.

Nonetheless, many Apple fans have been jailbreaking iOS devices for years without encountering these issues. But once they've jailbroken such a device, they understand that they should expect no help from Apple if it causes them trouble in the future. With choice comes responsibility.

Read: Pros and Cons of jailbreaking an iPhone.

How to jailbreak an iPhone: tethered and untethered jailbreaking

What’s the difference between a tethered and untethered jailbreak? Tethered jailbreaks require you to attach your iOS device to your computer and run an application to jailbreak it. If you later power off the device and then restart it, the jailbreak is wiped out, and you have to repeat the entire process. It also means your iOS device is completely useless until you do so, which isn’t convenient.

These kinds of jailbreak were the first to be developed. But what prospective jailbreakers wanted was an untethered method, where the hack would remain in effect even after the device was switched off and on again. This is called an untethered jailbreak, which is what is available for those looking to jailbreak iOS 9 and iOS 8.

Jailbreaking iOS 9: How to jailbreak an iPhone or iPad in iOS 9

Even though iOS 9 has only been out for a short time, the Pangu team has already released a jailbreak for Apple’s latest software. The Pangu team first appeared back in 2014, offering an untethered jailbreak for devices running iOS 7.1 – people were initially suspicious of the unknown group releasing a jailbreak, but the utility was tested and given the thumbs up by tech evangelists. They then released a jailbreak for iOS 8 just two days after it was released by Apple, making it the quickest ever release for a jailbreak – and it seems they’re following a similar pattern with iOS 9.

Pangu 9 will jailbreak iPhones, iPads and iPod Touchs running either iOS 9.0, iOS 9.0.1 or iOS 9.0.2 – users running the iOS 9.1 beta will have to downgrade before attempting to jailbreak. It’s compatible for the following iOS devices:

  • The iPhone 6s, iPhone 6s Plus, iPhone 6, iPhone 6 Plus, iPhone 5s, iPhone 5c, iPhone 5, and iPhone 4s.
  • The iPad 4, iPad 3, iPad 2, iPad mini 4, iPad mini 3, iPad mini 2, iPad mini 1, iPad Air 2, and the iPad Air 1.
  • The iPod touch 6, and the iPod touch 5.

Unfortunately for Mac users, the initial release of Pangu 9 is for Windows users only. From here, you have two options; you can either wait and hope that Pangu 9 will be available for Mac soon (it hasn’t been confirmed yet, but it was a similar story with Pangu 8 and was released weeks after) or you can install a virtual machine on your Mac using VirtualBox, which we show you how to do here: Run Windows 10 on your Mac using VirtualBox. Don’t worry about paying for Windows 10 just to jailbreak your iPhone or iPad, as Microsoft offers a free 90-day trial before forking out your hard earned cash – plenty of time to jailbreak!

See also: iPhone 6s review | iPhone 6s Plus review | All iPhone reviews

So, for PC users (and Mac users running Windows 10 via a virtual machine) here’s how to jailbreak your iPhone, iPad or iPod Touch running iOS 9:

1) Back up your device. The first step you should take is to back up your iPhone or iPad either via iTunes or iCloud to make sure your data is safe and secure. Although Pangu 9 has been given thumbs up by many users, there’s still a risk that something could go wrong during the install that requires you to completely reset your device. It’s better to be safe than sorry!

2) Download Pangu 9. The second step is to download the jailbreak software, Pangu 9 from here. As mentioned above, its currently for Windows users only but make sure you check back periodically as a Mac version should be on the way fairly soon. Also make sure you have iTunes installed (you won’t actually use it, but the installed files are needed).

3) Disable Find my iPhone, Touch ID and Passcode. In order to successfully complete the jailbreak, users must first disable Find my iPhone, Touch ID and Passcode.

4) Launch Pangu 9. Once you’ve backed up your iOS device, disabled Find my iPhone, Touch ID and Passcode, it’s time to jailbreak your iPhone. On your PC, right click the .exe file and click “Run as administrator” – opening the app by double clicking it may throw up some issues down the line with permissions, so running the app as an Administrator should prevent this.

5) Plug your iOS device into your PC/Mac. Plug your iOS device into your PC/Mac once you’ve opened Pangu 9, and it should be automatically detected by the software. Once your device has been detected, simply press “Start” to start the jailbreak process. 

6) Toggle Airplane Mode. Follow the on-screen instructions to complete the jailbreak process. You shouldn’t have to do too much apart from occasionally unlocking your iOS device and putting it into Airplane mode, which is done via the Control Centre (swiping up from the bottom of the screen) or via the Settings app.

7) Your iOS device will reboot. Once you see “Jailbreak completed” on the Pangu 9 app, your device should reboot and display Cydia, the jailbroken ‘app store’, on your homescreen.

8) Open Cydia and download tweaks. Simply tap on the Cydia icon on your home screen to open and configure the app – this should only take a few seconds. Once complete, you’re free to download and install the various apps and tweaks that Cydia and the jailbreak community have to offer!

Word of warning: Beware of the tweaks and apps you’re installing from Cydia, as some may not yet be compatible with iOS 9 and could cause your phone to become sluggish or crash randomly. You can find a list of the compatible iOS 9 jailbreak apps & tweaks right here.

If, when you open Pangu 9 you’re welcomed with a runtime error, don’t worry – there’s a fix available. First of all, make sure you have iTunes installed as the error can pop up when the app can’t find the required files. If you’ve got iTunes installed and its still displaying the error, the workaround requires a bit more effort – but is still doable.

You need to uninstall iTunes and its related content in the following order:

  • iTunes
  • Apple Software Update
  • Apple Mobile Device Support
  • Bonjour
  • Apple Application Support

To uninstall iTunes, simply open the Control Panel and click “Uninstall a program”. Make sure that you don’t restart your computer until all of the above applications have been removed.

Once you’ve uninstalled iTunes and its related content and restarted your computer, its time to reinstall it (we know, it’s long winded!) from Apple’s website. Once installed, run Pangu 9 again and this time, you should be able to get through the process without running into the runtime error.

See also: How to install iOS 9 on iPhone, iPad and iPod Touch

Jailbreaking iOS 9: Secure your jailbroken device

So, you’ve jailbroken your iOS device – congratulations! Enjoy experimenting with the various tweaks and apps available via the Cydia repository. However, before you get too carried away, we advise you to take the following steps to secure your device. All iPhones have a ‘root’ superuser installed by default, which has access to everything on the phone – and, importantly, the password is the same across all iOS devices.

If a hacker manages to access your iPhone, all they need to do is input the default password (alpine for those wondering) to access pretty much anything on your device. Changing the default password for the root superuser should greatly increase the overall security of your iOS device, and here’s how to do it.

The first step is to open Cydia and download the MobileTerminal application – don’t worry, it’s free and will give you command-line access to your iPhone. Once you’ve installed the app, open it up and follow these steps:

  • Type su root and tap return.
  • You should then be prompted for root’s password which is alpine – enter that and tap return.
  • You should now be logged in as root – now type passwd and tap return. This should launch the command-line password-changing program.
  • Enter the new password – make sure it’s one that’s hard to guess and not something like password. It’s worth noting that for security reasons, the password utility won’t display the text you’re entering.
  • You’ll then be asked to verify your new password.
  • Once you’ve verified your password, you should be taken back to the command prompt. Simply type exit and tap return to logout of the root user.

There’s also a mobile user that also has access to your data and has the same default password of alpine. Follow steps 2-6 to change mobile’s password and you should be protected from any potential hacks.  

Jailbreaking iOS 8: How to jailbreak an iPhone or iPad in iOS 8

But what about those of you that haven’t made the jump to iOS 9? We have some good news and some bad news when it comes to jailbreaking an iOS 8 device. If you’re running iOS 8.0-8.1 or iOS 8.3-8.4, you’re in luck as an untethered jailbreak is available and ready to use. However, if you’re running iOS 8.4.1, the last variant of iOS 8 before Apple launched iOS 9, you aren’t quite as lucky. Though a jailbreak for iOS 8.4.1 has been confirmed as in the works by the Pangu team, it isn’t yet available to the masses. Those on iOS 8.4.1 have two options; you can either update your software to iOS 9 and follow the above tutorial, or wait for the iOS 8.4.1 jailbreak to be released.

See also: iOS 9 upgrade advice: The basics. What is iOS and more

Those looking to jailbreak their device running iOS 8-8.1 should use Pangu 8, and those looking to jailbreak their device running iOS 8.3-8.4 should use TaiG 2.

Both jailbreaks are compatible with the following iPhones, iPads and iPod touch devices:

  • iPhone 4s, iPhone 5, iPhone 5c, iPhone 5s, iPhone 6, iPhone 6 Plus
  • iPad mini, iPad mini 2, iPad mini 3 
  • iPad, iPad Air, iPad Air 2
  • iPod Touch

The process is fairly similar to the above tutorial, with the only real difference being the software that you run. You can download Pangu 8 from here, and you can download TaiG 2 from here. Once you’ve downloaded the appropriate software, simply follow our above tutorial and on-screen instructions to jailbreak your iOS 8 device on either a PC or Mac.

Read next: 32 brilliant iOS 9 tips

Follow Lewis Painter on Twitter | Follow Macworld UK on Twitter

See also:

Opinion: Why I continue to jailbreak

Should you risk jailbreaking your iPhone?

How to fix a water-damaged Apple iPhone

Our most popular iPhone tutorials:

How to unlock an iPhone

How to back up an iPhone

How to block phone numbers on an iPhone

How to reset, factory-reset, restore or restart an iPhone

How to update to the latest version of iOS on an iPhone

How to take a screenshot on an iPhone