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.
Warning
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¶
Danger
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
- Run
su
command to switch to root user
ADB
When logging to the instance shell using ADB, you are already connected as root:
- Connect the instance to ADB
- Run the command
adb shell
to login to the instance console as root