{"id":51016365,"url":"https://github.com/jksalcedo/optrace","last_synced_at":"2026-06-21T11:01:59.968Z","repository":{"id":349085128,"uuid":"1200221586","full_name":"jksalcedo/optrace","owner":"jksalcedo","description":"Track and log hidden Android app permissions beyond the system's 7-day limit.","archived":false,"fork":false,"pushed_at":"2026-04-09T12:07:57.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T00:45:03.174Z","etag":null,"topics":["appops","compose-ui","elevated-access","kotlin-android","logger","permission-android","root","shizuku-android"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jksalcedo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T06:57:27.000Z","updated_at":"2026-04-16T08:18:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jksalcedo/optrace","commit_stats":null,"previous_names":["jksalcedo/optrace"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jksalcedo/optrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jksalcedo%2Foptrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jksalcedo%2Foptrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jksalcedo%2Foptrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jksalcedo%2Foptrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jksalcedo","download_url":"https://codeload.github.com/jksalcedo/optrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jksalcedo%2Foptrace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34607126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["appops","compose-ui","elevated-access","kotlin-android","logger","permission-android","root","shizuku-android"],"created_at":"2026-06-21T11:01:59.127Z","updated_at":"2026-06-21T11:01:59.962Z","avatar_url":"https://github.com/jksalcedo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpTrace\n\nA persistent, locally-stored permission audit logger for Android. \n\nAndroid's built-in Privacy Dashboard is great, but it wipes your history after 7 days and heavily focuses on just the Camera, Microphone, and Location. OpTrace leverages Shizuku (or Root) to hook directly into Android's hidden `AppOpsManager`, providing a complete, persistent timeline of exactly what your installed applications are accessing in the background.\n\n## Features ( MVP)\n\n* **Persistent Logging:** Stores permission access history locally in a Room database, bypassing the system's 7-day deletion limit.\n* **Comprehensive Tracking:** Monitors all AppOps, including silent accesses to Contacts, Call Logs, Clipboard, and nearby devices.\n* **Clean Timeline UI:** A modern, Jetpack Compose interface to filter and view access events per application or per permission.\n* **Privacy First:** Fully open-source, entirely offline, and stores data only on your device.\n\n## How it Works\n\nStandard Android apps cannot access the `WATCH_APPOPS` permission. To bypass this sandboxing, OpTrace requires elevated privileges to run a headless monitoring service.\n\nYou can grant these privileges via two methods:\n1.  **Shizuku (Recommended):** Uses wireless ADB to grant shell-level access without rooting your device.\n2.  **Root (Magisk/KernelSU/APatch):** Directly launches the monitoring service as the root user.\n\n## Tech Stack\n\n* **Language:** Kotlin\n* **UI:** Jetpack Compose (Material 3)\n* **Database:** Room (SQLite)\n* **IPC / Privilege Escalation:** Shizuku API\n\n## Installation\n\n*F-Droid and GitHub release links coming soon.*\n\n**Requirements:**\n* Android 11+ \n* [Shizuku](https://shizuku.rikka.app/) installed and running, OR a rooted device.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjksalcedo%2Foptrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjksalcedo%2Foptrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjksalcedo%2Foptrace/lists"}