Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #6988

Closed
Open
Opened Sep 28, 2012 by Trac@tracbot

[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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#6988