Go back to topic: Android VM options, and BlissOS installation in a raw VM (I.E. no qubes integration)(collecting all realted information)
7. Next follow this steps to boot Bliss OS in a qube (maybe u know but just to write down all steps): [https://www.youtube.com/watch?v=piYcKnwpKPE ](https://www.youtube.com/watch?v=piYcKnwpKPE) | 7. Next follow this steps to boot Bliss OS in a qube (maybe u know but just to write down all steps): [https://www.youtube.com/watch?v=piYcKnwpKPE ](https://www.youtube.com/watch?v=piYcKnwpKPE). The steps it talks about are: * boot to grub menu * select "e" on top menu item * Go to the end of the line that starts with "linux $kd/kernel", then add a space and then add "nomodeset" to the end. (you will need to do this each boot, (or go into debug and use vi to add it directly to /mnt/boot/grub/android.cfg)) |
* Android-x86 - to the best of my knowledge, no one is working on a a Android-x86 template.
* BlissOS ( | * Android-x86 - to the best of my knowledge, no one is working on a a Android-x86 template. However, there is a (non-template) install guide for android-x86 here: https://forum.qubes-os.org/t/android-x86-qube-installation-guide/22747. * Note: BlissOS seems to be a deriviate of android-x86 and has install instructions later in the document. If you are having trouble getting android-x86 working, you might look there for ideas * BlissOS (apparently a derivative of Android-x86) - to the best of my knowledge, no one is working on a a BlissOS template. However, there can still be reasons to use BlissOS over waydroid, like for example that BlissOS definitely supports bluetooth, while waydroid does not. install instructions (non-template) for BlissOS are later in this article. |
### Try the Android-x86 install guide? If things still dont work for you, since BlissOS is a derivative of android-x86, the android-x86 install guide might give you some ideas for things to try: https://forum.qubes-os.org/t/android-x86-qube-installation-guide/22747 ### qemu related documentation? |
9. Next open apps menu and find one called “Bliss Ethernet Manager”. That’s why i told u to check checksums, if checksums are correct, this app might be installed, which is the key here. | 9. Next open apps menu and find one called “Bliss Ethernet Manager” and open it. * Note: it seems that “Bliss Ethernet Manager” might *only* be for BlissOS version 15. See the below section on troubleshooting networking for other options * @Cubadicto comment on this: That’s why i told u to check checksums, if checksums are correct, this app might be installed, which is the key here. |
* see below if it still does not | * see the "Troubleshooting network" section below if it still does not work for some options |
## | ## Troubleshooting Networking: ### If you find "bliss ethernet manager", but it doesn't set up the route: |
### | ### Alternate option for #10: |
### Troubleshooting - Misc: | ### *Another* Alternate option for #10: @Peter46 found another way to get networking working with "virtual wifi": https://forum.qubes-os.org/t/bliss-os-no-internet-connection/23154/9 ## Troubleshooting - Misc: |
# What Android Distribution to use? | |
* Waydroid - waydroid has a "Waydroid template" guide. This is probably the best starting point for most people. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59
| * Waydroid - waydroid has a "Waydroid template" guide. This is probably the best starting point for most people. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59 ### Other discussed distributions * GrapheneOS seems to have a x86_64 option, (the string "x86_64 (emulator builds)" occurs in https://grapheneos.org/releases changlog, however there does not appear to be a build for it). There has been talk about someone building a GrapheneOS template for qubes, but to the best of my knowledge, no one has picked up the offer). It has been discussed: * here https://forum.qubes-os.org/t/graphene-os-template/2948/4 * and here: https://github.com/QubesOS/qubes-issues/issues/2233 # BlissOS install: |
I hope this thread is not much Bliss OS specific, the key is simply using the Bliss OS ethernet app and assign the same qubes addresses
| I hope this thread is not much Bliss OS specific, the key is simply using the Bliss OS ethernet app and assign the same qubes addresses ## Troubleshooting ### Troubleshooting - Networking: |
### Troubleshooting - Networking, Alternate option for #10: | |
### Troubleshooting - Misc: |
* Waydroid - waydroid has a "Waydroid template" guide. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59
| * Waydroid - waydroid has a "Waydroid template" guide. This is probably the best starting point for most people. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59 |
| * (Note that selecting the major version (14, 15, or 16) is done at the tabs in the top few inches of the page) * @Cubadicto recommends "not installing Go version but that should not be a problem.", and he installed Bliss OS normal 15.9 if you want to install the same version ( https://sourceforge.net/projects/blissos-x86/files/Official/BlissOS15/Gapps/Generic/ ) * Additional comment: The instructions do not seem to work with 14.10, so using 15.9 is highly recommended for your first try |
* with enough space (almost 8GB), * give enough ram (almost 2gb) don’t include qube in memory ballancing * ensure the internet qube is **sys-firewall**, very important because ip address, gateway and dns need to be assigned to the qube. * Note: Do *not* do PCI passthrough at this stage. For some reason it seems to interfere with booting to CD/iso for bliss. * Save settings | |
* IP address * netmask * gateway * virtual dns | |
* (insert note about option of running it live by doing the following at the boot menu of the CD(iso): "VM and other options..." -> "Vbox/VMWare - No HW Acceleration"?) | |
* see below if it still does not work | |
* It seems to give a error some of the time and not others. It seems to work if you just hit "interface down" in blissos ethernet manager, went through the animation, and opened it "fresh" and did steps 4 and 5 without any mistakes beforehand. | |
* Pings to IP addresses should not be getting through now. * DNS should be working now (presumably set up by blissos ethernet manager) |
5. run “ip route add 0.0.0.0/0 via {gateway address}”
| 5. run “ip route add 0.0.0.0/0 via {gateway address}” * * It seems to give a error some of the time and not others. It seems to work if you just hit "interface down" in blissos ethernet manager, went through the animation, and opened it "fresh" and did steps 4 and 5 without any mistakes beforehand. 6. Confirm that the routes are there by typing "ip route" 7. if the routes are there, it should be working! * * Pings to IP addresses should not be getting through now. * * DNS should be working now (presumably set up by blissos ethernet manager) |
NOTE: This is a wiki, edit any mistakes you see
| NOTE: This is a open **wiki** that is intended to collect Qubes-Android information into one spot, instead of in multiple posts. Please edit any mistakes you see **What Android Distribution to use?** There are multiple "android on PC" type distributions that one could try in a VM. Here are the 3 that I know of. (If you know of more, please add them to the list): * Android-x86 - to the best of my knowledge, no one is working on a a Android-x86 template. * BlissOS (aparently a derivative of Android-x86) - to the best of my knowledge, no one is working on a a BlissOS template. However, there can still be reasons to use BlissOS over waydroid, like for example that BlissOS supposedly supports bluetooth, while waydroid does not. * Waydroid - waydroid has a "Waydroid template" guide. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59 wiki |
**Troubleshooting - Networking:** | |
**Alternate option for #10:** If there is no “Bliss Ethernet Manager” app, then you probably should have downloaded version 15.9. Or if the Bliss Ethernet Manager is there but does not work for you, you can still get partial networking going anyway by: (this worked with version 14.10, but is not working with version 15.9) | **Troubleshooting - Networking, Alternate option for #10:** If there is no “Bliss Ethernet Manager” app, then you probably should have downloaded version 15.9. Or if the Bliss Ethernet Manager is there but does not work for you, you can still get partial networking going anyway by: (this worked with version 14.10, but is not working with version 15.9) |
** | **Troubleshooting - Misc:** |
(Not sure how to do DNS, since /etc/resolv.conf seems to be missing) | (Not sure how to do DNS, since /etc/resolv.conf seems to be missing) **Troubleshooting:** Note: blissos has documentation for running blissos in qemu. This might be usefull for troubleshooting: https://docs.blissos.org/installation/install-in-a-virtual-machine/install-in-qemu/ |
NOTE: | NOTE: This is a wiki, edit any mistakes you see |
10. Change the IP Assignment to “Static”, change IP address to the same qube IP assigned address that you saw before with the netmask (e.g: ip: 10.0.0.4, mask: 255.255.255.255. Then you write IP Address: 10.0.0.4/32), change Gateway address to the one assigned to the qube (e.g: 10.0.0.1), and add both DNS Addresses separated with a comma (e.g: 10.0.0.2,10.0.0.3). Finally press “Interface Down” button (if nothing happens, try the “Interface Up”, but should be “Interface Down” correct). Bliss OS should be restart, and you might see in notification area that no WiFi option is available but Internet instead. Try to open any page in the browser, it might work!! | 10. Change the IP Assignment to “Static”, change IP address to the same qube IP assigned address that you saw before with the netmask (e.g: ip: 10.0.0.4, mask: 255.255.255.255. Then you write IP Address: 10.0.0.4/32), change Gateway address to the one assigned to the qube (e.g: 10.0.0.1), and add both DNS Addresses separated with a comma (e.g: 10.0.0.2,10.0.0.3). Finally press “Interface Down” button (if nothing happens, try the “Interface Up”, but should be “Interface Down” correct). Bliss OS should be restart, and you might see in notification area that no WiFi option is available but Internet instead. Try to open any page in the browser, it might work!! * * see below if it still does not work |
It's possible for "bliss ethernet manager" to set the ip address, but not set up the route. If this happpens, you can manually add the routes with: | |
4. run “ip route add {gateway address} dev eth0 scope link" 5. run “ip route add 0.0.0.0/0 via {gateway address}” However, while the routes are now there, pings still dont get through at this point in bliss 15.9.1 . **Alternate option for #10:** If there is no “Bliss Ethernet Manager” app, then you probably should have downloaded version 15.9. Or if the Bliss Ethernet Manager is there but does not work for you, you can still get partial networking going anyway by: (this worked with version 14.10, but is not working with version 15.9) 1. Go go to apps list and run “KernelSU” 2. Give termux su permissions 3. go back to termux and do “su” again (it should work) | |
5. in qubes menu, open the settings menu for the bliss qube/HVM, and find your “IP” and gateway address |
* * (insert note about option of running it live | * * (insert note about option of running it live by doing the following at the boot menu of the CD(iso): "VM and other options..." -> "Vbox/VMWare - No HW Acceleration"?) |
**Alternate option for #10:** If there is no “Bliss Ethernet Manager” app, then you probably should have downloaded version 15.9, | **Alternate option for #10:** If there is no “Bliss Ethernet Manager” app, then you probably should have downloaded version 15.9. Or if the Bliss Ethernet Manager is there but does not work for you, you can still get partial networking going anyway by: |