Skip to content

FolkPatch v5.0 Shizuku

Choose a tag to compare

@matsuzaka-yuki matsuzaka-yuki released this 09 Aug 19:55
· 74 commits to main since this release

This release focuses on overall experience polish, broader device support for
jailbreak-mode KernelPatch module loading, and a fully built-in Shizuku
service
— no third-party Shizuku app required.


✨ Highlights

Built-in Shizuku

  • Ships a complete Shizuku server directly inside FolkPatch, running as the
    standard shell-privileged app_process (same model as official ADB mode).
  • FolkPatch acts as its own manager: an M3E-style permission dialog
    (Allow / Allow once / Deny with auto-deny countdown) and an
    authorization management page to grant or revoke apps at any time.
  • Stable lifecycle: concurrency-safe startup, root-readiness waiting,
    fallback su 2000 invocation, and a wider binder-ready window. Grants are
    persisted in shizuku.json and survive service restarts.
  • Reliable autostart after boot: waits for root to be ready, then retries
    over a longer window.

Jailbreak & KPM loading

  • KPM (KernelPatch Module) loading support in jailbreak mode on more
    devices, with a load-only KPM page in the module screen.
  • Distinguishes jailbreak from a real KernelPatch install; prevents stale
    marker conflicts after flashing an actual KernelPatch boot image.
  • Fixed soft-reboot stability in jailbreak mode, added framework-restart
    confirmations, and suppressed the KernelPatch update card while jailbreak
    is active.
  • sucompat is now re-applied automatically on boot so previously working
    shell/root behaviors stay intact.

Experience polish

  • Superuser search is debounced to eliminate input lag on large app lists.
  • Home reboot action converted to a dropdown menu; install status cards
    refined; theme transparency now applies to home cards and grid labels.
  • Fixed background music overlapping when opening a module WebUI, and a
    Cursor NPE crash in the download manager.
  • Plugin entry moved to the settings top bar; locale fallback fixes for
    Chinese regional variants.

🚀 New Features

  • Shizuku: built-in server, permission dialog, authorization management UI.
  • Jailbreak mode: KPM page with load-only support.
  • Support for the new Zygisk module implementation.
  • Folk Mount aligned with magic_mount behavior.
  • su now supports -g / -G group options (and target GID handling) in apd.

🐛 Bug Fixes

  • Background music overlapping after opening module WebUI.
  • DownloadManager query Cursor NPE crash.
  • Emoji replaced with ?? in the jailbreak UI refactor.
  • Superuser list search input lag.
  • Stale jailbreak marker conflict after flashing a real KernelPatch image.
  • sucompat not restored automatically after boot.
  • Various jailbreak soft-reboot and framework-restart issues.

Note: KernelPatch kernel is fetched at build time
(kernelPatchVersion). A freshly built kpimg is bundled with this
release — update your KernelPatch to match.