rexim / qemu-android-x86-runner

Quick Start on How to Run Android x86 in QEMU
MIT License
192 stars 46 forks source link

android-x86 9 not booting. no GUI only command prompt ! #3

Open awalis opened 4 years ago

awalis commented 4 years ago

Hello,

As mentioned in the previous issue Android-x86 is not booting properly. neither via Live CD nor in debug mode, nor after regular install.

Instead one is left with a command prompt, and cannot access the Android GUI. It is not clear for me whether this is related to Qemu or Android-x86.

I've also tried Qemu with 2 different sets of options unsuccessfully :

qemu-system-x86_64 \
-enable-kvm \
-machine q35 \
-smp 2 \
-accel kvm \
-m 2048 \
-k en-us \
-display gtk \
-vga std \
-usb \
-cdrom "$install-iso"
-hda "$disk-image" 

and

qemu-system-x86_64 \
-enable-kvm \
-m 2048 \
-smp 2 \
-cpu host \
-soundhw es1370 \
-device virtio-mouse-pci -device virtio-keyboard-pci \
-serial mon:stdio \
-boot menu=on \
-net nic \
-net user,hostfwd=tcp::5555-:22 \
-device virtio-vga,virgl=on \
-display gtk,gl=on \
-hda "$disk_image" \
-cdrom "$install_iso"

My setup :

NinoSkopac commented 3 years ago

Of course the Twitch star won’t reply ☹️

rexim commented 3 years ago

@NinoSkopac Sorry, I'm not actively maintaining this repo. The PRs with the fix are welcome tho.

TruncatedDinoSour commented 2 years ago

@awalis @rexim @NinoSkopac

give it more video ram lol, append this to qemu arguments: -device VGA,vgamem_mb=256

this will give the VM 256MB of VRAM, you can adjust it obviously