coolstar / electra

Electra iOS 11.0 - 11.1.2 jailbreak toolkit based on async_awake
GNU General Public License v3.0
656 stars 163 forks source link

[Way to Fix Respring Loop]Request an update. #185

Open Lakr233 opened 6 years ago

Lakr233 commented 6 years ago
  1. Add this code to fun.c unlink("/Library/TweakInject"); before kill(cfprefsd_pid, SIGKILL); around line 350.
  2. Add this sh into /bin rc.zip File details ln -s /usr/lib/TweakInject /Library/TweakInject rm /etc/apt/sources.list.d/electra.list //to avoid cydia yellow text wrong for multiple config. killall SpringBoard
  3. Manually run the script to relink tweaks after respring.
  4. Done.

//i tried to use posix_spwn //but it is not powerfully as it require to run async_wake again //and it may cause kenrel panic

Lakr233 commented 6 years ago

Modify-ed ipa. Please use with the bash script above. Electra.ipa.zip

gdf159159 commented 6 years ago

同样的问题 完全看不懂解决方案 推送给开发者 以便于更新?

Lakr233 commented 6 years ago

嗯是这样的我们每次越狱重启之前都先删除在Library下面的插件链接 重启完成后重新连接 重新respring 就可以解决问题