add: GrapheneOS 17 Zygote function signatures - #378
Merged
Conversation
Android 17 version of GrapheneOS moved `extraLongArgs` from the end to the front of the argument list. Add the new function signature so ReZygisk can properly work on those devices.
|
All Contributors have signed the CLA. The PR is now allowed to be merged. |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
performanc-bot
added a commit
to PerformanC/CLA-Signatures
that referenced
this pull request
Aug 4, 2026
ThePedroo
self-requested a review
August 4, 2026 08:23
ThePedroo
requested changes
Aug 4, 2026
| whitelisted_data_info_list, mount_data_dirs, mount_storage_dirs, mount_sysprop_overrides, Anon(jlongArray)]) | ||
|
|
||
| # GrapheneOS Android 17 Support | ||
| fas_grapheneos_c = ForkAndSpec('grapheneos_c', [Anon(jlongArray), uid, gid, gids, runtime_flags, |
Member
There was a problem hiding this comment.
I know you followed the pattern 2x And I should have fixed it, but do move this fas to the tons of fas before this to make it consistent. I'll fix the inconsistency of GOS soon, after this PR being merged.
Contributor
Author
There was a problem hiding this comment.
I could move the GOS inconsistency for you in one PR. Do you want them to be grouped to?
respective hunk, aligned with maintainer's new convention
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Changes
Added
fas_grapheneos_candspec_grapheneos_cto JNI hook generatorWhy
Android 17 version of GrapheneOS moved
extraLongArgsfrom the end to the front of theargument list (source permalink).
fas_grapheneos_u/spec_grapheneos_uputAnon(jlongArray)last, which matches GrapheneOS 16 but not 17. Without a new function signature, ReZygisk doesn't work.Note that they are also different from regular Android 17 signature (added in commit 946708e), as GrapheneOS function signatures often do.
Checkmarks
Additional information
Tested on:
caiman), GrapheneOS build2026072901, Android 17 / SDK 37,ro.zygote=zygote64zygisk=0) as ReZygisk requires