Category: Jailbreak Fix

Fix iOS 11.3.1 Cydia dpkg_locked error

To Fix iOS 11.3.1 Cydia dpkg_locked error, You don’t need to restart/re-jailbreak.

Use the following commands to fix the error of dkpg_locked.

We will move dkpg folder from /Library to /Private/var/lib/ to fix the dkpg_locked error in Cydia on jailborken iOS 11.3.1

cd /Private/var/
mkdir lib
mv /Library/dkpg /Private/var/lib/

Then simply reload Cydia and it should now ask you to upgrade essential or complete and you’re done.

Fixed: Network Error in Cydia on Jailbroken iOS 11.2-11.3.1

Cydia will give error “unable to load, internet connection appears to be offline” and “network error” if you are using an iPhone/iPad from China and jailbroken by Electra for iOS 11.2-11.3.1.

Just use SSH and run the following command to fix it.

rm -r /var/preferences/com.apple.networkextension* && reboot

Then re-jailbreak the device and it will work.

Fixed: Cydia Tweaks can’t work on iOS 11.3.1 with Electra v1.0.3

Follow steps below to fix Cydia tweaks support on iOS 11.2 ~ iOS 11.3.1 jailbroken with Electra v1.0.3.

Device environments:
OS version: iOS 11.2 ~ 11.3.1
Electra version: 1.0.3

Reason: Tweaks paths incorrect when jailbroken with Electra v1.0.3
Electra TweaksInject path: /usr/lib/TweakInject/
Earlier Electra TweaksInject path: /Library/TweakInject/
Cydia Tweaks path: /Library/MobileSubstrate/DynamicLibraries/

Fix steps:

  1. ssh to the iDevices with root user(default password is ‘alpine’):
    ssh [email protected]
  2. Copy all tweaks and configuration files from Electra tweaks path to Cydia tweaks path:
    mv /usr/lib/TweakInject/* /Library/MobileSubstrate/DynamicLibraries/
  3. Remove Electra tweaks path:
    rm -rf /usr/lib/TweakInject
  4. Remove symbol link:
    rm /Library/TweakInject/
  5. Move Cydia tweaks path to Electra tweaks path and rename it with Electra tweaks path name:
    mv /Library/MobileSubstrate/DynamicLibraries /usr/lib/TweakInject
  6. Create symbol link for Cydia pointed to Electra 1.0.3 Tweaks path:
    ln -s /usr/lib/TweakInject /Library/MobileSubstrate/DynamicLibraries
  7. Create symbol link for earlier Electra pointed to Electra 1.0.3 Tweaks Path:
    ln -s /usr/lib/TweakInject /Library/TweakInject
  8. Respring:
    killall SpringBoard