lineageos – Is it possible to virtualize Android on an X86 machine?


Following this question, I had a little bit of success installing an X86 port of Android (i.e., BlissOS) on macOS with QEMU. Now I am wondering if I can virtualize a “normal” Android (preferably LineageOS) on any of the conventional FLOSS hypervisors such as VirtualBox, QEMU… (preferably something portable on Windows).

There are qemu-system-arm and qemu-system-aarch64 versions of QEMU that I expect to do the job. Over here, Alex BennĂ©e is doing some magic with the so-called “ranchu kernel” that I can’t really understand and trust. Meanwhile, on this post it’s being said that the upstream QEMU hasn’t inherited the graphic acceleration back from Google’s Android Studio Emulator.

Now my questions are:

  1. what is that “ranchu kernel”? and how much it can be trusted?
  2. Can I virtualize LineageOS or any other well-known FLOSS Android? How?