GNU General Public License v3.0

项目介绍

jksalcedo/optrace 是一个托管在 GitHub 上的开源项目,主要使用 Kotlin 编写,采用 GNU General Public License v3.0 许可证,目前获得 7 个 Star、1 次 Fork。

仓库全名
jksalcedo/optrace
开源许可证
GNU General Public License v3.0
Star 数
7
Fork 数
1

README 摘要

OpTrace A persistent, locally-stored permission audit logger for Android. Android's built-in Privacy Dashboard is great, but it wipes your history after 7 days and heavily focuses on just Camera, Microphone, and Location. OpTrace leverages privileged shell access to hook directly into Android's hidden AppOpsManager, providing a complete, persistent timeline of exactly what your installed applications are accessing…

完整内容见 GitHub 原始 README 或本页 。

常见问题

optrace 用什么语言开发?

主要使用 Kotlin 编写,采用 GNU General Public License v3.0 许可证,目前有 7 个 Star。

optrace 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 optrace 的源码?

可以直接克隆仓库:git clone https://github.com/jksalcedo/optrace.git,默认分支为 main;安装与运行步骤见仓库 README。

optrace 最近还在维护吗?

仓库最近一次更新为 3 周前,当前没有未关闭的 Issue;Star 数为 7,可作为社区活跃度的参考。

关于

Track and log hidden Android app permissions beyond the system's 7-day limit.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
9
价值分
4
活跃状态
活跃

语言占比

Kotlin

贡献者

README

OpTrace

A persistent, locally-stored permission audit logger for Android.

Android’s built-in Privacy Dashboard is great, but it wipes your history after 7 days and heavily focuses on just Camera, Microphone, and Location. OpTrace leverages privileged shell access to hook directly into Android’s hidden AppOpsManager, providing a complete, persistent timeline of exactly what your installed applications are accessing in the background.

Features

  • Persistent Logging: Stores permission access history locally in a Room database, bypassing the system’s 7-day deletion limit.
  • Comprehensive Tracking: Monitors all AppOps, including accesses to Contacts, Call Logs, Clipboard, Nearby Devices, Camera, Microphone, and Location.
  • Organized Timeline UI: Modern Jetpack Compose (Material 3) interface with Date/App grouping, category filters, real-time search, and app icon resolution.
  • Background Auditing: Periodically polls AppOps state changes in the background using Android WorkManager.
  • Privacy First: Fully open-source, entirely offline, and stores data strictly on your device.

How it Works

Standard Android apps cannot access elevated permission auditing APIs without root orADB-level shell privileges. OpTrace executes privileged appops dump commands (cmd appops dump / dumpsys appops) to capture full system snapshot diffs over time.

Privilege Methods:

  1. Root (Magisk / KernelSU / APatch / su): Executes privileged shell queries directly on-device.
  2. Shizuku: ADB-level privilege integration (In Progress).

Requirements

  • Android 7.0+ (API 24+)
  • Rooted device (Magisk, KernelSU, APatch, etc.) OR Shizuku .

License

Distributed under the GNU General Public License v3.0 (GPL-3.0). See LICENSE for details.

评论

暂无评论