使用QEMU监视器Android模拟器监视器、模拟器、QEMU、Android

2023-09-07 14:28:09 作者:覆水难收

我米试图利用从QEMU的pmemsave命令Android系统获得内存转储,但我有一些问题,访问QEMU监视器接口。

I m trying to get a memory dump from a Android system using the pmemsave command from qemu, but I have some problems with accessing the qemu monitor interface.

我启动模拟器使用以下命令:

I start the emulator with the following command:

$./emulator -avd test -verbose -qemu -monitor telnet:127.0.0.1:1234,server,nowait

仿真器启动后就好了,但是当我telnet到端口,我没有看到一个横幅,并没有投入似乎有任何影响。我也曾尝试设置的 -monitor 的到的标准输入输出的没有成功。

The emulator starts up just fine, but when I telnet to the port I am not greeted with a banner, and no input seems to have any effect. I have also tried to set -monitor to stdio without success.

推荐答案

我也一样。恐怕QEMU监视器不再可用。

Same here. I'm afraid QEMU Monitor is no longer available.

创建AVD,远程登录到它,然后键入 QEMU监控

Create AVD, telnet to it, and type qemu monitor:

$ telnet 127.0.0.1 5554
<snip>
qemu monitor
KO: QEMU support no longer available

另请参阅:

资料Tweet https://twitter.com/blundell_apps/status/536163955186860032 git的承诺https://github.com/android/platform_external_qemu/commit/aa1180ca05774398245953deb306c0e25829afee Tweet https://twitter.com/blundell_apps/status/536163955186860032 Git commit https://github.com/android/platform_external_qemu/commit/aa1180ca05774398245953deb306c0e25829afee