Temp disable busybox install for testing
This commit is contained in:
parent
aee3bd3a80
commit
4f62320e7b
@ -156,19 +156,19 @@ public class Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Install Busybox and set as top priority
|
// Install Busybox and set as top priority
|
||||||
if (Shell.rootAccess()) {
|
// if (Shell.rootAccess()) {
|
||||||
String busybox = mContext.getApplicationInfo().nativeLibraryDir + "/libbusybox.so";
|
// String busybox = mContext.getApplicationInfo().nativeLibraryDir + "/libbusybox.so";
|
||||||
Shell.su(
|
// Shell.su(
|
||||||
"rm -rf /data/busybox",
|
// "rm -rf /data/busybox",
|
||||||
"mkdir -p /data/busybox",
|
// "mkdir -p /data/busybox",
|
||||||
"cp -af " + busybox + " /data/busybox/busybox",
|
// "cp -af " + busybox + " /data/busybox/busybox",
|
||||||
"chmod 755 /data/busybox /data/busybox/busybox",
|
// "chmod 755 /data/busybox /data/busybox/busybox",
|
||||||
"chcon u:object_r:system_file:s0 /data/busybox /data/busybox/busybox",
|
// "chcon u:object_r:system_file:s0 /data/busybox /data/busybox/busybox",
|
||||||
"/data/busybox/busybox --install -s /data/busybox",
|
// "/data/busybox/busybox --install -s /data/busybox",
|
||||||
"rm -f /data/busybox/su",
|
// "rm -f /data/busybox/su",
|
||||||
"export PATH=/data/busybox:$PATH"
|
// "export PATH=/data/busybox:$PATH"
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user