How to turn off security mode on Xiaomi: a step-by-step guide

Owners of Xiaomi, Redmi and Poco smartphones often face intrusive notifications from built-in antivirus or blocking the installation of applications from third-party sources.The aggressive MIUI Security system is designed to protect, but sometimes it interferes with the normal operation of the device or installing the necessary programs. Understanding how to manage these features is a key skill for any advanced user.

There are several layers of protection that you can adjust, from simply removing screen passwords to turning off system restrictions in a special menu. In this article, we will break down all aspects of the setup so you can have full control of your gadget. It is important to act consistently so that you do not disrupt the Android operating system.

Before making any changes, it is worth clarifying that completely disabling all security mechanisms can make a device vulnerable to malware. However, a competent setup will remove unnecessary restrictions while maintaining basic data security. Next, we will look at specific steps to deactivate various types of locks.

Control of screen locking and biometrics

The most obvious level of protection is the lock screen, and many users want to temporarily remove the pin or pattern lock for convenience, and you need to go to Settings β†’ Password and Security, and that's where you manage all authentication methods, including fingerprint and facial recognition.

To turn off the protection, you'll need to enter your current password, and then the system will suggest you choose the lock type. Select No or Swipe if you want to remove the input when you turn on the screen. Remember that without the screen password, you'll be unable to access the secure folder and some banking applications.

Biometric protection is also worth noting: The fingerprint scanner in Xiaomi smartphones works fast, but it can be temporarily disabled from the same menu, which is useful if the sensor is not working properly or you plan to transfer the phone to another person.

  • πŸ”’ pattern lock is a classic method that is difficult to peek from the side.
  • πŸ‘οΈ Facial recognition – convenient, but less safe in bright light or with twins.
  • πŸ‘† Fingerprint – Balance between unlock speed and data protection reliability.

Changing these settings is immediately effective. If you decide to return protection, the system will require you to create a new complex password if the old one has been deleted completely.Always store backups of important data in the Mi Cloud or Google Drive cloud in case of loss of access.

⚠️ Note: After resetting the screen password, data encryption may be broken and some applications will require re-authorization.

Configure the settings of the installation of unknown applications

One of the most common reasons users are looking for a way to bypass protection is the inability to install. APK-file from a browser or file manager. MIUI By default, it blocks the installation of programs from sources outside the official GetApps store or Google Play.

To allow the installation of a particular application, you don't have to turn off the protection globally. You just have to give permission to a specific source. When you try to install a file, the system will redirect you to the Privacy menu β†’ Special permissions β†’ Install unknown applications.

In the list that opens, find the application you downloaded the file from (e.g. Chrome, Telegram, or Explorer) and activate the switch in front of it, and then you can install the program, but the system will still alert you to potential risks.

β˜‘οΈ Pre-installing check APK

Done: 0 / 4

There is also a hidden MIUI Optimization feature that sometimes blocks installation of modified system applications. To access advanced settings, activate the developer mode. Click 7 times on the build number in About Phone, then go to Advanced Settings β†’ For Developers.

At the bottom of the developer menu, find Enable MIUI Optimization. Disabling this option may require re-entering the password from the Mi Account. Once optimisation is disabled, the system will become less stringent to third-party themes and interface modifications.

Risks of disabling MIUI optimization
Disabling this function can lead to incorrect display of fonts, failures in the work of the themes of design and increased battery consumption, as the system will cease to aggressively control background processes.

Disabling the Defender and the MIUI Antivirus

The built-in Security app combines memory cleanup, antivirus and blocker. Often, its notifications annoy users by reporting the β€œrisks” of installing regular programs. Completely uninstall this system application without root rights is impossible, but it can minimize its activity.

Go to the Security β†’ Antivirus app. Click on the settings icon (cogs) in the upper right corner, and you can turn off the "Confirm on Installation" and "Cloud Verification" function, which will remove the automatic scanning of each new file, but reduce the level of protection in real time.

There's also a Cleanup section in the Security app, which allows you to turn off automatic screen checks when you unlock the screen, and it eliminates the system status pop-ups every time you pick up your phone.

