Xiaomi Security Certificate: How to Disable and Bypass Checks

Redmi and Poco smartphone owners often face intrusive system notifications that interrupt the device. One of the most annoying is the “Security Certificate” screen, which requires checking the application through the cloud service MIUI Security. This message blocks the launch of programs, installing files from unknown sources or simply appears every time the screen is turned on, causing discomfort.

Xiaomi has implemented this protection to filter malware, but in reality it often prevents the installation of modified versions of apps or games. Users are forced to find ways to deactivate this mechanism to regain full control of their gadget.

It should be understood that the complete removal of the component may require the use of ADB-It is important to act consistently so that other services of the Android operating system do not work. In some cases, the problem lies not in the system itself, but in the conflict of certificates after the update.

Reasons for Certificate Notifications

The main reason for the appearance of the check window is the built-in function. MIUI Optimization, which forcibly scans installed APK-The system tries to contact the company's servers to verify the digital signature of the application. If the connection is unstable or the server is unavailable, the process freezes, and the user sees an endless wait or error.

The trigger may also be an expired root certificate in the device’s storage, which Android considers to be potentially dangerous and blocks the launch of such applications, especially for devices that have older firmware versions or modified builds installed on them.

📊 Are you facing a blocking of app installation?
Yeah, all the time.
Sometimes.
Never seen one.
I have an iPhone.

Another factor is the enabled “Check Apps” option in Google Play Protect settings. Although it is a feature of Google, it often conflicts with Xiaomi’s aggressive security policies.The combined action of these two mechanisms creates double checks that can lead to false positives and the blocking of legitimate software.

⚠️ Warning: Disabling system security checks reduces the security level of the device. Make sure you only download files from trusted sources, such as 4PDA or official developer websites.

Disconnection through MIUI Optimization settings

The most effective way to remove persistent checks is to deactivate MIUI optimization, which puts the system in a more stock Android mode where certificate checks are less aggressive, and to access this feature, you need to activate the developer mode.

First, go to Settings. → About the phone and seven times quickly click on the version MIUI. After the message "You became a developer" appears, go back to the main settings menu. → For developers.

At the bottom of the developer's settings list locate item Enable MIUI optimization. Switch the slider to "Switched off." The system will alert you of possible risks and restart the device. Once turned on, check if the notification has disappeared.

  • 🔹 Go to the menu "For developers".
  • 🔹 Find the optimization switch MIUI.
  • 🔹 Confirm the action and wait for the restart.
  • 🔹 Check the applications' work.

⚠️ Attention: After optimizing MIUI Some system applications, such as “Themes” or “Security”, may not work properly or disappear from the menu.

☑️ Check before disabling optimization

Done: 0 / 4

Resetting the application settings Security

If a simple deactivation of optimization didn’t help, it’s possible that the cache of the system application Security has accumulated erroneous certificate data, and forcing the data to stop and clean up this component often solves the problem without deep interference with the system.

Open Settings → Applications → All Apps. In the list, find the Security (or Security) app. Click on it and select the option “Clear Data” and then “Clear All.” It is also recommended to click the “Stop” button if it is active.

After doing this, you need to restart your smartphone, and when you first start up, the system will re-form the security configuration files, often bypassing the certificate verification error because the old invalid keys will be deleted.

Using ADB to remove a component

For advanced users who have not been helped by standard methods, it is possible to remove the check packet via a computer, which requires a USB connection and the use of the Android Debug Bridge toolkit.

Connect your phone to your PC, enable USB debugging in the developer menu. Open the command line on your computer and type a command to remove the com.miui.securitycenter package or the associated checkout module. Be careful to only delete the packages you are sure of.

adb shell pm uninstall -k --user 0 com.miui.securitycenter

This command does not remove the application completely from the system, but disables it for the current user, which means that after resetting the settings to factory (Factory Reset), the functionality will return, but for the current session, the use of the device verification will no longer pop up.

What if the ADB can’t see the device?
If your computer does not respond to the connection, install Xiaomi drivers USB Driver, try replacing it. USB-cable to original or quality analogue, as cheap cables often only work for charging. Make sure that the "Debugging by Debugging" option is enabled in developer mode. USB" And there's a checkmark, "Always allow from this computer".

Setting the date and time to avoid the error

Sometimes the problem is to desynchronize system time. Security certificates have an expiration date, and if the date on the device is set incorrectly (for example, it is 2015), the system considers all modern certificates invalid or, conversely, expired.

Go to Settings → Additional → Date and time. Turn off automatic time determination over the network. Manually set the date a year ahead or backward, then return the current date. This action can shake up system verification services.

Once the correct date is returned, be sure to re-enable the sync over the Internet. Make sure the time zone is also correctly selected. A time zone error can also lead to conflicts when checking digital signatures of applications.

⚠️ Warning: Do not leave the wrong date and time on constantly. This will lead to errors in the browsers (SSL-certificates of sites, messengers and banking applications.

💡

If the bug only appears in one particular app, try removing it, clearing the Google Play Services cache, and installing it again. Often the problem isn't with Xiaomi's system, but with the corrupted installation file.

Comparison of problem-solving methods

The choice of method depends on your technical background and the version of MIUI. On newer versions of the shell (MIUI 13, 14, HyperOS), some paths can be hidden or renamed.

MethodDifficultyEfficiencyRisks.
Disconnect MIUI OptimizationLow.Tall.Minimum
Cleaning up the data "Security"Low.MediumAbsent.
Use of ADBTall.MaximumHigh (system error)
Change of date and timeLow.Low.Network failures

The safest and most recommended method is to disable MIUI optimization. It does not require a computer connection and is easily reversible. Using ADB is only advisable if other methods have exhausted themselves and you are confident in your actions.

Remember that any changes to your system settings are at your own risk. Always have an up-to-date backup of important data at hand to recover information in case of unforeseen circumstances.

💡

The fastest way to remove a certificate is to disable MIUI Optimization from the developer menu, which solves the problem 90 percent of the time without using a computer.

Frequently Asked Questions (FAQ)

Is it safe to completely remove the Security app through ADB?
Complete removal of system components can lead to unstable smartphone operation, problems with updates and the inability to use certain functions, such as memory cleaning or antivirus protection. It is recommended to use the command uninstall --user 0, which hides the application but leaves it on the system.
Why did the MIUI update cause the problem again?
When you update your firmware, the system settings are often reset to factory values. The MIUI optimization option could automatically turn back on, and you'll need to re-run the deactivation procedure in the developer menu.
Does disabling the certificate affect the operation of banking applications?
In most cases, banking applications work correctly, as they use their own security mechanisms and verify the integrity of the runtime environment (Root rights, modified bootloader).However, if you disable important system security components, some banks may refuse to start.
Can I turn off the verification for only one application?
Staffing resources MIUI select an exception for a specific APK-The system checks all packages that are installed, but if you allow installation from unknown sources for a particular file manager, the frequency of checks may decrease, but you can't guarantee that there is no pop-up.
What if the developer menu disappeared after the reboot?
On some versions of MIUI, the developer menu is hidden automatically after the reboot for security reasons.You will have to click on the MIUI version again 7 times in the About Phone section to activate it again.