I have my crappy Samsung J5 (6) phone and after rooting it, I want to do something. I'm testing what happens if I add the current user to the root group. My username is j5xnlte, but when I try usermod, it says

sush: usermod: not found

What commands I ran and the output:

j5xnlte:/ $ whoami
j5xnlte:/ $ su
j5xnlte:/ # whoami
j5xnlte:/ # usermod
sush: usermod: not found
j5xnlte:/ # exit
j5xnlte:/ $ usermod
/system/bin/sh: usermod: not found

Maybe I don't have the ability to mess with users or groups? How I can add a user to a group on Android? I also want to know how to log in on Android as root or create a new user.

  • 1
    In the GUI you can never login as root. Each app runs on it's own user, thus you have no Linux user account but a lot of them. User account management is done by Android system. The only way to execute something as root is on command-line (via su) e.g. in adb shell or Termux shell. Apps that can make of root do exactly that in background.
    – Robert
    Jul 1, 2023 at 17:07
  • 1
    See these answers to understand Android users and login process: 1, 2, 3, 4. Jul 2, 2023 at 6:15
  • Is there no way to login as root, I guess it is possible to give root permission to every normal user by editing the Kernel Aug 4, 2023 at 6:24


You must log in to answer this question.

Browse other questions tagged .