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

Remove detection points #111

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

ThePedroo
Copy link
Member

Changes

This PR is focused on doing vast things to remove the amount of detection points in ReZygisk, them being futile or not.

Why

This allows users to have less trouble with applications that use huge amount of detections to prohibit the use of their app.

Checkmarks

  • The modified functions have been tested.
  • Used the same indentation as the rest of the project.
  • Updated documentation (changelog).

This commit changes logs from LOGI to LOGD. This change is explained by the fact that libzygisk.so logs inside the app, which is easily detectable, and LOGI is not removed in release builds, where LOGD and LOGV are, being a better solution in the meanwhile.
This commit focuses in porting JingMatrix/NeoZygisk@2814712#diff-e00e4b92e648c073b9ee1644fba5f7948b2d0b77fcfcdc26b7a4144290e321a3R379 to ReZygisk. Further explanation is given in NeoZygisk commit.
This commit fixes/reverts the removal of SELinux rules, which can be necessary hence causing issues: "The cause is userdebug build has different sepolicy label from user build rom for tmpfs". Thanks aviraxp for reporting this.
This commit is taken from JingMatrix/NeoZygisk@2bf90c1. Note that this will still cause issue with some modules due unused rules being taken out.
This commit both improves the umount system, by properly switching mount namespaces to avoid doing it all the time and also avoid cause gaps, and also remove logging backed by ReZygiskd, as it will later on have its connection cut and end up logging locally, making this futile.
This commit removes the last loggings in release mode for libzygisk.so, that way avoiding logging detections.
@ThePedroo ThePedroo added bug Something isn't working confirmed This issue or pull request is confirmed to be done. enhancement New feature or request labels Jan 11, 2025
@ThePedroo ThePedroo self-assigned this Jan 11, 2025
@ThePedroo ThePedroo mentioned this pull request Jan 11, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed This issue or pull request is confirmed to be done. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant