SIM or HCE Wallet on Xiaomi: What it is and how to set up

Xiaomi smartphone owners often face an unexpected system request when trying to add a bank card or launch a payment application.The screen suggests choosing a SIM Wallet or HCE, and the inexperienced user is lost without realizing which option will ensure stable NFC operation.

Near Field Communication technology allows encrypted data to be transmitted to a terminal in a fraction of a second. But behind that speed is a sophisticated security architecture where card data can be stored either on a physical plastic card inside a phone or in a virtual secure processor space. Choosing the right security element is critical to successful transaction authorization.

In this article, we will explore the differences between the two methods of emulation, explain why modern smartphones use HCE more often, and help solve problems if payment has stopped.

What is HCE and how does it work for Android?

Host Card Emulation (HCE) β€” This is a technology developed by Google that allows you to emulate a smart card directly with the software of the operating system. Unlike the old methods, it does not require the physical presence of the chip. SIM-card-holder NFC. All the necessary cryptographic keys are stored in a secure memory area of the smartphone itself.

The basic idea is that the application of the bank or payment system gets access to the NFC-It's an antenna that mimics the behavior of a normal bank card. Android redirects the signal from the payment terminal directly to the application.

Security in HCE is tokenized, and when you pay, the terminal doesn't get your real card number, it gets a one-time digital token, and even if attackers intercept that signal, they won't be able to use the data to do a second transaction. Data tokenization is the industry standard for protecting finances.

πŸ’‘

Use it. HCE, If your mobile operator does not provide services NFC if SIM-The card is too old and does not support Secure Element.

The technology requires that the application has the appropriate permissions and is installed from a trusted source, such as Google Play.The system regularly checks the integrity of the software, and if root rights are detected, access to payment functions may be restricted for security reasons.

SIM-wallet technology: features and limitations

The method of β€œpurse” SIMΒ» (SWP β€” Single Wire Protocol: This means that a special chip built into your plastic system is responsible for the security of payments. SIM-In this scenario, the smartphone acts as a reader, transmitting a signal to the card, and all the calculations take place inside it.

The main advantage of this approach is a high degree of isolation: the card data is physically separated from the phone's operating system. Even if a virus penetrates Android, it will not be able to directly read the pin code or encryption keys from the SIM chip.

But there are some major drawbacks to this method that have led to its gradual displacement, SIM-The card must be issued by a support operator NFC. Second, downloading a banking application often requires a visit to the operator's office or ordering a special card.

⚠️ Attention: When in use SIM-wallet-change SIM-The transfer of the card or the transfer to another operator will require a complete re-binding of all payment instruments.

In addition, the speed of work through SIM can be lower due to the nature of the protocol of data exchange between the phone processor and the card chip, modern flagships Xiaomi are less and less relying on this method, preferring a more flexible HCE.

Comparison HCE and SIM-wallet: what to choose

The choice between the two technologies often depends not so much on the user’s desire as on the capabilities of the device and the bank. HCE It is very versatile because it works with any modern SIM-card and does not require the operator's participation.

On the other hand, SIM-A wallet can be useful in the corporate sector or in regions where infrastructure is available. HCE It's not developed well, but for everyday use, 2026-2026 years HCE It is a standard for services such as Google Pay (in supported regions) or Mi Pay.

πŸ“Š What kind of emulation method do you use?
HCE (default)
SIM-wallet (SWP)
I don't know. I didn't use it.
I don't have NFC.

The table below provides a detailed comparison of the characteristics of both technologies for owners of Xiaomi smartphones:

CharacteristicsHCE (Host Card Emulation)SIM-wallet (SWP)
Dependence on operatorNo.High (special. SIM needed)
SecuritySoftware + TokenizationHardware (SIM chip)
Convenience of changing cardsInstantly in the annexPlastic replacement is required
Compatibility with XiaomiFull (Mi Pay, Google Pay)Limited.

Thus, for most users, HCE remains the best choice, ensuring compatibility with international payment systems and allowing you to quickly change cards without visiting the communication salons.

How to set up NFC and choose a payment method for Xiaomi

The process of setting up on the MIUI or HyperOS shell is quite simple, but it requires care. First, you need to make sure that the NFC module is activated. To do this, lower the notification curtain and find the NFC icon, or go to the settings.

The way to set up is to open Settings, then select Connect and Sharing (or just Additional in older versions), find NFC and activate the switch, and then turn on the NFC Positioning or Secure Element menu.

β˜‘οΈ Setting up NFC Xiaomi

Done: 0 / 1

This is the menu you choose between. HCE Wallet and SIM-If you want to use standard payment services, select HCE. If you are using a specific corporate application that requires SIM, select the appropriate item.

Once you have chosen the method, add a card. Open the Mi Pay or Google Pay app, click Add Card and follow the bank's instructions. The system can request confirmation via SMS or the bank's app.

Solving Payment Problems Through NFC

Even when you set up correctly, there can be failures, and often the problem is that the phone can't identify the priority app, and if you have multiple payment programs installed, the system can get confused about where to send the request.

In this case, resetting NFC settings will help. Go to Settings β†’ Connection and Sharing β†’ NFC. Find the Reset button or just switch the NFC slider to and from the off position. Then reselect the HCE security element.

What to do if the terminal writes β€œCommunication error”?
If the terminal can't see the phone, try removing the case, metallic or too thick covers will shield the signal, and make sure that the phone screen is unlocked when you reach the terminal.

Another common reason is outdated software: banks regularly update security certificates, and make sure that the Google Play Services apps and the bank app itself are updated to the latest version through the store.

If nothing helps, check if it is blocked. NFC-power-saving module, in some scenarios MIUI aggressively disables background processes. Add the payment app to the "No Limits" list in the battery settings.

Payment security: myths and reality

Many users are afraid to pay with a phone, considering it less reliable than a plastic card, but the reality is the opposite: when you pay with plastic, you pass on its static number, which can be copied by a special reader (skimmer).

When you pay through HCE, Xiaomi uses a dynamic code. Each transaction is unique. Even if you intercept the signal, it is useless for fraudsters. In addition, paying above a certain limit (usually 1000 rubles) still requires unlocking the smartphone with a fingerprint or face.

⚠️ Warning: Never install third-party payment apps (APK-Use only official app stores to avoid the introduction of spyware.

Also worth mentioning is the Transit Mode feature, which in some regions allows you to pay for subway fares without unlocking your phone, which is convenient, but increases the risk of accidental payment if the phone ends up near the terminal, and you can turn it off in the NFC settings.

πŸ’‘

HCE provides a higher level of security through tokenization and lack of binding to a physical medium that can be lost.

Frequently Asked Questions (FAQ)

Can I use HCE without the internet?
Yes, the payment does not require Internet, the tokens are generated in advance and stored in secure memory, but for the initial binding of the card and periodic updating of the tokens, a connection to the network is necessary.
Why did the NFC badge disappear after the MIUI update?
Sometimes the default settings are lost after the update. Go to Settings β†’ Connection and Sharing β†’ NFC and turn the function back on. Also check if the module is turned off in power saving mode.
Will Mi Pay work with HCE in 2026?
The service is subject to sanctions policies and arrangements by banks, and HCE technology continues to work technically, but the ability to add cards to specific banks (Visa, Mastercard, Mir) depends on their current support in the Mi Pay app.
Does a discharged battery affect the performance of NFC?
On most smartphones, Xiaomi NFC stops working if the battery power drops below 5-10%. This is a measure of system protection.