No, its not even remotely like that. You clearly have no working knowledge of how Linux based OS’s work. There a reason so many actual Linux distros ship with Root disabled and want you to use sudo instead.
You don’t directly, certain apps are already allowed to access certain system level permissions. You can’t directly without Rooting. Although arguably, many ADB commands are performing root level changes.
No, its not even remotely like that. You clearly have no working knowledge of how Linux based OS’s work. There a reason so many actual Linux distros ship with Root disabled and want you to use sudo instead.
So how does one use sudo on Android then?
You don’t directly, certain apps are already allowed to access certain system level permissions. You can’t directly without Rooting. Although arguably, many ADB commands are performing root level changes.