跳到主要内容
KernelSU 模块

Duck ToolBox

不可变 Release 已同步

Android attestation toolbox with a Tricky Store, TEESimulator and OhMyKeymint manager, RKP workbench and Qualcomm device ID provisioning in one WebUI.

介绍

Duck ToolBox

Duck ToolBox is a root module (KernelSU, APatch or Magisk) that puts Android attestation and system tools behind one WebUI. The backend is a Cargo workspace of single-purpose crates compiled into one JSON CLI (duckd); the WebUI is a set of feature folders that the app discovers at build time. Features only meet through versioned contracts, so each one can be changed, removed or added on its own.

Full and Lite

Full is the default for Stable, Canary, and the KernelSU Modules listing. Lite keeps the Tricky Store manager, RKP workbench and device RKP issuer. It ships without Zygisk injection libraries and uses the root manager for WebUI and module operations. The Tricky Store manager configures a separately installed keystore module.

Install or update Lite manually with the duck-lite-*.zip asset from GitHub Releases. Lite has its own module ID and data directory at /data/adb/duck-toolbox-lite. Switching editions requires uninstalling the current edition and rebooting first. Uninstall removes that edition's local profiles and output files, including exported keyboxes.

Tools

  • Play Integrity: an independently built GPLv3 engine derived from Play Integrity Fork, with configuration previews, migration, fingerprint generation, compatibility settings and diagnostics in the WebUI. It is disabled by default and requires explicit enabling; saved enable settings are retained. Injection requires Zygisk and a saved nonempty configuration. Full-mode global scripts also wait for configuration; explicitly selected scripts-only mode can run without a fingerprint. A separate stop control works during tasks, invalid configuration and pending recovery; configuration is retained. The management code remains MIT; see licensing boundaries.

  • Device Faker: per-app device profiles and reusable templates from Seyud/device_faker, embedded as a normal source component. The WebUI edits TOML, builds template/app drafts, previews file or standalone-config imports, reports conflicting assignments and restores the previous configuration. An offline library includes 207 community device presets from Issue #48, with searchable identities, editable source fields and fingerprint mismatch notices. Configuration and power controls are independent; empty defaults target no apps. Its GPLv3 engine shares the toolbox’s single Zygisk library with PI, with explicit callback ordering and parent disable/removal gates. Reboot after installation. Requires Zygisk and ARM64 apps. Global property/DPI options require acknowledgement; process-local changes require an app restart, and failed global cleanup needs reboot. Online template downloads are not embedded. Actual injection needs device validation. See build, lifecycle and protocol.

  • Miscellaneous → Language spoofing: per-app, per-Android-user language rules for Java locale APIs, app/system resources and common native property reads. Requires working Zygisk; configuration and activation are separate. It leaves the device language unchanged. Restart target apps after changes. Native/custom language logic may bypass it and advertisement removal is not guaranteed. See the component, build requirements and device validation procedure.

  • Tricky Store manager: a complete port of KOWX712's Tricky Addon: Update Target List, for whichever keystore module is active:

    • Tricky Store: config.ini with per-app modes (pkg, pkg!, pkg?) and per-app policy, and the legacy target.txt + security_patch.txt layout.
    • TEESimulator: config.json profiles (mode, patch levels, identity, auto-include).
    • OhMyKeymint: injector.toml scoop and every config.toml [trust] key.

    It has the same features as upstream:

    • Target list with search, select all, deselect all and refresh.
    • Mode sheet on long press, and per-app policy.
    • Actions: select from DenyList (Magisk), deselect unnecessary apps (online list plus Xposed modules), add system apps, auto-add new apps.
    • Keyboxes from AOSP, generated "unknown", a local file, the keybox repository (the same iframe protocol) or custom providers (add, edit, remove, reset, import, export).
    • Prop handler and Verified Boot hash, schema-driven default policy with Today, help.
    • Keyboard shortcuts (Ctrl+A/D/F/S, Esc), the back gesture closing dialogs, and upstream's 23 translations, including right-to-left languages.
    • Optionally, a WebUI entry on the keystore module itself, and the TSupport-Advance auto-target stop flag.
  • RKP Workbench: Remote Key Provisioning.

    • Import DICE materials accepts an existing CBOR DICE chain and explicitly typed signing material. No existing CSR, Qualcomm interface or device collection is required.
    • Verifies the chain and leaf-key match locally, constructs a fresh CSR v3 with the imported chain, obtains a new server challenge, and exports a keybox only after the returned certificates match the newly generated private key and pass local checks.
    • Offline validation and diagnostic CSR construction are separate from online issuance. Network failures do not trigger a local fallback or an automatic signing retry.
    • The older seed/profile workflow remains an explicitly labelled experimental degenerate-chain mode. Its saved seed semantics are unchanged. Import mode requires explicit device and issuance configuration and never falls back to experimental mode.
    • Private output uses owner-only permissions, atomic publication and readback checks; installation through the Tricky Store manager remains a separate action.
    • See input formats, supported combinations and verification limits. Synthetic server tests cover the local flow; real-material server acceptance and a successful production keybox export have not been verified for the import path.
  • Device RKP Issuer: the same keybox export, but signed by the device itself instead of a seed you hold.

    • Asks this device's Qualcomm KeyMint TA for a CSR_V2 over a P-256 key we generated, submits the result to Google's RKP server and exports keybox.xml with the private key.
    • Supports a legacy V1 AIDL path for Qualcomm PureSoft and MediaTek firmware with a zero HBK. The public-key MAC and CSR are constructed in Rust; a small isolated bridge calls the device's own AIDL proxy, using the EEK curve reported by its HAL. This method is adapted from LazyBonesLZY's rkp-v1-oracle at revision b28480c98c1256753aed140c6ff86d0336f55c45 (MIT; see module/licenses/rkp-v1-oracle.txt). MediaTek uses only this AIDL adapter. Native V1 and V2 require Qualcomm identification as well as the vendor library and device node. Device ID provisioning uses a separate TrustKernel KPH adapter described below. Real-device compatibility and production server acceptance for MediaTek remain unverified.
    • Select auto, v1, v2 or v1-native in the WebUI or with rkp-device provision --protocol. Automatic mode tries the available methods in order: V2, AIDL V1, then native V1. Each failed signing, CSR validation, server request or certificate validation moves to the next method with a fresh challenge. It stops at the first complete success; if every method fails, the error retains each method's name, code and reason. An explicit selection tries only that method. Files are written only after issuance and certificate validation succeed; a local save failure does not repeat issuance.
    • Native V1 uses legacy vendor command 0x311e, adapted from aviraxp's native V1 contribution. It supplies a fresh MAC key, the public-key MAC and the complete selected EEK chain directly to the TA, reusing the isolated vendor worker. It needs the same library and device node as V2, and does not require Java or a system RKP APK at runtime. The vendor framing and EEK curve compatibility require real-device validation. It shares V1 CSR assembly and structural validation with the AIDL adapter, preserving opaque DeviceInfo and ProtectedData.
    • Checks Android arm64, root and Qualcomm SoC before sending anything. V2 needs /dev/smcinvoke and libkeymasterdeviceutils.so; AIDL V1 needs app_process and a system RKP APK containing the matching AIDL classes. Neither check proves firmware support.
    • V1 encrypts the DICE and signing evidence for the server. Its local report is explicitly structural only (local_verify: null); V2 retains local signature checks. Results include csr_protocol (v1 / v2) and csr_backend (aidl / native). The attempts field records method failures and the final successful method; the WebUI displays the same history.
    • Starts its isolated worker with vendor library search paths while retaining the default namespace's system dependency links. Library loading and the firmware ABI still need to work on the device; prerequisite checks alone cannot confirm them.
    • The exported keybox contains a software-generated private key. Output directories are private, and both the keybox and the private key are saved with mode 0600.
    • Only works on some devices, and only RKP certificates can be issued. Both are stated in a dialog before the tool opens and again before a request is sent; the backend refuses to run without an explicit acknowledgement.
    • On a OnePlus PJX110 running Android 16, loading from /data/adb and calling the TA were verified. Both this implementation and the reference client received TA status -18 for the software-key CSR_V2 request; that test did not issue a keybox. The V1 adapter has host protocol/bridge tests and an Android build check; device compatibility and successful Google issuance still require a real-device run.
  • TEE Attestation Extractor: offline extraction and verification of existing captures.

    • Extracts complete Keybox XML documents and PEM bundles, including PEM embedded in binary captures. Supports EC P-256/P-384 and RSA 2048–8192 private keys.
    • Matches each private key to a certificate and verifies every signature along one unambiguous leaf-to-root path. Reports certificate validity separately; root trust and revocation are not checked.
    • Compares raw or hex-encoded 32-byte identity material to the signing leaf of a verified RKP CSR. Distinguishes Ed25519 seeds, P-256 seeds (mod(n - 1) + 1) and P-256 scalars.
    • Verification returns summaries only. Explicit exports save material and reports in a private directory (0700) with files restricted to the owner (0600). An identity mismatch prevents export. Exported keyboxes can be installed through the manager.
    • Processes device files up to 256 KiB locally; inline uploads are limited to 32 KiB per file so two base64 inputs fit the root manager's shell transport. Device acquisition and firmware patching are outside this feature's current capabilities; a local match does not prove server acceptance.
  • Device ID Provisioner: retains Qualcomm Keymaster provisioning through libQSEEComAPI.so and supports experimental MediaTek TrustKernel provisioning through the device's libkphproxy.so. Both paths auto-fill identifiers and support dry runs. TrustKernel prepares and writes rkp_flag and attestation_ids, with private request files, isolated vendor calls, timeouts and partial-write reports. Its existence check does not verify payload equality; MEID entries are explicitly reported as omitted on this path. See backend contracts, ABI evidence and compatibility limits.

  • Kernel modules: Linux kernel module inventory and runtime management.

    • Reads loaded modules from /proc/modules and separately labels entries visible only in /sys/module; those may be built into the kernel and are never offered for unloading.
    • Shows memory size, reference counts, dependents, version, taint and readable parameters. Parameters are read-only; unreadable state is reported separately from empty results.
    • Scans standard Android module directories and inspects an explicitly chosen uncompressed .ko file using the ELF .modinfo section, preserving repeated metadata entries.
    • Manual loading requires confirmation and the SHA-256 from a prior inspection. The worker verifies the file again and submits those exact bytes to the kernel, without force flags. Dependencies must already be loaded. Vermagic release comparison is advisory because symbol CRCs can permit a different release prefix; kernel ABI, symbol, signature and policy checks remain authoritative. Loading requires a little-endian ARM64 ELF64 image.
    • Unloading is limited to live modules reporting zero references and no dependents or holders. The kernel makes the final decision. No forced unloading or startup-rule edits are exposed. The backend blocks unloading kernelsu by name and rejects unreadable holder state. This protection list does not identify every root fork or critical device driver.
    • Mutations are serialized in an isolated worker and require Android ARM64 root outside a test sysroot. A 30-second worker timeout reports an unknown outcome: terminating userspace cannot undo or reliably cancel a kernel init/exit routine. Missing or abnormal worker results also report an unknown outcome. Refresh before further action.
    • See source contracts, interface guidance and verification limits.
  • Linux environments: import trusted ARM64 .tar / .tar.gz root filesystems, start and stop them, copy a terminal entry command, configure foreground services, read bounded logs and opt into boot startup. Private mounts use PID namespaces when available, with cgroup v2 cleanup on kernels without them. Commands run as ROOT and share Android's kernel and network; chroot is not a security sandbox. See requirements, lifecycle and verification.

  • ZRAM & swap: existing ZRAM swap devices, compression and physical-memory statistics, capacity/algorithm/priority changes, same-boot parameter restoration and opt-in boot plans. Runtime changes require confirmation and Android ARM64 root. Devices managed by mmd, using writeback/secondary compression, mounted or held by another block device are protected. Other swap areas are read-only. See source contracts and verification limits.

  • Module & updates: version and device summary, stable and canary updates with changelog, output files, command history, uninstall and reboot.

Every tool is translated into 16 languages: English, Simplified and Traditional Chinese, Japanese, Korean, Spanish, French, German, Italian, Brazilian Portuguese, Russian, Arabic, Vietnamese, Indonesian, Ukrainian and Polish. Tricky Addon's other translations cover the strings the Tricky Store manager shares with it.

Architecture

crates/
  duck-core/          Shared runtime: paths, JSON envelope, Feature trait, command log,
                      and a Sysroot so every feature is testable off-device.
  duck-platform/      Device adapters: props/resetprop, pm, modules, root managers, HTTP.
  duck-rkp/           RKP workbench.            duck-rkp-device/  Device RKP issuer.
  duck-tee-attestation/ Offline capture extraction and identity verification.
  duck-device-ids/    Device ID provisioning.   duck-tricky-store/ Keystore module manager.
  duck-system/        Module lifecycle, updates.
  duck-kernel-modules/ Linux kernel inventory, ELF inspection and isolated runtime operations.
  duck-zram/          ZRAM inventory, swap configuration and opt-in boot profiles
  duckd/              The binary: builds its CLI from the compiled-in features.
xtask/                Repository checks (`cargo xtask line-limit`).
ui/src/
  app/                Shell: router, app bar, home and settings; discovers features.
  core/               Bridge to the root manager, validated duckd client, i18n, theme,
                      extension points and shared components.
  features/<id>/      One folder per tool: index.ts, api.ts (zod), locales/, pages, mock.ts.
  components/ui/      shadcn-vue components, restyled for Material 3 Expressive on phones.
module/               Module payload: scripts, then the built WebUI and backend binary.

What keeps it modular and resistant to breaking changes:

  • Features never import each other. Backend feature crates depend only on duck-core and duck-platform, except the Device RKP Issuer and TEE Attestation Extractor, which reuse the RKP workbench's public protocol primitives and verifier. WebUI features depend only on core/; ESLint (eslint-plugin-boundaries) rejects anything else, and only core/bridge may touch the KernelSU JavaScript API.
  • Extension points instead of imports. A feature contributes to others through contributes: keyboxTargets (RKP installs its keybox through the Tricky Store manager), settingsSections and homeWidgets.
  • Versioned contracts. Every command prints { ok, api, command, data, error, ts }. duckd features lists the compiled-in features and their contract versions; the WebUI disables a tool whose backend is missing or on another contract. It validates every response with zod, so a changed shape fails loudly as contract_mismatch.
  • Keystore modules are adapters. Each backend implements ConfigAdapter and describes its editable policy as a schema; the WebUI renders whatever the schema declares.
  • Mature tools, no home-grown frameworks.
    • Backend: clap, serde, tokio, reqwest, the RustCrypto crates, rcgen and toml_edit (which keeps comments).
    • WebUI: Vue 3, vue-router, Pinia, TanStack Query, vue-i18n, zod, Tailwind CSS 4 and shadcn-vue on reka-ui, with VueUse.
  • No source file over 600 lines. cargo xtask line-limit fails CI for any source file in any language, including scripts without an extension; ESLint's max-lines flags it while editing.
  • Dependency updates are reviewable. Dependabot groups minor and patch updates; every major update gets its own pull request and a full CI run.

Adding a tool

  1. Backend: create crates/duck-<name> with a clap subcommand enum and a pub static FEATURE: ClapFeature<Command> (see duck-system). Add it to duckd as an optional dependency and cargo feature, and one entry in the FEATURES array in crates/duckd/src/main.rs.
  2. WebUI: create ui/src/features/<id>/ with an index.ts exporting defineFeature({ id, namespace, icon, order, routes, messages }), an api.ts that calls duckd() with zod schemas, a locales/<language>.json for each of the 16 languages (src/locales.test.ts fails on a missing key), and optionally a mock.ts. The home page, router, i18n, availability check and dev mock pick it up automatically.

Module lifecycle

Stage What runs
customize.sh Checks the root manager, ABI and API level; prepares /data/adb/duck-toolbox; normalizes the boot hash; drops action.sh where the manager has a WebUI button; requests hot install from metamodules that support it.
post-fs-data.sh / late-load.sh Early pass of the sensitive-prop handler (resetprop -n, never setprop). KernelSU's late-load mode runs late-load.sh instead of post-fs-data.sh.
service.sh Repairs the runtime directory. On Magisk, which has no boot-completed stage, it waits for boot and runs boot-completed.sh.
boot-completed.sh Late prop pass, keystore-module entry links, auto-add of new apps, the module description (KernelSU temporary override.description), and the TSupport-Advance flag.
action.sh (Magisk) Opens the WebUI in KSUWebUIStandalone or WebUI X, installing KSUWebUIStandalone if neither is present.
uninstall.sh Removes entry links, flags, the boot hash and /data/adb/duck-toolbox.

Full stores saved data in /data/adb/duck-toolbox/var. Lite uses /data/adb/duck-toolbox-lite/var. Both paths sit outside the module directory so updates keep them.

Updates. The stable channel follows updateJson in module.prop. The canary channel reads the newest CI artifact through nightly.link: CI uploads the module directory as duck-toolbox-<version>-<commit count>-canary, and the commit count is its versionCode. Each successful package on a main push or manual CI run publishes Full and Lite together as a GitHub prerelease. Tags use nightly-<8-character commit hash>-<UTC timestamp> (for example, nightly-1234abcd-20261011T120000123456Z). These releases do not replace the latest stable release; Telegram uploads continue on push builds. Published module ZIPs include GitHub build-provenance and SBOM attestations, an SPDX inventory and checksums. See release verification and inventory coverage. The *-verified Actions artifact contains the exact ZIP for each edition. The legacy nightly.link directory archive is packaged separately and has a different digest. The Stable workflow runs when the version field changes in module/module.prop or through a manual request. Metadata-only edits skip publication. It reuses the CI checks and builds, preserves version and versionCode from module/module.prop, publishes both ZIPs under v<version> as the latest stable release, and sends the Full ZIP to Telegram with a stable label. Before running it on main, increase versionCode beyond all accepted releases and update update.json to match the version and duck-toolbox-<version>.zip asset.

KernelSU Modules repository. The root module.yaml supplies the module listing metadata and selects duck-toolbox-*.zip release assets. Published ZIPs contain module.prop at their root; the current builds target Android API 26+ on arm64-v8a. The installer rejects other architectures before preparing runtime data. The repository must enable release immutability and be registered through the KernelSU Modules developer portal. Nightly prereleases are checked and recorded but are not displayed as stable versions. Every new version must have a versionCode greater than all previously accepted stable and prerelease versions; nightly CI uses the commit count. Rebuilding the same commit creates another nightly release with the same versionCode, which is treated as the same prerelease version. A stable release needs a higher versionCode, or an accepted prerelease can be promoted by clearing its prerelease flag.

JSON CLI

