> For the complete documentation index, see [llms.txt](https://riteshs4hu.gitbook.io/infosec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riteshs4hu.gitbook.io/infosec-notes/android-appsec/setting-up-virtual-device/emulators.md).

# Emulators

To begin Android Pentesting, it is essential to have an Android device. If you already possess an Android device for testing purposes, it is recommended to [**Root**](/infosec-notes/android-appsec/rooting.md) the device to unlock additional functionalities. If you do not have a physical Android device, you must set up a virtual environment to simulate the Android device. Many Android emulators are available, including Genymotion, Android Studio, and NoxPlayer. I prefer using Android Studio or Genymotion Emulators for lab setup.

## Genymotion Setup

* First Download `.bin` File&#x20;

{% embed url="<https://www.genymotion.com/product-desktop/download/>" %}

* Apply Execution Permission

```bash
chmod +x genymotion-{Version}-linux_x64.bin
```

* Run binary

```bash
./genymotion-{Version}-linux_x64.bin
```

* During running, it required the Installation Directory

***

### Setup a Virtual Device

* After successfully installing Genymotion desktop, open it and click the "+" button
* There are pre-customised devices you can choose from, or set up a Custom Phone. Also, according to your requirement
* I selected **"Samsung Galaxy S4"** with **Android 11.0** to enable root access.
* Additional settings, such as **memory, architecture, and display,** can be customized. However, I proceeded with the installation using the **default settings**.

<figure><img src="/files/RKZ4MUVwGLGNI8RKq8y6" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kOf66PAgBQxGOGlzH5Co" alt=""><figcaption></figcaption></figure>
