How to Change your iPhone or iPad Root Password

Many people still believe that jailbreaking an iPhone, iPod touch, or iPad is a harmful thing to do. This is not entirely false, in the past, I have seen many people getting their jailbroken iOS device hacked or unauthorized access. As the result, some of their important data was stolen. On the brighter side, not every user who jailbreak their iPhone and iPad will face this issue.

From personal experiences and research, a jailbroken device is actually more secure than an iPhone or iPad that isn’t. Why? Because there are jailbreak tweaks that allow you to set a passcode on individual applications, lock certain features, and much more. As long as you’re aware of what you are installing then nothing bad will happen.

Keep in mind that adding pirated sources and downloading cracked packages is another well-known way of getting hacked. Recently, there was a malware called KeyRaider that targeted Jailbroken devices, especially the one that has pirated tweaks installed.

Besides avoiding piracy to secure your device, users can also change the root password of their jailbroken device to further protect their iPhone and iPad.

Change Root Password for iPhone on Windows

  1. Launch Cydia and Install OpenSSH
  2. On your computer, download PuTTY (a free SSH client for Windows)
  3. Write down the IP Address of your device. This can be done by going to Settings > WiFi > the letter “i” next to your Wi-Fi network
  4. Open PuTTY and type in your IP Address.
  5. The terminal will ask you a question, just type Yes and your login as root
  6. You will be asked for the default password and it’s alpine
  7. To change the root password to something else, enter passwd and type in your new password


There is two type of passwords on your iPhone and iPad. We also recommend that you change the mobile password too and the command line for that is passwd mobile and enter the new one twice.

Change Root Password Right on Your iPhone

If you don’t want to download another software on your computer or just for whatever reasons unable to change your iPhone root password on Windows or even Mac, you have another option. Mobile Terminal is a free jailbreak tweak Cydia that operates just like PuTTY right from your iOS device.

  1. Go on Cydia
  2. Using the Search option, type in MobileTerminal and install it
  3. Restart Springboard
  4. Follow the given command lines above to change the root password of your jailbroken iOS device.

When done, simply close the Terminal and you are good to go. Don’t forget to keep these passwords in a safe place even though you will rarely going to use them.