Last updated: November 30, 2026. Short answer: on Xiaomi, Redmi and POCO phones the password and passkey manager is chosen in Settings → Additional settings → Languages & input → Passwords and accounts. You can also type “Passwords” in the Settings search bar. Set Preferred service to Google, Bitwarden, 1Password or another manager. On Global and EEA ROMs that usually works. If passkeys still open the wrong manager, switch the preferred service to another one and back. On China ROMs (HyperOS 2, 3 and 4), Xiaomi’s own provider keeps taking over, and Google passkeys often fail. There the fixes are, in order: the same switch-and-back trick, Xiaomi’s recommended setup with Google as an additional service, a one-time ADB command, or a root module (HyperPasskey, Passkey Google Fix, FuckMiuiPasswords).
Why passkeys break on HyperOS
Since Android 14, passkeys go through Android’s Credential Manager. Each password manager registers as a “credential provider”, and Android keeps two hidden settings: the list of enabled providers (credential_service) and the preferred one (credential_service_primary). Xiaomi added its own provider, Xiaomi Password Manager (Smart password manager), which is tied to your Mi account. Xiaomi documents it for developers as the “Xiaomi passkey service” of HyperOS 2 (Xiaomi HyperOS developer platform).
The trouble is that the Settings screen and the real values often drift apart. One owner of a China HyperOS 3 phone chose Bitwarden or 1Password as the default in Settings, but ADB showed that Android still had only Xiaomi’s provider stored as both enabled and preferred (r/HyperOS). Another developer found HyperOS leaves the enabled list empty, so passkey requests fall back to Xiaomi’s provider and ask for a Mi account (passkey-google-fix). And on China ROMs, Xiaomi blocks Google’s passkeys outright. Its community post says that in mainland China only Xiaomi’s credential manager is supported (Xiaomi Community, updated March 2026).
Step 1: Choose your password manager (all ROMs)
- Install and sign in to the manager you want (Google Password Manager is built in; Bitwarden, 1Password, KeePassDX and others come from Google Play) and turn on passkey support in its own settings.
- Open Settings → Additional settings → Languages & input → Passwords and accounts. If you can’t find it, search Settings for “Passwords” or “Autofill”.
- Under Preferred service, select your manager. If there is an Additional services list, you can also turn on other managers there.
- Create a passkey on a test site such as webauthn.io, sign out and sign in with it again. A prompt alone doesn’t prove it works.
For Google Password Manager you can also go to Settings → Google → All services → Autofill with Google and make sure Google Password Manager is on.
Step 2: If passkeys still open the wrong manager, switch and switch back
This is the most common fix, and it works on both Global and China ROMs. In Passwords and accounts, change the preferred service to a different one (or to None), go back, then select your manager again:
- A China HyperOS 3 owner fixed blocked Google passkeys this way: switch from Xiaomi’s manager to Google, go back, then select the default again. Others confirmed it, but one says they have to repeat it now and then (r/XiaomiGlobal).
- Bitwarden users describe the same “reset”: switch to Google or None, wait a few seconds, switch back to Bitwarden. If Google still pops up, turn off Offer to save passwords and passkeys in Google Password Manager’s settings, and set Bitwarden’s battery saver to No restrictions (r/Bitwarden).
- On HyperOS 2 (Xiaomi 14 Pro), one owner only got Bitwarden passkeys after setting autofill to another app, ticking Bitwarden under Additional services, and then switching autofill back to Bitwarden (V2EX).
Step 3: China ROM, Xiaomi’s recommended setup for Google
For China HyperOS 3, the Xiaomi Community post gives this setup for using Google Password Manager passkeys (Xiaomi Community):
- Turn on Google basic services and sign in to your Google account: Settings → Additional settings → Accounts & sync → Google basic services.
- Turn on Smart password manager: Settings → Fingerprints, face data & screen lock → Smart password manager.
- In Settings → Additional settings → Languages & input → Passwords and accounts, set Preferred service to Xiaomi Smart password manager and turn on Google under additional services.
- If the Google switch is missing, that’s a known bug: change the preferred service to anything else (for example None), immediately switch back to Xiaomi’s manager and go back. The switch then appears.
The same post notes that Xiaomi’s own manager still lacks some things: hardware keys (YubiKey) don’t work and support for passkeys on websites was missing at first. Google notifications being late on a China ROM is a separate issue: see FCM Guard.
Step 4: China ROM, fix the provider list with ADB (no root)
If Settings shows your manager but passkeys still go to Xiaomi, you can write Android’s two provider settings yourself. These steps follow the r/HyperOS post linked above (China HyperOS 3, Android 16; a commenter confirms it on a China HyperOS 4 ROM). The HyperOS-CN-Passkey-Fix script on GitHub automates the same thing.
- Turn on USB debugging and USB debugging (Security settings) in Developer options. The second switch is what lets
settings put securework on Xiaomi phones; it needs a SIM card and Mi account. If you’ve never used ADB, see our ADB setup steps. - Save the current values first, so you can restore them:
On the owner’s phone both returnedadb shell settings get secure credential_service adb shell settings get secure credential_service_primarycom.miui.contentcatcher/com.miui.credential.provider.XiaomiCredentialProviderService. The component can differ by build, so use what your phone shows. - Find your manager’s credential provider component, for example for Bitwarden:
It returnedadb shell dumpsys package com.x8bit.bitwarden | grep -B5 -A10 'android.service.credentials.CredentialProviderService'com.x8bit.bitwarden/.Autofill.CredentialProviderService. For 1Password the package iscom.onepassword.androidand the component wascom.onepassword.android/.autofill.services.CredentialManagerService. - Put your manager first in the enabled list, keeping Xiaomi’s provider after it, and make it the preferred one (Bitwarden example):
adb shell settings put secure credential_service 'com.x8bit.bitwarden/.Autofill.CredentialProviderService:com.miui.contentcatcher/com.miui.credential.provider.XiaomiCredentialProviderService' adb shell settings put secure credential_service_primary 'com.x8bit.bitwarden/.Autofill.CredentialProviderService' - Check the values again with the two
getcommands, then test creating and using a passkey. In the owner’s case passkeys worked right away and the setting survived a reboot.
To undo it, run the same put commands with the values you saved in step 2. Avoid opening the Passwords and accounts screen again afterwards: the script’s author warns that HyperOS may write its own provider back when you do. When you’re done, turn off USB debugging (Security settings), USB debugging and Developer options.
A small app does the same with a switch-based UI: Android Credential Switcher (MIT, 37 KB, no network permission). It needs a one-time adb shell pm grant io.github.toruolenyeva.credswitcher android.permission.WRITE_SECURE_SETTINGS and then lets you choose a preferred service and several additional ones, even where HyperOS hides the Additional services list. It is brand new (v1.0.0, November 21, 2026) with only a handful of users, so treat it as experimental.
Step 5: Root modules
| Module | Type | What it does | For |
|---|---|---|---|
| HyperPasskey 1.4.0 (1.5.0 beta for Android 17) | LSPosed | “Fix HyperOS passkey”: brings back Google and third-party passkeys on China ROMs. The most used option (about 300 stars) | China ROM, Android 14+, with Google basic services pre-installed and turned on (needed even if you use another manager) |
| Passkey Google Fix 1.2.0 | KernelSU / KernelSU Next module | Disables Xiaomi’s passkey provider and adds Google to the enabled list, then re-applies it after every boot because HyperOS clears it. Has a WebUI with a passkey test and “Revert all” | HyperOS with Google Password Manager. Tested on Redmi Note 13 Pro 5G, HyperOS 3 |
| FuckMiuiPasswords 1.3.0 | LSPosed | The opposite direction: makes Xiaomi Password Manager’s passkeys work in third-party apps such as Telegram and X, and syncs one-time (TOTP) codes through Mi Cloud | People who want to keep Xiaomi’s manager. Scope com.fido.asm (and com.miui.passwords for TOTP sync) |
A note on FuckMiuiPasswords: Xiaomi’s server only allows passkeys for apps on its own list, and rejects others with “asset not support”. The module skips that server check and does the same check on the phone instead, using each website’s public assetlinks.json. Passkeys stay bound to the site and still need your fingerprint or screen lock, but it changes a security check, so use it only if you understand that. It is new (26 stars), and its README is in Chinese. Use only one passkey module at a time, and see our LSPosed modules for HyperOS 4 list for setup.
FAQ
How do I change the passkey provider on HyperOS?
Go to Settings → Additional settings → Languages & input → Passwords and accounts and set the Preferred service. If passkeys still open the old manager, switch to another service and back.
Why does my Xiaomi ask for a Mi account when I use a passkey?
Xiaomi’s own credential provider is still stored as the active one, even if Settings shows Google or Bitwarden. Switch the preferred service away and back, or on a China ROM set the provider list with ADB as in Step 4.
Do Google passkeys work on a China ROM?
Not out of the box. Xiaomi blocks them on mainland ROMs. Owners get them working with Xiaomi’s recommended setup (Xiaomi’s manager as preferred, Google as an additional service), the switch-and-back trick, ADB, or a root module like HyperPasskey.
Does Bitwarden or 1Password work for passkeys on HyperOS?
Yes on Global and EEA ROMs, as the preferred service. On China ROMs owners needed the ADB fix to make Android actually use them.
Can I use passkeys with Xiaomi Password Manager in other apps?
Only in apps Xiaomi has approved on its server. For others, the root module FuckMiuiPasswords removes that limit, with the caveats above.
Will a HyperOS update reset my passkey settings?
It can. HyperOS sometimes writes its own provider back after updates or reboots. Check the preferred service after every big update, and re-run the ADB commands if you used them.
Sources: Xiaomi HyperOS developer platform (Passkey); Xiaomi Community post on passkeys in HyperOS 2/3 (China, updated March 2026); r/HyperOS (ADB provider fix on China HyperOS 3, August 2026, confirmed on HyperOS 4); r/XiaomiGlobal (Google passkeys on China HyperOS 3, 2026); r/Bitwarden and V2EX (Bitwarden on HyperOS); READMEs of wych/HyperOS-CN-Passkey-Fix, ToruOlenyeva/android-credential-switcher, Howard20181/HyperPasskey (LSPosed module repository), orickmaxx/passkey-google-fix and zjw2017/FuckMiuiPasswords.
Xiaomi firmware & news on Telegram
New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

