[SCRIPT][ANDROID] SUDo for Android

Search This thread

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
Earlier today I came up with the idea of a sudo implementation for Android. I mean, it's pretty tiring to have to enter 'su' first before issuing root commands, right? Sometimes we even forget to do that.

Description:
Well, this isn't a binary, but a script. What it does is just take the commands you pass to it and append it to 'su -c.'
I know it's dead simple but I wanted to bring this over to Android in an easy way, and I had free time :D

Usage:
Code:
sudo [command]    - run [command] as root
sudo -b                    - use bash as root
sudo -s                    - like -b, but with sh
sudo -h                    - display the help message

Download:
Dropbox
Put it in /system/bin or /system/xbin, set perms to 755.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Earlier today I came up with the idea of a sudo implementation for Android. I mean, it's pretty tiring to have to enter 'su' first before issuing root commands, right? Sometimes we even forget to do that.

    Description:
    Well, this isn't a binary, but a script. What it does is just take the commands you pass to it and append it to 'su -c.'
    I know it's dead simple but I wanted to bring this over to Android in an easy way, and I had free time :D

    Usage:
    Code:
    sudo [command]    - run [command] as root
    sudo -b                    - use bash as root
    sudo -s                    - like -b, but with sh
    sudo -h                    - display the help message

    Download:
    Dropbox
    Put it in /system/bin or /system/xbin, set perms to 755.
    1
    Link down

    Inviato dal mio Nexus 4 utilizzando Tapatalk

    Updated