duckd features | describe
duckd rkp profile show|save|clear|detect
duckd rkp info | provision | keybox | verify <file>
duckd tee-attestation status
duckd tee-attestation keybox <capture> [--format auto|xml|pem] [--export]
duckd tee-attestation seed <capture> --csr <csr.cbor> [--format raw|hex] [--derivation ed25519-seed|p256-seed|p256-scalar] [--offset <decimal>] [--export]
duckd device-ids defaults | provision
duckd tricky-store status | save | props | auto-apply
duckd tricky-store keybox install <file> | import | set-aosp | generate | fetch --url <u> [--decode <steps>]
duckd tricky-store keybox providers list | save | reset | import <file> | import-content | export [--path <file>]
duckd tricky-store apps xposed | denylist | unnecessary [--refresh]
duckd tricky-store entry status | enable | disable | apply | remove
duckd system info | update check|install [--channel stable|canary] | artifacts | files --path <dir> --extension <ext>
duckd system log [--limit <n>] | open-url <url> | uninstall | reboot
duckd kernel-modules status | details <name> | files | inspect <device.ko>
duckd kernel-modules load --stdin-json
duckd kernel-modules unload --stdin-json
duckd zram status
duckd zram apply --stdin-json
duckd zram restore --stdin-json
duckd zram save --stdin-json
duckd zram forget <zramN>

Commands that take input read JSON from stdin with --stdin-json.

Kernel module loading accepts {"path":"/data/local/tmp/example.ko","sha256":"<digest from inspect>","parameters":"debug=1","confirmed":true}. Unloading accepts {"name":"example","confirmed":true}. These operations affect the running kernel and can stop or restart a device even when preflight checks pass. The WebUI asks for confirmation before submitting either operation.

rkp-device status identifies the SoC from manufacturer aliases, SoC part numbers, hardware properties and the kernel's SoC family/machine attributes. It reports the raw evidence and distinguishes Qualcomm, MediaTek, another vendor, unknown and conflicting information. Unknown or conflicting information blocks issuance rather than guessing. These local checks do not establish firmware ABI compatibility or server acceptance. The status format uses feature contract 6; update the backend and WebUI together.

For offline identity checks, raw input must contain exactly 32 bytes unless --offset selects a 32-byte slice of a larger capture. Hex input must contain exactly 64 hexadecimal digits, with optional surrounding whitespace. The derivation is explicit: a P-256 scalar cannot be substituted for a seed. The CSR must be a complete CBOR AuthenticatedRequest with a valid DICE chain and KeyMint signature. Checks do not submit a request to a server or change an RKP profile. The saved identity is identity.bin; its derivation and CSR digest are recorded separately in report.json. Keep both files together.

The WebUI accepts device file paths (up to 256 KiB) or binary files from the system picker (up to 32 KiB each). Both offline commands also accept --stdin-json with source: {"path": "..."} or source: {"base64": "..."}, plus format and export. Identity requests additionally take csr in the same file format, derivation, and an optional raw offset. CLI input options and JSON requests are separate modes; put all operation options in the JSON request.

Building and testing

Requirements:

  • Rust stable with the aarch64-linux-android target (rust-toolchain.toml installs it).
  • Android NDK r30.
  • JDK 17 or newer and Android SDK Build Tools 36.0.0 for the embedded V1 bridge. Set ANDROID_HOME or ANDROID_SDK_ROOT; ANDROID_BUILD_TOOLS_VERSION can select another installed version. Set JAVA_HOME or put java and javac on PATH. Host-only Rust builds do not require the SDK or JDK.
  • Node.js 24 and pnpm 12 (corepack enable picks the version from ui/package.json). Type checking runs the TypeScript 7 engine through typescript-native-bridge, because stock TypeScript 7 no longer has the API vue-tsc needs.

The Android build compiles the V1 bridge with javac, converts it to classes.dex with D8, and embeds the resulting DEX JAR in duckd. A V1 request writes the JAR to a private temporary directory for app_process to load, then removes it after the bridge exits. Devices do not need a JDK or SDK build tools.

cargo xtask line-limit
cargo fmt --all --check && cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
python3 scripts/test_rkp_v1_bridge.py  # AIDL fixture, framing and error propagation (JDK)

# Device binary, e.g. with the NDK's clang as linker
cargo build --release --package duckd --target aarch64-linux-android

cd ui
pnpm install --frozen-lockfile
pnpm lint && pnpm format:check && pnpm test
pnpm build                 # type-check, then bundle into module/webroot
pnpm test:contract         # every API call through duckctl.sh and a host duckd build
pnpm test:e2e              # Playwright against a mock KernelSU host, with screenshots
pnpm dev                   # the same mock host in a desktop browser
pnpm locales:import <Tricky-Addon>/webui/public/locales/strings   # refresh translations

On Windows, pwsh ./scripts/build.ps1 -PackageModule builds everything with cargo-ndk and writes the module zip to dist/. The Windows helper pins the WebUI to the current Git commit automatically. For manual WebUI builds set both VITE_PIF_SOURCE_COMMIT and VITE_DEVICE_FAKER_SOURCE_COMMIT to git rev-parse HEAD before running pnpm build; the module packager refuses moving-branch source links.

The bundled Play Integrity engine additionally requires JDK 21, Android SDK / Build Tools 37 and NDK 30.0.16248370. Build it independently and validate both release channels:

python3 scripts/build-play-integrity.py
cargo test --locked --manifest-path components/play-integrity/Cargo.toml
python3 scripts/test-play-integrity-native.py
python3 scripts/test-play-integrity-java.py
python3 scripts/test-play-integrity-scripts.py
python3 scripts/package-module.py --channel stable
python3 scripts/package-module.py --channel nightly

Channel metadata is written into each ZIP without changing module/module.prop. Nightly packages use the repository's commit-count version code and canary suffix. Full retains the GPLv3 license and dependency notices in both channels. The engine build records its exact Git commit, and packaging rejects a dirty or mismatched source checkout or WebUI source link. Both feature footers link to the source at the exact build commit, including the build scripts and dependency lockfiles. The pinned build/dependency script is scripts/build-play-integrity.py. See the rule review for original sources and required device validation.

To build Lite using the Android backend prerequisites above:

cargo build --locked --release --package duckd --target aarch64-linux-android \
  --target-dir target/lite --no-default-features --features lite
(cd ui && pnpm build --mode lite)
python3 scripts/package-module.py --variant lite \
  --binary target/lite/aarch64-linux-android/release/duckd --channel nightly

