Android VM options, and BlissOS installation in a raw VM (I.E. no qubes integration)(collecting all realted information) revisions

Go back to topic: Android VM options, and BlissOS installation in a raw VM (I.E. no qubes integration)(collecting all realted information)

  1. v11 anchor; v11 full version
  2. v10 anchor; v10 full version
  3. v9 anchor; v9 full version
  4. v8 anchor; v8 full version
  5. v7 anchor; v7 full version
  6. v6 anchor; v6 full version
  7. v5 anchor; v5 full version
  8. v4 anchor; v4 full version
  9. v3 anchor; v3 full version
  10. v2 anchor; v2 full version

Revision #11

Edited on
2024-07-20
Edited by user
ddevz
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))

Revision #10

Edited on
2024-07-15
Edited by user
ddevz
* 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. * 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?

Revision #9

Edited on
2024-07-14
Edited by user
ddevz
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. Open the app 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 work * see the "Troubleshooting network" section below if it still does not work for some options
## Troubleshooting ### Troubleshooting - Networking: ## Troubleshooting Networking: ### If you find "bliss ethernet manager", but it doesn't set up the route:
### Troubleshooting - Networking, Alternate option for #10: ### 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:

Revision #8

Edited on
2024-07-13
Edited by user
ddevz
**What Android Distribution to use?** # 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 **BlissOS install:** * 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 **Troubleshooting - Networking:** 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 - Networking, Alternate option for #10:
**Troubleshooting - Misc:** ### Troubleshooting - Misc:

Revision #7

Edited on
2024-07-13
Edited by user
ddevz
* Waydroid - waydroid has a "Waydroid template" guide. See it at: https://forum.qubes-os.org/t/waydroid-template/23356/59 wiki * 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 * (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 * 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 * 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"?) * (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 * 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. * 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) * Pings to IP addresses should not be getting through now. * DNS should be working now (presumably set up by blissos ethernet manager)

Revision #6

Edited on
2024-07-12
Edited by user
ddevz
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 . 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)

Revision #5

Edited on
2024-07-12
Edited by user
ddevz
NOTE: This is a wiki, edit any mistakes you see First, BlissOS as a template with qubes integration would be great, but to the best of my knowledge, no one has done that. Also, note there is more then one "android on PC" type distribution. I know of: * Android-x86 * BlissOS (aparently a derivative of Android-x86) * Waydroid Also note that waydroid has a "Waydroid template" guide at: https://forum.qubes-os.org/t/waydroid-template/23356/59 However, there can still be reasons to use BlissOS over waydroid, like for example that BlissOS supposedly supports bluetooth, while waydroid does not. This article is intended to collect information into one spot, instead of in multiple posts. 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:** **Troubleshooting - Misc:**

Revision #4

Edited on
2024-07-12
Edited by user
ddevz
(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/

Revision #3

Edited on
2024-07-12
Edited by user
ddevz
NOTE: Whoever has permissions to do so, please convert this to a wiki, and then change this line to "this is a wiki, edit any mistakes you see". 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
**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: 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

Revision #2

Edited on
2024-07-12
Edited by user
ddevz
* * (insert note about option of running it live from the "VM" grub menu?) * * (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, but you can get partial networking going anyway by: **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: