Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
awalis opened this issue Mar 24, 2020 · 4 comments
Open

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

awalis opened this issue Mar 24, 2020 · 4 comments

Comments

@awalis
Copy link

awalis commented Mar 24, 2020

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 :

  • Debian Bullseye
  • QEMU emulator version 4.2.0 (Debian 1:4.2-3)
  • Hardware Virtualization: VT-x
@NinoSkopac
Copy link

Of course the Twitch star won’t reply ☹️

@rexim
Copy link
Owner

rexim commented Feb 3, 2021

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

@TruncatedDinoSour
Copy link

TruncatedDinoSour commented Dec 12, 2021

@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

TruncatedDinoSour added a commit to TruncatedDinoSour/qemu-android-x86-runner that referenced this issue Dec 12, 2021
@emleonstz
Copy link

Seems to work on my machine

qemu-system-x86_64
-enable-kvm
-m 2048
-smp 2
-hda android-x86.qcow2
-display gtk
-vga std
-device VGA,vgamem_mb=128
-usb -usbdevice tablet \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants