unman
September 25, 2020, 1:38am
17
I’ve put some notes up at
The main issue with installing Android in Qubes is that the Android
installer expects to be installed in /dev/sda but Qubes presents disks
at /dev/xvdX.
This is discussed
[here](https://github.com/unman/notes/blob/master/disks_in_Qubes), and a
solution is outlined.
# Prepare the system
1. Download `init_patch` and `patch_init` from
https://github.com/unman/change_disk
2. Copy those files in to dom0.
If the files were downloaded in qube1, then in dom0:
`qvm-run -p qube1 'cat /home/user/Downloads/init_patch' > init_patch`
`qvm-run -p qube1 'cat /home/user/Downloads/patch_init' > patch_init`
3. `cp /usr/lib/xen/boot/stubdom-linux-rootfs > stubdom-linux-rootfs.orig`
4. `chmod +x patch_init`
5. `./patch_init`
# Download the installer
6. Download an installer image from https://www.android-x86.org/download. I
This file has been truncated. show original
It’s a complete guide to setting up an Android qube using Android-x86.
The process should be absolutely straightforward, and the resulting qube
is usable. You could try one of the cm flavours, but although
installation seems fine, I have found them unreliable. YMMV.
Enjoy.
1 Like