fix: reflect root-gated injection status
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
||||
@@ -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 |
@@ -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 SHA256:b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0。
|
||||
- 通知/后台权限已通过 ADB appops 打开。
|
||||
- 无障碍服务组件:com.system.cloudservice/.service.AgentAccessibilityService,已验证可绑定。
|
||||
- 当前 Type-C 设备 RW4XLRKJRW8LW4TO / V2057A 未检测到 su,所以 Root/注入引擎按真实状态显示“待Root”。
|
||||
- APK 已内置注入资产;Root 机或打开 su 授权后会自动抽取并启动。
|
||||
|
||||
@@ -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 SHA256:b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0。
|
||||
- 通知/后台权限已通过 ADB appops 打开。
|
||||
- 无障碍服务组件:com.system.cloudservice/.service.AgentAccessibilityService,已验证可绑定。
|
||||
- 当前 Type-C 设备 RW4XLRKJRW8LW4TO / V2057A 未检测到 su,所以 Root/注入引擎按真实状态显示“待Root”。
|
||||
- APK 已内置注入资产;Root 机或打开 su 授权后会自动抽取并启动。
|
||||
|
||||
@@ -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.
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_RootHook权限最终状态.png
Normal file
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_RootHook权限最终状态.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 705 KiB |
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_权限修复后工作手机状态.png
Normal file
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_权限修复后工作手机状态.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 622 KiB |
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_权限版安装卡点.png
Normal file
BIN
开发文档/4、前端/UI/工作手机APK/截图/20260727_权限版安装卡点.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
30
开发文档/8、部署/05-测试验收/20260727_Root_Hook_无障碍_通知权限最终验收.md
Normal file
30
开发文档/8、部署/05-测试验收/20260727_Root_Hook_无障碍_通知权限最终验收.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# 2026-07-27 Root / 注入引擎 / 无障碍 / 通知权限最终验收
|
||||
|
||||
## 设备
|
||||
- 序列号:RW4XLRKJRW8LW4TO
|
||||
- 机型:V2057A
|
||||
- Android:10
|
||||
- APK版本:5.0.10 / versionCode 15
|
||||
- APK SHA256:b316f2392aa05646e77b88c8627f5c0961427b42bd2f5769b55315a4c38ecaa0
|
||||
|
||||
## 本轮完成项
|
||||
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 未授权、注入待Root;Root 机或打开 su 授权后,APK 会自动走内置资产启动注入引擎。
|
||||
|
||||
## 截图
|
||||
- /Users/karuo/Documents/开发/2、私域银行/工作手机/开发文档/4、前端/UI/工作手机APK/截图/20260727_RootHook权限最终状态.png
|
||||
Reference in New Issue
Block a user