The power control uses duckd play-integrity disable (standalone: pif-engine request disable) and play-integrity power for status. Disable publishes a private stop token before configuration parsing or locking, cancels fingerprint generation, and attempts compatibility cleanup. The WebUI keeps this control outside the configuration form and its busy state. New enable requests acknowledge the current token, so an older request cannot override a later stop. Importing, generating or applying a configuration does not enable PIF. Recorded DenyList and SELinux-permission changes are restored only when the current state still matches the engine's expected state. External edits are preserved and incomplete cleanup can be retried. Magisk may terminate processes when DenyList entries are restored under enforcement. Historical changes without a record are never guessed. Persistent compatibility properties retain upstream restoration: recorded original values may overwrite later edits, as disclosed in the power control.

Already injected hooks require restarting PI processes; active mount namespaces, ROM overlays and global properties require a device reboot. Disabling PIF restores the original toolbox property-handler path, whose own switch and boot-hash behavior remain independent. This control does not disable the keystore tools.

Configuration and optional keystore patch updates use the backend's integrity-transaction contract (version 1). Backups and rendered candidates are saved before writes; a private, synced journal records which participants may have started. This is recoverable coordination, not a filesystem-wide atomic transaction. After an interruption, the home page and Play Integrity page show a recovery notice and require confirmation before restoring. New applications are blocked until recovery completes. Normal failures trigger immediate rollback. The keystore adapter owns its file mappings and restart requirements, including when restoring a patch policy.

For recovery without the WebUI, use duckd integrity-transaction status, then duckd integrity-transaction recover --stdin-json with {"confirmed":true} on stdin after reviewing the journal. The journal lives under the toolbox data root at var/integrity-transaction/journal.json; participant backup tokens are retained there. Recovery accepts each prepared keystore file only if it matches its original or proposed content, so partial publication can be reversed. Unrelated edits cause refusal and leave the journal and backups available for manual inspection. Do not delete these files to dismiss an unresolved update. Filesystem durability still depends on the device and its storage implementation; real power-loss and root-manager behavior need device validation.

On a real KernelSU. scripts/device-test.sh <module zip> prepares a disposable userdebug emulator (or any device with root adbd) and runs ui/e2e-device there:

  • KernelSU is late-loaded with ksud late-load, so no boot image is patched.
  • The module and the Tricky Store, TEESimulator and OhMyKeymint releases are installed with ksud module install.
  • For each keystore module, only that one is enabled and the device reboots.
  • The tests drive the WebUI inside the KernelSU manager through Playwright's Android support. They read the files back over adb, and check each daemon's own log to confirm it accepted what the WebUI wrote.

Acknowledgements

  • Thanks to gungnir-sanye for publishing tee-attestation-extraction, whose research on Keybox and RKP/CDI extraction informed the TEE Attestation Extractor's scope and verification workflow. The offline implementation uses the workspace's existing libraries.
  • The Tricky Store manager, its translations and the keybox repository protocol come from KOWX712's Tricky Addon: Update Target List (Apache-2.0).
  • The bundled software keybox is AOSP's reference attestation key (system/keymaster/contexts/soft_attestation_cert.cpp).

历史版本

0.2.2-Stable

最新

版本代码 155 v0.2.2-Stable

下载

Changelog

Unreleased

0.2.2-Stable - 2026-11-09

Lite

  • Publish a Zygisk-free Lite ZIP with the Tricky Store manager, RKP workbench and
    device RKP issuer. Full remains the default update edition.
  • Publish independent SPDX inventories, build-provenance and SBOM attestations
    for both editions in the same release.

Device Faker

  • Add per-app device profiles, reusable templates and installed app selection. Resolve
    profiles and target assignments separately for each Android user.
  • Embed 207 searchable device presets contributed by SkyQiQiQwQ in Issue #48.
    Preserve supplied identity, marketing and build fields without filling missing values.
    Review and edit presets before adding them to a draft; saving and enabling remain separate.
  • Add brand filtering, fingerprint mismatch notices and accessible field review across
    all 16 locales, including narrow layouts and right-to-left text.

Play Integrity

  • Add Full injection mode and expose process-level activation diagnostics in the WebUI.
  • Default the engine to disabled unless explicitly enabled. Keep existing explicit
    enable settings and leave configuration import, preview and application independent
    of the power setting.

Remote Key Provisioning

  • Allow users to include a build fingerprint explicitly in remote signing requests.
  • Recognize rkpdapp.google.apk in the system RKP APEX for device V1 provisioning.

Language spoofing

  • Add per-app and per-user language rules in the Full edition through Zygisk.

ZRAM

  • Add swap inventory, runtime ZRAM configuration and opt-in boot profiles. Protect
    devices managed by the system and preserve saved settings across failed changes.

Linux environments

  • Reject ARM64 core dumps, malformed load segments and unavailable ELF interpreters
    during import; resolve interpreter paths within the guest filesystem.

  • Distinguish zombie processes from live guests and reject symbolic links used as
    private state directories.

  • Preserve edited drafts across external configuration changes, identify invalid fields
    and distinguish empty logs from missing environments across all 16 locales.

  • Preserve cancellation codes during decompression, handle concurrent cgroup removal,
    and verify the final init identity and supervisor lease before confirming stop.

  • Drain final log output, refresh active runtime state without filling operation history,
    and make inspection feedback, cancelled imports and disabled settings explicit.

  • Import trusted ARM64 rootfs archives with inspected SHA-256 verification, bounded
    extraction, asynchronous progress, cancellation and private staging.

  • Manage private mounts, terminal entry, foreground services, DNS, bounded logs and
    optional startup after boot. Use PID namespaces or cgroup v2 to track guest processes.

  • Confirm changes against the current configuration revision and preserve data when
    termination cannot be verified. Keep all 16 locales and RTL layouts aligned with
    existing interface components.

Kernel modules

  • Reject duplicate or unreadable ELF metadata sections, and mark inferred or repeated
    module names explicitly during inspection.
  • Validate load parameters by UTF-8 bytes before confirmation, with localized field errors
    and persistent inspection progress/error feedback across 16 locales.
  • Protect the kernelsu root core from unloading, reject unknown holder state, and
    expose protection reasons consistently in the backend and all 16 interface locales.
  • Use explicit confirmation action labels and isolate module names in RTL sentences;
    preserve confirmation content through close transitions and label module taint accurately.
  • Add a separate Linux kernel module browser with loaded/sysfs-only state, references,
    dependents, runtime metadata and read-only parameters.
  • Browse standard Android module directories and inspect uncompressed .ko ELF metadata.
  • Add confirmed, serialized runtime load/unload operations with inspected-file digest checks,
    dependency checks, kernel-enforced restrictions and explicit unknown-outcome timeout reports.
  • Match Android kernel procfs variants and keep release-prefix comparison advisory for
    symbol-versioned modules. Check ELF class/byte order and preserve parameter whitespace.
  • Validate worker protocol/results, bound process cleanup, and retain partial read failures.
  • Add localized runtime states, isolated technical strings, persistent operation feedback,
    keyboard focus restoration and layouts that adapt to larger text across 16 locales.

