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

Additional Rootbeer overrides #148

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

Conversation

rowandh
Copy link

@rowandh rowandh commented Jan 24, 2017

  • Adds additional public method overrides for RootBeer, which some app use directly instead of calling RootBeerNative.checkForRoot()
  • Tested on my device against RootBeer Sample, passes all tests

prattpratt and others added 2 commits November 28, 2016 10:48
- Remove tool-checker library hook as it cause crash.
- Add hook for RootBeerNative.checkForRoot() native method.
- Add hook for exec 'getprop' command.
- Update hook for SystemProperties.get("ro.build.selinux").
@rowandh rowandh changed the title Rootbeer Additional Rootbeer support Jan 24, 2017
@rowandh rowandh changed the title Additional Rootbeer support Additional Rootbeer overrides Jan 24, 2017
@hikaritenchi
Copy link
Collaborator

What's the impact of SELinux disabled (returning an empty string) vs forcing enabled (returning 1)? (I personally don't run my device rooted anymore)

@rowandh
Copy link
Author

rowandh commented Jan 25, 2017

@hikaritenchi this I am not sure about. Perhaps the author of the original PR @prattpratt can answer

@rowandh rowandh closed this Jan 25, 2017
@rowandh rowandh reopened this Jan 25, 2017
@prattpratt
Copy link

@rowandh , @hikaritenchi I've disabled SELinux because rootbeer has corresponding check SELINUX FLAG ENABLED (EXPERIMENTAL). Otherwise (if return "1") this check fail and phone is detected as rooted.

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.

None yet

4 participants