hiroの長い冒険日記

主にコンピュータ周辺の興味を持った内容を綴ります

Android-x86 を実機で試す その2 Mini PC MINISFORUM GK41 へ Android-x86_64-9.0-r2 (pie) install

当日記ではアフィリエイト広告を利用しています

前回は Mini PC MINISFORUM GK41 に Ubuntu 22.04 LTS を install し、Linux kernel 5.15.0 では特に問題なく全 device を使用できる事を確認しました。今回は次の段階として、MINISFORUM GK41 で Android-x86-9.0r2 (pie) を動作させてみました。

はじめに

前回のその1では、MINISFORUM GK41 で Android-x86 を動作させる前段階として、Ubuntu 22.04 LTS を install して各 device がどのように認識されるのかを確認しました。

hiro20180901.hatenablog.com

結果、全ての device が問題なく認識・使用できる事が確認できました。

特に心配だった物として以下の device がありましたが、

device name module
Wifi & Bluetooth Qualcomm Atheros QCA9377 ath10k_pci
Ethernet Realtek RTL8168h/8111h r8169
Video Intel UHD Graphics 600 i915drmfb, i915

という形で全て使用できました。Android-x86 も kernel は linux ですので、device を認識するかどうかは linux の稼働実績があれば安心ですし、trouble の際に推測するのも容易になります。

この Ubuntu 22.04 LTS を使用しながら、MINISFORUM GK41 に Android-x86_64-9.0-r2 (pie) を install し、動作するかどうか確認しました。

Android-x86_64-9.0-r2 install

www.android-x86.org

派生した Project はあるようですが、本家と思われる Android-x86 project の 64bit 版 Android-x86 Version 9.0-r2 を install します。

以前に仮想マシン3種類 (Hyper-V, Virtualbox, qemu) に install した際には ISO image から boot して install していました。

hiro20180901.hatenablog.com

MBRUEFI で install して試しましたが、起動しなかった場合に別の Linux 環境に仮想 HDD を mount して編集する等、作業が煩雑になっていました。

そこで、今回は既に install 済みの Linux 環境 (Ubuntu) に install してみる事にしました。install 方法は2種類を試しました。

  1. rpm package を deb package に変換して install
  2. ISO image からの手動 install

install 方法その1 ... rpm -> deb package に変換して install

こちらを参考に作業しました。
www.nofuture.tv

Ubuntu 上で rpmdeb に変換し install します。変換の為に必要な alien と fakeroot を先に install します。

# alien と fakeroot の install
$ sudo apt install alien fakeroot

# rpm -> deb に変換
$ fakeroot alien -dc android-x86-9.0-r2.x86_64.rpm

# ファイルの中身の確認
$ dpkg -c android-x86_9.0-1_amd64.deb
drwxr-xr-x root/root         0 2022-06-01 22:45 ./
drwxr-xr-x root/root         0 2022-06-01 22:45 ./android-9.0-r2/
-rw-r--r-- root/root   1358743 2020-03-25 16:44 ./android-9.0-r2/initrd.img
-rw-r--r-- root/root   7511040 2020-03-25 16:44 ./android-9.0-r2/kernel
-rw-r--r-- root/root   1914143 2020-03-25 16:44 ./android-9.0-r2/ramdisk.img
-rw-r--r-- root/root 942682112 2020-03-25 16:44 ./android-9.0-r2/system.sfs
drwxr-xr-x root/root         0 2022-06-01 22:45 ./usr/
drwxr-xr-x root/root         0 2022-06-01 22:45 ./usr/bin/
-rwxr-xr-x root/root      1900 2020-03-25 16:44 ./usr/bin/qemu-android
drwxr-xr-x root/root         0 2022-06-01 22:45 ./usr/share/
drwxr-xr-x root/root         0 2022-06-01 22:45 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-06-01 22:45 ./usr/share/doc/android-x86/
-rw-r--r-- root/root       173 2022-06-01 22:45 ./usr/share/doc/android-x86/changelog.Debian.gz
-rw-r--r-- root/root       900 2022-06-01 22:45 ./usr/share/doc/android-x86/copyright

# deb package の install : /android-9.0-r2 以下に install される
$ sudo dpkg -i android-x86-9.0-r2.x86_64.deb

deb package の postinst で grub menu (/boot/grub/custom.cfg) を作成してくれますので、再起動すると grubAndroid-x86 の entry が追加されます。手動 install と区別する為に、menuentry の名称を変更しました。

menuentry "Android-x86 9.0-r2 (deb install)" {
	search --set=root --file /android-9.0-r2/kernel
	linux /android-9.0-r2/kernel quiet root=/dev/ram0 
	initrd /android-9.0-r2/initrd.img
}
menuentry "Android-x86 9.0-r2 (deb install) (DEBUG mode)" {
	search --set=root --file /android-9.0-r2/kernel
	linux /android-9.0-r2/kernel root=/dev/ram0 DEBUG=2
	initrd /android-9.0-r2/initrd.img
}

install した直後の drectory 構成は以下の様になっています。

# tree /android-9.0-r2 -L 2
/android-9.0-r2
├── data
├── initrd.img
├── kernel
├── ramdisk.img
└── system.sfs

1 directory, 4 files

system.sfs は展開しておいた方が便利かと思いますが、とりあえずそのままで進めます。data 以下には、起動した後には様々な directory が追加されます。

install 方法その2 ... 手動 install

rpm を install する方法では、install 先の folder 名を変更できません。複数の android-x86 を install して試すのには不向きです。そこで、こちらのページの下部「インストールについて」の手順で手動 install を試してみました。

junksta.blog41.fc2.com

それぞれの command を順に実行すればよいので、GUI で操作するよりも分かりやすいです。全て root で実行します。

#android-x86用フォルダの作成
# cd /
# mkdir android
# cd android

# ISOファイルの展開およびdataフォルダの作成
# mkdir tmp
# mount -o loop /home/hiro/android-x86_64-9.0-r2.iso tmp
# cp tmp/kernel .
# cp tmp/initrd.img .
# cp tmp/ramdisk.img .
# unsquashfs tmp/system.sfs
# umount tmp
# mount -o loop squashfs-root/system.img tmp
# cp -af -Z tmp system
# umount tmp
# mkdir data

# 不要なフォルダの消去
# rmdir tmp
# rm -fr squashfs-root

install した直後の directory 構成です。

/android
├── data
├── initrd.img
├── kernel
├── ramdisk.img
└── system
    ├── app
    ├── bin
    ├── build.prop
    ├── compatibility_matrix.xml
    ├── etc
    ├── fake-libs
    ├── fake-libs64
    ├── fonts
    ├── framework
    ├── lib
    ├── lib64
    ├── lost+found
    ├── media
    ├── priv-app
    ├── product
    ├── usr
    ├── vendor
    └── xbin

53 directories, 5 files

system.sfs (squashfs) を展開した場合には squashfs-root 以下は消去 (rm -fr squashfs-root) する必要があります。

grub entry は追加されませんので、手動で作成する必要があります。事前に install した deb package の menuentry を参考にして、以下のように追加しました。

menuentry 'Android-x86 Pie-x86 R2 (manual install)' {
  search --set=root --file /android/kernel
  linux /android/kernel quiet root=/dev/ram0
  initrd /android/initrd.img
}

起動確認

前回の記事で設定したように grub menu を表示できるようにしておけば、Ubuntu 22.04 LTS の他に3つの menu entry が追加されます。2種類の install 方法のどちらでも、問題なく起動できました。これまで使用していた仮想マシンと比較すると、もちろんですが雲泥の差で、快適に使用できます。

とはいえ、MINISFORUM GK41 は Windows10でも快適に使用できるレベルの Mini PC ですので、当たり前と言えるでしょう。

違いは起動に要する時間です。Android-x86 pie < Ubuntu 22.04 LTS < Windows10 であり、Android-x86 pie はAndroid の logo が出て直ぐに初期画面が表示されて使えるようになります。

画面 4K 表示

初期設定を終了した状態の画面です。(4K を 800px に resize しています)

fbset command の結果です。4k (3840x2160) で認識している事が分かります。

# fbset
mode "3840x2160-0"
	# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
	geometry 3840 2160 3840 2160 32
	timings 0 0 0 0 0 0 0
	accel true
	rgba 8/16,8/8,8/0,0/0
endmode

dmesg

boot 時の dmesg です。一部省略して起動してから15秒までの記録を記載します(長めです)。

Ubuntu 22.04 LTS の時と同様に、video は i915、Bluetooth & Wifi は ath10k_pci で認識しています。

r8169 module で error が出ていますが、Wifi で接続しているので、とりあえず気にしない事にします。

dmesg を飛ばして次の項目へ

[    0.000000] Linux version 4.19.110-android-x86_64-g066cc1d (lh@android-x86) (gcc version 4.6 20120106 (prerelease) (GCC)) #1 SMP PREEMPT Wed Mar 25 11:32:46 CST 2020
[    0.000000] Command line: BOOT_IMAGE=/android/kernel quiet root=/dev/ram0
[    0.000000] KERNEL supported cpus:
[    0.000000] Intel GenuineIntel
[    0.000000] AMD AuthenticAMD
[    0.000000] Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[3]:  576, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  640, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1b, context size is 704 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000003dfff] usable
... snip ...
[    0.000000] NX (Execute Disable) protection: active
... snip ...
[    0.000000] extended physical RAM map:
[    0.000000] reserve setup_data: [mem 0x0000000000000000-0x000000000003dfff] usable
... snip ...
[    0.000000] efi: EFI v2.70 by American Megatrends
[    0.000000] efi:  ACPI=0x795f1000  ACPI 2.0=0x795f1014  SMBIOS=0x7985a000  SMBIOS 3.0=0x79859000  MEMATTR=0x7214b018  ESRT=0x74e13318  TPMEventLog=0x6ee56018 
[    0.000000] SMBIOS 3.2.0 present.
[    0.000000] DMI: BESSTAR TECH LIMITED GK41/GB7, BIOS GB7 0.08 05/25/2021
[    0.000000] tsc: Detected 1996.800 MHz processor
... snip ...
[    0.000041] last_pfn = 0x280000 max_arch_pfn = 0x400000000
[    0.000046] MTRR default type: uncachable
[    0.000047] MTRR fixed ranges enabled:
[    0.000049] 00000-9FFFF write-back
[    0.000050] A0000-BFFFF uncachable
[    0.000052] C0000-FFFFF write-protect
[    0.000053] MTRR variable ranges enabled:
[    0.000055] 0 base 00FF800000 mask 7FFF800000 write-combining
[    0.000057] 1 base 0000000000 mask 7F80000000 write-back
[    0.000058] 2 base 007B000000 mask 7FFF000000 uncachable
[    0.000060] 3 base 007C000000 mask 7FFC000000 uncachable
[    0.000061] 4 base 0100000000 mask 7F00000000 write-back
[    0.000062] 5 base 0200000000 mask 7F80000000 write-back
[    0.000064] 6 base 00B0000000 mask 7FF0000000 write-combining
[    0.000064] 7 disabled
[    0.000065] 8 disabled
[    0.000066] 9 disabled
[    0.001668] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.001749] last_pfn = 0x7ac00 max_arch_pfn = 0x400000000
[    0.007629] esrt: Reserving ESRT space from 0x0000000074e13318 to 0x0000000074e13350.
[    0.007638] e820: update [mem 0x74e13000-0x74e13fff] usable ==> reserved
[    0.007667] Using GB pages for direct mapping
[    0.007671] BRK [0x1b3a01000, 0x1b3a01fff] PGTABLE
... snip ...
[    0.008061] Secure boot disabled
[    0.008063] RAMDISK: [mem 0x3feb2000-0x3fffdfff]
[    0.008074] ACPI: Early table checksum verification disabled
[    0.008079] ACPI: RSDP 0x00000000795F1014 000024 (v02 ALASKA)
... snip ...
[    0.008201] ACPI: Local APIC address 0xfee00000
[    0.008234] Zone ranges:
[    0.008236] DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.008238] DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.008239] Normal   [mem 0x0000000100000000-0x000000027fffffff]
[    0.008241] Movable zone start for each node
[    0.008242] Early memory node ranges
[    0.008243] node   0: [mem 0x0000000000001000-0x000000000003dfff]
[    0.008244] node   0: [mem 0x0000000000040000-0x000000000009dfff]
[    0.008245] node   0: [mem 0x0000000000100000-0x000000000fffffff]
[    0.008246] node   0: [mem 0x0000000012151000-0x0000000075d92fff]
[    0.008247] node   0: [mem 0x0000000079a38000-0x000000007a792fff]
[    0.008248] node   0: [mem 0x000000007a83f000-0x000000007abfffff]
[    0.008249] node   0: [mem 0x0000000100000000-0x000000027fffffff]
[    0.009485] Zeroed struct page in unavailable ranges: 45831 pages
[    0.009487] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff]
[    0.009489] On node 0 totalpages: 2051321
[    0.009491] DMA zone: 64 pages used for memmap
[    0.009492] DMA zone: 22 pages reserved
[    0.009493] DMA zone: 3995 pages, LIFO batch:0
[    0.009656] DMA32 zone: 7414 pages used for memmap
[    0.009658] DMA32 zone: 474462 pages, LIFO batch:63
[    0.032839] Normal zone: 24576 pages used for memmap
[    0.032841] Normal zone: 1572864 pages, LIFO batch:63
[    0.095816] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff]
[    0.096149] ACPI: PM-Timer IO Port: 0x408
[    0.096153] ACPI: Local APIC address 0xfee00000
[    0.096162] ACPI: LAPIC_NMI (acpi_id[0x01] high level lint[0x1])
[    0.096163] ACPI: LAPIC_NMI (acpi_id[0x02] high level lint[0x1])
[    0.096164] ACPI: LAPIC_NMI (acpi_id[0x03] high level lint[0x1])
[    0.096165] ACPI: LAPIC_NMI (acpi_id[0x04] high level lint[0x1])
[    0.096212] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-119
[    0.096214] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.096217] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.096219] ACPI: IRQ0 used by override.
[    0.096222] ACPI: IRQ9 used by override.
[    0.096225] Using ACPI (MADT) for SMP configuration information
[    0.096227] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.096236] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.096275] [mem 0x80000000-0xcfffffff] available for PCI devices
[    0.096277] Booting paravirtualized kernel on bare hardware
[    0.096281] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.096292] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:4 nr_node_ids:1
[    0.096709] percpu: Embedded 43 pages/cpu s138648 r8192 d29288 u524288
[    0.096720] pcpu-alloc: s138648 r8192 d29288 u524288 alloc=1*2097152
[    0.096721] pcpu-alloc: [0] 0 1 2 3 
[    0.096755] Built 1 zonelists, mobility grouping on.  Total pages: 2019245
[    0.096758] Kernel command line: BOOT_IMAGE=/android/kernel quiet root=/dev/ram0
[    0.098164] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.098845] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.098901] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.143787] Memory: 7940344K/8205284K available (12319K kernel code, 1182K rwdata, 3684K rodata, 1492K init, 1336K bss, 264940K reserved, 0K cma-reserved)
[    0.143915] ftrace: allocating 37405 entries in 147 pages
[    0.165118] rcu: Preemptible hierarchical RCU implementation.
[    0.165121] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.165122] Tasks RCU enabled.
[    0.165123] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.165329] NR_IRQS: 4352, nr_irqs: 1024, preallocated irqs: 16
[    0.166057] random: random: get_random_bytes called from start_kernel+0x369/0x57e with crng_init=0
[    0.166231] Console: colour dummy device 80x25
[    0.166237] console [tty0] enabled
[    0.166244] ACPI: Core revision 20181003
[    0.166680] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
[    0.166716] hpet clockevent registered
[    0.166775] APIC: Switch to symmetric I/O mode setup
[    0.171993] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.176731] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x3990bec8342, max_idle_ns: 881590769617 ns
[    0.176736] Calibrating delay loop (skipped), value calculated using timer frequency.. 3993.60 BogoMIPS (lpj=1996800)
[    0.176738] pid_max: default: 32768 minimum: 301
[    0.177792] Security Framework initialized
[    0.177795] SELinux:  Initializing.
[    0.177865] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.177887] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.178175] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.178240] CPU0: Thermal monitoring enabled (TM1)
[    0.178297] process: using mwait in idle threads
[    0.178300] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.178301] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.178302] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.178304] Spectre V2 : Mitigation: Enhanced IBRS
[    0.178306] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.178308] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.178310] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.187394] Freeing SMP alternatives memory: 28K
[    0.189537] TSC deadline timer enabled
[    0.189543] smpboot: CPU0: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (family: 0x6, model: 0x7a, stepping: 0x8)
[    0.194745] Performance Events: PEBS fmt3+, Goldmont plus events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.194768] ... version:                4
[    0.194769] ... bit width:              48
[    0.194769] ... generic registers:      4
[    0.194770] ... value mask:             0000ffffffffffff
[    0.194771] ... max period:             00007fffffffffff
[    0.194772] ... fixed-purpose events:   3
[    0.194773] ... event mask:             000000070000000f
[    0.196739] rcu: Hierarchical SRCU implementation.
[    0.199831] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.201743] smp: Bringing up secondary CPUs ...
[    0.209773] x86: Booting SMP configuration:
[    0.209775] .... node  #0, CPUs:      #1
[    0.005827] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.218777] #2
[    0.005827] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.227777] #3
[    0.005827] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.228741] smp: Brought up 1 node, 4 CPUs
[    0.228743] smpboot: Max logical packages: 1
[    0.228745] smpboot: Total of 4 processors activated (15974.40 BogoMIPS)
[    0.229803] CPU3: update max cpu_capacity 1024
[    0.230338] PM: Registering ACPI NVS region [mem 0x795f2000-0x79651fff] (393216 bytes)
[    0.230441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.230441] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.230441] pinctrl core: initialized pinctrl subsystem
[    0.230869] RTC time: 21:57:55, date: 06/04/22
[    0.232302] NET: Registered protocol family 16
[    0.232344] schedtune: configured to support 6 boost groups
[    0.232425] audit: initializing netlink subsys (disabled)
[    0.232434] audit: type=2000 audit(1654379875.061:1): state=initialized audit_enabled=0 res=1
[    0.232434] cpuidle: using governor ladder
[    0.232434] cpuidle: using governor menu
[    0.232782] ACPI: bus type PCI registered
[    0.232784] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.232920] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.232939] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.232939] PCI: Using configuration type 1 for base access
[    0.237741] CPU0: update max cpu_capacity 1024
[    0.238793] cryptd: max_cpu_qlen set to 1000
[    0.238874] ACPI: Added _OSI(Module Device)
[    0.238876] ACPI: Added _OSI(Processor Device)
[    0.238877] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.238878] ACPI: Added _OSI(Processor Aggregator Device)
[    0.238879] ACPI: Added _OSI(Linux-Dell-Video)
[    0.238880] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.250826] ACPI: 8 ACPI AML tables successfully acquired and loaded
[    0.254668] ACPI: Dynamic OEM Table Load:
[    0.254679] ACPI: SSDT 0xFFFFA377F5D47800 0001A0 (v02 PmRef  Cpu0Cst  00003001 INTL 20190509)
[    0.255272] ACPI: Dynamic OEM Table Load:
[    0.255280] ACPI: SSDT 0xFFFFA377F5D47600 0001E7 (v02 PmRef  ApIst    00003000 INTL 20190509)
[    0.255636] ACPI: Dynamic OEM Table Load:
[    0.255644] ACPI: SSDT 0xFFFFA377F6017E00 0000C9 (v02 PmRef  ApCst    00003000 INTL 20190509)
[    0.257057] ACPI: Interpreter enabled
[    0.257096] ACPI: (supports S0 S3 S5)
[    0.257098] ACPI: Using IOAPIC for interrupt routing
[    0.257736] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.257763] ACPI: Enabled 10 GPEs in block 00 to 7F
[    0.262756] ACPI: Power Resource [DRST] (on)
... snip ...
[    0.270199] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.270208] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.271108] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability LTR]
[    0.271885] PCI host bridge to bus 0000:00
[    0.271888] pci_bus 0000:00: root bus resource [io  0x0070-0x0077]
... snip ...
[    0.282765] pci_bus 0000:00: on NUMA node 0
[    0.283443] ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 6 10 11 12 14 15)
... snip ...
[    0.285783] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.285783] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.285783] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.285783] vgaarb: loaded
[    0.285830] SCSI subsystem initialized
[    0.285830] libata version 3.00 loaded.
[    0.285830] ACPI: bus type USB registered
[    0.285830] usbcore: registered new interface driver usbfs
[    0.285833] usbcore: registered new interface driver hub
[    0.285867] usbcore: registered new device driver usb
[    0.285916] media: Linux media interface: v0.10
[    0.285924] videodev: Linux video capture interface: v2.00
[    0.285949] pps_core: LinuxPPS API ver. 1 registered
[    0.285950] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.285955] PTP clock support registered
[    0.286004] Registered efivars operations
[    0.286154] PCI: Using ACPI for IRQ routing
[    0.318671] PCI: pci_cache_line_size set to 64 bytes
... snip ...
[    0.318998] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.318998] hpet0: 8 comparators, 64-bit 19.200000 MHz counter
[    0.320773] clocksource: Switched to clocksource tsc-early
[    0.332208] VFS: Disk quotas dquot_6.6.0
[    0.332233] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.332306] pnp: PnP ACPI init
... snip ...
[    0.332486] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
... snip ...
[    0.332870] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.333121] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.333321] pnp: PnP ACPI: found 3 devices
[    0.339264] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
... snip ...
[    0.339562] NET: Registered protocol family 2
[    0.339793] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[    0.339812] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.340009] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.340371] TCP: Hash tables configured (established 65536 bind 65536)
[    0.340413] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.340441] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.340519] NET: Registered protocol family 1
[    0.340546] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.341023] PCI: CLS 64 bytes, default 64
[    0.341087] Trying to unpack rootfs image as initramfs...
[    0.368844] Freeing initrd memory: 1328K
[    0.368849] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.368851] software IO TLB: mapped [mem 0x6ae43000-0x6ee43000] (64MB)
... snip ...
[    0.369042] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3990bec8342, max_idle_ns: 881590769617 ns
[    0.369062] clocksource: Switched to clocksource tsc
[    0.370190] Initialise system trusted keyrings
[    0.370258] workingset: timestamp_bits=45 max_order=21 bucket_order=0
[    0.370537] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.370553] fuse init (API version 7.27)
[    0.373253] NET: Registered protocol family 38
[    0.373256] Key type asymmetric registered
[    0.373257] Asymmetric key parser 'x509' registered
[    0.373262] io scheduler noop registered
[    0.373263] io scheduler deadline registered
[    0.373274] io scheduler cfq registered (default)
[    0.373276] io scheduler mq-deadline registered
[    0.373276] io scheduler kyber registered
[    0.373757] pcieport 0000:00:13.0: Signaling PME with IRQ 120
[    0.374008] pcieport 0000:00:13.1: Signaling PME with IRQ 121
[    0.374272] pcieport 0000:00:13.2: Signaling PME with IRQ 122
[    0.374559] pcieport 0000:00:14.0: Signaling PME with IRQ 123
[    0.374870] pcieport 0000:00:14.1: Signaling PME with IRQ 124
[    0.375004] efifb: probing for efifb
[    0.375028] efifb: framebuffer at 0xb0000000, using 32400k, total 32400k
[    0.375029] efifb: mode is 3840x2160x32, linelength=15360, pages=1
[    0.375030] efifb: scrolling: redraw
[    0.375032] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.405114] Console: switching to colour frame buffer device 480x135
[    0.435005] fb0: EFI VGA frame buffer device
[    0.435025] intel_idle: MWAIT substates: 0x11242020
[    0.435026] intel_idle: v0.4.1 model 0x7A
[    0.435339] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.435506] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    0.435541] ACPI: Power Button [PWRB]
[    0.435595] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.435649] ACPI: Power Button [PWRF]
[    0.438051] thermal LNXTHERM:00: registered as thermal_zone0
[    0.438052] ACPI: Thermal Zone [TZ01] (53 C)
[    0.438223] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.438760] Linux agpgart interface v0.103
[    0.440705] brd: module loaded
[    0.442370] loop: module loaded
[    0.442498] VMware PVSCSI driver - version 1.0.7.0-k
[    0.442530] hv_vmbus: registering driver hv_storvsc
[    0.442847] ahci 0000:00:12.0: version 3.0
[    0.453422] ahci 0000:00:12.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    0.453429] ahci 0000:00:12.0: flags: 64bit ncq sntf pm clo only pmp pio slum part deso sadm sds apst 
[    0.454128] scsi host0: ahci
[    0.454398] scsi host1: ahci
[    0.454450] ata1: SATA max UDMA/133 abar m2048@0xc1414000 port 0xc1414100 irq 125
[    0.454453] ata2: SATA max UDMA/133 abar m2048@0xc1414000 port 0xc1414180 irq 125
[    0.454809] tun: Universal TUN/TAP device driver, 1.6
[    0.454839] Fusion MPT base driver 3.04.20
[    0.454839] Copyright (c) 1999-2008 LSI Corporation
[    0.454845] Fusion MPT SPI Host driver 3.04.20
[    0.454923] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.454927] ehci-pci: EHCI PCI platform driver
[    0.454973] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.454977] ohci-pci: OHCI PCI platform driver
[    0.454994] uhci_hcd: USB Universal Host Controller Interface driver
[    0.455305] xhci_hcd 0000:00:15.0: xHCI Host Controller
[    0.455341] xhci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 1
[    0.456436] xhci_hcd 0000:00:15.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000000009810
[    0.456460] xhci_hcd 0000:00:15.0: cache line size of 64 is not supported
[    0.456714] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.456716] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.456718] usb usb1: Product: xHCI Host Controller
[    0.456719] usb usb1: Manufacturer: Linux 4.19.110-android-x86_64-g066cc1d xhci-hcd
[    0.456721] usb usb1: SerialNumber: 0000:00:15.0
[    0.456837] hub 1-0:1.0: USB hub found
[    0.456856] hub 1-0:1.0: 9 ports detected
[    0.457723] xhci_hcd 0000:00:15.0: xHCI Host Controller
[    0.457759] xhci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 2
[    0.457764] xhci_hcd 0000:00:15.0: Host supports USB 3.0 SuperSpeed
[    0.457817] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.457819] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.457820] usb usb2: Product: xHCI Host Controller
[    0.457822] usb usb2: Manufacturer: Linux 4.19.110-android-x86_64-g066cc1d xhci-hcd
[    0.457823] usb usb2: SerialNumber: 0000:00:15.0
[    0.457913] hub 2-0:1.0: USB hub found
[    0.457930] hub 2-0:1.0: 7 ports detected
[    0.458238] usb: port power management may be unreliable
[    0.458761] usbcore: registered new interface driver usb-storage
[    0.458778] usbcore: registered new interface driver ums-alauda
[    0.458792] usbcore: registered new interface driver ums-cypress
[    0.458806] usbcore: registered new interface driver ums-datafab
[    0.458821] usbcore: registered new interface driver ums_eneub6250
[    0.458835] usbcore: registered new interface driver ums-freecom
[    0.458849] usbcore: registered new interface driver ums-isd200
[    0.458859] usbcore: registered new interface driver ums-jumpshot
[    0.458870] usbcore: registered new interface driver ums-onetouch
[    0.458885] usbcore: registered new interface driver ums-realtek
[    0.458900] usbcore: registered new interface driver ums-sddr09
[    0.458915] usbcore: registered new interface driver ums-sddr55
[    0.458929] usbcore: registered new interface driver ums-usbat
[    0.458962] i8042: PNP: No PS/2 controller found.
[    0.458986] hv_vmbus: registering driver hyperv_keyboard
[    0.459025] mousedev: PS/2 mouse device common for all mice
[    0.459132] rtc_cmos 00:02: RTC can wake from S4
[    0.459563] rtc rtc0: alarm rollover: day
[    0.459707] rtc_cmos 00:02: char device (252:0)
[    0.459711] rtc_cmos 00:02: registered as rtc0
[    0.459859] rtc_cmos 00:02: setting system clock to 2022-06-04 21:57:56 UTC (1654379876)
[    0.459883] rtc_cmos 00:02: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    0.459894] IR Sharp protocol handler initialized
[    0.459895] IR XMP protocol handler initialized
[    0.459946] device-mapper: uevent: version 1.0.3
[    0.459985] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[    0.460051] intel_pstate: Intel P-state driver initializing
[    0.460369] sdhci: Secure Digital Host Controller Interface driver
[    0.460370] sdhci: Copyright(c) Pierre Ossman
[    0.460418] sdhci-pci 0000:00:1c.0: SDHCI controller found [8086:31cc] (rev 6)
[    0.461250] mmc0: CQHCI version 5.10
[    0.461587] mmc0: SDHCI controller on PCI [0000:00:1c.0] using ADMA 64-bit
[    0.461716] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.462096] hidraw: raw HID events driver (C) Jiri Kosina
[    0.462221] usbcore: registered new interface driver usbhid
[    0.462224] usbhid: USB HID core driver
[    0.462409] ashmem: initialized
[    0.462688] oprofile: using NMI interrupt.
[    0.463802] xt_time: kernel timezone is -0000
[    0.464142] Initializing XFRM netlink socket
[    0.464221] NET: Registered protocol family 10
[    0.464848] Segment Routing with IPv6
[    0.464916] mip6: Mobile IPv6
[    0.465088] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.465818] NET: Registered protocol family 17
[    0.465830] NET: Registered protocol family 15
[    0.465843] NET: Registered protocol family 35
[    0.466621] mce: Using 7 MCE banks
[    0.466763] microcode: sig=0x706a8, pf=0x1, revision=0x16
[    0.466967] microcode: Microcode Update Driver: v2.2.
[    0.466992] SSE version of gcm_enc/dec engaged.
[    0.468494] sched_clock: Marking stable (463651578, 4827632)->(474753780, -6274570)
[    0.468763] registered taskstats version 1
[    0.468766] Loading compiled-in X.509 certificates
[    0.468880] Key type ._fscrypt registered
[    0.468882] Key type .fscrypt registered
[    0.468884] Key type fscrypt-provisioning registered
[    0.470610] Magic number: 10:969:1004
[    0.470665] input input1: hash matches
[    0.781005] usb 1-3: new full-speed USB device number 2 using xhci_hcd
[    0.908594] usb 1-3: New USB device found, idVendor=05ac, idProduct=024f, bcdDevice= 1.07
[    0.908601] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    0.908605] usb 1-3: Product: Keychron K8
[    0.908608] usb 1-3: Manufacturer: Keychron K8
[    0.923021] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    0.923055] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    0.923410] ata2.00: ATA-11: minisforum, SBFM61.3, max UDMA/133
[    0.923416] ata2.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    0.923720] ata2.00: configured for UDMA/133
[    0.923787] ata1.00: supports DRM functions and may not be fully accessible
[    0.923879] ata1.00: ATA-10: CT500MX500SSD1, M3CR043, max UDMA/133
[    0.923884] ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[    0.924787] ata1.00: supports DRM functions and may not be fully accessible
[    0.925572] ata1.00: configured for UDMA/133
[    0.925875] scsi 0:0:0:0: Direct-Access     ATA      CT500MX500SSD1   043  PQ: 0 ANSI: 5
[    0.926433] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.926639] scsi 1:0:0:0: Direct-Access     ATA      minisforum       61.3 PQ: 0 ANSI: 5
[    0.926820] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    0.926822] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.926831] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    0.926844] sd 0:0:0:0: [sda] Write Protect is off
[    0.926846] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.926869] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.926917] sd 1:0:0:0: [sdb] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    0.926928] sd 1:0:0:0: [sdb] Write Protect is off
[    0.926929] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    0.926946] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.928549] sda: sda1 sda2
[    0.928597] sdb: sdb1 sdb2 sdb3 sdb4
[    0.928872] sd 1:0:0:0: [sdb] Attached SCSI disk
[    0.928971] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.025816] usb 1-4: new full-speed USB device number 3 using xhci_hcd
[    1.155147] usb 1-4: New USB device found, idVendor=046d, idProduct=c539, bcdDevice=39.06
[    1.155149] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.155150] usb 1-4: Product: USB Receiver
[    1.155152] usb 1-4: Manufacturer: Logitech
[    1.162166] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.0/0003:046D:C539.0003/input/input2
[    1.213945] hid-generic 0003:046D:C539.0003: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:15.0-4/input0
[    1.223162] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:046D:C539.0004/input/input3
[    1.223263] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:046D:C539.0004/input/input4
[    1.272876] Freeing unused kernel image memory: 1492K
[    1.272880] Write protecting the kernel read-only data: 18432k
[    1.274865] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:046D:C539.0004/input/input5
[    1.275010] hid-generic 0003:046D:C539.0004: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:15.0-4/input1
[    1.275036] Freeing unused kernel image memory: 2016K
[    1.275177] Freeing unused kernel image memory: 412K
[    1.275184] rodata_test: all tests were successful
[    1.275185] Run /init as init process
[    1.277302] hid-generic 0003:046D:C539.0005: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:15.0-4/input2
[    1.316581] random: env: uninitialized urandom read (4 bytes read)
[    1.317085] random: setsid: uninitialized urandom read (4 bytes read)
[    1.317456] random: cttyhack: uninitialized urandom read (4 bytes read)
[    1.364670] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    1.390760] usb 1-7: new full-speed USB device number 4 using xhci_hcd
[    1.434323] EXT4-fs (sda2): re-mounted. Opts: (null)
[    1.442002] EXT4-fs (sda2): re-mounted. Opts: (null)
[    1.451197] init: init first stage started!
[    1.451236] init: Using Android DT directory /proc/device-tree/firmware/android/
[    1.451259] init: First stage mount skipped (missing/incompatible fstab in device tree)
[    1.451269] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
[    1.451294] init: Loading SELinux policy
[    1.458703] SELinux:  Class process2 not defined in policy.
[    1.458754] SELinux:  Permission nlmsg_readpriv in class netlink_route_socket not defined in policy.
[    1.458796] SELinux:  Permission name_connect in class sctp_socket not defined in policy.
[    1.458797] SELinux:  Permission association in class sctp_socket not defined in policy.
[    1.458839] SELinux:  Class infiniband_pkey not defined in policy.
[    1.458840] SELinux:  Class infiniband_endport not defined in policy.
[    1.458841] SELinux:  Class xdp_socket not defined in policy.
[    1.458842] SELinux:  Class perf_event not defined in policy.
[    1.458842] SELinux: the above unknown classes and permissions will be denied
[    1.458862] SELinux:  policy capability network_peer_controls=1
[    1.458863] SELinux:  policy capability open_perms=1
[    1.458863] SELinux:  policy capability extended_socket_class=1
[    1.458864] SELinux:  policy capability always_check_network=0
[    1.458864] SELinux:  policy capability cgroup_seclabel=0
[    1.458865] SELinux:  policy capability nnp_nosuid_transition=0
... snip ...
[    1.492043] selinux: SELinux: Loaded policy from /sepolicy
... snip ...
[    1.492960] random: fast init done
... snip ...
[    1.494855] selinux: SELinux: Loaded file_contexts
... snip ...
[    1.496382] init: init second stage started!
... snip ...
[    1.500848] init: Using Android DT directory /proc/device-tree/firmware/android/
[    1.501929] selinux: SELinux: Loaded file_contexts
[    1.501934] init: Running restorecon...
[    1.503168] selinux: SELinux:  Could not stat /dev/block: No such file or directory.
[    1.503234] init: waitid failed: No child processes
[    1.503264] init: Couldn't load property file '/system/etc/prop.default': open() failed: No such file or directory: No such file or directory
[    1.503281] init: Couldn't load property file '/prop.default': open() failed: No such file or directory: No such file or directory
[    1.503979] init: Couldn't load property file '/odm/default.prop': open() failed: No such file or directory: No such file or directory
[    1.503991] init: Couldn't load property file '/vendor/default.prop': open() failed: No such file or directory: No such file or directory
[    1.519434] usb 1-7: New USB device found, idVendor=13d3, idProduct=3503, bcdDevice= 0.01
[    1.519437] usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.533722] ueventd: ueventd started!
[    1.535110] selinux: SELinux: Loaded file_contexts
[    1.535154] ueventd: Parsing file /ueventd.rc...
[    1.535663] ueventd: Parsing file /vendor/ueventd.rc...
[    1.535686] ueventd: Unable to read config file '/vendor/ueventd.rc': open() failed: No such file or directory
[    1.535703] ueventd: Parsing file /odm/ueventd.rc...
[    1.535724] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
[    1.535775] ueventd: Parsing file /ueventd.android_x86_64.rc...
[    1.536050] ueventd: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
[    1.538791] ueventd: Parsing file /system/etc/modules.blacklist...
[    1.598585] EFI Variables Facility v0.08 2004-May-17
[    1.617379] pstore: Using compression: deflate
[    1.617380] pstore: Registered efi as persistent store backend
[    1.622881] input: PC Speaker as /devices/platform/pcspkr/input/input7
[    1.641749] r8169 0000:02:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs?
[    1.641757] r8169: probe of 0000:02:00.0 failed with error -2
[    1.641764] r8169 0000:03:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs?
[    1.641766] r8169: probe of 0000:03:00.0 failed with error -2
[    1.658513] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.659734] modprobe: crypto-pkcs1pad(rsa,sha256) 
[    1.693186] modprobe: crypto-pkcs1pad(rsa,sha256)-all 
[    1.726140] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.727417] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.727419] cfg80211: failed to load regulatory.db
[    1.743083] wl: loading out-of-tree module taints kernel.
[    1.743088] wl: module license 'MIXED/Proprietary' taints kernel.
[    1.743089] Disabling lock debugging due to kernel taint
[    1.766211] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    1.766576] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    1.894840] modprobe: idma64 
[    1.927162] idma64 idma64.0: Found Intel integrated DMA 64-bit
[    1.928896] idma64 idma64.1: Found Intel integrated DMA 64-bit
[    1.976883] i801_smbus 0000:00:1f.1: SPD Write Disable is set
[    1.976932] i801_smbus 0000:00:1f.1: SMBus using PCI interrupt
[    1.988507] Bluetooth: Core ver 2.22
[    1.988541] NET: Registered protocol family 31
[    1.988541] Bluetooth: HCI device and connection manager initialized
[    1.988546] Bluetooth: HCI socket layer initialized
[    1.988548] Bluetooth: L2CAP socket layer initialized
[    1.988569] Bluetooth: SCO socket layer initialized
[    1.990808] usbcore: registered new interface driver btusb
[    2.006289] input: Keychron K8 Keychron K8 as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0/0003:05AC:024F.0001/input/input8
[    2.019690] ath10k_pci 0000:01:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1a3b:2b51
[    2.019693] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[    2.020311] ath10k_pci 0000:01:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[    2.057970] apple 0003:05AC:024F.0001: input,hidraw3: USB HID v1.11 Keyboard [Keychron K8 Keychron K8] on usb-0000:00:15.0-3/input0
[    2.058280] input: Keychron K8 Keychron K8 as /devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1/0003:05AC:024F.0002/input/input9
[    2.085849] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[    2.109838] apple 0003:05AC:024F.0002: input,hiddev98,hidraw4: USB HID v1.11 Keyboard [Keychron K8 Keychron K8] on usb-0000:00:15.0-3/input1
[    2.179296] modprobe: i915 
[    2.225964] [drm] GuC: No firmware known for this platform!
[    2.225966] [drm] HuC: No firmware known for this platform!
[    2.226320] checking generic (b0000000 1fa4000) vs hw (b0000000 10000000)
[    2.226321] fb: switching to inteldrmfb from EFI VGA
[    2.226351] Console: switching to colour dummy device 80x25
[    2.226424] [drm] Replacing VGA console driver
[    2.226522] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.226523] [drm] Driver supports precise vblank timestamp query.
[    2.226670] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.228781] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[    2.230881] [drm] Initialized i915 1.6.0 20180719 for 0000:00:02.0 on minor 0
[    2.232136] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    2.232733] acpi device:54: registered as cooling_device5
[    2.232802] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10
[    2.232933] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.254853] fbcon: inteldrmfb (fb0) is primary device
[    2.283941] Console: switching to colour frame buffer device 480x135
[    2.320656] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    2.341106] modprobe: hdaudio:v8086280Dr00100000a01
[    2.370680] intel_telemetry_core Init
[    2.372905] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    2.376511] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input11
[    2.376556] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input12
[    2.376590] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input13
[    2.376627] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input14
[    2.376660] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:0e.0/sound/card0/input15
[    2.383872] intel_rapl: Found RAPL domain package
[    2.383874] intel_rapl: Found RAPL domain core
[    2.383875] intel_rapl: Found RAPL domain uncore
[    2.383877] intel_rapl: Found RAPL domain dram
[    2.409649] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    2.435628] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    2.461646] Invalid pltconfig, ensure IPC1 device is enabled in BIOS
[    2.611635] Coldboot: took 1.075000 seconds
[    2.653863] logd.auditd: start
[    2.653869] logd.klogd: 2649039284
... snip ...
[    2.679504] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[    2.682296] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
[    2.682982] ath10k_pci 0000:01:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    2.685240] ath: EEPROM regdomain: 0x6a
[    2.685242] ath: EEPROM indicates we should expect a direct regpair map
[    2.685244] ath: Country alpha2 being used: 00
[    2.685244] ath: Regpair used: 0x6a
... snip ...
[    2.686572] modprobe: crypto-arc4 
[    2.708979] modprobe: sdcardfs 
[    2.720357] modprobe: crypto-arc4-all 
[    2.740765] Registering sdcardfs 0.1
[    2.898707] vdc: Waited 20ms for vold
[    2.954560] healthd: No battery devices found
[    2.955126] healthd: battery none chg=
[    3.063326] modprobe: netdev-dummy0 
[    3.245606] modprobe: dummy0 
[    4.173048] capability: warning: `main' uses 32-bit capabilities (legacy support in use)
[    4.480494] random: crng init done
[    4.480496] random: 7 urandom warning(s) missed due to ratelimiting
[    4.724504] input: Android Power Button as /devices/virtual/input/input16
[    5.175931] healthd: battery none chg=
[    5.176038] healthd: battery none chg=
[    5.255157] healthd: battery none chg=
[    5.815305] sdcardfs version 2.0
[    5.815308] sdcardfs: dev_name -> /data/media
[    5.815309] sdcardfs: options -> fsuid=1023,fsgid=1023,multiuser,derive_gid,default_normal,mask=6,userid=0,gid=1015
[    5.815311] sdcardfs: mnt -> 000000005b1a3acf
[    5.815334] sdcardfs: mounted on top of /data/media type ext4
[    5.815437] Remount options were mask=23,gid=9997 for vfsmnt 000000001d59efff.
[    5.815439] sdcardfs : options - debug:1
[    5.815440] sdcardfs : options - gid:9997
[    5.815441] sdcardfs : options - mask:23
[    5.815484] Remount options were mask=7,gid=9997 for vfsmnt 0000000087309b9d.
[    5.815486] sdcardfs : options - debug:1
[    5.815487] sdcardfs : options - gid:9997
[    5.815487] sdcardfs : options - mask:7
[    6.260703] audit_log_lost: 40 callbacks suppressed
[    6.260705] audit: audit_lost=240 audit_rate_limit=5 audit_backlog_limit=64
[    6.260707] audit: rate limit exceeded
[    6.993027] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[    6.995856] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
[    7.040464] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    7.211944] init: Service 'bootanim' (pid 1475) exited with status 0
[    7.274573] init: processing action (sys.boot_completed=1) from (/init.rc:724)
[    7.274598] init: processing action (sys.boot_completed=1) from (/init.android_x86_64.rc:108)
[    7.274813] init: starting service 'exec 4 (/system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete)'...
[    7.275290] init: SVC_EXEC pid 1939 (uid 0 gid 0+0 context u:r:init:s0) started; waiting...
[    7.279559] selinux: SELinux: Skipping restorecon_recursive(/data/system_ce/0)
[    7.279908] init: Async property child exited with status 0
[    7.286456] selinux: SELinux: Skipping restorecon_recursive(/data/misc_ce/0)
[    7.288881] init: Async property child exited with status 0
[    7.290288] audit: audit_lost=252 audit_rate_limit=5 audit_backlog_limit=64
[    7.290291] audit: rate limit exceeded
[    7.514309] init: Service 'exec 4 (/system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete)' (pid 1939) exited with status 0 waiting took 0.239000 seconds
... snip ...
[    9.910524] audit: audit_lost=381 audit_rate_limit=5 audit_backlog_limit=64
[    9.910526] audit: rate limit exceeded
[   12.172077] wlan0: authenticate with 6c:e4:da:4f:15:87
[   12.210311] wlan0: send auth to 6c:e4:da:4f:15:87 (try 1/3)
[   12.211176] wlan0: authenticated
[   12.211784] wlan0: associate with 6c:e4:da:4f:15:87 (try 1/3)
[   12.213202] wlan0: RX AssocResp from 6c:e4:da:4f:15:87 (capab=0x411 status=0 aid=1)
[   12.215829] wlan0: associated
[   12.248452] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by 6c:e4:da:4f:15:87
[   12.316771] audit: audit_lost=384 audit_rate_limit=5 audit_backlog_limit=64
[   12.316774] audit: rate limit exceeded
[   12.842555] modprobe: crypto-ccm(aes) 
[   12.888985] modprobe: crypto-ccm(aes)-all 
[   12.936414] modprobe: crypto-ccm 
[   12.975986] modprobe: crypto-cbcmac(aes) 
[   13.016193] modprobe: crypto-cbcmac(aes)-all 
[   13.055557] modprobe: crypto-ctr(aes) 
[   13.094496] modprobe: crypto-ctr(aes)-all 
[   13.792038] audit: audit_lost=400 audit_rate_limit=5 audit_backlog_limit=64
[   13.792039] audit: rate limit exceeded
[   13.793260] modprobe: net-pf-16-proto-4-type-2 
[   13.817197] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:734)
[   13.817509] init: processing action (net.dns1=*) from (/init.android_x86_64.rc:112)
[   13.817554] init: starting service 'exec 6 (/system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole)'...
[   13.818051] init: SVC_EXEC pid 3143 (uid 0 gid 0+0 context u:r:init:s0) started; waiting...
[   13.836112] modprobe: net-pf-16-proto-4-type-2-6 
[   13.894030] init: Service 'exec 6 (/system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole)' (pid 3143) exited with status 0 waiting took 0.076000 seconds
[   13.894169] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:734)
[   14.164249] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:734)
[   14.811113] binder_alloc: 2066: binder_alloc_buf size 1056768 failed, no address space
[   14.811116] binder_alloc: allocated: 11592 (num: 20 largest: 4080), free: 1028792 (num: 9 largest: 1023272)
[   14.811119] binder: 2080:3163 transaction failed 29201/-28, size 1056768-0 line 3249
[   14.930077] logd: logdr: UID=10008 GID=10008 PID=2080 n tail=0 logMask=4 pid=0 start=0ns timeout=0ns

動作確認と各種設定

ちょっとした不具合 -> 解消

install 直後の状態では Screen Shot が記録できない状態でした。上で撮ったスクリーンショットは「スクリーンショットイージー」というアプリで撮影したものです。

junksta.blog41.fc2.com

先にも記載した上記リンク先の記事によれば、VALKUN=1 を kernel option に追加して VALKUN を有効にすると Screen Shot が使えるとありました。試してみると、確かに Screen Shot が記録できるようになりました。以下の様に grub entry を追加しました。

menuentry "Android-x86 9.0-r2 VALKUN (deb install)" {
	search --set=root --file /android-9.0-r2/kernel
	linux /android-9.0-r2/kernel quiet root=/dev/ram0 VALKUN=1
	initrd /android-9.0-r2/initrd.img
}

また、四角ボタン (マルチタスクボタン) も 4K 画面では表示されませんでしたが、此方も dpi を 400 に設定する事により表示されるようになりました。(起動時は 320 dpi です)

# wm density 400

日本語入力

gboard アプリで日本語入力が可能となります。手順は以下の通りです。

  1. gboard アプリを install し、手順に従って設定する
  2. qwerty keyboard を有効にし、他は解除する
  3. 設定の言語に英語(qwerty keyboard)を追加する

Shift + Space で日本語/英語入力を切り替えられます。

Bluetooth device

keyboard と mouse は問題なく使用する事が出来ました。DAC (Sabaj A3) の Bluetooth 4.2 は接続できませんでしたが、Ubuntu 22.04 LTS では使用できていたので、kernel の version が古い為かもしれません。

samba client

samba client として Cx File Explorer を使用して、ネットワーク上の NAS に data の書き込みや編集が可能です。Screen Shot を copy したり、text file に作業記録を取ったり、問題なく使用できました。

アプリ

Bluetooth DACが使えませんでしたので参考程度ですが、Youtube は Full HD なら問題なく再生できました。Full HD よりも高解像度の動画は選択選択肢に出てきません。何か設定が必要なのでしょうか、とりあえず保留です。

まとめ

MINISFORUM GK41 に Android-x86_64-9.0-r2 を install し、一部認識できなかった機器はあるものの使えるレベルで起動する事が出来ました。仮想マシンで起動させた時と比較して非常に軽く、また起動に要する時間も短く感じました。

  • 画面表示は i915 module で 4k で表示できました。fbset command で 4k 表示できている事は確認できましたが、Youtube では 4k の選択肢が表示されませんでした。何か設定が必要なのだと思います。
  • BluetoothWifi は ath10k_pci module で使用できました。Wifi は特に途切れる事もなく安定していました。Bluetooth keyboard と mouse は使用できましたが、Bluetooth Audio は認識できませんでした。kernel の version が古く対応できていないかと考えます。
  • 有線 LAN の r8169 module が認識できていないようでした。とりあえず Wifi で接続しているので後回しです。こちらも kernel の version のような気がします。
  • 日本語入力は gboard アプリで使用する事が出来ました。
  • samba client として Cx File Explorer を使用して NAS に接続し、画像の転送や text file の編集が出来ました。

MINISFORUM GK41 は、Windows10 Pro で使用していてもそれほど重い感じはない程度の性能がありますので、Ubuntu 22.04 LTS を使用すると反応が良く軽く使用できます。Android-x86_64-9.0-r2 だと更に軽く、一つ一つの操作に対する反応が良く感じました。

また、実機で起動すると共に Windows10 から Hyper-V path through disk を使用して仮想マシンとしても起動できるのはホントに便利です。

一部認識できない機器がありましたが、linux kernel の version が古い為かと考えています。Android-x86_64-9.0-r2 の kernel は 4.19.110 であり、Ubuntu 22.04 LTS は 5.15.0 です。Android-x86 本家以外に独自 build された ISO image を配布されている方がいらっしゃるようですので、そちらの image を試してみたいと考えています。出来れば、自分で build する環境も整えたいですが、それは次の段階の課題です。