Installation of android in GNS3 with KVM
To download the android image you can do it from this page – > https://www.fosshub.com/Android-x86.html:
wget https://www.fosshub.com/Android-x86.html?dwl=android-x86_64-9.0-r2.iso
Create a KVM machine as if it were a Debian, I’ve given it 2GB of RAM and 2 Cores:
In our case we can launch an automatic installation:
When you have the machine installed, turn off the machine and we’ll import it in gns3. To do this we will take the KVM disk and import it into the directory where we have installed the GNS3 images, then property the copied disk to your user.
cp /var/lib/libvirt/images/android-wireguard.qcow2 /home/javiercruces/GNS3/images/QEMU/
javiercruces@HPOMEN15:~$ sudo chown javiercruces:javiercruces /home/javiercruces/GNS3/images/QEMU/android-wireguard.qcow2
Now access your GNS3 and in preferences we will add a new QEMU VMs:
Select the emulation binary x86 _ 64 and assign the memory you consider appropriate, to me with 2GB works correctly:
As the image uses graphic environment we will select VNC:
And select the disk that we have copied to the folder images above: