{"id":46088295,"url":"https://github.com/qrjhamron/apexsu","last_synced_at":"2026-03-07T23:01:13.476Z","repository":{"id":341368565,"uuid":"1169845811","full_name":"qrjhamron/ApexSU","owner":"qrjhamron","description":"Hardened Android root solution built on KernelSU — Rust-first userspace, stealth hardening, and built-in diagnostics.","archived":false,"fork":false,"pushed_at":"2026-03-02T01:28:04.000Z","size":19592,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T00:25:09.869Z","etag":null,"topics":["android","android-app","android-root","arm64","gki","kernelsu","lkm","magisk","root","root-manager","rootkit","rust","selinux"],"latest_commit_sha":null,"homepage":"https://kernelsu.org","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/qrjhamron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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},"funding":{"github":"tiann","patreon":"weishu"}},"created_at":"2026-03-01T10:05:28.000Z","updated_at":"2026-03-04T14:04:53.000Z","dependencies_parsed_at":"2026-03-03T19:00:55.282Z","dependency_job_id":null,"html_url":"https://github.com/qrjhamron/ApexSU","commit_stats":null,"previous_names":["qrjhamron/apexsu"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/qrjhamron/ApexSU","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrjhamron%2FApexSU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrjhamron%2FApexSU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrjhamron%2FApexSU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrjhamron%2FApexSU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qrjhamron","download_url":"https://codeload.github.com/qrjhamron/ApexSU/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrjhamron%2FApexSU/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30149930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","android-app","android-root","arm64","gki","kernelsu","lkm","magisk","root","root-manager","rootkit","rust","selinux"],"created_at":"2026-03-01T17:11:24.110Z","updated_at":"2026-03-05T21:01:12.822Z","avatar_url":"https://github.com/qrjhamron.png","language":"Kotlin","funding_links":["https://github.com/sponsors/tiann","https://patreon.com/weishu"],"categories":[],"sub_categories":[],"readme":"# ApexSU\n\n\u003e A hardened Android root solution built on KernelSU.\n\u003e Rust-first userspace. Stealth hardening. Built for precision.\n\n[![CI](https://github.com/qrjhamron/ApexSU/actions/workflows/ci.yml/badge.svg)](https://github.com/qrjhamron/ApexSU/actions/workflows/ci.yml)\n[![Version](https://img.shields.io/badge/version-0.1.0--beta-blue)](https://github.com/qrjhamron/ApexSU/releases)\n[![License: GPL v2](https://img.shields.io/badge/License-GPL_v2-blue.svg)](LICENSE)\n[![Android](https://img.shields.io/badge/Android-12%2B-green)](https://developer.android.com)\n\n---\n\n## What is ApexSU?\n\nApexSU is a fork of [KernelSU](https://kernelsu.org) focused on three things:\nsecurity hardening, Rust migration, and stealth improvements.\n\nIt is not a replacement for KernelSU. It is KernelSU with a different philosophy:\nless C, more Rust, smaller attack surface, harder to detect.\n\n---\n\n## How ApexSU differs from KernelSU\n\n| | KernelSU | ApexSU |\n|---|---|---|\n| JNI bridge | C++ | Rust |\n| Anon inode name | `[ksu_driver]` | `[io_uring]` |\n| Module validation | Basic | Path traversal + size + field validation |\n| Diagnostics | None | Built-in health check (`ksud diagnose`) |\n| Dead code tolerance | — | Zero `#[allow(dead_code)]` |\n| Rust codebase % | ~15% | ~24% |\n| Clippy policy | Not enforced | Zero warnings (`clippy::all` + `clippy::pedantic`) |\n\n---\n\n## Requirements\n\n- Android 12 or higher\n- Kernel 5.10+ (GKI 2.0)\n- Unlocked bootloader\n\nFor full device compatibility list:\n→ [kernelsu.org/guide/installation](https://kernelsu.org/guide/installation.html)\n\n---\n\n## Installation\n\n1. Download the latest APK from [Releases](https://github.com/qrjhamron/ApexSU/releases)\n2. Install the APK\n3. Follow the in-app instructions\n4. For flashing guide: [kernelsu.org](https://kernelsu.org/guide/installation.html)\n\n---\n\n## Building from source\n\nRequirements:\n- Rust stable (1.82+)\n- Android NDK r29\n- JDK 21\n- Android SDK with build-tools 35.0.0\n\n```bash\n# Clone\ngit clone https://github.com/qrjhamron/ApexSU.git\ncd ApexSU\n\n# Build userspace daemon\ncd userspace/ksud\ncargo ndk -t arm64-v8a build --release\ncd ../..\n\n# Build manager APK\ncd manager\n./gradlew assembleRelease\n```\n\n---\n\n## Architecture\n\n```\n┌─────────────────┐     ioctl      ┌──────────────────┐\n│  Manager App    │ ────────────→  │  Kernel Module   │\n│  (Kotlin + Rust)│                │  (C, kernel-space)│\n└────────┬────────┘                └──────────────────┘\n         │                                  ↑\n         ↓                                  │\n┌─────────────────┐     ioctl               │\n│      ksud       │ ────────────────────────┘\n│  (Rust daemon)  │\n└─────────────────┘\n```\n\nThe kernel module hooks syscalls to enforce a UID allowlist for root access.\nCommunication uses IOCTLs on an anonymous inode — no `/proc`, `/sys`, or `/dev` entries.\n\n---\n\n## Security\n\nTo report a vulnerability: open a private GitHub Security Advisory.\nDo not open public issues for security bugs. See [SECURITY.md](SECURITY.md).\n\n---\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for build instructions and code standards.\n\n---\n\n## Acknowledgments\n\n- [KernelSU](https://github.com/tiann/KernelSU) — upstream project\n- [topjohnwu](https://github.com/topjohnwu) — Magisk and magiskboot\n- [Rust for Linux](https://rust-for-linux.com) — inspiration for Rust kernel work\n\n---\n\n## License\n\nGPL-2.0 — inherited from KernelSU and the Linux kernel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrjhamron%2Fapexsu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqrjhamron%2Fapexsu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrjhamron%2Fapexsu/lists"}