scottyab / rootbeer

Simple to use root checking Android library and sample app
Apache License 2.0
2.43k stars 435 forks source link

Get Log Data of Root Beer #166

Open nauhalf opened 3 years ago

nauhalf commented 3 years ago

Is there any method / property to get the logs (String / List) from Root Beer when the lib detected root ?

I want to store the log to firebase so If there was a false positive I can give the information in issue.

Thx

scottyab commented 3 years ago

Good idea. There isn't anything at the moment. Partly why we allow added/allow the individual root checks to be called is that callers could build up a matrix of which checks passed/failed and use that as a guide to which checks were providing false positives. But yes being able to get a String of the checks performed and the output could be useful. Thanks for the suggestion.

nauhalf commented 3 years ago

@scottyab I look into the RootBeer Class that you call QLog.v(completePath + " binary detected!"); to log when rootbeer detected something. Can I just add another property like List<String> logs to put that log into the list and add another function to retrieve the list? if that's possible, I want to make a pull request about it

test-pad commented 3 years ago

Hi. May I know if there is a log file or some means for me to know what is causing the false positive for my Samsung note 20 ultra phone? It is not rooted and trying to find what causes the false positive as some apps cannot run (instarem) or some functions cannot be used properly (shopee top-up).

Thank you very much.

Screenshot_20210916-065916_RootBeer Sample.jpg