跳到主要内容
KernelSU 模块

Oh My Keymint

不可变 Release 已同步

Custom keystore implementation for Android Keystore Spoofer

介绍

Oh My Keymint

Telegram CI Build

Custom keystore implementation for Android Keystore Spoofer

What is this?

This is a complete implementation of the keystore, which fully implements the AOSP AIDL interface, referencing the official AOSP implementation.

In theory, this would make it harder for detectors to identify behavior inconsistent with AOSP, thus achieving greater stealth than the FOSS branch of TrickyStore or other TrickyStore-based module like TEESimulator.

Install and configure

Android 12 or above required.

  1. Install this module.

  2. Configure OMK if needed.

  3. Replace template keybox.xml (if you need)

The keybox file should be a valid XML file with both EC and RSA chain, which means there should be no extra content in it like watermark or invisible characters.

The active files are /data/misc/keystore/omk/config.toml and /data/misc/keystore/omk/injector.toml. Read the Configuration Guide for complete annotated examples, field-by-field explanations, safety notes, and restart requirements.

Restarting keymint and injector

The module ships two background daemons: one for keymint, one for injector. You can restart them by following commands.

touch /data/adb/omk/restart.keymint
touch /data/adb/omk/restart.injector
touch /data/adb/omk/restart.all

See the Configuration Guide for which changes need a component restart or a full device reboot.

License

YOU MUST AGREE TO BOTH OF THE LICENSE BEFORE USING THIS SOFTWARE.

AGPL-3.0-or-later

OhMyKeymint - Custom keymint implementation for Android Keystore Spoofer
Copyright (C) 2025 James Clef <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Oh My Keymint License

1. 您不得将本软件、本软件的任意部分或将本软件作为依赖的软件用于任何商业用途。该
   商业用途包括但不限于以盈利为目的,将本软件、本软件的任意部分或将本软件作为依
   赖的软件与其他资源、物品或服务捆绑销售。

2. 您不得暗示或明示本软件与其他软件有任何从属关系。

3. 除经本软件作者书面许可外,不得将本软件名称或与其近似的名称用于修改版、衍生作
   品或相关服务的命名、宣传;法律允许的指名性使用除外。本软件的修改版或衍生作品
   如与本软件存在明显区别,须使用其他名称。例如,包含不属于本软件原版的功能或附
   属资源,或使用本软件名称可能导致公众误认为该修改版由原项目作者发布、认可或存
   在关联,即属于此类情形。上述作品须保留本软件的著作权声明、作者署名及许可证文
   件并以显著方式标注该作品为本软件的衍生作品,且不得暗示本软件作者对其承担任何
   责任。即使不属于上述须更名情形的修改版或衍生作品,本软件作者认为有必要时,仍
   有权要求其更名。

4. 除非您所在的司法管辖区的适用法律另行规定,您同意将纠纷或争议提交至中国大陆境
   内有管辖权的人民法院管辖。

5. 本协议与GNU Affero General Public License(以下简称AGPL)共同发挥效力,
   当本协议内容与AGPL冲突时,应当优先应用本协议内容,本协议仅覆盖本软件作者拥有
   完全著作权的部分,对于使用其他协议的软件代码不发挥效力。

Credit

Some code from AOSP

License: Apache-2.0

Copyright 2022, The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

历史版本

1.2.0-a1f3241

最新

版本代码 155 1.2.0-preview-a1f3241

下载

This is a preview version and it's NOT stable

This preview release primarily switches the hooking backend; I am not entirely confident in its stability, so I am holding off on pushing the code for now to ensure everything is working correctly.

If you insist on using only packages that are FOSS and verified via attestation, you may want to skip this version.

If you encounter any issues, please open an issue or leave comments on discussion zone.


Update 1: fix some issues for newer kernel.

文件 1

OhMyKeymint-release-arm64-v8a-1.2.0-a1f3241.zip 4.6 MiB

SHA-256 0d672020b1e20b88636af4afcde65cd18ff5294813b7f7d007bcdee5ee6cd9ac · Attestation

透明度

Tag
1.2.0-preview-a1f3241 不可变 Release
Tag commit
a1f3241f6149
内容 commit
0ec0dcbdb1de
SHA-256
0d672020b1e20b88636af4afcde65cd18ff5294813b7f7d007bcdee5ee6cd9ac
最近同步到变更

自行复核

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

gh release verify 1.2.0-preview-a1f3241 -R qwq233/OhMyKeymint
gh release verify-asset 1.2.0-preview-a1f3241 OhMyKeymint-release-arm64-v8a-1.2.0-a1f3241.zip -R qwq233/OhMyKeymint