[orbot] Orbot relies on "which" to find the "su" binary.
On a stock system without busybox, requesting root access fails because "which"(a part of busybox) is not available.
D/Orbot (12049): executing shell cmds: which su; runAsRoot=false;waitFor=true D/Orbot (12049): Could not acquire root permissions
############ % adb shell shell@android:/ $ which which /system/bin/sh: which: not found 127|shell@android:/ $su shell@android:/ # echo -e '#!/system/bin/sh\necho /system/xbin/su' > /system/xbin/which shell@android:/ # chmod 755 /system/xbin/which shell@android:/ # which /system/xbin/su ############
After that. It works.
Trac:
Username: MSal