Genymotion SaaS

How to connect a virtual device to ADB in Genymotion SaaS?

Author: Julien Maneyrol.

Date: 2025-07-31.

This tutorial will guide you on how to connect a running virtual device to ADB in Genymotion SaaS.

How to use MobSF with Genymotion SaaS

Author: Julien Maneyrol.

Date: 2025-04-14.

In this tutorial, it is assumed that you are familiar with MobSF and you are using it from a physical local machine.

For detailed information about MobSF, please refer to MobSF documentation.

Important This tutorial requires modification to MobSF source code; it will not work with MobSF official docker image.

Prerequisite

Topic sentence: The following items prepare the environment for MobSF with Genymotion SaaS.

Setup gmsaas CLI.

Configure the path to your Android SDK.

Use the following command: <sdk_path> should point to the Android SDK installation directory, similar to the ANDROID_SDK_ROOT or deprecated ANDROID_HOME environment variables.

Configure authentication

Topic sentence: Authentication setup ensures the Genymotion SaaS API token is available.

You will need a Genymotion SaaS API token for this step.

If you haven’t created one yet, you can follow the steps from our on-line documentation.

Next, use the following command.

Alternatively, you can store the API Token in the environment variable: GENYMOTION_API_TOKEN.

Verify gmsaas configuration

Topic sentence: Verification confirms authentication and SDK readiness.

Verify gmsaas configuration.

Run the command.

If the command returns “Authentication OK” and “Android SDK OK”, you are all set with gmsaas!

Connect an instance to ADB

Topic sentence: The instance is connected to ADB after the setup.

Start your instance.

When it is in “Running” state, copy the instance UUID (you can get it from Genymotion SaaS UI dashboard, or with the gmsaas recipes list command), then use the following command.

Replace <instance_uuid> with the instance UUID.

The command returns to shell once ADB is connected.

If the –adb-serial-port <PORT> option is set, the instance will be connected to ADB on localhost:<PORT>.

Another method is to connect any running instances to ADB by combining this command with the –quiet or -q option and xargs.

You can verify with the adb devices command; adb should now be connected to “localhost:XXXXX device”.

Configure MobSF

Topic sentence: The following steps configure MobSF in conjunction with Genymotion SaaS.

1. Clone MobSF open-source code to your computer:

2. Modify the code Edit the Mobile-Security-Framework-MobSF/mobsf/DynamicAnalyzer/views/android/environment.py script and comment the following lines in def connect_n_mount(self): Save the script.

3. Install MobSF Important It is strongly recommended to use a Python Virtual Environment to install and use MobSF. In the Mobile-Security-Framework-MobSF folder, run:

4. Launch MobSF When done, run this command:

Now, you can access MobSF by browsing to http://localhost:8000/.

Log in and navigate to DYNAMIC ANALYSER, your Genymotion SaaS instance should appear as connected at localhost:XXXXX :

Install Magisk on Genymotion

Author: Julien Maneyrol.

Date: 2025-02-05.

This tutorial describes how to install Magisk on all Genymotion products.

Make a minimalist Ubuntu + gmsaas Docker image

Author: Julien Maneyrol.

Date: 2024-12-03.

In this tutorial, we will cover how to create a minimalist Ubuntu 22.04 docker container with gmsaas and how to use it.

Use Burp Suite with Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-05-13.

Set up, connect and use Burp Suite with Genymotion SaaS.

Aplitools Visual Tests with Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-04-23.

Run Applitools Visual Tests on Genymotion SaaS Virtual Devices.

React Native UI testing with Detox & Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-04-23.

Scale your e2e React Native UI testing with Detox on Genymotion SaaS Android virtual devices.

Parallel tests with Appium and Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-04-23.

Run parallel tests with Appium on Android using Genymotion SaaS.

Mobile Automated Tests with CircleCI and Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-04-23.

Run your mobile automated tests on Genymotion SaaS Android Virtual Devices with CircleCI.

Use Bitrise with Genymotion SaaS

Author: Julien Maneyrol.

Date: 2024-04-23.

Integrate Genymotion SaaS Android Virtual Devices into your workflows with Bitrise.