前几天我的 pixel7pro 收到了三月份更新,linux 虚拟机功能下放了,不需要解锁和 root 就能用,官方是 debian12 系统,存储最多给 16gb ,内存默认 4g 不可调,CPU8 和全给,暂时没有 gpu 加速,暂无图形界面,是完整的虚拟机,virt-what 输出的虚拟化方式为 lkvm ,下面给大家看看吧。
root@localhost
--------------
_,met$$$$$gg. OS: Debian GNU/Linux 12 (bookworm) aarch64
,g$$$$$$$$$$$$$$$P. Bios (UEFI): 2024.01-g67e23f7c077b-ab12577904 (24.)
,g$$P"" """Y$$.". Bootmgr: virtio 0:2
,$$P' `$$$. Board: dummy-virt
',$$P ,ggs. `$$b: Chassis: Desktop
`d$$' ,$P"' . $$$ Kernel: Linux 6.1.0-31-cloud-arm64
$$P d$' , $$P Init System: systemd 252.33-1~deb12u1
$$: $$. - ,d$$' Uptime: 33 mins
$$; Y$b._ _,d$P' Loadavg: 0.11, 0.19, 0.12
Y$$. `.`"Y$$$$P"' Processes: 147
`$$b "-.__ Packages: 581 (dpkg)
`Y$$b Shell: bash 5.2.15
`Y$$. LM: login (TTY)
`$$b. Terminal: /dev/pts/2
`Y$$b. Terminal Size: 82 columns x 30 rows (640px x 480px)
`"Y$b._ CPU: dummy-virt (8)
`"""" CPU Usage: 0%
Memory: 391.34 MiB / 3.84 GiB (10%)
Swap: Disabled
Disk (/): 3.97 GiB / 9.68 GiB (41%) - ext4
Public IP: 103.*.*.* (Tokyo, JP)
Local IP (enp0s6): 192.168.0.2/24 fe80::ac25:8bff:> DNS: 192.168.0.1
Date & Time: 2025-03-14 07:37:45
Locale: C.UTF-8
Users 1: droid - login time 2025-03-14 07:04:07
Users 2: root - login time 2025-03-14 07:04:08
Weather: -1°C - Clear (not found)
Network IO (enp0s6): 2.29 KiB/s (IN) - 5.02 KiB/s )
Disk IO (0x1af4 ): 4.00 KiB/s (R) - 0 B/s (W)
Physical Disk (0x1af4): 10.05 GiB [HDD, Fixed]
Version: fastfetch 2.38.0 (aarch64)
----------------------CPU 测试--通过 sysbench 测试-------------------------
-> CPU 测试中 (Fast Mode, 1-Pass @ 5sec)
1 线程测试(单核)得分: 2423 Scores
8 线程测试(多核)得分: 7943 Scores
---------------------内存测试--感谢 lemonbench 开源-----------------------
-> 内存测试 Test (Fast Mode, 1-Pass @ 5sec)
单线程读测试: 15816.69 MB/s
单线程写测试: 12488.23 MB/s
------------------磁盘 dd 读写测试--感谢 lemonbench 开源--------------------
-> 磁盘 IO 测试中 (4K Block/1M Block, Direct Mode)
测试操作 写速度 读速度
100MB-4K Block 22.4 MB/s (5458 IOPS, 4.69s) 28.4 MB/s (6935 IOPS, 3.69s)
1GB-1M Block 377 MB/s (360 IOPS, 2.78s) 1.2 GB/s (1139 IOPS, 0.88s)
---------------------磁盘 fio 读写测试--感谢 yabs 开源----------------------
fio Disk Speed Tests (Mixed R/W 50/50) (Partition /dev/vda1):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 109.51 MB/s (27.3k) | 414.94 MB/s (6.4k)
Write | 109.44 MB/s (27.3k) | 427.28 MB/s (6.6k)
Total | 218.95 MB/s (54.7k) | 842.22 MB/s (13.1k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 934.54 MB/s (1.8k) | 258.80 MB/s (252)
Write | 1.01 GB/s (1.9k) | 288.75 MB/s (281)
Total | 1.94 GB/s (3.8k) | 547.55 MB/s (533)
------------------------------------------------------------------------
总共花费 : 3 分 17 秒
时间 : Fri Mar 14 07:59:10 UTC 2025
运行 podman 或 docker
droid@localhost:~$ podman run docker.io/hello-world:latest
Trying to pull docker.io/library/hello-world:latest...
Getting image source signaturesLM: login (TTY)
Copying blob c9c5fd25a1bd done
Copying config f1f77a0f96 done
Writing manifest to image destination
Storing signatures
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(arm64v8)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
网络完全隔离,只有内网 v4 地址,主机有 v6 也不会继续分配给虚拟机,端口转发非常不完善,我测试了 ssh ,alist ,zerotier ,和 cockpit ,就只有 zerotier 有转发请求通知,其中 ssh 尝试换端口成 9022 也不行,别的都没有,网络不走你的用户 vpn ,存储只能最多给 16g ,我的手机是 128g 存储。 总的体验是不如获取 root 之后,解锁 pkvm ,手动敲命令跑虚拟机的。
![]() |
1
Tink 2 天前
我 7a 上面,问题还挺多,经常就卡死了
|
![]() |
2
momocraft 2 天前
我的 pixel9 也有了,不知道能不能用手机硬件拍照监视啥的
|
3
lih24338 OP 还不行,目前是不共享存储,没有 gpu ,没有声音,没有设备共享的。
|
5
macaodoll 2 天前
下班回去我就试试,同款手机
|
![]() |
7
LanhuaMa 1 天前
是虚拟机,至少比 chroot 好吧。docker 就有戏了。至于摄像头、储存、声音,可以写 helper app 包装 android api 提供给虚拟机。如果能普及到旧型号的话,咸鱼二手性价比薄纱树莓派
|
8
lih24338 OP 没那么容易普及,因为需要手机开放了虚拟化,内核支持 kvm 才可以。
|