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

Refactor Zygisk loading #5372

Merged
merged 3 commits into from Feb 6, 2022
Merged

Refactor Zygisk loading #5372

merged 3 commits into from Feb 6, 2022

Conversation

yujincheng08
Copy link
Collaborator

@yujincheng08 yujincheng08 commented Feb 3, 2022

Fix #5353

Points of refactoring:

  1. LD_PRELOAD is set to /system/bin/app_process since it's not umounted
  2. Use a proper way to dlopen fd
  3. Instead of munmaping LD_PRELOADed so file manually, use ANDROID_DLEXT_RESERVED_ADDRESS to dlopen on the same memory space to make LD_PRELOADed so file dlclosable.

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.

Magisk - Zygisk not turning on
2 participants