CCCPaste

Android x86 Linage OS with qemu

sudo apt install qemu-kvm qemu-system-x86

#images:
#https://www.android-x86.org/download
#https://osdn.net/projects/android-x86/

#Bliss OS
https://blissos.org/index.html

#Linage OS
wget "https://free.nchc.org.tw/osdn//android-x86/68670/cm-x86-14.1-r5-k419.iso" -O android_cm.iso

#start emulator - 
#kvm - hardware excel
#nic - access netowrk with virtual device
#hostfwd - allow adb network forwarding 
#4G RAMmemory
qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot d -cdrom android_cm.iso -m 4G


#for install to hard drive image
#create an image
qemu-img create -f qcow2 android.img 4G

#boot to the iso with the image attached
qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot d -m 4G -hda android.img -cdrom ../androidfoss.iso

#boto from hard drive image after install
qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot c -m 4G -hda android.img

#Reminder, if you need to free your mouse press the left Ctrl+Alt