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.
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¶
Connecting as a root user may damage your instance or jeopardize your data. Use it at your own risks.
- Log in to the instance shell with SSH or PuTTY
sucommand to switch to root user
When logging to the instance shell using ADB, you are already connected as root:
- Connect the instance to ADB
- Run the command
adb shellto login to the instance console as root