<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>KernelSU on Ivon's Blog</title><link>https://ivonblog.com/ja-jp/tags/kernelsu/</link><description>Recent content in KernelSU on Ivon's Blog</description><generator>Hugo -- gohugo.io</generator><language>ja-jp</language><managingEditor>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</managingEditor><webMaster>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</webMaster><copyright>Ivon's Blog（ivonblog.com）の記事はご自由に共有いただけます。引用の際は、記事のURLを明記してください。特に明記されていない限り、すべての記事CC BY-SA 4.0 表示-継承 4.0 国際 ライセンスの下で提供されています。商用利用をご希望の場合は、お問い合わせください。</copyright><lastBuildDate>Thu, 11 Jul 2024 15:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/ja-jp/tags/kernelsu/index.xml" rel="self" type="application/rss+xml"/><follow_challenge><feedId>56005902658351104</feedId><userId>1132431067563556864</userId></follow_challenge><item><title>LinuxにBliss OSをインストールする方法：GPUアクセラレーション対応Android-x86仮想マシンでスマホゲームを遊ぶ</title><link>https://ivonblog.com/ja-jp/posts/bliss-os-qemu-installation/</link><pubDate>Thu, 11 Jul 2024 15:00:00 +0800</pubDate><author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author><guid>https://ivonblog.com/ja-jp/posts/bliss-os-qemu-installation/</guid><description>&lt;!-- Co-translated by ChatGPT --&gt;
&lt;p&gt;LinuxシステムでAndroidアプリを動かす方法について、Ivonは&lt;a href="https://ivonblog.com/ja-jp/posts/android-emulators-for-linux/" target="_blank" rel="noreferrer"&gt;Linux Android Emulators&lt;/a&gt;の記事で複数の方案に触れました。本記事ではAndroid-x86の分岐である「Bliss OS」を紹介します。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/boot.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;</description><content:encoded>&lt;!-- Co-translated by ChatGPT --&gt;
&lt;p&gt;LinuxシステムでAndroidアプリを動かす方法について、Ivonは&lt;a href="https://ivonblog.com/ja-jp/posts/android-emulators-for-linux/" target="_blank" rel="noreferrer"&gt;Linux Android Emulators&lt;/a&gt;の記事で複数の方案に触れました。本記事ではAndroid-x86の分岐である「Bliss OS」を紹介します。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/boot.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Bliss OSはAndroid-x86の改良版と言えるもので、物理機にも仮想マシンにもインストールでき、Intel第10世代以降のGPUなど多くの新しいハードウェアに対応しています。Androidバージョンの更新も比較的速いです。&lt;/p&gt;
&lt;p&gt;Google Playストアを内蔵し、別途トランスレーターを入れなくても64ビットの3Dゲームを遊べます。これはかなり大きな進歩です。&lt;/p&gt;
&lt;p&gt;この記事では、LinuxにBliss OSのQEMU/KVM仮想マシンをインストールし、virglrendererで仮想マシンのGPUアクセラレーションを行い、スマホゲームを遊べるようにする方法を扱います。&lt;/p&gt;
&lt;p&gt;動画版のインストール手順はこちら：&lt;/p&gt;




&lt;div style="position: relative; padding-bottom: 56.25%; overflow: hidden;"&gt;
 &lt;iframe style="position: absolute; width: 100%; height: 100%;"
 src="http://www.youtube.com/embed/XV3jl1ik16s" allowfullscreen frameborder="0" loading="lazy"&gt;
 &lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 class="relative group"&gt;1. なぜBliss OSを選ぶのか？
 &lt;div id="1-なぜbliss-osを選ぶのか" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#1-%e3%81%aa%e3%81%9cbliss-os%e3%82%92%e9%81%b8%e3%81%b6%e3%81%ae%e3%81%8b" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;関連記事：&lt;a href="https://ivonblog.com/posts/bliss-os-introduction/" target="_blank" rel="noreferrer"&gt;Bliss OS紹介&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bliss OSはAndroid-x86をベースに開発されたAndroidシステムで、x86アーキテクチャのPCやタブレットでAndroidを動かすために設計されています。Android-x86を基礎に多くの実用ツールをプリロードし、活発なオープンソース更新モデルを維持しています。&lt;/p&gt;
