You get a shell through ADB.
When I post something I try to make it clear what the recipient is.
Code:
C:\> <-- something you type on a desktop computer, not necessarily Windows
$ <-- typing to the unrooted shell (id=2000)
# <-- typing to a rooted shell (id=0)
An example:
Code:
C:\> adb shell
$ su
#