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