banner
azio7

azio7

email
github

Install Bliss on Android virtual machine.

Installing Bliss OS 15 Android x86 Virtual Machine with virt-manager#

Due to the overheating issue while playing games on my phone, I decided to explore building an x86 virtual machine on Linux that can run games. After some research on Google, I found two options for the image: Prime OS and Bliss OS. However, I couldn't get Prime OS to work, but Bliss OS worked successfully. Although there were some rendering issues with the ba screen, I eventually switched to using Waydroid. Since many tutorials online didn't work for me, I decided to document the setup process.

Environment#

  1. Bliss OS iso image (I downloaded Bliss OS 15)
  2. Install qemu virt-manager. I use Arch, so I followed the installation instructions on ArchWiki. For other distributions, please search on Google.
  3. A graphics card that supports OpenGL 3D acceleration, including integrated graphics. According to this question, it requires a motherboard and graphics card that support IOMMU and have IOMMU enabled. Arch has IOMMU enabled by default. My 3060 is on the supported list, but it couldn't boot. AMD graphics cards are generally better and most of them are supported. I successfully booted using AMD integrated graphics.

1. Create a new virtual machine#

Follow the steps below to create a new virtual machine using virt-manager.

Step 1#

Select "Local install media" and click "Forward".
1691508673241

Step 2#

Select your ISO and choose "Android 9" as the operating system.
1691508751746

Step 3#

According to the official documentation, choose "4 cores" and "4 GB" RAM.
1691508896442

Step 4#

Allocate at least 10 GB of disk space. For demonstration purposes, I will use the default 20 GB.
1691509018434

Step 5 (Important!)#

You can change the name if you want. The default network settings should be sufficient, but you can make changes if needed. The key is to check the box for "Customize configuration before install".
1691509246463

2. Custom Configuration#

Overview Options#

Change the chipset to "Q35" (Q35 is recommended). Select "UEFI" for firmware (critical for system boot).
1691509389094

Display Protocol#

Choose "None" for the listen type. If you have multiple graphics cards and want to enable 3D acceleration, select "OpenGL" and make sure your graphics card supports it.
1691510496616

Graphics Card#

Select "Virtio" and check the box for "3D Acceleration".
1691510550031

IDE Disk and IDE CDROM#

Choose "VirtIO" for the IDE disk's bus for better performance. Choose "SATA" for the IDE CDROM.

Once the configuration is complete, click "Begin Installation" in the top left corner.

3. Install Bliss OS#

Partitioning#

Select "Installation".
1691510712691

Choose the first option "Create/Modify partitions".

When asked if you want to use GPT partition table, select "yes" and press Enter.

Press any key to continue and enter cgdisk.
1691510898728

Use the arrow keys to select "new", then press Enter for the first option (default), enter "+512M" for the second option, enter "ef00" for the third option (EFI system), press Enter for the fourth option, and give it a name "EFI" (naming is optional).
After completing these steps, it should look like this:

1691511059249

Use the arrow keys to select the third option for the remaining space, then press Enter to create a new partition. Press Enter again to use the default settings and name it "android".
1691511189244

Select "write" and press Enter to confirm with "yes". Finally, select "quit".

Install the System to the Hard Disk#

Select the second option after quitting.
1691511316854

Choose "ext4" as the format.
Confirm formatting vda2 by selecting "yes".

When asked if you want to install EFI GRUB2, select "yes".
Format vda1? Select "yes".
1691511481606

Wait for the installation to complete.
Finally, reboot.
1691511598049

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.