How to disable APK signature verification on Xiaomi

Owners of Xiaomi, Redmi and Poco smartphones often face a situation where installing third-party applications is impossible due to security locks. APK Signature Verification is a mechanism for protecting the MIUI and HyperOS operating system, which prevents the launch of modified or unverified files.

However, for advanced users, developers or customizers, this barrier becomes a major obstacle: Standard application installation methods stop working, giving out errors about data integrity or a digital certificate.

In this detailed guide, we will look at proven ways to circumvent restrictions. ADB-commands and special tools to disable the check, regaining full control of your device.

Why the system blocks the installation of APK files

The main reason for blocking is the security policy of Google and Xiaomi, the verification system checks the developer’s digital signature, and if you downloaded a modified version of a game or an app from an unknown source, the hash amount of the file does not match the original, which causes the lock.

In addition, the MIUI shell has an antivirus and scanner built in, which aggressively responds to any changes in system files. Disabling signature verification on a working system without Root rights often requires the use of specific ADB commands, since standard settings do not provide this option.

Users often confuse blocking installations from unknown sources with verifying signatures, the former with simple resolution in settings, the latter requiring deeper intervention in the operation of Package Installer.

⚠️ Attention: Interfering with system processes for installing applications can lead to unstable operation of the system.

Preparation of a smartphone and a computer

Before you start technical manipulation, you need to prepare a work environment, you need a computer running Windows, macOS or Linux, and also a good one. USB-The quality of the cable matters, because when the connection is cut, the process can be interrupted.

On the smartphone, you need to activate the developer mode. To do this, go to Settings β†’ About the phone and press 7 times on the MIUI version or OS version. After that, a hidden section for developers will appear in the menu.

In the Settings menu β†’ Additional settings β†’ For developers, you need to activate two key items: USB Debugging and USB Installation. Without these permissions, the computer will not be able to send a command to disable the check.

  • πŸ“± Charge the device to at least 60% to avoid turning off during the process.
  • πŸ’» Download and install Xiaomi drivers USB Drivers on the computer.
  • πŸ”Œ Use the original cable or quality analogue for a stable connection.

β˜‘οΈ Preparation for modification

Done: 0 / 1

Disconnection method through ADB (No Root)

The most secure and common method is to use the Android Debug Bridge debugging system, which does not require superuser rights and works on most versions of MIUI. The method is to send a special command to a system that forcibly ignores the signature verification during installation.

First, connect your smartphone to your computer and allow debugging in a pop-up window on your phone screen. Open the command line or terminal in a folder with ADB installed. Enter the adb device command to check the connection. If you see the device's serial number, the connection is established.

Next, you type in a command that changes the global security setting. Type the following line:

adb shell pm install --user 0 --disable-verification --allow-test-only

However, a more effective method for forced installation is to use a command that ignores the signature verification of a particular packet. --bypass-low-target-sdk-block installer.

There is also a command that disables ADB verification for a current session or a specific action, but it is often reset after a reboot.

adb shell settings put global verifier_verify_adb_installs 0
What if the ADB can’t see the device?
If the adb device command doesn't show the device, check the drivers installed. In Windows Device Manager, the device can appear as "Unknown Device." Try manually updating the driver by selecting your smartphone model from the Android or Xiaomi list. Also make sure that the phone screen has confirmed debugging permission from that computer.

Use of specialized utilities

For those who don’t want to mess with the command line, there are graphical shells and specialized applications. One popular solution is the utility SAI (Split APKs Installer), which can bypass some of the restrictions when installing split APK files.

Another powerful tool is App Manager or dedicated installers like MT Manager, which often have built-in mechanisms for working with system signatures, and can oversign APK files on the fly or use system holes to install.

It is important to understand that the effectiveness of these programs depends on the version of Android and the level of security patches. On new versions of HyperOS, access to system functions of the installation is very limited, so older versions of the utilities may not work.

Tool.I need a Root.DifficultyEfficiency
ADB CommandsNo.MediumTall.
SAI InstallerNo.Low.Medium
MT ManagerYes (preferably)Tall.Very high.
System UI TunerNo.Low.Low.
πŸ“Š What method of installing applications you use most often?
Official Google Play:Third-party stores (Aurora, RuStore):APK files from sites:Through ADB and computer

Problems with the "App Not Installed" Error

Even after disabling the checks, you may encounter an error called "App not installed", often due to a version conflict, and if you already have a version of an app with a different signature (such as the official one from the Play Market), the system will prevent you from installing a modified version on top of it.

In this case, you need to completely remove the original application. Sometimes it helps to clean the data service Package Installer. Find this process in the application settings, show system processes and click Clear data.

The problem may also be a lack of space or a corrupted APK file. Make sure the file is downloaded completely and the file size is consistent with the developer's stated size.

⚠️ Note: If you are trying to install a system application, the modification may result in a "boot loop" (cyclic reboot.

Features of work on HyperOS and MIUI 14

With HyperOS, Xiaomi has significantly enhanced security, and the Integrity API now checks not only the APK signature, but the integrity of the system itself, and simple ADB techniques can stop working or have a temporary effect.

New firmware often requires Bootloader unlocking to completely disable checks. Without an unlocked bootloader, access to system partitions responsible for verification is closed to the ground.

Users of new devices are advised to be especially careful: Security updates are released monthly, closing vulnerabilities that were used to bypass inspections.

πŸ’‘

Before installing modified system applications, always do a full backup of data via Mi Cloud or locally to your computer. This is the only way to guarantee data return in the event of a crash.

Safety and risks of modification

By disabling signature verification, you remove one of the main security layers of the operating system, and any application you install in this way will have the same rights as trusted programs, and that opens the door to malware.

If you use banking applications, they may not like the changed environment. Some banks block their applications if (detect) security checks are disabled or root rights are available.

Always check for viruses that you downloaded before installing APKs. Use online services like VirusTotal to upload a file to analyze it, and trusting the source of the file is a key security factor.

πŸ’‘

Disabling signature verification is a trade-off between functionality and security, and only do so if you understand the risks and trust the software you install.

Can I turn off signature verification without a computer?
Directly through the settings, no. However, there are installer applications that try to exploit system vulnerabilities to bypass checks, but their effectiveness on newer versions of MIUI tends to zero. The computer and ADB remain the most reliable way.
Will the setting reset after the reboot?
Teams. ADB, Settings put global, which is usually saved after a reboot, but commands that are launched during the installation session can only be activated until the screen is turned off or the installation service restarts.
Why does Mi Defender remove installed APKs?
The built-in Mi Protect scans files in real time, and if it thinks a file is dangerous, it will delete it even after it's installed successfully, and to avoid that, you need to add a file or folder to the security scanner exceptions.
Does that affect the guarantee?
Using ADB commands is not a breach of warranty, as it is a regular developer tool, but if you damage the phone's software with your actions, the service center may refuse free repairs, citing a violation of the software's operating conditions.