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

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *