coolstar / electra

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

Detecting bundle id in TweakInject may causes app crash #235

Open hirakujira opened 6 years ago

hirakujira commented 6 years ago

Because I also occurred this issue: https://github.com/coolstar/electra/issues/72 , I tried to find out the solution. Finally, I noticed that it's caused by TweakInjector.

When TweakInjector initializing, it detects the bundle id of target app. However, the Gogoro App may not response with this method (not sure) when TweakInject loaded, and causes crashes.

I just made a workaround solution which is loading TweakInject.x after some delay https://github.com/hirakujira/TweakInjector_delay/blob/master/TweakInject.x

However I don't know the "correct" way to solve this, maybe there's a potential bug of TweakInject.

Mowd commented 6 years ago

This workaround works well with Gogoro App, however it's not the final solution, because it will cause any tweaks load AppList failed.

blahdy commented 6 years ago

this workaround also resolved the issue with MTS Connect (carrier provided ip calling app) with the same symptoms

thanks, hirakujira

any chance this gets fixed by the author?

https://itunes.apple.com/ru/app/мтс-connect/id1046883922?mt=8

latest electra multipath on 6+ 11.2.6