Skip to content

Commit

Permalink
updated su locations to check in native lib
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyab committed Jun 30, 2015
1 parent ec2427e commit d12981d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions rootbeerlib/jni/toolChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__);

const char *paths[8] = {
"/sbin/su",
"/system/bin/su",
"/system/xbin/su",
"/data/local/xbin/su",
"/data/local/bin/su",
"/system/sd/xbin/su",
"/system/bin/failsafe/su",
"/data/local/su"

"/data/local/",
"/data/local/bin/",
"/data/local/xbin/",
"/sbin/",
"/system/bin/",
"/system/bin/.ext/",
"/system/bin/failsafe/",
"/system/sd/xbin/",
"/system/usr/we-need-root/",
"/system/xbin/"
};


Expand Down

0 comments on commit d12981d

Please sign in to comment.