By default, all our images come with a default "Genymotion" admin account to ensure compatibility with the Kiosk feature.
As a result, Android work profiles are disabled by default. If you need to use those profiles, however, it is possible to disable the default admin account.
Disabling the default admin account will break the kiosk feature!
To do so, follow these steps:
- If you are using Genymotion SaaS or Genymotion PaaS, connect your instance to ADB. Please refer to the on-line documentation for instructions:
- Most of our images are not rooted by default, so you first need to toggle root. To do so, please refer to the on-line documentation: How to use the toggle root feature?
-
When done, run the following command:
adb shell setprop persist.genymotion.device_owner.enabled false
This will disable the the default admin account and allow the use of Android work profiles.
If you need to use Android Kiosk feature, make sure to restore the default admin account with the command:
adb shell setprop persist.genymotion.device_owner.enabled true