Skip to content
项目

关于

一个功能丰富的 Shizuku 分支,改进了设置、可靠性和 UI,并增加了其他启动方式。

其他项目

这些数字如何统计

实测星标增长

24小时
+44
7天
+365
15天
+742
1个月
+1,387

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Shizuku Next

Shizuku-Next

An enhanced fork of Shizuku that lets apps use system APIs through ADB or root.

Home screen Apps screen Settings screen

Stars Downloads Latest Stable Latest Beta Issues Crowdin

About

Shizuku-Next continues development of thedjchi's Shizuku fork, based on the original RikkaApps/Shizuku.

It keeps Shizuku's package name and API, so compatible apps continue to work.

Important: This fork uses a different signing key. Uninstall the official Shizuku or thedjchi's fork before installing Shizuku-Next. A server started by the previous app may remain active until stopped or the device is rebooted.

If you want the original app, visit RikkaApps/Shizuku.

Download

Get the latest build from Releases.

Features

Starting and reliability

  • Start through wireless debugging, USB debugging, root, or the Samsung FOTA-agent system UID path where supported.
  • Automatically handles wireless-debugging pairing, including reading the pairing code on supported devices.
  • Optional start on boot, watchdog restarts, automatic recovery, and configurable restart timing.
  • TCP mode, USB-port recovery, and experimental startup without Wi-Fi on Android 11 to 16.
  • Optional mode to hide Developer options and ADB settings.
  • Clearer startup status, diagnostics, and failure logs.

Manager tools

  • Material 3 interface with Home, Apps, Modules, Labs, and Settings.
  • Manage Shizuku access, app permissions, app ops, battery settings, and app network access, with a fallback to the platform's own firewall API on ROMs whose connectivity command is missing.
  • Inspect app details and launch activities.
  • Built-in shell, log viewer, file browser, and app installer.
  • Manage saved Wi-Fi networks and export/import their credentials.
  • Force dark mode and hide selected device settings for chosen apps.
  • Batch permission changes, searchable app lists, and device information.
  • Tasker and other automation support through intents and status broadcasts.

Firewall

The firewall uses Android's OEM deny chain 3. It can exist from Android 11, but some Android 11 and 12 ROMs do not expose it. The Firewall row appears only after the device answers that the chain is available. Open Labs > Firewall, turn the switch at the top on, then switch on the apps whose network access should be blocked. Work profile and cloned apps appear as their own rows, keyed by user. On Android 13 and newer, the cellular icon beside a blocked app blocks it only on mobile data instead of on every network.

Smart Foreground is optional on Android 14 and newer and requires a ROM with readable firewall rules. It temporarily lifts the selected app's block while Android reports it in focus and the screen is unlocked. Other selected apps, packages sharing a UID, and copies outside the manager's Android profile group keep their blocks. The service checks about once a second and uses the existing firewall without occupying the VPN slot. Its notification lets you end the session and restore the block.

Hybrid lets each selected app use its own rule. Always block keeps the saved block. Foreground only lifts it for the focused app while the screen is unlocked. Rules are saved separately for each Android profile. Returning to Default restores the selected apps' static blocks.

If Android stops the monitor or Shizuku becomes unavailable, temporary exceptions can remain until the manager can reach Shizuku and restore them. Dynamic modes do not start Shizuku or enable ADB. Avoid running two rule managers against the same chain and UID, because Android stores one rule for that pair and cannot distinguish their policies.

Modules and compatibility

  • Experimental ADB module support, including module actions, services, and WebUI. Writing a module covers the format: module.prop, the environment a script runs in, the WebUI bridge, trust, and how a module gets found.
  • Stealth mode and in-app updates.
  • Android TV and VR-friendly UI support.
  • MediaTek compatibility fixes and improvements for some devices.

Some features are experimental or device-dependent. Root, Samsung FOTA-agent system-UID, and no-Wi-Fi startup methods are not available on every device. Only install modules and scripts you trust.

Requirements

  • Android 7.0 or newer
  • Wireless debugging: Android 11 or newer; supported Android TVs are also compatible.
  • USB/PC start: A computer with ADB.
  • Root start: A rooted device with working root access.
  • System UID start: Samsung devices that ship the FOTA agent (com.sdet.fotaagent). For SMTShell on older One UI, use the Custom command system start.
  • Start on boot: Supported start methods only.

See the wiki for setup and troubleshooting guidance.

Privacy

  • No tracking or analytics.
  • No telemetry or proprietary libraries.
  • No Google Play Services dependency.
  • Open-source code and reproducible builds.
  • Internet access is used for wireless-debugging connections, for checking and downloading GitHub updates, and for the module lists, which are read from GitHub.

The app requests permissions for features such as notifications, background services, wireless debugging, and boot startup. See the app's permission page and source code for details.

Translations

Help translate Shizuku-Next on Crowdin. See docs/translations.md for translation details.

Support the project

Shizuku-Next is free and contains no ads. If you'd like to support development, you can buy me a coffee.

Please also consider supporting the upstream projects: thedjchi and RikkaApps/Shizuku.

Developer guide

API

The API documentation and demo project are available in the Shizuku-API repository.

Shizuku may run with different privileges depending on the start method. Check the server UID and permissions before assuming root access. Prefer ShizukuBinderWrapper over calling transactRemote directly when possible.

Build

git clone --recurse-submodules https://github.com/rushiranpise/Shizuku-Next.git
cd Shizuku-Next
./gradlew :manager:assembleDebug

For a release build, run:

./gradlew :manager:assembleRelease

The debug task builds a debuggable server. In Android Studio, enable Always install with package manager in the Run/Debug configuration when debugging shizuku_server.

Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make and test your changes.
  4. Commit and push your branch.
  5. Open a pull request.

Credits

  • RikkaW / RikkaApps - original Shizuku, server, and API.
  • thedjchi - upstream fork and many inherited features.
  • kerneldroid - Nightzuku, where the ADB modules feature comes from: the module format itself, actions and services, and the window.Shizuku WebUI bridge.
  • Shevery - the published module API and guide this app's module support is written against, and the module catalogue it searches.
  • ShizuWall (AhmetCanArslan) - the firewall's fallback to the system API where a ROM has no connectivity command for it to use, and the technique behind it: the interface reached as Shizuku with a wrapped binder, by reflection.
  • Xhizuku - the other implementation of that format, whose documentation this one is checked against.
  • KernelSU-Next - the card, chip and tab layout the modules list and the Material 3 interface follow.
  • MMRL - the label component whose default accent colour the module cards' size chip follows.
  • All upstream contributors and Crowdin translators.
  • Powered by 100milionseek

License

Licensed under Apache License 2.0.

Star History

探索相关项目

加载中…