Skip to content

Instantly share code, notes, and snippets.

@wqyeo
Last active August 28, 2025 21:23
Show Gist options
  • Select an option

  • Save wqyeo/8942d0c05ef875f0b70df6239088484d to your computer and use it in GitHub Desktop.

Select an option

Save wqyeo/8942d0c05ef875f0b70df6239088484d to your computer and use it in GitHub Desktop.
Resize GenyMotion internal storage space [QEMU]

For Non-QEMU users, refer to this reddit thread.

For QEMU users, reddit thread won't work as internal disk is managed by QCOW2 (QEMU Copy-On-Write) files instead of VMDK.

Guide last working on 28-08-2024, Arch Linux.

Prerequitise

  • Assume genymotion application is contained at ~/genymotion.
  • Assume QCOW2 files are stored at ~/.Genymobile/Genymotion/deployed/<your_device_name>.
  • ADB toolkit is installed.
  • Host machine is x86_64.

Steps

  1. With terminal, cd ~/genymotion/qemu/x86_64/bin/
  2. ./qemu-img resize ~/.Genymobile/Genymotion/deployed/<your_device_name>/data.qcow2 20G

Replace 20G with desired size, replace resize with info to get the current size of the internal disk space.

  1. Start the android device.
  2. cd ~/genymotion
  3. ./gmtool admin list
  4. The terminal will display a list of active device. Note down the ADB Serial of the device you want to resize.
  5. adb connect <ADB_SERIAL_IP-PORT>
  6. adb shell
  7. df -h
  8. The terminal will display filesystems, and mount on.
    Find the Mount on that says /data, and take note of its Filesystem.
  9. resize2fs /dev/block/vdb3

Replace /dev/block/vdb3 with actual Filesystem linked to /data.

  1. The final message should roughly show The filesystem on /dev/block/vdb3 is now xxxxx (4k) blocks long.
  2. exit, and restart the android VM. (Recommend cold-booting)

Afterword

Use an ARM Translation Tool for applications that cant run on x86_64 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment