Unlocking Iphone: Removing Electra Jailbreak

how to remove electra jailbreak from iphone

Electra Jailbreak was the first tool released by CoolStar to exploit iOS 11, introducing new capabilities that laid the foundation for other jailbreaks. However, removing a jailbreak from an iPhone can be challenging. This guide will show you how to remove Electra jailbreak from your iPhone, specifically for iOS 11-11.4.1. Before beginning, ensure you have access to a functional Cydia installation and remove all tweaks and jailbreak apps using Cydia. Then, follow these steps: download the delectra package from GitHub, launch Cydia, search for subs, and uninstall Substitute. Exit Cydia, launch Electra, and ensure it shows Already Jailbroken. Reconnect to Cydia, search for OpenSSH, and establish an SSH connection with your device's IP address as the host name, the generic username root, and password alpine. Finally, open PuTTY, enter your device's IP address and username and password, and execute the unjailbreak script.

Characteristics and Values Table for Removing Electra Jailbreak from iPhone:

Characteristics Values
Preparation Download Delectra file from KirovAir on GitHub
Download WinSCP and PuTTY tool
Step 1 Connect your iOS device to PC via SSH
Step 2 Go to the root directory
Step 3 Unzip the file, find and place the unjailbreak.sh file under the /electra directory
Step 4 Open PuTTY, enter Host name and port number
Step 5 Click "Yes" on the PieTTY Security Alert
Step 6 Enter your username and password
Step 7 Type and execute the following command
bash ./unjailbreak.sh
Step 8 Wait for the removal process to finish
Note Remove all tweaks and jailbreak apps before beginning

shunzap

Download the 'delectra' package

To remove the Electra jailbreak from your iPhone, you will need to download the "delectra" package. This file is available on GitHub, specifically from the KirovAir repository.

Before you begin, it is recommended that you remove all tweaks and jailbreak apps on your device using Cydia. This is an important step as it ensures a smooth uninstallation process.

Now, let's walk through the process of downloading the "delectra" package:

Firstly, connect your iOS device to your computer via SSH. Ensure that you do not alter the file protocol. For the host name, input your iPhone's IP address, and leave the generic username as "root" with the password as "alpine". Remember to adjust the port to 22. Once connected, accept any options that may appear.

Next, navigate to the root directory on your device. You should find a file named "unjailbreak.sh" within the unzipped "delectra" package. Place this file in the /electra directory.

At this stage, you will have successfully downloaded and unpacked the "delectra" package, ready for the next steps in the unjailbreaking process. It is important to follow the subsequent steps carefully to ensure a complete and safe removal of the Electra jailbreak from your iPhone.

shunzap

Establish an SSH connection

Electra jailbreak installs an SSH server on your iPhone, so you must change your root/mobile user password immediately. This is because anyone connected to the same Wi-Fi network can connect to your phone if they have the root or mobile password.

To establish an SSH connection:

  • Install the iTerminal app from the official App Store. The free version will do.
  • Establish an SSH connection using the following details:
  • IP: 127.0.0.1
  • Port: 2222
  • Tap Connect to enter the terminal.
  • Type and execute the following command:

Bash ./unjailbreak.sh

This runs the inbuilt unjailbreak.sh bash script.

Wait for the removal process to finish. Once it's over, go back to your home screen and check that the app is gone.

shunzap

Connect your device to a PC

To remove Electra jailbreak from your iPhone, you will need to connect your iOS device to a PC via SSH.

Firstly, download the "delectra" package from GitHub. You will also need to download the WinSCP and PuTTY tools.

Next, connect your iPhone to your PC via a USB cable. Ensure that the file protocol remains the same. The host name will be your iPhone's IP address, and the generic username is "root", with the password being "alpine". Change the port to 22, connect, and accept any options that appear.

Once connected, navigate to the root directory and unzip the "delectra" file. You should then find a file named "unjailbreak.sh". Place this file under the /electra directory. Ensure that the transfer is complete, then close WinSCP.

Now, open PuTTY. The host name is still your iPhone's IP address, and the port remains the same (22). After connecting, you will see a PieTTY Security Alert. Click "Yes".

A command box will now ask for your username and password. Enter these, and the unjailbreaking process will begin.

shunzap

Use PuTTY or Terminal app

To remove the Electra jailbreak from your iPhone, you can use the PuTTY or Terminal app. Here is a step-by-step guide:

First, download the "delectra" package from GitHub. This file will help you remove the jailbreak from your device.

Next, if you are using a Windows computer, download and open the PuTTY app. If you are using a Mac, use the Terminal app instead.

Now, you need to connect your iOS device to your computer via SSH. Make sure the file protocol remains the same. The host name will be your iPhone's IP address, the generic username is "root", and the password is "alpine". Remember to change the port to 22.

Once connected, navigate to the root directory and unzip the "delectra" file you downloaded earlier. You should find a file named "unjailbreak.sh". Move this file to the /electra directory.

After ensuring the file transfer is complete, close WinSCP.

Now, open PuTTY or Terminal. Enter your device's IP address as the host name, and keep the port the same (22). The connection type is SSH.

A security alert may appear, asking you to click "Yes" to proceed. Next, a command box will prompt you for your username and password. Enter "root" as the username and "alpine" as the password.

Finally, type and execute the following command to run the unjailbreak script: bash ./unjailbreak.sh.

Your Terminal or PuTTY app will provide information about the process. Press Enter to confirm the warning and continue with the unjailbreaking process. Once complete, your device will reboot, and the jailbreak will be removed.

shunzap

Run the unjailbreak script

To run the unjailbreak script, you will need to have the jailbreak and access to a functional Cydia installation. If you are using a Windows computer, you will need to download a couple of things before getting started. If you are using a Mac, the process is identical, but you will need to use Mac versions of the apps mentioned and be more familiar with Terminal and SSH.

Firstly, download the "delectra" package from GitHub. Then, launch Cydia and head to the Search function. Search for "subs" and tap into the Substitute package. Uninstall this from your device, which will remove all installed tweaks that could interfere with the unjailbreaking process. Exit Cydia, launch the Electra app, and ensure it states "Already Jailbroken".

Next, establish an SSH connection. Connect your iOS device to your PC via SSH. Do not change the file protocol. The host name will be your phone's IP, the generic username is "root", and the password is "alpine". Remember to change the port to 22. Connect and accept the options that come up.

After it is connected, go to the root directory. Unzip the file you just downloaded, and you will find a file named "unjailbreak.sh". Put this file under the "/electra" directory. Make sure the transfer is done and close the connection.

Now, open PuTTY. The host name is your phone's IP, the port stays the same, and the connection type is SSH. After connecting, click "Yes" on the PieTTY Security Alert. Then, a command box will ask for your username and password.

Finally, type the following command to run the unjailbreak script: "bash ./unjailbreak.sh". You will be given some information about the script that you will need to take note of. If you want to continue with the process, press Enter on the warning. The Terminal/PuTTY app will give some information about the process before rebooting and closing the connection to the device due to the removal of OpenSSH.

Frequently asked questions

Before beginning the process, it is recommended to remove all tweaks and jailbreak apps on your device using Cydia.

If you have a Windows machine, you will need to download a couple of things before getting started. First, download the "delectra" package from GitHub. Then, install the iTerminal app from the official App Store.

After installing iTerminal, establish an SSH connection using the following details: Host name: your phone's IP; Username: root; Password: alpine; Port: 22. Then, tap Connect to enter the terminal.

Written by
Reviewed by
Share this post
Print
Did this article help you?

Leave a comment