Skip to content

About

WebUI addon for qwq233's Oh My Keymint: edit target apps, trust values, device identity, filter and keyboxes. It had experimental Strongbox hiding feature.

Resources

Stars

12 stars

Watchers

0 watching

Forks

Repository files navigation

OhMyKeymint-webui-addon

English | 简体中文

A control plane for Oh My Keymint (OMK), delivered as a systemless root module with a WebUI. OMK is a user-space KeyMint implementation with an injector that routes selected apps' keystore traffic to it; this addon configures, supervises and maintains that installation and never takes part in a keystore transaction itself.

The design is specified in the Technical reference: system model, numbered invariants, write protocols, verification method and known limitations. Every error code in Troubleshooting links to the section that specifies the mechanism behind it.

Design properties

Property Statement
Separation A separate module with its own files and card. It contains no native code, mounts nothing and injects into no process. OMK is installed exactly as released and keeps updating from its author.
Shared-state discipline OMK's config.toml and injector.toml are edited one key at a time, format-preserving, onto the file as it is at save time, with a backup before every write. The addon never creates these files: OMK generates its secrets in them at first start.
State-based success A write is judged by reading the file back, not by the exit status the root manager reports, because that status is unreliable on real devices.
Atomic keybox replacement A keybox is validated, canonicalised and renamed into place in one step, keeping owner, mode and SELinux label, so OMK's file watcher only ever observes a complete file.
Supply-chain checks Downloads use HTTPS only, from one fixed repository per operation; the published SHA-256 digest and the module identity inside the archive are verified before the root manager's own installer runs.
Consistency, not prediction The health check evaluates twelve predicates about the local setup (one keystore injector, one Play Integrity provider, a structurally complete keybox, a config OMK accepts). It does not model any verifier's verdict.
Reversibility Remedies only use the root manager's own on/off toggle and can be undone until the next boot. Uninstalling restores the OMK card to what it showed before.
Hot install No component has to load at boot, so installs and updates take effect without a reboot.

Requirements and compatibility

  • Root manager: KernelSU and its forks, APatch, or Magisk with a WebUI host. Scripts are written for the intersection of mksh and BusyBox ash.
  • OMK: developed and tested against the original by qwq233 (module author James Clef). The addon installs without it and keeps every editing surface locked until OMK has created its own configuration; the installer or the Main tab can fetch and install the original. A fork that keeps OMK's module id is recognised and usable, but settings only the fork has are not exposed, and the injector guard never modifies a fork's files.
  • Other keystore injectors (Tricky Store, TEESimulator): two injectors on the same interface give order-dependent results. The addon detects this and can switch the other one off; it never removes a module.

See Install.

Composition with RKP-Mfr-Auto-Match

RKP-Mfr-Auto-Match aligns the manufacturer properties with the keybox in use. The two modules are independent; installed together they form a small protocol:

  • Propagation. Applying, restoring or removing a keybox here triggers the other module's hot apply, so the manufacturer properties follow the keybox without a reboot.
  • Cross-checking. The Health tab reports whether the other module's state matches the active keybox and offers to re-apply when it does not.
  • Update relay. Each WebUI shows the other's pending update and can open the other WebUI inside the same root manager.
  • Installation. The Main tab installs the other module from its latest full release.

Reporting

In the WebUI: Settings > Debug log > Report Issue opens a pre-filled report with the environment already collected (never keybox, config or target contents). Interference with another keystore engine is in scope and worth reporting. For design questions, cite the invariant or limitation number from the Technical reference.

Terms of use

By installing or using this module you agree to use it lawfully, on a device you own or are authorized to modify, and to accept full responsibility for how you use it and for the consequences. The full terms, including what the module must not be used for, are in Terms of use.

Docs

Doc Content
Install Requirement, install, languages, uninstall
Status The five OMK states and their emoji, inactive vs error, status in the module manager, recommended modules
Tabs What each tab does
Keybox Keybox library, sources, inspect, risks
Notes Safety notes, reboots, hot install, what runs at boot
Troubleshooting Every error code (UPD, INS, LNK, CFG, KBX, DEV, HC) and what to do
Build and release CI, releases, tests
Technical reference Design specification for reviewers and contributors: system model, invariants, write protocols, keybox handling, update integrity, verification, known limitations
Submit to a module list Preparing for the KernelSU Modules Repo and the KernelSU Next list (English)
Terms of use Intended use, what the module must not be used for, keys, warranty, liability

Also available in 简体中文.

Credits

  • Oh My Keymint by qwq233 (James Clef): the module this addon is built for. It is not affiliated with or endorsed by the OMK author, and all of OMK's own work is theirs.
  • Keybox sources, the app exclude list and the Xposed detection follow KOWX712/Tricky-Addon-Update-Target-List (Apache-2.0).
  • The Trust and Device pickers with a "Default" cue and the keybox library follow the ideas of TEESimulator.
  • The first-page status card layout (tinted hero card with a large state glyph, then a label/value card) follows the WebUI of ITxiao6666/OhMyKeymint (Apache-2.0). The code here is our own.

About

WebUI addon for qwq233's Oh My Keymint: edit target apps, trust values, device identity, filter and keyboxes. It had experimental Strongbox hiding feature.

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages