mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
bc9927b9b66ec6ffaba5948d3cadff34f619533a
* manager: load app icons from package name using AppIconUti Trying basic icon rendering from package via WebView ksu:// scheme. Includes cache and bitmap scaling. Still subject to refinement. * Update WebUIActivity.kt This proof-of-concept intercepts custom URLs of the form: ksu://icon/com.example.app It fetches the app icon using PackageManager via AppIconUtil, converts it to PNG, and returns it as a WebResourceResponse. Used inside shouldInterceptRequest() for early experimentation with dynamic WebView asset routing. Fallbacks to WebViewAssetLoader for all other requests. Notes: - Icon size currently fixed at 512px - No error icon or fallback image yet - No caching headers or mime sniffing implemented * POC: Handle ksu://icon/[packageName] to serve app icon via WebView This proof-of-concept intercepts custom URLs of the form: ksu://icon/com.example.app It fetches the app icon using PackageManager via AppIconUtil, converts it to PNG, and returns it as a WebResourceResponse. Used inside shouldInterceptRequest() for early experimentation with dynamic WebView asset routing. Fallbacks to WebViewAssetLoader for all other requests. Notes: - Icon size currently fixed at 512px - No error icon or fallback image yet - No caching headers or mime sniffing implemented
English | 简体中文 | 繁體中文 | Türkçe | Português (Brasil) | 한국어 | Français | Bahasa Indonesia | Русский | Українська | ภาษาไทย | Tiếng Việt | Italiano | Polski | Български | 日本語 | Español
🚀 Features
- Kernel-based
suand root access management. - Module system based on Magic Mount and OverlayFS.
- App Profile: Limit root privileges per app.
✅ Compatibility
KernelSU Next supports Android kernels from 4.4 up to 6.6:
| Kernel version | Support notes |
|---|---|
| 5.10+ (GKI 2.0) | Supports pre-built images and LKM/KMI |
| 4.19 – 5.4 (GKI 1.0) | Requires KernelSU driver built-in |
| < 4.14 (EOL) | Requires KernelSU driver (3.18+ is experimental and may need backports) |
Supported architectures: arm64-v8a, armeabi-v7a and x86_64
📦 Installation
Please refer to the Installation guide for setup instructions.
🔐 Security
To report security issues, please see SECURITY.md.
📜 License
/kerneldirectory: GPL-2.0-only.- All other files: GPL-3.0-or-later.
💸 Donations
If you’d like to support the project:
- USDT (BEP20, ERC20):
0x12b5224b7aca0121c2f003240a901e1d064371c1 - USDT (TRC20):
TYUVMWGTcnR5svnDoX85DWHyqUAeyQcdjh - ETH (ERC20):
0x12b5224b7aca0121c2f003240a901e1d064371c1 - LTC:
Ld238uYBuRQdZB5YwdbkuU6ektBAAUByoL - BTC:
19QgifcjMjSr1wB2DJcea5cxitvWVcXMT6
🙏 Credits
- Kernel-Assisted Superuser – Concept inspiration
- Magisk – Core root implementation
- Genuine – APK v2 signature validation
- Diamorphine – Rootkit techniques
- KernelSU – The original base that made KernelSU Next possible
- Magic Mount Port – For magic mount support
v1.0.8
Latest
Languages
Kotlin
44%
Rust
29.4%
C
16.5%
Java
4.4%
Shell
2.9%
Other
2.7%