Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /usr/libexec/cydia/firmware.sh not finishing and iOS 9 compat #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

radj
Copy link

@radj radj commented Oct 7, 2015

Details:
The new firmware.sh version will retry gssc process until it doesn't return a string in both stderr and stdout that contains (null). Since Introspy hooks into all processes, Introspy is injected into gssc, it doesn't find a bundle ID and thus prints (null) in the logs and causing firmware.sh to keep retrying forever using battery and blocking firmware.sh's completion.

Fixed this by getting the process name instead if the bundle ID is not found. I understand this is a problem in firmware.sh also and will occur with other tweaks that print (null) into the logs and that should be fixed, too.

Details:
The new firmware.sh version will retry `gssc` process until it doesn't return a string in both stderr and stdout that contains `(null)`. Since Introspy hooks into all processes, Introspy is injected into `gssc`, it doesn't find a bundle ID and thus prints `(null)` in the logs and causing firmware.sh to keep retrying forever using battery and blocking firmware.sh's completion.

Fixed this by getting the process name instead if the bundle ID is not found. I understand this is a problem in firmware.sh also and will occur with other tweaks that print `(null)` into the logs and that should be fixed, too.
@radj
Copy link
Author

radj commented Feb 29, 2016

This pull request now includes the filter plist to make it work in iOS 9.

@radj radj changed the title Fix /usr/libexec/cydia/firmware.sh not finishing Fix /usr/libexec/cydia/firmware.sh not finishing and iOS 9 compat Feb 29, 2016
@radj radj mentioned this pull request Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant