# TelemetryCleaner (Eynnzerr/TelemetryCleaner)

> An Android app that finds carrier and manufacturer telemetry components preinstalled on Chinese domestic firmware, such as SystemHelper and RegService, and lets you disable, uninstall or restore them without root.

- GitHub: https://github.com/Eynnzerr/TelemetryCleaner
- GitHub.Locker page: https://github.locker/Eynnzerr/TelemetryCleaner
- Stars: 1.5K
- Language: Kotlin
- License: MIT
- Last push: 2026-11-17

## Questions and answers

Written by GitHub.Locker from the README and the repository; check the README below for details.

**Is it an app on my phone or a PC tool?**

It is an app installed on the Android phone itself. It uses Shizuku, so a computer is only needed if you start Shizuku through ADB over USB.

**How do I get it running?**

Download the APK from GitHub Releases, start Shizuku with ADB or wireless debugging, then authorize the app in Shizuku and choose the spaces to scan. Open a component's details to check its permissions, or tick several components for batch actions.

**What do I need before installing?**

Android 10 or newer and Shizuku running. Wireless debugging is available on Android 11 and newer. Root is not required.

**Does it work on every phone?**

Only the built-in list of carrier packages is covered, and many vendor and carrier combinations are still unverified by the author. Some vivo builds cannot uninstall components other than SystemHelper.

**What does the carrier component actually collect?**

The author saw SystemHelper on an OPPO phone reading location, device and SIM identifiers, installed apps and per-app traffic, then uploading it to a cloud service. A WiSec 2023 study also found installed-app lists reported by China Mobile components on some Xiaomi and ColorOS devices.

**Why was this built?**

Carrier management components on some Chinese firmware run silently in the background with no launcher icon and cannot be disabled or uninstalled through normal settings. The app works around this using Shizuku's shell-level access.

**Can I undo an uninstall?**

Yes, restore uses the system-kept APK, but uninstalling in a space also clears that component's data in that space. Auto-cleanup is off by default and only acts on components in its own list.

**What happens if the ROM blocks uninstalling?**

The app retries as shell through appprocess, calling the hidden deletePackageAsUser method. If it still fails, the result page keeps the original system error message.


---

## README (checked against GitHub 2026-11-18)

Source: https://github.com/Eynnzerr/TelemetryCleaner/blob/main/README.md

# 遥测清理 · TelemetryCleaner

> 运营商为终端入网、自注册、网络运维和故障排查，确有在相应场景收集必要数据的实际需求！本项目仅供学习，用于了解 Android 系统包管理机制。

TelemetryCleaner 可以检测国行 Android 固件预置的运营商组件，查看各空间的安装状态和权限，并管理卸载与恢复。下载： [GitHub Releases](https://github.com/Eynnzerr/TelemetryCleaner/releases/latest)

<p>
  <img src="docs/screenshots/home.png" alt="主页展示 Shizuku 连接状态和运营商组件" width="235">
  <img src="docs/screenshots/permissions.png" alt="SystemHelper 权限页展示权限声明及主空间的授权状态" width="235">
  <img src="docs/screenshots/catalogue.png" alt="组件检查清单按厂商展示包名" width="235">
</p>

您可通过不限于以下方式参与贡献，欢迎 PR：
1. 提供清单未覆盖的厂商+运营商+包名线索，在 README.md 中补充即可；
2. 提供针对某模块的实测与分析报告，不限制是否为 AI 生成，但需保证真实性。放于 docs 目录中即可；
3. ~协助实现未支持的免 Root 卸载功能（如**现版本不支持部分 vivo 系的电信/移动组件卸载**）~；
4. 对软件功能的反馈或改进。

## 背景介绍

部分国产厂商在国行固件中预置了 `SystemHelper`、`RegService` 等运营商终端管理组件。这些组件在后台静默定时采集数据，用户无感；没有桌面入口，同时无法以常规手段禁用权限和卸载。

WiSec 2023 的流量测量还在部分国行样机上观察到运营商组件上报数据，其中小米及 ColorOS 样本的中国移动组件上报了已安装软件列表。 [WiSec 2023 实测论文](https://www.scss.tcd.ie/Doug.Leith/pubs/wisecfp034-liu.pdf#page=7)

在作者本人的 OPPO 真机上观测到 SystemHelper 有读取定位、设备和 SIM 标识、已安装应用以及按应用统计网络流量，随后向某云端上传的行为，分析详见 [SystemHelper 代码与权限分析 by AI](docs/reports/oppo-telemetry-components.md)。

## 本项目原理

Android 10 及以上设备可安装本项目。默认使用 Shizuku，已获取 Root 的设备可在首页选择「使用 Root」，也可在设置里切换权限来源。扫描后可选择空间、查看组件权限或批量操作。

- **Shizuku** · 按 [Shizuku 启动指南](https://shizuku.rikka.app/guide/setup/)通过 ADB 或无线调试启动服务，再回到 App 授权。Android 11 及以上支持无线调试启动。
- **Root** · 在 Root 管理器里授权 Telemetry Cleaner，回到首页连接 Root。扫描、卸载、恢复和自动清理通过 Root 会话执行，无需安装 Shizuku。

ADB 启动的 Shizuku 以 shell 身份代理 Binder 调用。App 直接请求系统包管理服务，避开部分 ROM 对 `pm` 命令行入口的拦截。系统包管理服务仍会执行本机的权限和包状态校验。 [Binder 调用实现](app/src/main/java/com/eynnzerr/telemetrycleaner/data/PackageBinder.kt)

少数 ROM 会在命令层拒绝卸载系统应用，例如返回 `Failure [only root can delete system app for a particular user]`。Shizuku 模式可通过 `app_process` 调用 `IPackageManager.deletePackageAsUser` 再试一次。App 回读包状态确认结果，失败时结果页保留原始系统错误。 [app_process 兜底实现](app/src/main/java/com/eynnzerr/telemetrycleaner/data/PackageFallback.kt)

卸载按选定空间执行，会清除该空间中的组件数据。恢复使用系统保留的 APK。自动清理默认关闭，开启后按配置的周期检查所选空间，只处理自动清理名单内的组件。使用 Root 时，设备重启或 App 进程退出后，需在首页重新连接 Root 才会继续自动清理。

**已知限制：vivo OriginOS 的 PMS 底层中，电信/移动组件 com.vivo.devicereg 被列入了 vivo 系统保护名单，暂无法在非 Root 情况下完成卸载。其他厂商经实测反馈均支持。**

## 内置组件清单

表中的「未验证」指尚无本人在相应厂商设备上的卸载验证。

| 厂商 | 运营商 | 包名 | 卸载验证 |
| --- | --- | --- | --- |
| 跨厂商 | 联通 | `com.mobiletools.systemhelper` | 已实测 |
| OPPO / 一加 / realme | 电信 | `com.oppo.ctautoregist` | 已实测 |
| OPPO / 一加 / realme | 移动 | `com.coloros.regservice` | 已实测 |
| 小米 / Redmi / POCO | 电信 | `com.xiaomi.registration` | 已实测 |
| 小米 / Redmi / POCO | 移动 | `com.miui.dmregservice` | 已实测 |
| vivo | 移动 / 电信 | `com.vivo.devicereg` | 暂不支持 |
| 华为及旧荣耀 | 电信（数据） | `com.huawei.android.UEInfoCheck` | 已实测 |
| 华为及旧荣耀 | 电信（短信） | `com.huawei.android.AutoRegSms` | 已实测 |
| 华为 | 移动 | `com.huawei.regservice` | 已实测 |
| 荣耀 | 电信（数据） | `com.hihonor.android.UEInfoCheck` | 已实测 |
| 荣耀 | 电信（短信） | `com.hihonor.android.AutoRegSms` | 已实测 |
| 荣耀 | 移动 | `com.hihonor.regservice` | 已实测 |
| 魅族 / Flyme | 移动 | `com.meizu.regservice` | 已实测 |
| 初代红魔 | 电信 | `cn.nubia.register` | 未验证 |

本人只验证了 SystemHelper 和 OPPO 组件的卸载，小米、华为由网友验证实测。其他厂商因缺少设备暂未验证，如决定卸载，请自行承担风险。

欢迎在 [Issues](https://github.com/Eynnzerr/TelemetryCleaner/issues) 反馈某厂商某模块卸载后使用正常，也欢迎补充组件。附上机型、系统版本、包名和实际结果，便于复核。

## WIP

- [ ] 努比亚、国行三星、魅族运营商遥测组件包名收集
- [ ] 扩充更多组件检测（包括厂商自己的敏感数据收集组件）作为可选项
- [x] 部分 vivo 系不支持卸载 SystemHelper 外的组件。暂提供冻结策略作为兜底

<a href="https://www.star-history.com/?repos=Eynnzerr%2FTelemetryCleaner&amp;type=date">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=eynnzerr%2Ftelemetrycleaner&amp;type=date&amp;theme=dark">
    <img src="https://api.star-history.com/chart?repos=eynnzerr%2Ftelemetrycleaner&amp;type=date" alt="TelemetryCleaner 的 GitHub Star 趋势图">
  </picture>
</a>