&lt;p&gt;比較すればわかりますが、Android-x86公式サイトの最新バージョンはAndroid 9.0である一方、Bliss OSの最新テスト版はAndroid 13に到達しています。&lt;/p&gt;
&lt;p&gt;Androidバージョンが古いことは一見大きな問題ではなさそうですが、ARMトランスレーションでは大きな差になります。Android-x86 9.0はIntelの「liboudini」技術に依存し、x86アーキテクチャのAndroidシステム上でARMアーキテクチャのAPKを実行しますが、対応するのは&lt;strong&gt;32ビットARM-v7eabi&lt;/strong&gt;のAPKだけです。現在は&lt;strong&gt;64ビットARM-v8a&lt;/strong&gt;のAPKしか提供しない開発者が増えています。したがって、64ビットARMアーキテクチャのAPKと互換性を持たせるには、Android 11以降のlibhoudiniへ切り替える必要があります。&lt;/p&gt;
&lt;p&gt;Androidバージョンが新しく、より多くのPCハードウェアと互換性があるだけでなく、Bliss OSはAndroidをPCらしくする機能も追加しています。たとえば強制回転、キーマッピング、ゲームモード、タッチクリックのシミュレーション、KernelSU（より検出されにくいroot権限）などの実用機能があり、さらに従来のAndroid recoveryを「Gearlock」に置き換えています。&lt;/p&gt;
&lt;p&gt;ちなみに、Bliss OSの開発チームは&lt;a href="https://ivonblog.com/ja-jp/posts/ubuntu-waydroid/" target="_blank" rel="noreferrer"&gt;Waydroid&lt;/a&gt;も開発しているため、両者の機能には似ているところがあります。&lt;/p&gt;

&lt;h2 class="relative group"&gt;2. 仮想マシンのインストールに必要なソフトウェアとハードウェア
 &lt;div id="2-仮想マシンのインストールに必要なソフトウェアとハードウェア" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2-%e4%bb%ae%e6%83%b3%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%ab%e5%bf%85%e8%a6%81%e3%81%aa%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2%e3%81%a8%e3%83%8f%e3%83%bc%e3%83%89%e3%82%a6%e3%82%a7%e3%82%a2" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;私のシステム仕様：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CPU：Intel i5-10210U&lt;/li&gt;
&lt;li&gt;GPU：Intel® UHD Graphics 620&lt;/li&gt;
&lt;li&gt;Android-x86バージョン：11.0&lt;/li&gt;
&lt;li&gt;QEMUバージョン：8.1.1&lt;/li&gt;
&lt;li&gt;virglrendererバージョン：0.10.4&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;CPUの仮想化が有効で、KVMカーネルモジュールが読み込まれていることを確認してください。&lt;/p&gt;
&lt;p&gt;Linuxシステムに&lt;code&gt;QEMU&lt;/code&gt;、&lt;code&gt;Libvirt&lt;/code&gt;、&lt;code&gt;Virt Manager&lt;/code&gt;パッケージをインストールしてください。Ubuntuは&lt;a href="https://ivonblog.com/posts/ubuntu-virt-manager/" target="_blank" rel="noreferrer"&gt;この記事&lt;/a&gt;を参考にインストールします。Arch Linuxは&lt;a href="https://ivonblog.com/posts/archlinux-qemu-virt-manager/" target="_blank" rel="noreferrer"&gt;この記事&lt;/a&gt;を参考にしてください。&lt;/p&gt;
&lt;p&gt;次に互換性のあるグラフィックカードを用意します。&lt;a href="https://ivonblog.com/posts/linux-qemu-virglrenderer/" target="_blank" rel="noreferrer"&gt;virglrenderer&lt;/a&gt;は準仮想化GPU技術で、QEMU/KVM仮想マシンがGPUパススルーなしで3Dハードウェアアクセラレーションを得られます。&lt;/p&gt;
&lt;p&gt;virglrendererにはIntelとAMDのグラフィックカードをおすすめします。Nvidiaクローズドソースドライバーのvirglrendererはあまり安定していません。&lt;/p&gt;
&lt;p&gt;GPUパススルーをやる場合、NvidiaはAndroid側ドライバーに問題があるため、IntelまたはAMD GPUを使う必要があります。&lt;/p&gt;
&lt;p&gt;Nvidiaグラフィックカードの場合、ハードウェアアクセラレーションを諦め、Bliss OSのNo HW Accelerationモードで起動することをおすすめします。&lt;/p&gt;

&lt;h2 class="relative group"&gt;3. Bliss OSシステムのインストール開始、ディスク分割
 &lt;div id="3-bliss-osシステムのインストール開始ディスク分割" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#3-bliss-os%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e9%96%8b%e5%a7%8b%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e5%88%86%e5%89%b2" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Bliss OS公式サイトは各種バージョンのISOを提供しており、インストール方法はおおむね同じです。&lt;/p&gt;
&lt;p&gt;Bliss OS 14（Android 11）とBliss OS 15（Android 12L）はIntel libhoudiniでARMアーキテクチャのAPKを変換します。それ以降のバージョンではGoogle libndkに切り替わっています。&lt;/p&gt;
&lt;p&gt;ここではBliss OS 15を例にします。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://blissos.org/" target="_blank" rel="noreferrer"&gt;公式サイト&lt;/a&gt;または&lt;a href="https://sourceforge.net/projects/blissos-x86/" target="_blank" rel="noreferrer"&gt;SourceForge&lt;/a&gt;からISOをダウンロードし、GApps内蔵版 (Bliss OS 15.9.x (x86_64-v2) with GApps) を選びます。その後、ファイル破損を防ぐため&lt;a href="https://ivonblog.com/posts/windows-verify-file-checksum" target="_blank" rel="noreferrer"&gt;ファイルの完全性を確認&lt;/a&gt;します。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20240711_211332.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Virt Managerを開き、新規仮想マシンを作成し、ISOを選択します。システムはAndroid-x86を選びます
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102044.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;8GB RAM、4コアCPUの割り当てをおすすめします。ARM命令変換が大量のRAMを消費することがあるため、RAMは多いほど良いです。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102216.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;少なくとも64GBの仮想ディスクを割り当てます
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102345.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;インストール前に設定をカスタマイズする項目にチェックを入れます
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102434.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;チップセットタイプはQ35、ファームウェアはUEFI (OVMF_CODE.fd) を選択します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102514.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ディスクをVirtIOに設定します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102620.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CDROMをSATAに変更します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102717.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;起動デバイスをすべてチェックし、CDROMを一番上に置きます
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102958.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Spiceのリッスンタイプをなしに設定し、OpenGLにチェックを入れ、デバイスでIntelグラフィックカードを選択します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102800.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ビデオカードをVirtIOに設定し、3Dアクセラレーションにチェックを入れます。ここでの3DアクセラレーションはVirGLで実現しています。&lt;a href="https://ivonblog.com/posts/linux-qemu-virglrenderer/" target="_blank" rel="noreferrer"&gt;Linux virtio-gpu virglrenderer for QEMU/KVM&lt;/a&gt;を参照してください。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_102909.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;システムのインストール開始をクリックします&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;キーボードでBliss OS Installationを選択します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103037.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enterを押し、&lt;code&gt;Create/Modify Partition&lt;/code&gt;を選択します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103116.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;GPTパーティションテーブルを使用することを確認します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103824.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;キーボードで操作します：左右キーで&lt;code&gt;New&lt;/code&gt;へ移動し、Enterを押し、&lt;code&gt;+512M&lt;/code&gt;を入力し、さらに&lt;code&gt;ef00&lt;/code&gt;を入力してパーティションタイプをEFIに変更します。パーティション名を&lt;code&gt;efi&lt;/code&gt;に設定し、最初のパーティションをEFIパーティションにします。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103326.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;キーボードでFree Spaceへ移動し、Enterを押して&lt;code&gt;New&lt;/code&gt;を選び、すべてEnterで進め、パーティション名に&lt;code&gt;android&lt;/code&gt;を入力し、2つ目のパーティションをLinuxシステムパーティションにします。（アライメントの都合で3つのパーティションが出ることがありますが、気にしなくてよいです）
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103545.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;キーボードで&lt;code&gt;Write&lt;/code&gt;へ移動し、Enterで変更を書き込みます。その後&lt;code&gt;Quit&lt;/code&gt;へ移動して終了します。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;分割済みのディスク&lt;code&gt;vda2&lt;/code&gt;を選択します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103633.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;システムをExt4でフォーマットします
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103716.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;EFI/GRUBをインストールし、フォーマットします
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_103737.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;インストール後、Virt Managerの強制シャットダウンボタンをクリックします。ハードウェア一覧からCDROMを削除します
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_104126.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;以後の起動では最初の選択肢を選ぶと、デフォルトでvirglrendererアクセラレーションのシステムが読み込まれます。ハードウェアアクセラレーションなしの選択肢をテストする場合は、QEMUビデオカードをQXLに変更し、起動時にVM Options → VBox/VMWare - No HW Accelerationを選択して起動してください。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_104229.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Bliss OSはGoogle Playストアを内蔵しており、デバイス認証なしで直接Googleアカウントにログインできます。&lt;/p&gt;
&lt;p&gt;ARMトランスレーターはデフォルトで有効なので、手動インストールは不要です。&lt;/p&gt;

&lt;h2 class="relative group"&gt;4. Bliss OSの画面解像度を変更する方法
 &lt;div id="4-bliss-osの画面解像度を変更する方法" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#4-bliss-os%e3%81%ae%e7%94%bb%e9%9d%a2%e8%a7%a3%e5%83%8f%e5%ba%a6%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;起動メニューでVM Options → Debug QEMU/KVM VirGLを選び、Android shellに入ります
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20240711_153151.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;blikid&lt;/code&gt;コマンドでEFIディスクパーティションを確認します。通常は&lt;code&gt;/dev/sda1&lt;/code&gt;です&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;EFIパーティションをマウントします&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mount /dev/sda1 /mnt&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ol start="4"&gt;
&lt;li&gt;&lt;code&gt;android.cfg&lt;/code&gt;を編集します&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /mnt/efi/boot
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;vi android.cfg&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ol start="5"&gt;
&lt;li&gt;
&lt;p&gt;まず&lt;code&gt;linux $kd/kernel&lt;/code&gt;の行を見つけ、最後に&lt;code&gt;video=1920*1080&lt;/code&gt;を追加します。次に&lt;code&gt;set gfxmode=&lt;/code&gt;の行を見つけ、解像度を変更します。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;再起動&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;umount /dev/sda1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;reboot -f&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;別の解像度変更方法として、&lt;a href="https://ivonblog.com/posts/android-secondscreen/" target="_blank" rel="noreferrer"&gt;SecondScreen&lt;/a&gt;をインストールして強制調整する方法もあります。&lt;/p&gt;
&lt;p&gt;解像度変更後にマウスが同期できない場合は、2本目のマウスを用意し、Virt ManagerのUSBリダイレクト機能でパススルーする必要があります。&lt;/p&gt;
&lt;p&gt;Virt ManagerのウィンドウはBliss OS仮想マシンの解像度変化に反応できないようで、画面が依然としてぼやけて見えます。&lt;/p&gt;

&lt;h2 class="relative group"&gt;5. Bliss OS使用テクニック
 &lt;div id="5-bliss-os使用テクニック" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#5-bliss-os%e4%bd%bf%e7%94%a8%e3%83%86%e3%82%af%e3%83%8b%e3%83%83%e3%82%af" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Bliss OSはデフォルトでBoringdroidのデスクトップモードを有効にしており、システム下部にタスクバーが常駐します。&lt;/p&gt;
&lt;p&gt;全画面で実行したいアプリがある場合は、システム設定 → Boringdroid → Set full screen appで選択できます。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_110817.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Bliss OSには「Set Orientation」アプリがプリインストールされており、画面を強制回転できます。ただしこれは古すぎるので、私は&lt;a href="https://ivonblog.com/posts/android-force-rotate-screen-apps/" target="_blank" rel="noreferrer"&gt;OHMAE Ryosuke&amp;rsquo;s Force Rotation Screen&lt;/a&gt;の方が使いやすいと思います。&lt;/p&gt;
&lt;p&gt;スクリーンショットはプルダウンメニューから撮影します。画面録画については、virglrendererで録ると色がおかしくなるため、PC側の&lt;a href="https://ivonblog.com/posts/setup-obs-studio-on-linux/" target="_blank" rel="noreferrer"&gt;OBS Studio&lt;/a&gt;で仮想マシンウィンドウをキャプチャすることをおすすめします。&lt;/p&gt;
&lt;p&gt;ネイティブAndroidのマルチウィンドウ対応はあまり良くありません。どうしても使うなら、開発者向けオプションで「自由形式ウィンドウ」を有効にできます。&lt;/p&gt;
&lt;p&gt;Bliss OSはKernelSUと&lt;a href="https://ivonblog.com/ja-jp/posts/how-to-use-termux/" target="_blank" rel="noreferrer"&gt;Termux&lt;/a&gt;を内蔵しています。Root権限は全域で有効ではなく、個別アプリに対してマウントする必要があります。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_105539.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;仮想マシンのADB接続は&lt;a href="https://www.reddit.com/r/BlissOS/comments/tkddmn/adbovertcp_failed_to_authenticate/" target="_blank" rel="noreferrer"&gt;Reddit記事&lt;/a&gt;を参考にして無線接続しました。ADB ShellでRoot権限を有効にするには、KernelSUを開いて「com.android.shell」に権限を付与すればよいです。&lt;/p&gt;

&lt;h2 class="relative group"&gt;6. 実際にBliss OSでゲームを遊ぶ
 &lt;div id="6-実際にbliss-osでゲームを遊ぶ" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#6-%e5%ae%9f%e9%9a%9b%e3%81%abbliss-os%e3%81%a7%e3%82%b2%e3%83%bc%e3%83%a0%e3%82%92%e9%81%8a%e3%81%b6" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;ゲームのインストールは、x86アーキテクチャをネイティブサポートするバージョンをおすすめします。Google Playが自動でフィルタしてくれるはずです。ARMアーキテクチャのAPKをインストールすると、システムは変換のために追加リソースを消費します。&lt;/p&gt;
&lt;p&gt;ゲームがエミュレーターを検出しなければ起動するはずですが、一部のゲームでは動画再生に問題があります。おそらくvirglrendererのbugです。起動メニューのDebuggingメニューで&lt;code&gt;hwcomposer.drm&lt;/code&gt;方式を使って起動してみてください。&lt;/p&gt;
&lt;p&gt;ゲームでマウスクリックが反応しない場合は、システム設定 → Blissify → Force Mouse Click as touchで、マウスクリックイベントを強制的にタッチクリックへ変換できます。このオプションを有効にするとマウスホイールが無効になる点に注意してください。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_092527.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Bliss OSは「ゲームモード」を内蔵しており、システム設定 → Blissify → Gaming Modeで有効化できます。ユーザーがゲームアプリを開くと通知が自動で無効化され、スクリーンショットに便利なフローティングボタンが表示されます。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_093522.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;一部のゲームはキーマッピングがないと操作できません。KernelSUを開いてXtMapperにRoot権限を付与できます。次にXtMapperを開き、サービスを有効化し、アプリを選択してキー割り当てを設定します。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/Screenshot_20231001_110952.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;また、&lt;a href="https://ivonblog.com/posts/android-qtscrcpy-usage/" target="_blank" rel="noreferrer"&gt;QtScrcpy&lt;/a&gt;のキーマッピングも仮想マシンと組み合わせて使えます。
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://static.ivonblog.com/posts/bliss-os-qemu-installation/images/CI61HuD.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/unable-to-load-the-image-pepe.webp'"
 &gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Bliss OSトランスレーターの実力をテストするため、以下のゲームはすべてARM-v8アーキテクチャのAPKでテストしました。Google Playがインストールさせてくれない場合は、自分でAPKを探してください。&lt;/p&gt;
&lt;p&gt;《Fruit Ninja》、《Temple Run 2》は正常に動作します。&lt;/p&gt;
&lt;p&gt;次は《原神》です。Waydroidでは動くので、理論上Bliss OSでもいけるはずですが&amp;hellip; virglrendererがあまり安定せず、原神v4.1.0はシェーダーコンパイル時にクラッシュします。&lt;/p&gt;




&lt;div style="position: relative; padding-bottom: 56.25%; overflow: hidden;"&gt;
 &lt;iframe style="position: absolute; width: 100%; height: 100%;"
 src="http://www.youtube.com/embed/84w8dIkHouU?si=TAVwbFKRDRYyUa9x" allowfullscreen frameborder="0" loading="lazy"&gt;
 &lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;もう一つの大型ゲーム《Tower of Fantasy》は、スクリプトなしで正常にゲームへ入れました。&lt;/p&gt;

&lt;h2 class="relative group"&gt;參考資料
 &lt;div id="參考資料" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e5%8f%83%e8%80%83%e8%b3%87%e6%96%99" aria-label="アンカー"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://t.me/Team_Bliss_Community" target="_blank" rel="noreferrer"&gt;Bliss OS的Telegram群組&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.blissos.org/installation/install-in-a-virtual-machine/install-in-qemu/" target="_blank" rel="noreferrer"&gt;Bliss OS: How to install Bliss OS on Qemu&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.blissos.org/knowledgebase/troubleshooting/edit-grub-from-bliss-install/" target="_blank" rel="noreferrer"&gt;How to edit grub from your Bliss OS install&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://android.stackexchange.com/questions/249223/how-can-i-set-my-android-x86-uefi-installation-resolution-to-19201080-in-my-vm" target="_blank" rel="noreferrer"&gt;How can I set my android x86 UEFI installation resolution to 1920*1080 in my VM? - Android Enthusiasts Stack Exchange&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content:encoded><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://ivonblog.com/ja-jp/posts/bliss-os-qemu-installation/featured.webp"/></item></channel></rss>