RKP Manufacturer Auto-Match
Simple KSU / APatch / Magisk module to auto-match manufacturer props with your active RKP keybox.
Instead of hardcoding nubia (or whatever OEM the public RKP kb is from), this reads map[3] straight from the keybox that your keystore module actually uses at boot, and applies it via resetprop, with Zygisk handling Pixel Camera / whitelisted app restore. It keeps working when you switch to a different public RKP keybox later.
Quick start
- Have a Zygisk provider (ReZygisk, Zygisk Next, BreZygisk, NeoZygisk, Magisk Zygisk, ...) and a keystore module (the original Oh My Keymint is preferred; TrickyStore, TrickyStore OSS, TEESimulator and TEESimulator-RS are detected too).
- Flash the zip from Releases in KSU / APatch / Magisk. Updates install hot; reboot only when the module card asks for it.
- Open the module WebUI to see what was detected. If your keybox is not RKP, or your phone already matches, the module touches nothing.
Found a problem? In the WebUI open Settings > Report Issue. If a keystore engine does not work for you, please report that too.
Docs
| Page | What is in it |
|---|---|
| Keystore modules | Supported modules, keybox locations, how the active keybox is chosen |
| How it works | Props, Zygisk per-app restore, whitelist / blacklist mode, detector apps, Oh My Keymint attestation IDs |
| Install | Install, hot-install, update, uninstall, dry-run |
| WebUI | Home, Apps and Settings tabs |
| Notes | Pixel Camera, strict banking / UPI apps |
| Troubleshooting | Every error code in the WebUI, what it means and what to do |
| Roadmap | What is planned and why |
Recommended pair
Najip/OhMyKeymint-webui-addon: a separate KernelSU WebUI addon for the original Oh My Keymint by qwq233. It edits OMK's target list, trust values, device identity, filter and TEE / StrongBox keyboxes, and shows OMK's status on its first page and in the module manager.
Installing both the original Oh My Keymint and this addon next to RKP Manufacturer Auto-Match is optional but recommended; the three are made to work together, and each one points to the others (the OhMyKeymint-webui-addon README recommends this module too). The installer of this module only prints a short note about them (🟢 installed / 🟡 optional, with the link); it never asks, installs or changes anything for them.
The Home tab here has a Recommended modules card for it: 🟢 green when it is installed, 🟡 yellow with an Install button when it is not. The button downloads the latest release from GitHub (that repository only, checked to be the addon) and installs it with your module manager, no browser needed. If it fails, nothing is changed.
Roadmap
Easiest first. Details in docs/roadmap.md.
- Auto-read
map[3]manufacturer from the keybox - WebUI (Home / Apps / Settings, themes)
- Zygisk per-app restore, Pixel Camera detection, editable whitelist
- Debug log and a pre-filled bug report button (log tools for developers are hidden)
- Hot-install and KernelSU / Next update support
- In-WebUI updater with Release / Pre-release / Canary channels (rolling canary build from CI)
- Oh My Keymint / TrickyStore / TrickyStore OSS / TEESimulator / TEESimulator-RS detection and keybox discovery
- English + Simplified Chinese WebUI that follows the system language
- Report issue button with prefilled fields
- Props health check in WebUI
- Attestation-only test mode
- Read-only keybox / OMK audit helper
- Zygisk Next (ZN) API mode
- Keep up with detector changes
Credits
- dlagia: original idea and RKP manufacturer fix script (
archive/fix-rkp.sh). This module grew from it. - qwq233/OhMyKeymint: the original Oh My Keymint, the preferred keystore module.
- ITxiao6666/OhMyKeymint: a fork of it, the setup this was first tested against; still supported.
- 5ec1cff/TrickyStore, beakthoven/TrickyStoreOSS, JingMatrix/TEESimulator, Enginex0/TEESimulator-RS: supported keystore providers.