LyraVoid/FolkPatch
About
Root access to the kernel can be achieved simply by patching the Boot partition for reflashing. This solution is based on a non-parallel extended branch of APatch, with a primary focus on UI/UX design
Other ProjectsMeasured star growth
- in 24h
- +4
- in 7 days
- +19
- in 15 days
- +42
- in 1 month
- +88
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalFolkPatch is an Android root solution built on KernelPatch. Its manager handles per-app root access, system and kernel modules, and extensions, and provides tools for backing up and restoring supported data.
Overview
FolkPatch provides:
- KernelPatch-based root without recompiling the kernel, with per-app access management
- APM system modules and KPM kernel modules
- A built-in FolkZygisk engine with manager controls
- The built-in Sui extension, which serves the Shizuku API to supported apps
- Lightweight APD Lua plugins
- Local and WebDAV backups, with an option to back up the boot image before flashing
- Importable
.fptthemes, wallpapers, custom fonts, and multiple home layouts
Requirements
- An ARM64 (arm64-v8a) device running Android 8.0 or later
- A KernelPatch-compatible kernel and access to the stock image for the device's current firmware when setting up root
The exact compatibility matrix and installation steps are available in the documentation.
Manager
- Multiple home layouts, including ListUI, GridUI, FocusUI, CircleUI, DashboardUI, and StatsUI
- Configurable colors, per-page wallpapers, fonts, and launcher icons
- A settings hub grouped by category, with separate pages for features, security, and backups
- Configurable navigation, dashboard cards, and update checks
Modules and Extensions
APM
APM is the Magisk-style system module format. The manager installs, enables, disables, and removes modules, and supports batch operations and module backups.
KPM
KPM modules run in the kernel through KernelPatch. The manager can load them and configure automatic loading at boot.
FolkZygisk
FolkZygisk is a built-in Zygisk engine. The manager provides installation, activation and a status panel; when an external Zygisk provider is active, apd steps the built-in engine aside so provider modules install and run normally.
Sui
Sui is the built-in Shizuku API backend for apps that use the Shizuku API. It runs as a Zygisk module and needs a working Zygisk provider; the manager hosts its per-app permission list, default permission, hidden apps and diagnostics.
APD Lua Plugins
APD plugins run Lua scripts at lifecycle events in apd and can expose settings, quick actions, background tasks, and persistent logs. See the plugin guide in English or Chinese.
Security
The SuperKey has higher privileges than a normal Root session. A weak or exposed key can allow unauthorized control of the device. Use a strong key and keep it private.
Translation
English and Chinese are the reference languages. Translation corrections should be submitted only for the target language. New language contributions are welcome when the entire translated file is included in the pull request.
Download and Installation
- Download the latest package from the Releases page.
- Install the manager APK on the device.
- Follow the installation documentation and the manager's setup flow for your device.
Building from Source
Use JDK 21, the Android SDK and NDKs specified by the project, and a Rust toolchain with the aarch64-linux-android target and cargo-ndk. See the CI build environment for the setup.
./gradlew :app:assembleDebug
The APK is written to app/build/outputs/apk/debug/.
Credits
- KernelPatch - core Root implementation
- Magisk - magiskpolicy
- KernelSU - application UI and module system reference
- SukiSU-Ultra - interface design reference
- APatch - upstream project
- ReZygisk - FolkZygisk is adapted from it
- Sui - the built-in Shizuku API backend
- Shizuku-API - the Shizuku client API library
- MMRL - module repository format reference
- LoliAPI - online wallpaper source for the wallpaper gallery
License
FolkPatch is licensed under the GNU General Public License v3.
Community
- Telegram: @FolkPatch
Explore related projects
Loading…