0.2.1-Stable - 2026-10-26

Play Integrity

  • Fetch selectable Pixel release fingerprints from Google build metadata, with
    Pixel 6a selected by default. Preview candidates and save their source metadata
    without applying them or enabling the engine. Leave unknown patch dates unset.
  • Add quick controls for Build, property and Play Store fingerprint overrides.
    Explain the Play Store SDK compatibility mode and its precedence over fingerprints.
  • Preview system, vendor and boot patch policies separately while retaining
    unselected partition settings and backend-specific formats.
  • Persist process restart and device reboot requirements across page reloads.
    Keep independent keystore recovery available when an activation marker fails.
  • Compare process-local Build and property snapshots with the saved configuration,
    matching revision, boot identity, PID and process start time. Import decoded
    integrity reports as unverified summaries; missing labels remain unknown.
  • Extend configuration, recovery, JNI and mobile browser regression coverage,
    including narrow English, Chinese and right-to-left layouts. Local diagnostics
    and tests do not establish a Google Play Integrity verdict.

Translations

  • Add Ukrainian and Polish translations and localize the new integrity controls.

0.2.0-Stable - 2026-10-24

Integrity and keystore compatibility

  • Keep OEM lock-state and AVB property changes in their appropriate boot stages,
    including when Play Integrity is disabled, unconfigured or falls back after a failure.
  • Validate SHA-256/SHA-512 boot hashes against backend requirements before saving.
    Preserve independent OhMyKeymint trust settings when only the prop handler changes.
  • Serialize keystore configuration writes, restore failed updates, retain unknown
    default and per-app policy fields, and reject stale configuration or backend selections.
  • Keep unsaved property and policy edits across background refreshes. Add explicit
    property reload and report settings that require a reboot.
  • Align module disable/remove handling across the CLI, shell and native companion.
    Reject invalid compatibility options consistently without changing saved enable intent.
  • Respect separate system, vendor and boot patch values when preparing optional
    keystore synchronization. Retain explicit configurations and skip incompatible
    single-date updates.

Device provisioning

  • Add MediaTek SoC detection, AIDL V1 RKP support and TrustKernel device-ID
    provisioning while retaining Qualcomm-specific defaults and backend selection.
  • Refuse contradictory platform evidence and retain diagnostics for failed native
    provisioning. Firmware support and successful hardware issuance remain device-specific.

Verification

  • Extend configuration rollback, lifecycle, native/JVM, contract and mobile WebUI
    regression coverage, including API 36 AVD checks with KernelSU 3.3.0 and
    OhMyKeymint 1.2.0-b12557c.
  • Local tests and emulator behavior do not establish Google Play Integrity verdicts
    or physical-device TEE, fingerprint and display compatibility.

0.1.8-stable - 2026-10-24

Play Integrity

  • Integrate a separately built Play Integrity Fork-derived engine with an opt-in
    configuration workflow, generation of Pixel Canary candidates, compatibility
    controls, diagnostics and history. Candidate generation and local configuration
    do not guarantee any Google Play Integrity verdict.
  • Preview changes before applying configuration or optional keystore patch policies.
    Support structured field editing, raw import/export, saved profiles, migration,
    rollback, and confirmation before recovering an interrupted update.
  • Make engine activation and emergency disable independent from configuration reads,
    including during errors and pending cleanup. Restore managed state when disabling.
  • Improve phone-sized layouts: consistent navigation, panels, editor controls and
    preview alignment. Preserve drafts while switching tabs and correct Back behavior.

Reliability and updates

  • Paginate command history and diagnose empty backend responses.
  • Handle different fingerprint-generator output paths and improve its diagnostics.
  • Fall back to an English release download link when a Telegram ZIP exceeds the
    Bot API's upload limit.

Licensing and verification

  • Keep the derived engine under GPLv3 with upstream notices, and retain the
    independently implemented management interface under MIT.
  • Link to the immutable build commit for corresponding source rather than
    embedding a duplicate source archive in the module.
  • Add independent engine compilation, packaging checks, contract tests and
    mobile WebUI regression coverage to CI.

0.1.7-stable - 2026-10-19

Tricky Store manager

  • Accept EC-only keyboxes for OhMyKeymint while retaining certificate-chain and
    certificate-count validation for every supplied key.
  • Preserve legacy and modern Xposed module detection with zip 9 through exact
    central-directory path lookups, including APKs with non-UTF-8 filenames.

Dependencies

  • Upgrade zip to 9.0.4 and refresh Rust and WebUI dependencies and lockfiles.

0.1.6-stable - 2026-10-18

WebUI

  • Run shell commands through the host's queued job API when available, so slow
    commands no longer block return navigation. Preserve output, exit status and
    compatibility with hosts that only provide exec.
  • Stop restarting failed automatic update checks on each return to the home page;
    keep manual retries and channel changes available. Read the fixed hosting module
    identity once per WebUI session.
  • Reduce target-list reconstruction overhead with shallow query snapshots, stable
    drafts and lightweight selection indicators. Measure new virtual rows through
    ResizeObserver to avoid repeated forced layout, including with enlarged text.
  • Clean up command callbacks on completion and launch failures, including hosts
    that report a companion error after a nonzero exit.

0.1.5-stable - 2026-10-18

WebUI

  • Virtualize target and system-app lists while preserving search, bulk selection,
    keyboard focus and per-app controls. Batch synchronous package metadata lookups
    and stop queued lookups when their query is cancelled.
  • Preserve edits made during target saves, update the saved baseline without an
    extra package-manager query, and guard overlapping writes.
  • Keep RKP navigation available during loading, prevent overlapping profile
    operations, and discard results for changed inputs.
  • Fix cached Device ID form initialization, language-switch races, cancelled file
    reads and malformed repository messages. Bound uploads and translation requests.
  • Adapt buttons, tabs, forms, menus, dialogs and sheets to narrow screens, landscape
    and enlarged text. Wrap technical values and application names, improve supporting
    text size and contrast, and respect display safe areas.

0.1.4-stable - 2026-10-17

RKP Workbench

  • Add Import DICE materials as the main workbench entry, with separate offline
    validation, diagnostic CSR construction and online issuance commands. An existing CSR
    is not required; device collection and firmware patching are not implemented here.
  • Preserve the imported chain, match explicit signing material to its leaf key, and
    construct a new CSR v3 using a fresh server challenge and newly generated attestation key.
  • Share issuance and export between imported material and the labelled experimental
    degenerate-chain mode. Remove implicit offline fallback and successful error results.
  • Select returned chains by public key, verify certificate signatures and constraints,
    and publish private keyboxes atomically after XML readback checks. JSON results contain
    paths and summaries instead of private XML. Installation remains independent.
  • Bump the workbench feature contract to 2. Old profiles retain their seed derivation;
    material import does not overwrite profiles or an installed keybox.
  • Accepts the integer DICE mode allowed by the android.14 profile.
  • Verification uses generated synthetic keys and a local simulated server. Real-material
    production acceptance and successful production export remain unverified for this path.

Device RKP Issuer

  • Automatic mode tries V2, AIDL V1 and native V1 in order, skipping unavailable methods.
    Any issuance or validation failure advances to the next method with a fresh challenge;
    failures are aggregated only after every method fails. Successful results include an
    attempt history. Local file writes happen after certificate validation succeeds.
  • Adds the v1-native backend for vendor command 0x311e. Native V1 reuses the
    V1 CSR assembler, structural checks and isolated worker, and does not require a system
    AIDL APK at runtime. Firmware and server acceptance remain unverified.
  • Reports protocol and backend separately, exposes native V1 resource availability,
    and uses feature contract 5 across the CLI and WebUI.
  • Adds the V1 AIDL signing oracle for Qualcomm PureSoft firmware with a zero HBK,
    adapted from LazyBonesLZY/rkp-v1-oracle under its MIT license.
  • Adds automatic and explicit V1/V2 protocol selection.
  • Selects the full EEK chain for the HAL's reported curve and uses the device's AIDL
    proxy in an isolated process, with bounded exchange files and timeout cleanup.
  • Reports V1 as structurally checked; encrypted signing evidence is verified by the
    provisioning server. V2 retains local signature verification.
  • Cross-checks Qualcomm aliases (including QTI/QCOM), SoC part numbers, hardware properties
    and kernel SoC information. Unknown and conflicting evidence have separate blockers;
    empty properties no longer imply support. The WebUI shows the evidence and keeps firmware
    and server compatibility unverified.
  • Recognizes QTI as Qualcomm and gives the isolated worker vendor library search paths,
    retaining the default namespace's system dependency links for libraries such as libcrypto.
  • Preserves worker error types and accepts bare as well as field-61-wrapped CSRs.
  • Bounds exchange-file reads, rejects nonregular files and symlinks, and requires exactly
    one nonempty certificate chain for the requested key.
  • Reserves private output directories atomically, removes partial runs on write failure,
    and saves keyboxes and private keys with mode 0600, including explicit output copies.
  • Uses the prerequisite report's device fingerprint consistently; an explicit fingerprint
    can satisfy a missing fingerprint without bypassing other prerequisites.
  • Corrects the key export description: the exported keybox includes a software-generated
    private key; this path does not extract a private key from the TEE.

TEE Attestation Extractor

  • New offline tool for extracting Keybox XML and PEM material from existing captures and
    verifying private-key correspondence, certificate signatures and chain completeness.
  • Verifies candidate RKP identity material against the signing leaf of a locally verified
    CSR, with separate Ed25519-seed, P-256-seed and P-256-scalar modes and raw capture offsets.
  • Returns summaries without exposing private material. Explicit exports use private output
    directories and owner-only files; mismatched identity material cannot be exported.
  • Adds binary uploads, device file paths, manager installation through an extension point,
    and translations in all 14 languages. Device-side acquisition is not included.
  • Local checks do not establish root trust, revocation status, registration or server acceptance.
    Supported private keys are EC P-256/P-384 and RSA 2048–8192; RSA-1024 is unsupported.
  • Verifies private-key PEM labels against their DER encoding. Inline inputs are limited
    to 32 KiB per file to fit shell transport; device file paths accept up to 256 KiB.
  • Finds XML document boundaries through parsed tags, accepts closing-tag whitespace,
    and rejects illegal XML characters before exporting material.
  • Rejects trailing data in CSR CBOR items, including embedded signed payloads, protected
    headers, DICE subject keys and configuration descriptors.
  • Resolves same-name certificate issuers by signature and handles self-issued key rotation
    certificates without treating them as self-signed roots.
  • Ignores root-tag examples in XML comments outside the captured document.

WebUI

  • Keeps long error details, links and code within the viewport.

Command wrapper

  • Preserves backend failure exit codes and tries fallback binaries only after execution
    failures (126 or 127).

0.1.3-stable - 2026-10-17

Device RKP Issuer

  • New tool: signs a P-256 key we generated with this device's Qualcomm KeyMint TA
    (CSR_V2, command 0x3122 over libkeymasterdeviceutils.so) and submits the resulting
    AuthenticatedRequest to Google's RKP server, then exports keybox.xml plus its private
    key. The request does not extract a private key from the TEE.
  • Warns twice before it can run, and the backend refuses a run without
    --acknowledge-limitations: only some devices work, and only RKP certificates can be
    issued.
  • Checks Android arm64, root, /dev/smcinvoke, libkeymasterdeviceutils.so and a Qualcomm
    SoC first, and reports exactly which prerequisite is missing.
  • Validates the device's CSR (DICE chain, signature, challenge, keysToSign) and binds the
    issued certificate chain to the generated key before writing anything. The chain must also
    be one leaf-to-root path with no certificate left off it. These local shape and key
    checks do not establish certificate trust, revocation status or server acceptance.

0.1.2-stable - 2026-10-11

Tricky Store manager

  • Complete port of Tricky Addon (Update Target List):
    • Target list with modes, per-app policy, search, bulk selection, DenyList, unnecessary
      apps, system apps and auto-add.
    • Keyboxes from AOSP, "unknown", a local file, the keybox repository and custom providers,
      with import and export.
    • Prop settings, default policy with Today, help, keyboard shortcuts and its 23
      translations, including right-to-left languages.
  • One manager for Tricky Store (config.ini and legacy target.txt), TEESimulator
    (config.json) and OhMyKeymint (config.toml + injector.toml).
    • The validation rules follow each module's own sources.
    • Unknown sections, comments and keys are preserved.
  • Optional WebUI entry on the keystore module (plus the action button on Magisk), and the
    TSupport-Advance auto-target stop flag.
  • Tricky Addon's in-app translation update, translation guide and Telegram link.
  • Checked against the real modules on a KernelSU device, which found and fixed:
    • OhMyKeymint v1.2.0 rejected our injector.toml (an unknown version key) while the
      WebUI reported success. [scoop.<package>] tables are now read and written like
      OhMyKeymint's own parser does.
    • The "unknown" keybox now gives each key a two-certificate chain. Tricky Addon's
      single-certificate keybox only loads on Tricky Store: TEESimulator and OhMyKeymint
      refuse it.
    • TEESimulator accepts EC-only keyboxes, such as the RKP workbench exports.
    • Saving tells when OhMyKeymint needs a restart to apply a change.

WebUI

  • Rebuilt on Vue 3.5, Vite 8, Tailwind CSS 4 and shadcn-vue.
    • A black and white theme, light or dark, where color only marks errors, success and
      warnings.
    • Designed for phones along Material 3 Expressive:
      • 48dp touch targets and a visible response to every press.
      • Round buttons that square up while pressed, segmented lists, and spring motion.
      • A large title that collapses into the 64dp app bar, for one-handed reach.
      • Tonal gray surfaces instead of borders and shadows, with contrast checked
        against WCAG.
    • Menus, tabs and button groups mirror in right-to-left languages too.
    • Follows the KernelSU manager's window insets.
    • The Android back gesture closes dialogs and sheets.
  • Every tool in 14 languages: English, Simplified and Traditional Chinese, Japanese, Korean,
    Spanish, French, German, Italian, Brazilian Portuguese, Russian, Arabic, Vietnamese and
    Indonesian.
  • Help: long links and code wrap inside the page, and two slips in upstream translations
    (a link missing its parenthesis, a code span closed with a quote) no longer show raw
    Markdown.
  • Every tool is a self-contained feature folder, discovered automatically.
    • Features plug into each other only through extension points.
    • Every backend response is validated against a schema.
  • A tool whose backend feature is missing or on another contract version is disabled
    instead of misreading data.
  • Unit tests (Vitest) and end-to-end tests (Playwright against a mock KernelSU host) with
    light, dark, right-to-left and Chinese screenshots.
  • Contract tests run every API call through duckctl.sh and a real duckd build and
    parse the results with the WebUI's schemas.
  • Device tests (scripts/device-test.sh) drive the WebUI inside the real KernelSU manager
    with each keystore module installed.
  • Loads as seven files instead of about eighty. The KernelSU manager reads each request
    through a root shell, so this halved the load time on a slow device.
  • Type-checked on the TypeScript 7 engine through typescript-native-bridge.

Backend

  • duckd builds its CLI from a feature registry. duckd features reports the compiled-in
    features, and each feature can be built alone.
  • New system feature: module and device summary, stable and canary updates with changelog,
    output files, command history, uninstall and reboot.
  • RKP profiles read their device defaults from AOSP build properties.
  • Updated RustCrypto to its current generation (p256/p384 0.14, ed25519/x25519 3, aes-gcm
    0.11, x509-cert 0.3). Keys derived from saved seeds are pinned by regression tests.

Module

  • Scripts follow the KernelSU module guide:
    • Late-load support (late-load.sh).
    • A late prop pass after boot for values the system sets late.
    • The module description goes into KernelSU's temporary config.
  • Magisk runs the boot-completed work from service.sh.
  • The prop handler adds ro.boot.vbmeta.size, and applies the boot hash even when the
    handler is disabled, as upstream does.
  • Uninstalling removes entry links, flags and saved data.

Tooling

  • CI fails when any source file in any language exceeds 600 lines.
  • CI: NDK r30, Node 24, pnpm 12, WebUI lint/format/unit/E2E, per-feature builds.
  • Canary artifacts are the installable module directory.
  • Dependabot opens one pull request per major update.

CI run: https://github.com/eltavine/Duck-ToolBox/actions/runs/42574248406

GPLv3 device-faker corresponding source: https://github.com/eltavine/Duck-ToolBox/tree/f0626bd6f327a783a5f74420876050775d0324ed/components/device-faker

GPLv3 play-integrity corresponding source: https://github.com/eltavine/Duck-ToolBox/tree/f0626bd6f327a783a5f74420876050775d0324ed/components/play-integrity

  • Full (default update): duck-toolbox-0.2.2-Stable.zip
  • Lite (manual installation and updates): duck-lite-0.2.2-Stable.zip

Lite includes the Tricky Store manager, RKP workbench and device RKP issuer. It uses a separate module ID. Uninstall the other edition and reboot before switching.

Each installable ZIP has build-provenance and SPDX 2.3 SBOM attestations. The SBOM inventories delivered files and pinned source/build inputs; it is not a measured binary dependency graph.

Verify the downloaded ZIP with GitHub CLI:

gh attestation verify 'duck-toolbox-0.2.2-Stable.zip' --repo eltavine/Duck-ToolBox --signer-workflow eltavine/Duck-ToolBox/.github/workflows/ci.yml --source-digest f0626bd6f327a783a5f74420876050775d0324ed --source-ref refs/heads/main --deny-self-hosted-runners

For the SBOM attestation, add --predicate-type https://spdx.dev/Document/v2.3. Substitute the Lite filename to verify Lite. The matching Sigstore bundles can also be supplied with --bundle.

文件 1

duck-toolbox-0.2.2-Stable.zip 10.9 MiB

SHA-256 c95549fd561349407d9eb6ec32a29595199fe9039a0ebc11ba1bbfe7277240d2 · Attestation

透明度

Tag
v0.2.2-Stable 不可变 Release
Tag commit
f0626bd6f327
内容 commit
3e8726323823
SHA-256
c95549fd561349407d9eb6ec32a29595199fe9039a0ebc11ba1bbfe7277240d2
最近同步到变更

自行复核

KernelSU 模块不对模块签名,也不审计模块代码。SHA-256 只证明下载内容与本索引一致。可使用 GitHub CLI 自行复核:

gh release verify v0.2.2-Stable -R eltavine/Duck-ToolBox
gh release verify-asset v0.2.2-Stable duck-toolbox-0.2.2-Stable.zip -R eltavine/Duck-ToolBox