If you've ever looked at the installed app list on a Xiaomi smartphone, you might have noticed a strange name: WAPI Certificate. It doesn't have a desktop shortcut, it doesn't show up in the communication settings menu, but it takes up space in the device's memory. What is it, why is it preinstalled on Xiaomi, Redmi, and POCO devices, and can it be removed without consequences?
In this article, we will discuss in detail the purpose of the WAPI Certificate, its relationship with Chinese Wi-Fi security standards, and provide practical recommendations for working with it, you will learn how this certificate affects network connectivity, why it can not be found on Google Play, and what to do if it is suspicious.
What is a WAPI Certificate and why is it needed?
WAPI Certificate is a system component that supports Chinaβs Wireless LAN Authentication and Privacy Infrastructure (WAPI) standard, which was developed in China as an alternative to the WPA/WPA2 standard used in most Wi-Fi networks around the world.
The main purpose of WAPI Certificate on Xiaomi smartphones:
- π Compatibility with Chinese Wi-Fi networks using WAPI instead WPA (for example, in government institutions, universities or corporate networks of the PRC).
- π‘ Support for mandatory certificates for authentication in such networks (similar to certificates for the use of such networks) VPN or corporate Wi-Fi).
- π‘οΈ Implementing the additional layer of encryption required by Chinese regulators for public access points.
WAPI is not a virus or spyware, but a legal component that Xiaomi installs on all devices, including global ROMs, as some smartphones are exported to China or used by Chinese tourists abroad, but for most users outside China, this certificate is not practical and can be safely deactivated.
How does WAPI Certificate affect Wi-Fi?
Under normal conditions (connection to home or public networks with a WPA2/WPA3) WAPI Certificate does not interfere with Wi-Fi, it is activated only when you try to connect to a network that explicitly requires you to use the service. WAPI-authentication β and there are very few such networks outside China.
There are a few nuances, however:
- π When scanning networks, the smartphone spends additional resources on checking support WAPI, This can slightly increase the connection time (by a fraction of a second).
- π± On some firmware (MIUI 12-14) The certificate may conflict with the user VPN or corporate Wi-Fi services that use EAP-SIM or PEAP.
- π In the background, the component takes ~5-10 MB of memory and is updated periodically through MIUI Updater (but not through Google Play).
If you've never been to China and connected to a local network, WAPI Certificate is a dead weight to you, but there are exceptions: some international hotels or business centers in Asia may use WAPI-enabled hybrid networks for Chinese guests, in which case deleting the certificate will make it impossible to connect.
π‘
To check if WAPI is used on your current network, open Settings β Wi-Fi β Current Network β Additional. If there is WAPI-PSK or WAPI-CERT on the security protocol list, then the certificate is active.
Is WAPI Certificate Safe? Myths and Reality
One of the most common questions is, "Can WAPI Certificate spy on a user or transfer data to China?"
β Arguments FOR security:
- π The component is part of the official firmware MIUI and is subject to Google Mobile Services standards (for global versions).
- π‘ Its code does not contain functions for collecting personal data (based on the results of independent analyses, for example, from the XDA Developers).
- π The certificate only works at the network authentication level and does not have access to files, contacts or geolocation.
β οΈ Arguments against (potential risks):
- π΅οΈββοΈ In theory, vulnerabilities in implementation WAPI They could allow attackers to intercept traffic on the networks where it is used (but this is only true in China).
- π Certificate updates come through Xiaomi servers, not Google Play, making it harder to monitor changes.
- π¦ On some "custom" firmware (unofficial) the component may be modified by third parties.
β οΈ Note: If you use a smartphone with Chinese firmware (without Google services), then WAPI Certificate can interact with other Xiaomi system services, such as Mi Cloud or Mi Security, in which case its removal may lead to unstable network operation.
For most users of global versions of MIUI, the risks are minimal, but if you are paranoid about privacy, it is better to block the component through ADB or root access (more on this in the next section).
How to remove or disable WAPI Certificate?
If you're determined to get rid of WAPI Certificate, you have a few options, from simple shutdown to complete removal, depending on your technical skills and your smartphone model.
Method 1: Disconnect via settings (without root)
This method is suitable for global versions of MIUI and does not require special knowledge:
- Go to Settings β Applications β Application Management.
- In the search box, enter the WAPI Certificate.
- Select the app and click Disable (if the button is active).
- Confirm the action and restart the smartphone.
β οΈ On some devices, the Disable button may not be active, in which case only the removal of the ADB.
Method 2: Remove via ADB (without root but with PC)
For this method, you will need a computer with ADB drivers installed and USB debugging enabled on your smartphone:
Enable USB debugging in Settings β About Phone β MIUI version (7 times press)
Install ADB drivers on PC (for example, via Minimal ADB and Fastboot)
Connect your phone to your PC and allow debugging
Download the App Inspector utility to determine the exact packet name-->
Then execute commands in the terminal:
adb shell
pm uninstall -k --user 0 com.xiaomi.wapiIf the name of the package is different, find it through the command:
pm list packages | grep wapiβ οΈ Note: Removal of system components through ADB This can cause Wi-Fi to be unstable on some firmware.Before executing commands, back up via Settings. β Additionally. β Backup.
Method 3: Complete removal through root access
If you have root rights, you can uninstall WAPI Certificate as a regular application using Root Explorer or Titanium Backup.
/system/priv-app/WapiCertificateDelete the folder and restart the device, and then the component disappears from the system forever.
π‘
On devices with MIUI 14+ and HyperOS, removing WAPI Certificate may require an additional command to reset the Wi-Fi cache: adb shell cmd wifi reset-network-settings.
How to replace the WAPI Certificate if you need it?
If you have deleted the certificate, but Suddenly is in a situation where you need to connect to the WAPI-Networking (for example, on a business trip to China), there are several alternative solutions:
| Method | Description | Pluses | Cons |
|---|---|---|---|
| Recovery through MIUI Recovery | Resetting to factory settings will bring back all system applications, including WAPI Certificate. | β 100% operational | β Loss of data |
| Installation of custom firmware with WAPI | Firmware such as xiaomi.eu or PixelExperience may include WAPI support. | β Flexibility of settings | β Risk of "brike", loss of guarantee |
| Use of an external Wi-Fi adapter | USB-Type-C adapters with support WAPI (For example, TP-Link TL-WN725N firmware). | β No changes to the phone required | β Inconvenient for mobile use |
| VPN with Chinese IP | Some networks allow you to connect via VPN, bypassing WAPI requirements. | β Quickly and without changes to the system | β Not all networks support |
If you are planning a trip to China, the easiest way to do this is to temporarily disable the WAPI Certificate, rather than delete it in advance, and rename the folder with the certificate via root or ADB, and return it back if necessary.
Frequent WAPI Certificate Problems and Solutions
Even if you haven't touched a certificate, it can cause problems, and here are some of the most common symptoms and ways to treat them:
π΄ Problem: After the update MIUI Wi-Fi has stopped connecting to some networks.
πΉ Solution: Reset network settings through Settings β Wi-Fi β Additionally. β If it doesn't work, check if it's blocking. WAPI Certificate connection (disable it temporarily).
π΄ Problem: In the system logs (Settings) β The phone. β Error logs are available for WapiService: authentication failed.
πΉ Solution: It's okay if you're not in China. To remove messages, disable the certificate or delete it through ADB.
π΄ Problem: After removal WAPI Certificate is missing Wi-Fi altogether.
πΉ Solution: Return the certificate back or reset the network. on some devices (Redmi Note 10 Pro, POCO X3 Pro) removal WAPI breaks the Wi-Fi module - in this case, only flashing will help.
What if the NFC stopped working after WAPI was removed?
Alternatives to WAPI Certificate for Wi-Fi Security
If you are concerned about connection security but WAPI Certificate seems redundant, consider alternative ways to protect your connections:
- π WPA3-Personal: A modern encryption standard supported by all Xiaomi smartphones MIUI 12+. Included in router settings.
- π‘οΈ VPN Apps like ProtonVPN or Windscribe encrypt device-level traffic, making additional certificates unnecessary.
- π Isolated Guest Networks: Set up a separate, limited-enabled network on your router to connect your smartphones.
- π± Firewall applications: NetGuard or AFWall+ (requires root) allows you to block unnecessary network requests, including those that can send WAPI.
For corporate users, the best solution is EAP-SIM or PEAP β These protocols are supported by Xiaomi out of the box and do not require additional certificates. β Wi-Fi β Add a network β Extended.