Fix DPKG_LOCKED / cydo returned an error code issue on Electra1131 Jailbreak for iOS 11.2 – 11.3.1

DPKG_LOCKED / cydo returned an error code issue on Electra1131 Jailbreak
In depth to fix the DPKG_LOCKED / cydo returned an error code issue on Electra1131 Jailbreak for iOS 11.2 - 11.3.1

DPKG_LOCKED/cydo returned is an error code that comes after Electra1131 jailbreak. Many users are unable to fix this DPKG_LOCKED/cydo returned an error code Electra issue.

Apparently DPKG_LOCKED or cydo returned an error code appears either because the cydia installation got corrupted, or Cydia isn’t installed properly. Also using an outdated version of cydia package manager could throw this error message on screen.

Source – Yalujailbreak

Here is a quick guide to fix DPKG_LOCKED/cydo returned an error code on Electra1131 jailbreak for iOS 11.2-iOS 11.3.1 firmware.

How to to fix DPKG_LOCKED And Cydo Returned an Error Code On Electra1131 for iOS 11.2-11.3.1 –

  • Connect your iPhone with your PC.
  • Now download and install Cyberduck on your windows PC or Mac from here –
  • Also you’ll need download or Delectra shell script by going to this link –
  • From your iOS device, navigate to Settings> Wi-fi > Tap on “i” icon beside your connected wifi network NAME. It’ll provide subsequent network information about your network.
  • Simply note down or copy the IP address.
  • Open up Cyberduck on your PC or Mac. Then click on Open connection.
Source – Yalujailbreak
  • On the next window, From the protocol drop-down list choose SFTP (SSH File Transfer Protocol) to setup a new SFTP connection.
Source – Yalujailbreak
  • Enter this following details in the respective fields, Server – paste the copied IP address of your wifi network, Username – root, Password- alpine and SSH Private Key – None.
  • An Waring related to an unknown fingerprint will appear on your screen. Click on Allow.
Credits – Yalujailbreak
  • Now you’ve to transfer the downloaded shell script to the /private/var/root folder by dragging it onto Cyberduck window.

  • You’ll see terminal icon, click on it to open.

  • Now you’ve use this command to log in as root user. In the terminal type – ssh [email protected][paste the copied IP address].
  • You’ll get a message – Are you sure to want to continue connecting ? so just type yes.
  • In password field, enter the default password that is alpine.
  • Now you’ll be logged in.
  • After that, enter this command – bash ./ and hit enter.

  • After executing the command, the script will remove the jailbreak files from your iPhone or iOS device.

Now simply restart your device and then you can jailbreak it using the latest Electra1131 tool to enjoy your favorite cydia tweaks. Follwing this guide, you can fix the DPKG_LOCKED and cydo returned an error code issue with Electra1131 on iOS 11.2-11.3.1 firmware.

Other common Electra Errors –