-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, Mar 18, 2026 at 01:44:16AM -0700, Qasim ahmad wrote:
> My name is Qasim Khawaja. I’m a student at UBC, and I’m interested in the *“Android
> development in Qubes VM”* project for GSoC 2026.
Hello!
> I’ve been reading through the discussions around Android support and the
> current reliance on QEMU-emulated ARM images. The performance limitations
> and the move toward hardware-assisted virtualization (HVM) make a lot of
> sense.
>
> I already run Qubes OS as my daily driver, and I’m comfortable with Linux,
> Bash/Python scripting and virtualization concepts (QEMU/KVM, isolation,
> passthrough). I also have experience with C++ systems work, so I’m
> comfortable digging into lower-level debugging when needed.
>
> I’m currently setting up a local environment to experiment with Android
> tooling, and had a couple quick questions:
>
> -
>
> Is there a preferred direction for hardware-accelerated Android (e.g.,
> KVM-backed images vs adapting existing emulator flows)?
Currently Xen doesn't (in practice) support nested virtualization, so
you can't run KVM inside Qubes OS. This limits available options to:
1. Run plain QEMU (without KVM) in a qube - slow
2. Run Android VM as a separate qube, and add necessary integration.
For the second point, this would need to be x86 build of Android, not
ARM (there are several projects doing this). And "necessary integration"
would include stuff like:
- - ensuring proper drivers are available in Android and/or adjusting
hardware emulated by QEMU for Android to be happy
- - possibly network configuration in Android
> -
>
> For inter-qube communication (ADB/debugging), are there existing Qubes
> patterns to build on.
Theoretically, ADB over network just work out of the box. If something
like serial console would be needed, we used to have instruction how to
do that for Windows, it was quite hacky:
https://github.com/QubesOS/qubes-doc/blob/72052be4d5884e912152403ec6d15ca78bf0b1bf/developer/debugging/windows-debugging.md
> And also, who would be the best person to coordinate with regarding
> mentorship for this project?
I guess it would be me :)
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmm8FqwACgkQ24/THMrX
1ywQZwgAlTUinNremgVhwRMacP86aP54Cc8tZQOWDIhwtU06cbAH9kI77wm3/TZX
twD+0pAlri+dDqp8yx5tI8P7X0jpogEl0pe6i2TR/QY61gIGmO97ls+ezGPDVlTf
WnmLfZvt4tw/+Oip9D3N6hUTW/cvOxBM2olB/arP4s5NaimaoQfngs1mJbWvuCyX
j/siWm37JoGc/xE4qgnn4GWVIeDxVUsMUJwOjw18m4VbFgAvks/KrNzMlj1lTFuF
Mw1IHcagMg7zxuwJNoa/p7+tC06iP6NJF0wNehlhe3Amy3COc+1YUr+7mQU/HX8k
vDLK7p1EWpy564MvTdfOKSUUCApa5g==
=oSyx
-----END PGP SIGNATURE-----