FunctionWhere to turn offImpact on the system
Cloud checkAntivirus β†’ SettingsReduces traffic but does not check for new viruses
Installation checkAntivirus β†’ SettingsAccelerates APK installation, risk of missing threats
Real-time monitoringAntivirus β†’ SettingsCritical reduction of protection, not recommended
Advertising is safeSettings β†’ Password and security β†’ Access to personal dataRemoves banner ads in system utilities

Users often confuse antivirus with ad blocker. To remove ads from system applications, you need to turn off the msa service (MIUI System Ads). Go to Settings β†’ Password and security β†’ Access to personal data, find msa and turn off the switch. Confirm the action after 10 seconds.

⚠️ Note: Disabling the msa service does not remove viruses, but only stops the display of advertisements in the interface. MIUI.

πŸ“Š How often do you worry about Xiaomi antivirus?
Every day.
Once a week.
Only when installing games
Never interfered.

Working with Developer Mode and Debugging

Developer Mode is a powerful testing tool that opens up access to hidden Android features. USB (USB Debugging is often necessary to connect the phone to a computer for the purpose of controlling ADB or installing specific software.

To activate, go to Settings β†’ About Phone and quickly click 7 times on β€œMIUI Version.” After the message β€œYou became a developer” appears, go back to the main settings menu, select Advanced Settings β†’ For developers.

Inside the menu, find the USB Debugging Switch and activate it. The system will warn you of the risks. When you first connect to your PC, you will see a request for debugging permission on your phone screen, click OK and tick Always Allow.

  • πŸ”§ Debugging by USB β€” Allows you to transfer commands directly to the system.
  • πŸ“± Location Emulation – Useful for Testing Geo-Affected Applications.
  • ⚑ Windows animation – speeding up the interface for advanced users.

Don't leave debugging on permanently if you connect your phone to public charging stations. Through an open USB port, attackers can theoretically access device data. Use this feature only when it's really needed for work or setup.

Resetting Mi Account Restrictions and Finding a Device

The most stringent protection in the Xiaomi ecosystem is the Mi Account binding and the Device Search feature, which means that if the phone is lost, the owner can block it remotely, but if you forget your password or buy a used device with someone else's account, access to the system will be completely blocked.

The official way to unblock is to know the username and password from the Mi Account. β†’ You can log out of your profile by entering credentials. After that, Find Device is deactivated. Without that data, it's almost impossible to unlock your phone legally.

There are service centers that can unblock when a purchase check is presented, and attempts to bypass security through flashing or using third-party software (Mi Unlock) often result in a device being completely locked by IMEI or serial number.

πŸ’‘

Mi Account is the main key to the device. Without logging out, resetting to factory settings will not help remove the activation lock.

If you plan to sell the phone, be sure to complete a full reset via the settings menu by logging out of Mi Account and Google Account beforehand.This ensures that the new owner doesn't encounter a lock screen.

What to do if your phone is blocked by someone else’s Mi Account?
If you bought a phone with your hands and it is locked, contact the seller.Only they can delete the device from their account remotely via i.mi.com.Otherwise the phone is stolen or lost and its use is illegal.
Can I turn off the lock through the service center?
The official Xiaomi service center can unlock the device only if there is an original check or a warranty card confirming ownership.

Frequently Asked Questions (FAQ)

Is it safe to completely disable antivirus on Xiaomi?
Complete disabling of antivirus reduces the security of the device. It is recommended not to turn off the protection completely, but only to add the necessary applications to the exceptions or disable cloud verification if it interferes with work.
How to remove ads after disabling msa?
Disabling msa removes most system advertising. For residual banners in applications (Downloads, Music), you need to go to the settings of each application separately and look for the item β€œReceive recommendations”.
Will the phone reset the settings after disabling the developer mode?
No, disabling the developer mode or debugging over USB does not result in a data reset. All your files, applications and settings will remain in place. Reset occurs only when you select the Recovery and Reset option.
Why can’t I turn off the msa service?
The system may not allow you to turn off the service the first time due to unstable Internet or server errors. Try to turn off Wi-Fi, leave only the mobile network, wait 10 seconds and click Stop.
Does a security shutdown affect the guarantee?
Changing the software settings in the user menu (disabling antivirus, installing APK) is not a reason for refusing the warranty, but unlocking the bootloader and obtaining root rights warranty void.