I am running Linux with kernel from Android SDK in an Android emulator. When writing from /dev/urandom to /dev/fb0, nothing is drawn in the emulator window.

Why? Can you help me with this problem?


1 Answer 1


I solved my problem with the following way to run the emulator:

emulator -avd TINYSYS -shell -qemu -usb -device usb-tablet -device virtio-vga,edid=on,xres=720,yres=1280 -kernel /home/root/emulator/rootfs/boot/vmlinuz-4.4.302 -tiny \\
-append 'selinux=0 no_timer_check clocksource=pit no-kvmclock console=0 cma=272M@0-4G mac80211_hwsim.radios=2 mac80211_hwsim.channels=2 skip_initramfs rootwait ro init=/sbin/init root=/dev/vdf2 .. .

/dev/vdf is the sdcard

Kernel rebuilt with virtio DRM support.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .