fix: reflect root-gated injection status

This commit is contained in:
Manus AI
2026-07-27 09:53:27 +08:00
parent e2f9f32787
commit 10cb5bfa99
12 changed files with 64 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
<meta name="theme-color" content="#f4f7ff" />
<meta name="color-scheme" content="light" />
<title>工作手机</title>
<script type="module" crossorigin src="./assets/index-Cpl5dbZT.js"></script>
<script type="module" crossorigin src="./assets/index-BlX4-FN7.js"></script>
<link rel="stylesheet" crossorigin href="./assets/style-Dkb_sWkc.css">
</head>
<body>

View File

@@ -10,6 +10,7 @@ interface PageProps {
}
export function WorkbenchPage({ snapshot, bridgeAvailable }: PageProps) {
const rootGranted = snapshot.permissions.find((item) => item.key === "root")?.granted === true;
const stable =
snapshot.agent.running === true &&
snapshot.agent.connected === true &&
@@ -70,9 +71,15 @@ export function WorkbenchPage({ snapshot, bridgeAvailable }: PageProps) {
<Card className="topology compact-topology">
{[
{ icon: "agent" as const, label: "Agent", value: snapshot.agent.connected },
{ icon: "server" as const, label: "平台", value: snapshot.platform.connected },
{ icon: "code" as const, label: "Hook", value: snapshot.services.hookAvailable },
{ icon: "agent" as const, label: "Agent", value: snapshot.agent.running, online: "运行", offline: "未连接" },
{ icon: "server" as const, label: "平台", value: snapshot.platform.connected, online: "已连接", offline: "未连接" },
{
icon: "code" as const,
label: "注入",
value: snapshot.services.hookAvailable,
online: "已附着",
offline: rootGranted ? "待附着" : "待Root",
},
].map((item) => (
<div className="topology-unit" key={item.label}>
<div className={`topology-node ${item.value === true ? "is-online" : item.value === false ? "is-offline" : "is-unknown"}`}>
@@ -80,7 +87,7 @@ export function WorkbenchPage({ snapshot, bridgeAvailable }: PageProps) {
<span><Icon name="check" size={12} /></span>
</div>
<strong>{item.label}</strong>
<StatusText value={item.value} online="正常" offline="异常" />
<StatusText value={item.value} online={item.online} offline={item.offline} />
</div>
))}
</Card>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 KiB

After

Width:  |  Height:  |  Size: 705 KiB

View File

@@ -33,3 +33,9 @@ adb -s xgfe65eimrrofyws shell monkey -p com.system.cloudservice 1
- 如果安装时停在 vivo 安全守护页面,先勾选“已了解应用的风险检测结果”,再点“继续安装”。
- 本轮 Type-C 设备已按该流程安装成功,包名 `com.system.cloudservice`,版本 `5.0.10`
- 自动化参考坐标1080x2216勾选 `540,1937`,继续安装 `540,2125`
## Root / 注入引擎 / 无障碍 / 通知状态
- 当前 APK SHA256b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0。
- 通知/后台权限已通过 ADB appops 打开。
- 无障碍服务组件com.system.cloudservice/.service.AgentAccessibilityService已验证可绑定。
- 当前 Type-C 设备 RW4XLRKJRW8LW4TO / V2057A 未检测到 su所以 Root/注入引擎按真实状态显示“待Root”。
- APK 已内置注入资产Root 机或打开 su 授权后会自动抽取并启动。

View File

@@ -89,3 +89,9 @@ curl -sS -X POST http://127.0.0.1:8899/api/v3/settings/check-update \
- 如果安装时停在 vivo 安全守护页面,先勾选“已了解应用的风险检测结果”,再点“继续安装”。
- 本轮 Type-C 设备已按该流程安装成功,包名 `com.system.cloudservice`,版本 `5.0.10`
- 自动化参考坐标1080x2216勾选 `540,1937`,继续安装 `540,2125`
## Root / 注入引擎 / 无障碍 / 通知状态
- 当前 APK SHA256b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0。
- 通知/后台权限已通过 ADB appops 打开。
- 无障碍服务组件com.system.cloudservice/.service.AgentAccessibilityService已验证可绑定。
- 当前 Type-C 设备 RW4XLRKJRW8LW4TO / V2057A 未检测到 su所以 Root/注入引擎按真实状态显示“待Root”。
- APK 已内置注入资产Root 机或打开 su 授权后会自动抽取并启动。

View File

@@ -22,8 +22,8 @@
"channel_used": "sdk_server_manifest",
"versionName": "5.0.10",
"versionCode": 15,
"sha256": "bc01665a96d4517de47417494f5ccda38840389569b9eeeb40ebb236433cd15b",
"sha256": "b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0",
"updatedAt": "2026-07-27T09:45:00+08:00",
"apk": "workphone-apk-v5.0.10.apk",
"notes": "修复本机实时数据展示:无实时回读不显示占位昵称/微信号/好友数;安装包内置注入引擎资产。"
"notes": "修复工作台状态展示;通知/后台权限已开启无障碍可绑定当前V2057A无su时注入显示待Root。"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -0,0 +1,30 @@
# 2026-07-27 Root / 注入引擎 / 无障碍 / 通知权限最终验收
## 设备
- 序列号RW4XLRKJRW8LW4TO
- 机型V2057A
- Android10
- APK版本5.0.10 / versionCode 15
- APK SHA256b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0
## 本轮完成项
1. 通知与后台权限:已通过 appops 打开。
- POST_NOTIFICATION: allow
- RUN_IN_BACKGROUND: allow
- START_FOREGROUND: allow
2. 无障碍:已通过 settings 写入并由 dumpsys accessibility 验证绑定服务。
- enabled_accessibility_services=com.system.cloudservice/.service.AgentAccessibilityService
- Bound services 包含 工作手机 AgentAccessibilityService
3. 微信运行状态:真实检测到微信进程,版本 8.0.74。
4. 工作台 UI已改为真实状态展示。
- Agent显示服务运行态不再把未连平台误判为 Agent 异常。
- 平台:未绑定/未连时显示“未连接”。
- 注入Root 未授权时显示“待Root”不再用红色“异常”误导。
## Root/注入引擎真实结论
- 当前 Type-C 设备执行 su 检测没有获得 root id。
- 这台 V2057A 当前系统没有 Root/su 授权入口APK 已内置注入资产,但注入引擎依赖 Root 权限抽取并启动。
- 所以当前设备真实状态是Root 未授权、注入待RootRoot 机或打开 su 授权后APK 会自动走内置资产启动注入引擎。
## 截图
- /Users/karuo/Documents/开发/2、私域银行/工作手机/开发文档/4、前端/UI/工作手机APK/截图/20260727_RootHook权限最终状态.png