Running android as guest on xen

268 views
Skip to first unread message

da.ye...@gmail.com

unread,
Dec 5, 2016, 9:41:12 AM12/5/16
to Android emulator development
Hello,

I'm working to get android running as PV guest on Xen (ARM64).
I'm using Hikey le maker (octa core cortex A53).
Afaik, xen uses qemu to emulate some hardware for guests. And also android emulator is based on qemu.

I'm getting android kernel booting fine ( kernel boots, mount userdata , system , cache) but just before the bootanimation, I get an infinte loop:


83.676114] init: Service 'zygote' is being killed...
[ 83.686397] init: Service 'zygote' (pid 3131) killed by signal 9
[ 83.686455] init: Service 'zygote' (pid 3131) killing any children in process
group

[ 83.686619] init: write_file: Unable to open '/sys/android_power/request_stat
e': No such file or directory
[ 83.686718] init: write_file: Unable to write to '/sys/power/state': Invalid
argument
[ 83.686771] init: Service 'media' is being killed...
[ 83.691850] init: Service 'netd' is being killed...
[ 83.692947] init: Service 'media' (pid 3128) killed by signal 9
[ 83.692981] init: Service 'media' (pid 3128) killing any children in process


I think the problem is related to some graphical acceleration needed by QEMU to run android.

I have seen a similar problem but with android emulator:
https://code.google.com/p/android/issues/detail?id=215150


Any idea ? any suggestions ?

Best Regards,

Chih-Wei Huang

unread,
Jun 3, 2017, 7:13:21 PM6/3/17
to Android emulator development
Did SurfaceFlinger start correctly?

Or more important question, do you have any idea
how to run SurfaceFlinger properly?

da.ye...@gmail.com於 2016年12月5日星期一 UTC+8下午10時41分12秒寫道:
Reply all
Reply to author
Forward
0 new messages