# Root Access

Rooting allows Android mobile operating system users to reach privileged control (known as root access) over various Android subsystems. As Android uses the Linux kernel, rooting an Android device gives similar access to administrative (superuser) permissions as on Linux or any other Unix-like operating systems such as FreeBSD or macOS.

Important

Genymotion Device image virtual devices are rooted and cannot be unrooted.

# From an application

Superuser is already installed on Genymotion Device image virtual devices. When an application requests root access, it prompts a pop-up asking whether root access should be authorized or denied.

The default policy can be changed using the Superuser application.

# From command line

Warning

Connecting as a root user may damage your instance or jeopardize your data. Use it at your own risks.

# SSH

  1. Log in with SSH or PuTTY
  2. Run su command to switch to root user

# ADB

When logging to the instance shell using ADB, you are already connected as root:

  1. Connect the instance to ADB
  2. Run the command adb shell to login to the instance console as root