Fix SSL Kill Switch2 not showing on Settings

Fix SSL Kill Switch2 not showing on Settings

If you landed on this blog post, it probably means you already know what SSL Kill Switch2 is. Therefore I'm not going to explain what it is, but if you want to read more about it, you can find the details here.

If you've jailbroken your device on iOS 11.2 – 11.3.1 using the Electra Jailbreak (thanks coolstar 🙌) and you tried to install SSL Kill Switch2, you probably noticed that after successfully installing it, the Settings application won't contain this row.

Here is how to fix that:

  1. SSH into your device and uninstall SSL Kill Switch2:
    • dpkg -r com.nablac0d3.SSLKillSwitch2
  2. Open Cydia and make sure you already have PreferenceLoader insalled. Otherwise install it.
  3. Reinstall SSL Kill Switch2:
    • dpkg -i com.nablac0d3.sslkillswitch2_0.12.deb.deb
    • killall -HUP SpringBoard

I really liked Jonathan Levin's pattern on LiberiOS, where he sets /jb as the root directory for all-jailbreak-things. I now use this same pattern on all my jailbroken phones.

  1. SSH into your device and create a jb in the root directory:
    • mkdir /jb
  2. Copy the DynamicLibraries folder into /jb:
    • cp -r /Library/MobileSubstrate/DynamicLibraries /jb
  3. Delete the DynamicLibraries folder:
    • rm -rf /Library/MobileSubstrate/DynamicLibraries
  4. Create a symbolic link from DynamicLibraries pointing to TweakInject:
    • ln -sf /usr/lib/TweakInject /Library/MobileSubstrate/DynamicLibraries
  5. Copy the content of DynamicLibraries to TweakInject:
    • cp /jb/DynamicLibraries/* /usr/lib/TweakInject/
  6. Open Cydia and reinstall the Tweak Injector and PreferenceLoader packages.
    • Note: Reinstalling Tweak Injector will reboot your phone, so you'll have to re-jailbreak it.
  7. When your phone reboots and you are able to re-jailbreak it, open the Settings app and now you should see the SSL Kill Switch2 Settings row.
  8. Once everything is working you can remove the temp DynamicLibraries folder:
    • rm -rf /jb/DynamicLibraries

You can use these steps to fix almost any Cydia Tweak not showing up on the Settings app.

Now after doing all of this, you can finally enable SSL Kill Switch2. But it looks like it's not working on iOS 11 ☹, so we'll have to wait for Alban Diquet to fix this.️

Photo by Tyler Lastovich on Unsplash