From cc198cb9f3acaf43e9b504505de77b772a97d2e5 Mon Sep 17 00:00:00 2001 From: qiyinxi Date: Wed, 2 Dec 2026 04:19:20 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=99=A8=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=94=B9=E4=B8=BA=E3=80=8C=E9=97=AE=E9=A2=98=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E3=80=8D=E5=92=8C=E3=80=8C=E8=AE=BE=E7=BD=AE=E3=80=8D?= =?UTF-8?q?=EF=BC=8C=E6=96=87=E6=A1=A3=E5=AF=B9=E5=BA=94=E6=94=B9=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=92=8C=E5=8F=AB=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs ModAVD/ModAVD#381 Refs ModAVD/ModAVD#367 --- docs/components/manager.md | 35 +++++++++++++++++++++++------------ docs/develop/adapt-game.md | 2 +- docs/develop/index.md | 4 ++-- docs/develop/package.md | 4 ++-- docs/develop/testing.md | 2 +- docs/en/components/manager.md | 35 +++++++++++++++++++++++------------ docs/en/develop/adapt-game.md | 2 +- docs/en/develop/index.md | 4 ++-- docs/en/develop/package.md | 4 ++-- docs/en/develop/testing.md | 2 +- docs/en/guide/feedback.md | 6 +++--- docs/en/guide/index.md | 2 +- docs/en/guide/install.md | 6 +++--- docs/en/guide/playstore.md | 4 ++-- docs/en/guide/privacy.md | 2 +- docs/guide/feedback.md | 6 +++--- docs/guide/index.md | 2 +- docs/guide/install.md | 6 +++--- docs/guide/playstore.md | 4 ++-- docs/guide/privacy.md | 2 +- 20 files changed, 78 insertions(+), 56 deletions(-) diff --git a/docs/components/manager.md b/docs/components/manager.md index f409bf4..360a2e2 100644 --- a/docs/components/manager.md +++ b/docs/components/manager.md @@ -13,7 +13,7 @@ ModAVD 0.36.0 起包里带两个管理程序,源码在 [ModAVDManager](https:/ 双击包根的 `ModAVD.exe`:起一个只听 127.0.0.1 的本地服务,再用 Edge 的应用模式开一个窗口(Windows 10 / 11 自带 Edge);找不到 Edge 时用默认浏览器。页面内嵌在程序里,不联网。 -- 功能:实例卡片(在线时有画面缩略图)、开关机(带进度)、新建、设置、删除、电脑检查、[组件与问题反馈](#组件与问题反馈)(管理器 0.3.0 起)、活动面板、画面查看(点击即点按,返回 / 主页 / 最近任务)、日志、安装 APK、打开目录;浅色 / 深色 / 跟随系统。管理器 0.4.0 起还有[按应用走代理](./app-proxy)。 +- 功能:实例卡片(在线时有画面缩略图)、开关机(带进度)、新建、设置、删除、[问题反馈](#问题反馈与设置)(导出日志、电脑检查、最近任务和消息;管理器 0.3.0 起)、「设置」(更新、可选组件、语言和根目录)、画面查看(点击即点按,返回 / 主页 / 最近任务)、日志、安装 APK、打开目录;浅色 / 深色 / 跟随系统。管理器 0.4.0 起还有[按应用走代理](./app-proxy)。 - 管理器开机一律带窗口。无头只从命令行开(`start ` 默认无头,MCP 的 `start_instance` 也是),给 AUTO-MAS 这类自动化用;管理器里不提供无头开机。无头运行的实例在卡片上标「无头」,也能在这里关机。 - **开机画面**(0.44.0 起,只有 Windows):带窗口开机时,模拟器窗口一出来就盖上一层开机画面,显示进度和正在做哪一步,开机后的设置做完才撤。这期间模拟器的画面和工具栏点不到,键盘也进不了;窗口照样能挪、能缩放、能用老板键藏起来。无头开机没有这层画面。 - **「运行中」**(0.44.0 起):安卓开完、开机后的设置也做完,卡片才显示「运行中」,设置期间是「开机中」。设置最多等 60 秒,到点也算「运行中」,设置接着做完。命令行和 MCP 的状态也是这样(`online` / `starting`)。 @@ -89,7 +89,7 @@ Windows 拒绝创建虚拟机时(模拟器日志里是 `WHPX: Failed to setup ### 启用 -1. 补全组件:在管理器「电脑检查」的「KernelSU 组件(实验)」一项点「下载 KernelSU 组件」,或运行 `tools\modavd.exe components fetch --kernelsu`。 +1. 补全组件:在管理器「设置」→「可选组件」的「KernelSU 组件(实验)」点「下载 KernelSU 组件」,或运行 `tools\modavd.exe components fetch --kernelsu`。 - 下的是五个文件:内核模块 `kernelsu.ko`,以及 `ksuinit`、`ksud`、`KernelSU.apk`、`meta-overlayfs.zip`,每个都按写死的大小和 SHA-256 核对,放在根目录的 `sdk\kernelsu\`。 - 已经有这五个文件的,点「导入 KernelSU 文件…」,或运行 `components import-ksu <文件或文件夹>…`。自己编的 `kernelsu.ko` 还要带 `--lkm-sha256 `,并且要和内核版本完全对上。 2. 在实例的「更多操作」里点「启用 KernelSU(实验)…」。确认后管理器把这台实例冷启动两次,激活模块系统;第一次启用时可能先用原版镜像检查一次客体数据。实例原来关着的,做完再关上。命令行是 `ksu install`,`ksu status` 看状态。 @@ -113,22 +113,33 @@ Windows 拒绝创建虚拟机时(模拟器日志里是 `WHPX: Failed to setup 内核模块来自 [ModAVD/ModAVDKernelSU](https://github.com/ModAVD/ModAVDKernelSU/releases) 的正式发布,按 ModAVD 系统镜像的内核编译;另外四个文件取自 KernelSU 和 meta-overlayfs 的正式发布。这五个文件都不在整包里,用到时才下载。许可证见[许可证与源码](../guide/license#third-party-apps)。 -## 组件与问题反馈 +## 问题反馈与设置 版本号提醒:下面写的「管理器 0.3.0 起」是 ModAVDManager 自己的版本(管理器和命令行共用一个版本号),和 ModAVD 整包的版本(如 0.38.2)是两套编号;整包里带的是哪一版管理器,见整包的发布说明。 -管理器的「设置」→「组件与问题反馈」面板把三件事放在一起,命令行有对应的命令: +管理器顶栏有两个入口,命令行有对应的命令。 -| 在面板里 | 命令行 | 做什么 | +**「问题反馈」**是一个对话框,从上到下三块: + +| 在对话框里 | 命令行 | 做什么 | | --- | --- | --- | -| 组件状态 | `components status` | 看 adb 和系统镜像装没装,可选的 Google Play 商店服务有没有(只读) | -| 补全组件 | `components fetch` | 从官方渠道下载 adb 和系统镜像:选下载源、读 Google 许可协议、同意后才下载,有进度和「取消」 | -| 收集问题信息 | `collect-info` | 把日志、配置和电脑信息打成一个 zip 放在桌面,做完显示路径和隐私提示(只读,不联网、不上传) | -| 复制配置信息 | `report-config` | 把电脑配置和开着的实例里装的游戏整理成一段文字,复制到剪贴板并显示(只读) | +| 导出日志 | `collect-info` | 勾选要导出的实例(开着的实例默认已勾上;从实例卡片的菜单进来,只勾那一台),把日志、配置和电脑信息打成一个 zip 放在桌面,做完显示路径和隐私提示(只读,不联网、不上传)。不勾实例也会导出电脑和组件信息 | +| 复制配置信息(「导出日志」里的另一个按钮) | `report-config` | 把电脑配置和开着的实例里装的游戏整理成一段文字,复制到剪贴板并显示(只读) | +| 电脑检查(含「必需组件」) | `check`、`components status` | 开机前的检查,列出没通过的项;「必需组件」显示 adb 和系统镜像装没装 | +| 补全组件(「电脑检查」里没通过的「组件」一项下) | `components fetch` | 从官方渠道下载 adb 和系统镜像:选下载源、读 Google 许可协议、同意后才下载,有进度和「取消」 | +| 最近任务和消息 | 无 | 正在做和刚做完的任务(下载、导出、新建实例等)和管理器的消息;关掉对话框再打开仍能看到 | + +**「设置」**也是一个对话框,分三块: + +- 更新:更新源和更新,见[升级](../guide/upgrade)。 +- 可选组件:Google Play 商店服务(见 [Google Play 商店](../guide/playstore))、KernelSU 的下载和导入,以及其他可选组件装没装。 +- 通用:界面语言,根目录的路径和「打开目录」。 + +其他: -- 面板里的「组件状态」只显示状态。缺组件时,首页上有一条带「补全组件」按钮的横幅,「电脑检查」里没通过的「组件」一项下面也有这个按钮。完整步骤、下载源和出错处理见[安装](../guide/install#_2-补全组件)。 +- 缺必需组件时,首页上有一条带「补全组件」按钮的横幅,点它的按钮或「电脑检查」里的同名按钮都行。完整步骤、下载源和出错处理见[安装](../guide/install#_2-补全组件)。 - 收集的内容、哪些能公开贴,见[反馈问题](../guide/feedback)和[隐私](../guide/privacy)。 -- 0.38.1 及更早的整包里,这三件事是包根的三个 `.bat`;0.38.2 起没有了,由管理器和命令行做。 +- 0.38.1 及更早的整包里,这几件事是包根的三个 `.bat`;0.38.2 起没有了,由管理器和命令行做。 ## 命令行 @@ -152,7 +163,7 @@ modavd [--root <目录>] [--json] [--quiet] [--verbose] <命令> [参数] | `components fetch --kernelsu`、`components import-ksu <文件或文件夹>… [--lkm-sha256 S]` | 0.44.0 起:下载或导入 [KernelSU](#kernelsu) 的五个组件文件 | | `ksu install\|uninstall [--purge --yes]\|status\|modules`、`ksu module install … [--no-reboot]`、`ksu module remove [--no-reboot]` | 0.44.0 起:给这台实例启用、移除、查看 [KernelSU](#kernelsu),导入、移除模块 | | `game-sources`、`game-apps <类型> <源>`、`game-files <类型> <源> <包名> [路径]`、`import-game <类型> <源> <目标> <包名> [--data 路径]` | 0.44.0 起:[从 MuMu 或雷电导入游戏](#从-mumu-或雷电导入游戏) | -| `collect-info [--out-dir D] [--no-explorer]` | 管理器 0.3.0 起:收集问题信息,生成 zip,默认放桌面并在资源管理器里选中 | +| `collect-info [--out-dir D] [--no-explorer]` | 管理器 0.3.0 起:导出日志(收集问题信息),生成 zip,默认放桌面并在资源管理器里选中 | | `report-config [--no-clipboard]` | 管理器 0.3.0 起:复制配置信息,默认复制到剪贴板 | | `window show\|hide` | 显示 / 隐藏带窗口开机的实例;无头实例没有窗口。管理器里用[老板键](#老板键和托盘) | | `install `、`shell <命令>`、`adb -- <参数>` | 装 APK、客体命令、adb 透传 | diff --git a/docs/develop/adapt-game.md b/docs/develop/adapt-game.md index 9c5e9f8..85248fe 100644 --- a/docs/develop/adapt-game.md +++ b/docs/develop/adapt-game.md @@ -19,7 +19,7 @@ - 启动前 `logcat -c`,再 `logcat -b all -v threadtime > 启动.txt`,然后启动游戏,复现以后停。 - 崩了的话,取 `/data/tombstones/` 里最新的那份:`shell su 0 ls -t /data/tombstones`。 -- 模拟器日志在根目录的 `logs\` 里。「收集问题信息」会把日志一起打包。 +- 模拟器日志在根目录的 `logs\` 里。「导出日志」会把日志一起打包。 - 重点看这几样: - `Fatal signal`:崩在哪个库、哪个线程; - `FATAL EXCEPTION`; diff --git a/docs/develop/index.md b/docs/develop/index.md index 4552b56..55ba803 100644 --- a/docs/develop/index.md +++ b/docs/develop/index.md @@ -25,14 +25,14 @@ issue、PR、评论和提交说明用中文或英文都可以。 维护者只在一台 Windows 11、AMD CPU、NVIDIA 独显的电脑上测过。最缺这些配置的实测:Intel CPU,AMD 或 Intel 显卡,笔记本双显卡,Windows 10,16 GB 内存。 1. 照[安装](../guide/install)装好,在管理器里建一台实例、开机,装上你玩的游戏玩一会儿;用 AUTO-MAS 的,在 AUTO-MAS 里添加,跑一轮日常任务。 -2. 在管理器的「设置 → 组件与问题反馈」里点「复制配置信息」(或运行 `tools\modavd.exe report-config`),在 ModAVD 仓库的 [Issues](https://github.com/ModAVD/ModAVD/issues) 新开 issue,贴上它,补完最后两行,再写一句能不能跑。0.38.1 及更早的包里是包根的「复制配置信息.bat」。 +2. 在管理器的「问题反馈」里点「复制配置信息」(或运行 `tools\modavd.exe report-config`),在 ModAVD 仓库的 [Issues](https://github.com/ModAVD/ModAVD/issues) 新开 issue,贴上它,补完最后两行,再写一句能不能跑。0.38.1 及更早的包里是包根的「复制配置信息.bat」。 这份输出不带用户名、电脑名、完整路径和游戏账号,可以直接公开贴。详见[游戏实测和兼容性报告](./testing)。 ## 报问题 - 各组件的问题都在 ModAVD 仓库的 [Issues](https://github.com/ModAVD/ModAVD/issues) 提:模拟器本体,也包括管理器和命令行、宿主输入法、本站、发版前回归。开 issue 时选上是哪个组件。 -- 附「收集问题信息」生成的问题包(管理器的「设置 → 组件与问题反馈」,或 `tools\modavd.exe collect-info`)。哪些能公开贴、崩溃转储怎么私下发,见[反馈问题](../guide/feedback)。 +- 附「导出日志」生成的问题包(管理器的「问题反馈」,或 `tools\modavd.exe collect-info`)。哪些能公开贴、崩溃转储怎么私下发,见[反馈问题](../guide/feedback)。 - 贴日志前,把路径里的 `C:\Users\<你的用户名>` 换成 `%USERPROFILE%`。 - AUTO-MAS 的界面、任务、调度问题,请到 [AUTO-MAS](https://github.com/AUTO-MAS-Project/AUTO-MAS/issues) 提。 - 安全问题不要公开发,请发邮件到 qiyinxi@foxmail.com。 diff --git a/docs/develop/package.md b/docs/develop/package.md index 56c71b3..4f9aec6 100644 --- a/docs/develop/package.md +++ b/docs/develop/package.md @@ -12,8 +12,8 @@ | 以前 | 现在:管理器 | 现在:命令行 | | --- | --- | --- | -| `补全组件.bat` | 顶栏「电脑检查」里「组件」一项下的「补全组件」,或缺组件时主页横幅上的「补全组件」;先选下载源,读 Google《Android 软件开发套件许可协议》,同意后下载 adb 和系统镜像,校验 SHA-1 后装进 `sdk\`,能断点续传 | `tools\modavd.exe components fetch`;下载源用 `components source` 看和改 | -| `收集问题信息.bat` | 「设置 → 组件与问题反馈 → 收集问题信息」,生成问题包,见[反馈问题](../guide/feedback) | `tools\modavd.exe collect-info` | +| `补全组件.bat` | 顶栏「问题反馈」里「电脑检查」中「组件」一项下的「补全组件」,或缺组件时主页横幅上的「补全组件」;先选下载源,读 Google《Android 软件开发套件许可协议》,同意后下载 adb 和系统镜像,校验 SHA-1 后装进 `sdk\`,能断点续传 | `tools\modavd.exe components fetch`;下载源用 `components source` 看和改 | +| `收集问题信息.bat` | 「问题反馈 → 导出日志」,生成问题包,见[反馈问题](../guide/feedback) | `tools\modavd.exe collect-info` | | `复制配置信息.bat` | 同一处的「复制配置信息」:把电脑配置和各实例装的游戏包整理成一段文字,复制到剪贴板,在 [Issues](https://github.com/ModAVD/ModAVD/issues) 新开 issue 反馈时附上 | `tools\modavd.exe report-config` | ## 写法上的规矩 diff --git a/docs/develop/testing.md b/docs/develop/testing.md index 74ad62f..b2c2cc4 100644 --- a/docs/develop/testing.md +++ b/docs/develop/testing.md @@ -4,7 +4,7 @@ 在你自己的电脑上照[安装](../guide/install)装好,建一台实例,装上要测的游戏玩一会儿(用 AUTO-MAS 的,在 AUTO-MAS 里跑一轮日常),然后: -1. 在管理器的「设置 → 组件与问题反馈」里点「复制配置信息」,或运行 `tools\modavd.exe report-config`; +1. 在管理器的「问题反馈」里点「复制配置信息」,或运行 `tools\modavd.exe report-config`; 2. 在 ModAVD 仓库的 [Issues](https://github.com/ModAVD/ModAVD/issues) 新开 issue,贴上它,补完最后两行; 3. 再写一句能不能跑。 diff --git a/docs/en/components/manager.md b/docs/en/components/manager.md index 8198dcc..fb542f5 100644 --- a/docs/en/components/manager.md +++ b/docs/en/components/manager.md @@ -13,7 +13,7 @@ Instance files and `mas-avd.json` are written the same way as in AUTO-MAS, so in Double-click `ModAVD.exe` in the package root. It starts a local server that listens only on 127.0.0.1, then opens a window in Edge app mode (Edge comes with Windows 10 / 11); if Edge is not found, it uses the default browser. The page is embedded in the program and does not use the network. -- Features: instance cards (with a screen thumbnail when the instance is online), start and stop (with progress), create, settings, delete, System check, [components and feedback](#components-and-feedback) (since manager 0.3.0), activity panel, screen view (a click is a tap; Back / Home / Recents), logs, install APK, open folder; light / dark / follow system. Since manager 0.4.0 there is also the [per-app proxy](./app-proxy). +- Features: instance cards (with a screen thumbnail when the instance is online), start and stop (with progress), create, settings, delete, [problem reports](#problem-reports-and-settings) (export logs, System check, recent tasks and messages; since manager 0.3.0), Settings (update, optional components, language and root folder), screen view (a click is a tap; Back / Home / Recents), logs, install APK, open folder; light / dark / follow system. Since manager 0.4.0 there is also the [per-app proxy](./app-proxy). - The manager always starts instances with a window. Headless starts are only on the command line (`start ` is headless by default, and so is MCP's `start_instance`), for automation such as AUTO-MAS; the manager has no headless start. A headless instance is marked “headless” on its card and can also be shut down here. - **Boot screen** (from 0.44.0, Windows only): on a start with a window, a boot screen covers the emulator window as soon as it appears. It shows the progress and the current step, and stays until the post-boot setup is done. Meanwhile the emulator's screen and toolbar cannot be clicked and keyboard input does not reach it; the window can still be moved, resized and hidden with the boss key. A headless start has no boot screen. - **“Running”** (from 0.44.0): the card shows “Running” only once Android has booted and the post-boot setup is done; during the setup it shows “Starting”. The setup is waited for at most 60 seconds; after that the instance counts as running and the setup carries on. The status in the CLI and MCP works the same way (`online` / `starting`). @@ -89,7 +89,7 @@ From 0.44.0. KernelSU gives apps in Android root access and can install KernelSU ### Enabling it -1. Get the components: in the manager's “System check”, click “Download KernelSU components” in the “KernelSU components (experimental)” item, or run `tools\modavd.exe components fetch --kernelsu`. +1. Get the components: in the manager's “Settings” → “Optional components”, click “Download KernelSU components” under “KernelSU components (experimental)”, or run `tools\modavd.exe components fetch --kernelsu`. - It downloads five files: the kernel module `kernelsu.ko`, plus `ksuinit`, `ksud`, `KernelSU.apk` and `meta-overlayfs.zip`. Each one is checked against a built-in size and SHA-256, and they go into `sdk\kernelsu\` in the root folder. - If you already have the five files, click “Import KernelSU files…” or run `components import-ksu …`. A `kernelsu.ko` you built yourself also needs `--lkm-sha256 ` and must match the full kernel version. 2. In the instance's “More actions”, click “Enable KernelSU (experimental)…”. After you confirm, the manager cold-boots the instance twice to activate the module system; the first time it may first check the guest data with the stock image. An instance that was shut down is shut down again afterwards. On the command line it is `ksu install`, and `ksu status` shows the state. @@ -113,22 +113,33 @@ From 0.44.0. KernelSU gives apps in Android root access and can install KernelSU The kernel module comes from the official releases of [ModAVD/ModAVDKernelSU](https://github.com/ModAVD/ModAVDKernelSU/releases), built for the kernel of ModAVD's system image; the other four files come from the official releases of KernelSU and meta-overlayfs. None of the five files is in the package; they are downloaded only when you use the feature. For licenses, see [Licenses and source code](../guide/license#third-party-apps). -## Components and feedback +## Problem reports and settings A note on version numbers: "since manager 0.3.0" below is the version of ModAVDManager itself (the manager and the CLI share one version number). It is a different numbering from the ModAVD package version (such as 0.38.2); the package's release notes say which manager version it contains. -**Settings → Components and problem reports** in the manager puts three jobs in one panel, and the CLI has matching commands: +The manager's top bar has two entries, and the CLI has matching commands. -| In the panel | CLI | What it does | +**Problem reports** is a dialog with three blocks, top to bottom: + +| In the dialog | CLI | What it does | | --- | --- | --- | -| Component status | `components status` | Shows whether adb and the system image are installed, and whether the optional Google Play Store services are present (read-only) | -| **Fetch components** | `components fetch` | Downloads adb and the system image from the official source: pick a download source, read Google's license, and only after you agree does it download; shows progress and a Cancel button | -| **Collect problem info** | `collect-info` | Packs logs, configuration and computer info into one zip on the desktop, then shows its path and a privacy note (read-only; no network, no upload) | -| **Copy configuration info** | `report-config` | Puts the computer's configuration and the games installed in running instances into one block of text, copies it to the clipboard and shows it (read-only) | +| **Export logs** | `collect-info` | Tick the instances to export (running instances are ticked by default; opened from an instance card's menu, only that instance is ticked). Packs logs, configuration and computer info into one zip on the desktop, then shows its path and a privacy note (read-only; no network, no upload). With no instance ticked it still exports the computer and component info | +| **Copy configuration info** (the other button in Export logs) | `report-config` | Puts the computer's configuration and the games installed in running instances into one block of text, copies it to the clipboard and shows it (read-only) | +| **System check** (with **Required components**) | `check`, `components status` | The check before starting, listing the items that did not pass; **Required components** shows whether adb and the system image are installed | +| **Fetch components** (under the **Components** item of System check when it did not pass) | `components fetch` | Downloads adb and the system image from the official source: pick a download source, read Google's license, and only after you agree does it download; shows progress and a Cancel button | +| **Recent tasks and messages** | none | Tasks that are running or just finished (downloads, exports, creating instances and so on) and the manager's messages; they are still there when you close and reopen the dialog | + +**Settings** is also a dialog, with three blocks: + +- **Update**: the update source and the update itself; see [Upgrade](../guide/upgrade). +- **Optional components**: the Google Play Store service (see [Google Play Store](../guide/playstore)), downloading and importing KernelSU, and whether the other optional components are installed. +- **General**: the interface language, the path of the root folder and **Open folder**. + +Also: -- The component status in the panel is display-only. When components are missing, the home page shows a banner with a **Fetch components** button, and the same button is under the failed **Components** item of **System check**. For the full steps, download sources and error handling, see [Install](../guide/install#_2-fetch-the-google-components). +- When required components are missing, the home page shows a banner with a **Fetch components** button; that button and the one in System check do the same. For the full steps, download sources and error handling, see [Install](../guide/install#_2-fetch-the-google-components). - For what is collected and what is safe to post publicly, see [Reporting problems](../guide/feedback) and [Privacy](../guide/privacy). -- In packages 0.38.1 and earlier these three jobs were three `.bat` files in the package root; from 0.38.2 they are gone and the manager and CLI do them. +- In packages 0.38.1 and earlier these jobs were three `.bat` files in the package root; from 0.38.2 they are gone and the manager and CLI do them. ## The CLI @@ -152,7 +163,7 @@ modavd [--root ] [--json] [--quiet] [--verbose] [args] | `components fetch --kernelsu`, `components import-ksu … [--lkm-sha256 S]` | From 0.44.0: download or import the five component files of [KernelSU](#kernelsu) | | `ksu install\|uninstall [--purge --yes]\|status\|modules`, `ksu module install … [--no-reboot]`, `ksu module remove [--no-reboot]` | From 0.44.0: enable, remove or check [KernelSU](#kernelsu) on this instance, and import or remove modules | | `game-sources`, `game-apps `, `game-files [path]`, `import-game [--data path]` | From 0.44.0: [import games from MuMu or LDPlayer](#importing-games-from-mumu-or-ldplayer) | -| `collect-info [--out-dir D] [--no-explorer]` | Since manager 0.3.0: collect a problem report as a zip, placed on the desktop and selected in File Explorer by default | +| `collect-info [--out-dir D] [--no-explorer]` | Since manager 0.3.0: export logs (collect a problem report) as a zip, placed on the desktop and selected in File Explorer by default | | `report-config [--no-clipboard]` | Since manager 0.3.0: copy the configuration info, to the clipboard by default | | `window show\|hide` | Show or hide the window of an instance started with one; headless instances have no window. In the manager, use the [boss key](#boss-keys-and-the-tray) | | `install `, `shell `, `adb -- ` | Install an APK, guest command, adb passthrough | diff --git a/docs/en/develop/adapt-game.md b/docs/en/develop/adapt-game.md index df4f041..5df95b3 100644 --- a/docs/en/develop/adapt-game.md +++ b/docs/en/develop/adapt-game.md @@ -19,7 +19,7 @@ To get a game that currently will not start or runs badly working on ModAVD, wor - Before launching, run `logcat -c`, then `logcat -b all -v threadtime > 启动.txt`, then launch the game, and stop once it reproduces. - If it crashed, take the newest file in `/data/tombstones/`: `shell su 0 ls -t /data/tombstones`. -- The emulator logs are in `logs\` in the root folder. **Collect problem info** packs the logs together. +- The emulator logs are in `logs\` in the root folder. **Export logs** packs the logs together. - Look mainly at these: - `Fatal signal`: which library and which thread it crashed in; - `FATAL EXCEPTION`; diff --git a/docs/en/develop/index.md b/docs/en/develop/index.md index 764db71..b1fbed6 100644 --- a/docs/en/develop/index.md +++ b/docs/en/develop/index.md @@ -25,14 +25,14 @@ If this is your first time, look at the issues labeled [good first issue](https: The maintainer has tested on only one computer: Windows 11, AMD CPU, NVIDIA discrete GPU. What is missing most is testing on these configurations: Intel CPU, AMD or Intel GPU, laptops with dual GPUs, Windows 10, and 16 GB of RAM. 1. Install by following [Installation](../guide/install), create an instance in the manager, start it, install a game you play and play for a while. If you use AUTO-MAS, add the instance there and run one round of daily tasks. -2. Click **Copy configuration info** under **Settings → Components and problem reports** in the manager, or run `tools\modavd.exe report-config`. Open an issue in the [ModAVD repository](https://github.com/ModAVD/ModAVD/issues) and paste it. Fill in the last two lines and add one sentence on whether it runs. In packages 0.38.1 and earlier this was `复制配置信息.bat` in the package root. +2. Click **Copy configuration info** under **Problem reports** in the manager, or run `tools\modavd.exe report-config`. Open an issue in the [ModAVD repository](https://github.com/ModAVD/ModAVD/issues) and paste it. Fill in the last two lines and add one sentence on whether it runs. In packages 0.38.1 and earlier this was `复制配置信息.bat` in the package root. This output does not contain your user name, computer name, full paths or game accounts, so you can post it publicly as it is. For details, see [Testing on real games and compatibility reports](./testing). ## Reporting problems - Problems with every component go to the [Issues](https://github.com/ModAVD/ModAVD/issues) of the ModAVD repository: the emulator itself, and also the manager and CLI, the host IME, this site and the pre-release regression tests. Pick the component when you open the issue. -- Attach the problem report made by **Collect problem info**, in **Settings → Components and problem reports** in the manager or with `tools\modavd.exe collect-info`. For what you can post publicly and how to send crash dumps privately, see [Reporting problems](../guide/feedback). +- Attach the problem report made by **Export logs**, in **Problem reports** in the manager or with `tools\modavd.exe collect-info`. For what you can post publicly and how to send crash dumps privately, see [Reporting problems](../guide/feedback). - Before you paste logs, replace `C:\Users\` in paths with `%USERPROFILE%`. - Problems with AUTO-MAS's interface, tasks or scheduling belong to [AUTO-MAS](https://github.com/AUTO-MAS-Project/AUTO-MAS/issues). - Do not report security problems publicly. Send an e-mail to qiyinxi@foxmail.com. diff --git a/docs/en/develop/package.md b/docs/en/develop/package.md index 0f834e4..578bd6f 100644 --- a/docs/en/develop/package.md +++ b/docs/en/develop/package.md @@ -12,8 +12,8 @@ What the three `.bat` files did is now done like this: | Before | Now: the manager | Now: the CLI | | --- | --- | --- | -| `补全组件.bat` (fetches the Google components) | **Fetch components** under the **Components** item in **System check** in the top bar, or on the banner of the home page when components are missing. Choose a download source and read Google's Android Software Development Kit License Agreement; after you agree, it downloads adb and the system image, checks the SHA-1 and installs them into `sdk\`. It can resume downloads | `tools\modavd.exe components fetch`; use `components source` to see and change the download source | -| `收集问题信息.bat` (collects a problem report) | **Settings → Components and problem reports → Collect problem info** makes the report; see [Reporting problems](../guide/feedback) | `tools\modavd.exe collect-info` | +| `补全组件.bat` (fetches the Google components) | **Fetch components** under the **Components** item in **System check** (inside **Problem reports** in the top bar), or on the banner of the home page when components are missing. Choose a download source and read Google's Android Software Development Kit License Agreement; after you agree, it downloads adb and the system image, checks the SHA-1 and installs them into `sdk\`. It can resume downloads | `tools\modavd.exe components fetch`; use `components source` to see and change the download source | +| `收集问题信息.bat` (collects a problem report) | **Problem reports → Export logs** makes the report; see [Reporting problems](../guide/feedback) | `tools\modavd.exe collect-info` | | `复制配置信息.bat` (copies your system and game info) | **Copy configuration info** in the same place puts the computer's configuration and the game packages installed in each instance into one block of text and copies it to the clipboard, to include in a new issue in [Issues](https://github.com/ModAVD/ModAVD/issues) | `tools\modavd.exe report-config` | ## Writing rules diff --git a/docs/en/develop/testing.md b/docs/en/develop/testing.md index 9151449..3517888 100644 --- a/docs/en/develop/testing.md +++ b/docs/en/develop/testing.md @@ -4,7 +4,7 @@ Install on your own computer by following [Installation](../guide/install), create an instance, install the game you want to test and play it for a while (if you use AUTO-MAS, run one round of daily tasks in it), and then: -1. Click **Copy configuration info** under **Settings → Components and problem reports** in the manager, or run `tools\modavd.exe report-config`; +1. Click **Copy configuration info** under **Problem reports** in the manager, or run `tools\modavd.exe report-config`; 2. Open an issue in the [ModAVD repository](https://github.com/ModAVD/ModAVD/issues), paste it, and fill in the last two lines; 3. Add one sentence on whether it runs. diff --git a/docs/en/guide/feedback.md b/docs/en/guide/feedback.md index 4acf5a2..7e05bfd 100644 --- a/docs/en/guide/feedback.md +++ b/docs/en/guide/feedback.md @@ -5,11 +5,11 @@ Open an issue in the [Issues](https://github.com/ModAVD/ModAVD/issues) of the Mo - For problems with AUTO-MAS's interface, tasks or scheduling, please go to [AUTO-MAS](https://github.com/AUTO-MAS-Project/AUTO-MAS/issues). - Do not post security problems publicly. Send an email to qiyinxi@foxmail.com. -## 1. Collect a problem report +## 1. Export the logs 1. **Do not shut down the emulator after something goes wrong.** If the instance is still running, the collection also records the screen and state at that moment. 2. Generate the report, in one of two ways: - - In the manager: open `ModAVD.exe`, click **Settings**, then **Components and problem reports**, then **Collect problem info**. The report also goes to your desktop. When it finishes, it shows its path, a button **Show in File Explorer** that opens its folder, and a privacy note. + - In the manager: open `ModAVD.exe`, click **Problem reports** in the top bar, tick the instances that had the problem in **Export logs** (running instances are ticked by default), then click **Export logs**. The report also goes to your desktop. When it finishes, it shows its path, a button **Show in File Explorer** that opens its folder, and a privacy note. - On the command line: run `tools\modavd.exe collect-info`. After about a minute, a `ModAVD-问题信息-