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 when playing games on my phone, I decided to explore building an x86 virtual machine on Linux that can run games. After some searching on Google, I found two options for images: Prime OS and Bliss OS. However, I couldn't get Prime OS to work, but Bliss OS worked successfully. However, there were some rendering issues with the ba screen, so I switched to using Waydroid. Since many tutorials online were not successful, 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 is 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 file and choose "Android 9" as the operating system.
1691508751746

Step 3#

According to the official documentation, choose "4 cores" and "4 GB" for the virtual machine.
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 modify them according to your needs. The key is to check "Customize configuration before install".
1691509246463

2. Custom Configuration#

Overview Options#

Change the chipset to "Q35" (Q35 is better) and select UEFI as the firmware (critical for system boot).
1691509389094

Display Protocol#

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

Graphics Card#

Choose "Virtio" and enable 3D acceleration.
1691510550031

IDE Disk and IDE CDROM#

Choose "VirtIO" for the IDE disk to improve 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".

Select "Yes" for using GPT partition table 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 name it "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, press Enter to continue creating a new partition, and press Enter again to use the default options. Name the partition "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 and confirm formatting vda2 by selecting "yes".

Choose "yes" when asked if you want to install EFI GRUB2. Format vda1? Select "yes".
1691511481606

Wait for the installation to complete and then select "reboot".
1691511598049

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