WHY DOES CYDIA THROW THE DPKG_LOCKED/CYDO RETURNED AN ERROR CODE ERROR?
Cydia throws the DPKG_LOCKED and cydo returned an error code messages on a number of occasions, namely –
- Cydia not installed properly on your iPhone or iPad.
- Cydia installation getting corrupt.
- Jailbreak uses a bogus or outdated version of the Cydia package manager.
- User error.
Thankfully enough, the good old Delectra script still works for Electra1131 even though the developer didn’t update it.
You can easily use this script to clean your Cydia installation and then jailbreak your device again from scratch.
REQUIREMENTS
- iPhone, iPad, or iPod touch
- iOS 11.2-11.3.1 firmware
- Wifi connectivity
- Delectra uninstall script
- A computer running Windows or macOS
- Wifi network
FIX DPKG_LOCKED AND CYDO RETURNED AN ERROR CODE ON IOS 11.2-11.3.1 WITH DELECTRA
PREPARE YOUR DEVICE
Step 1 First and foremost, ensure your device is in jailbreak mode. If it isn’t, re-jailbreak your device by following this guide.
Step 4 Open the Settings app on your Apple device, go to Wi-Fi and tap the “i” icon present alongside your Wifi network you are connected to. Note down the IP Addressvalue as we will be using it in the subsequent steps.
In our case, the IP address is 192.168.1.100.
TRANSFER THE UNINSTALL SCRIPT TO YOUR DEVICE
Step 5 Launch CyberDuck SSH utility and click on Open Connection.
We will demonstrate this process using macOS Mojave but you can perform all steps on Windows as well.
Step 6 Select SFTP (SSH File Transfer Protocol) from the protocol dropdown list. If you set it to any other option, you will not be able to establish an SFTP connection.
Step 7 Enter the following details to establish an SFTP session –
- Server – Your Wifi network’s IP address you noted in step 4 above.
- Username – root
- Password – alpine (default password)
- SSH Private Key – None (default)
Step 8 Cyberduck will now warn you about an “unknown fingerprint”. Click Allow to move on to the next step.
Step 9 Transfer the unjailbreak.sh shell script to the /private/var/root folder by dragging it onto Cyberduck’s window.
Remember, this is the default folder and contains only two sub-folders (Application Support and Library) and a file (files.list).
EXECUTE DELECTRA SCRIPT
Step 10 On your Mac, close Cyberduck and go to Go > Utilities. If you are on Windows, you must use PuTTY telnet client that you can download from this link.
Step 11 Open the Terminal app.
Step 12 You would now want to log in to your device as root. Enter the following commands –
ssh root@<IP Address noted in step 4>
Step 13 Terminal will now warn you about the authenticity of the host and will ask you to continue or abort the session. Type in yes to continue.
Step 14 Type alpine in the “password:” field and wait for it to log you in. Remember, you must use your custom password if you modified it before.
Step 15 Type the following command and hit enter/return key to execute it.
bash ./unjailbreak.sh
JAILBREAK YOUR DEVICE
Step 16 Once the script removes jailbreak from your device, it will go back to its original stock firmware version. Restart and jailbreak your iPhone/iPad using Electra1131.
That’s all there’s to it! You will now be able to install your favorite Cydia tweaks without DPKG_LOCKED and cydo returned an error code messages pestering you.
Sponsor Ads:
Gihosoft Free iPhone Data Recovery is a professional iPhone Data Recovery software to get back all your lost text message, photo, video, call history, note, contact and more from iPhone/iPad/iPod Touch.
Gihosoft Android data recovery Free is a super awesome software specialized in Android file recovery. With this program, you are able to recover deleted photos, music, videos, messages, contacts, call logs, WhatsApp messages, Viber chat history and more from Samsung, Huawei, LG, HTC, Motorola, Google, Oneplus, Sony, Lenovo, ZTE and other Android devices directly. Meanwhile, this Android data recovery software is available for both Windows and Mac platforms.
No comments:
Post a Comment