Skip to content

Spring-bulid/KinSU

Repository files navigation

KinSU Logo

KinSU

Android GKI Kernel Root Solution based on KernelSU

Release License CI

English | 简体中文


简介

KinSU 是基于 KernelSU 的 Android Root 授权管理器,面向 GKI 内核设备。它在内核层面执行 Root 授权策略,同时提供现代化的管理器界面。

功能

  • Root 授权管理 — 细粒度控制应用的 Root 访问权限,支持永久、单次和定时回收
  • 模块管理 — 安装 / 启用 / 禁用 / 卸载模块,兼容 KernelSU 和 Magisk 格式
  • KPM 内核补丁 — 加载 .kpm 补丁模块,支持 GKI 模式下开机自动加载
  • AnyKernel3 刷写 — 应用内刷写 boot / init_boot 镜像,自动备份原始镜像
  • 主题定制 — Material Design 3 动态取色,支持深色 / 浅色模式切换
  • 应用内更新 — 自动检测 GitHub Releases 新版本并跳转下载

安装

  1. 下载最新版本的 KinSU APK 并安装
  2. 确认设备内核已集成 KernelSU 或 KernelPatch
  3. 启动 KinSU,授予 Root 权限即可开始使用

详细文档请访问 KinSU 文档站

构建

# 指向 Linux Android SDK(其中需安装 NDK 29.0.14206865)
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"

# 在仓库根目录完整编译 ksuinit、ksud 和管理器 APK
./build.sh

产物位于 dist/。请勿只运行 manager/gradlew assembleRelease:该命令不会自动嵌入 libkinsud.so

项目结构

KinSU/
├── KernelSU/              # 管理器与内核模块源码
│   └── manager/           # Android 管理器应用
├── kernel/                # 内核补丁源码
├── userspace/             # 用户空间组件
├── kinsu-site/            # 文档站点
└── scripts/               # 构建与辅助脚本

依赖

项目 说明
KernelSU 内核级 Root 授权框架
KernelPatch KPM 内核补丁参考实现

许可证

本项目基于 GPL-3.0 协议开源。

About

KinSU - A kernel-based root solution for Android. Derivative work of KernelSU (upstream author: weishu). Licensed under GPL v2/v3.

Resources

License

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors