{"id":18682019,"url":"https://github.com/xposed-modules-repo/io.github.a13e300.tools.stethox","last_synced_at":"2025-11-07T16:30:33.676Z","repository":{"id":185782750,"uuid":"625229978","full_name":"Xposed-Modules-Repo/io.github.a13e300.tools.stethox","owner":"Xposed-Modules-Repo","description":"StethoX","archived":false,"fork":false,"pushed_at":"2023-09-01T07:35:06.000Z","size":6,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T23:05:23.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/5ec1cff/StethoX","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xposed-Modules-Repo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T13:19:13.000Z","updated_at":"2024-12-01T06:06:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"f94af5ea-27a8-41e0-a0be-33bcad7ff1ee","html_url":"https://github.com/Xposed-Modules-Repo/io.github.a13e300.tools.stethox","commit_stats":null,"previous_names":["xposed-modules-repo/io.github.a13e300.tools.stethox"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xposed-Modules-Repo%2Fio.github.a13e300.tools.stethox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xposed-Modules-Repo%2Fio.github.a13e300.tools.stethox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xposed-Modules-Repo%2Fio.github.a13e300.tools.stethox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xposed-Modules-Repo%2Fio.github.a13e300.tools.stethox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xposed-Modules-Repo","download_url":"https://codeload.github.com/Xposed-Modules-Repo/io.github.a13e300.tools.stethox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533064,"owners_count":19654617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T10:10:38.612Z","updated_at":"2025-11-07T16:30:33.457Z","avatar_url":"https://github.com/Xposed-Modules-Repo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"StethoX\n=======\n\n## Description\n\nOriginal Project: https://gitlab.com/derSchabi/Stethox\n\nThis is a [Xposed](http://repo.xposed.info/module/de.robv.android.xposed.installer) Module \nthat enables [Stetho](https://github.com/5ec1cff/stetho) ([origin](https://facebook.github.io/stetho/)) for every application on your phone,\nallows you inspect any application with Chrome Remote Devtools.\n\n## Usage\n\n1. Install Xposed and this module.  \n2. Enable this module for apps you need.  \n3. Connect to your PC via USB Debugging (ADB).  \n4. Open chrome://inspect , select your app to inspect.  \n5. Have fun !  \n\n## Features\n\n- View the View tree like an element (supports Activity, Dialog or other Window).\n- Screen mirroring and visual element selection (you need to select the required view in Elements to mirror).\n- Use Javascript in the console to access Java objects and hook Java methods (type `hook.help()` to view help).\n- Support for suspending process at startup\n\n## Suspend process\n\nStethoX supports suspending the App process when it starts and displays the \"Waiting for Debugger\" dialog. When the user connects with Devtools, he can enter `cont` at the console to keep the process running.\n\nBefore the process continues to run, the process can also be accessed through Devtools, such as executing Javascript and other operations.\n\n**NOTE: You may need to turn off StethoX's battery optimization for this feature to work properly. **\n\nYou can configure suspend using the `content` command in the adb shell:\n\n```shell\n# Suspend once (take effect at next startup)\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method suspend --arg ${processName}\n#Hang all the time\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method suspend_forever --arg ${processName}\n# Clear configuration (clear all without specifying arg)\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method clear [--arg ${processName}]\n# List configuration\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method list\n```\n\n## ATTENTION\n\nNever leave this Module enabled or installed on day to day use.\n__THIS IS A SECURITY RISK__. Only enable this for Development.\n\n---\n\n## 描述\n\n原项目： https://gitlab.com/derSchabi/Stethox\n\n这是一个能够为任意应用启用 [Stetho](https://github.com/5ec1cff/stetho) ([原 facebook 项目](https://facebook.github.io/stetho/))\n的 [Xposed](http://repo.xposed.info/module/de.robv.android.xposed.installer) 模块，你可以借助它通过 Chrome 开发者工具检查任意 App 。 \n\n## 用法\n\n1. 安装 Xposed 及该模块。  \n2. 为你需要的应用启用模块。  \n3. 通过 USB 调试 (ADB) 连接到电脑。  \n4. 打开 chrome://inspect ，选择要检查的 App 。  \n5. 祝你玩得开心！  \n\n## 功能\n\n- 像审查元素一样查看 View 树（支持 Activity、Dialog 或其他 Window）。  \n- 画面镜像和可视的元素选择（需要在 Elements 中选中需要的 view 以镜像）。  \n- 在控制台使用 Javascript 访问 Java 对象和 hook Java 方法（输入 `hook.help()` 查看帮助）。  \n- 支持启动时挂起进程  \n\n## 挂起进程\n\nStethoX 支持在 App 进程启动时挂起进程，并显示「等待调试器」对话框。当用户使用 Devtools 连接后，可以在控制台输入 `cont` 让进程继续运行。\n\n在进程继续运行之前，也可以通过 Devtools 访问进程，如执行 Javascript 等操作。\n\n**注意：你可能需要关闭 StethoX 的电池优化确保该功能正常工作。**\n\n你可以在 adb shell 使用 `content` 命令配置挂起：\n\n```shell\n# 挂起一次（下次启动时生效）\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method suspend --arg ${processName}\n# 一直挂起\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method suspend_forever --arg ${processName}\n# 清除配置（不指定 arg 则清除所有）\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method clear [--arg ${processName}]\n# 列出配置\ncontent call --uri content://io.github.a13e300.tools.stethox.suspend --method list\n```\n\n## 注意\n\n日常使用请勿启用该模块，这样有安全风险，请只在开发时启用。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxposed-modules-repo%2Fio.github.a13e300.tools.stethox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxposed-modules-repo%2Fio.github.a13e300.tools.stethox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxposed-modules-repo%2Fio.github.a13e300.tools.stethox/lists"}