Potential fix for mmap fail with Invalid argument #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a potential fix for mmap error with invalid argument if
cryptid 0
indicates the encryption is gone.The reason of the invalid arguments comes from the offset based on the documentation:
The offset is now aligned with the page size. Some apps may work because the offset is indeed the page size by chance. It fails for many because it can be larger than the page size, but not a multiple of it.
Additionally, the script for iOS now supports sending to the device directly if the local IP address if provided for faster debugging and testing.
I have only done some testing on iPad OS 16.7. So far, the following apps are working:
In summary, this PR potentially addresses the following issues:
It is now working with the Rootless jailbreak by palera1n.