How to Install Genymotion Virtual Android on Kali Linux

Genymotion is a cross-platform Android emulator. Genymotion can run virtual Android devices on our Kali Linux system. By using Genymotion we can use Android as a virtual machine. We can use Genymotion with Android Studio as well to run our application while we develop them.

Genymotion is a great tool for Android developers and testers. It is also an awesome tool if we want to play Android games on our computer. Not only that it will be very beneficial for Android penetration testing. In this way we don't need to install dangerous malicious Android applications directly on our smartphone or tablet, for testing purpose.

Install Genymotion on Kali Linux Install Android

In our this article we are going to discuss how to install Genymotion on our Kali Linux system. We can use any Debian based Linux distribution (like Ubuntu, Linux Mint, ElementaryOS etc). Here we are going to install Genymotion on our latest Kali Linux 2021.1 version. To install Genymotion we need to have VirtualBox on our system.

Installing VirtualBox on Kali Linux

Genymotion uses VirtualBox to run the Android emulator on our computer system. So, you must have hardware virtualization (VT-d/VT-x/AMD-v) enabled on our BIOS and VirtualBox installed in order to use Genymotion.
 
First of all we need to VirtualBox on our system so before that we update our system by using following command:

sudo apt update

Then we need to run following command to install VirtualBox:

sudo apt install virtualbox -y

After applying the above command VirtualBox will be installed on our system.

Downloading Genymotion

Genymotion is not available on Kali Linux repository so basically we need to to install it from the official website of Genymotion. So, first of all we need to visit https://www.genymotion.com/ the page will be like following screenshot:

genymotion sign in options

Here we can see the download button for "Sign in". We need to click there.

After that login page will appear in front of us. We need to click on "Create an account" there, the area is highlighted in the following screenshot:

Genymotion create an account

After that we need to fill up some details to register, as shown in the following screenshot:

genymotion account registation

Pro Tip: During fill up the form we can use temporary mail services to verify our mail.

After we successfully verify our account by clicking on the verify mail link we got a page where we can download Genymotion for personal use, as shown in the following screenshot:

genymotion account creation and download page

Then we need to click on download Genymotion and we reach to the download page of Genymotion, as shown in the following screenshot:

genymotion download page

After clicking on download our download will start.

genymotion download

Now the download will start and the download will depend on our internet speed.

After we complete the download the bin file will be stored on our Downloads directory.

Installing Genymotion on Kali

Now we need to open our terminal window and move to our Downloads directory by using following command:

cd Downloads

Then we need to give it execute permission by using chmod command:

sudo chmod +x genymotion-*.bin
chomod permission for gennymotion

Now we need to type following command to install Genymotion on our system.

sudo ./genymotion-*.bin

After applying the above command Genymotion will ask us question. It will prompt for our installation directory, default one is /opt/genymobile/genymotion. We need to type Y and press Enter ⤶.

Then Genymotion automatically check for VirtualBox toolset then it extract the installation files on the directory. After all configuration done it will show "Installation done successfully" output on our terminal, as we can see in the following screenshot.

Genymotion installed on Kali Linux

Now we can run Genymotion from our application menu.

Genymotion on kali linux app menu

After we click on the Genymotion app the app will open and a login screen will appear in front of us, shown on the following screenshot:

genymotion app login screen

Here we need to fill our login details we have created during downloading Genymotion and click on 'Next'.

Then it will ask us for license, for commercial use of Genymotion require license but in our case we check on 'Personal use' then click on 'Next'. 

Geymotion for personal uses

Then comes Genymotion's 'User License Agreement' page. Where we can read the 'END USER LICENSE AGREEMENT - GENYMOTION PERSONAL' and tick ✅ on 'I have read and accept the end user license agreement' and click on 'Next'.

After these steps we can see the main screen of Genymotion, as following screenshot:

Genymotion main sereen on Kali
Now we can add virtual Android devices here.

Genymotion Virtual Android on Kali Linux

We have installed Genymotion on our Kali Linux now it's time to add a Genymotion device on it. On the top right corner we can see add sign we need to click there to add an Android device. Then some Android devices list will come in a pop up window as we can see on the screenshot below:

installing android devices on genymotion

Now from here we can search for devices or use filters to find our required Android device then we need to select the device and click on 'Next'. For an example we select "Google Nexus 7".

Google nexus 7 Genymotion on Kali Linux

Then a configuration window will appear, here we can configure the virtual Android device, as we can see in the following screenshot:

Configuring Nexus 7 Genymotion on Kali

We may keep everything default, but for our penetration testing job and sending payloads on this device we changed the Network mode to Bridge from NAT (we need to select the interface according to our Kali system), we can also edit the configuration later.

Then we click on Install, and our installation process will be started as we can see in the following screenshot:

installing nexus 7 on genymotion

This require some amount of data (in our case 213MB) and some time depending on our internet speed.

After the download process complete we can see our device on our installed device list.

genymotion installed device

Now we can click on the three dot on the right side on the device list to get device options, shown in the following screenshot:

device options on genymotion

We can run the device from here by clicking on start. Also we are able to do edit, delete, duplicate, factory reset and generate logs from here. Now we just click on 'Start' to run it.

Then the booting process will start, after boot up we can see Google Nexus 7 on our screen.

installing genymotion on kali linux
Now we can use this virtual Android device as our own, on our Linux based system by using Genymotion. This is how we can install Genymotion on our Kali Linux system. We can create as many Android virtual devices as we want using Genymotion.

This is very effective way for Android penetration testing, testing bugs on Android and try our payloads on Android system without effecting our own real devices.

Love our articles? Make sure to follow our free email subscription to get all our articles directly on inbox. We are also available on Twitter and GitHub, we post article updates there.

To join our family, join our Telegram Group. We are trying to build a community for Linux and Cybersecurity.

For anything we always happy to help everyone on the comment section. As we know our comment section is always open to everyone. We read each and every comment and we always reply.

author-img
Kali Linux

Comments

No comments
Post a Comment
    google-playkhamsatmostaqltradent