Owners of Xiaomi, Redmi and POCO smartphones often encounter a mysterious process called “lens” in the task manager or list of running applications. The appearance of this component can be puzzling, especially if the user has not activated any scanning features. Many begin to look for ways to turn it off, fearing for privacy or simply wanting to free RAM.
In fact, the lens is a system component of the shell. MIUI Or HyperOS, which is the camera that works with artificial intelligence, and it's used for text recognition, QR-Understanding its purpose will help to avoid rash actions to delete system files that can lead to unstable operation of the device.
In this article, we will discuss the functionality of this service in detail, assess the risks of using it and provide proven methods of managing the process, you will learn whether it is possible to completely remove the application without obtaining root rights and what alternative solutions exist for those who categorically do not want to use the functions of a smart camera.
What is the application Lens in the Xiaomi system
The lens app (often listed as com.miui.videoplayer or Google Lens-related processes depending on the firmware version) is an integral part of Xiaomi’s ecosystem, serving as a bridge between the camera hardware and the image recognition software algorithms, and when you point the camera at text, the system suggests copying or translating it — that’s the work of that component.
The built-in scanner goes far beyond simply reading barcodes, analyzing scenes, offering similar items to shop online, and even solving math problems by taking a picture. Artificial intelligence embedded in the shell processes the image in real time, which requires constant background presence of the service.
It is important to understand that it is not a virus or spyware, but a legitimate tool of the Android operating system with the MIUI add-on. However, its deep implementation in the system often annoys advanced users who prefer to use third-party, more specialized applications for scanning.
- 📸 Text recognition: instant copying of text from photos or real objects.
- 🛒 Product search: image analysis to search for analogues in online stores.
- 🌿 Identification: definition of animal breeds, car brands and plant species.
It is worth noting that in global firmware versions, functionality can be partially replaced or supplemented by Google services.However, the system process remains active to ensure basic compatibility of widgets and desktop shortcuts.
Why is this process necessary and can it be turned off?
The main goal of the process is to provide quick access to the camera functions without fully running a heavy application. When you call the scanner from the control center or through a long press on the camera icon, it is the lightweight Lens module that starts, which allows the system to save resources without loading the full interface of the photo application.
Many users are wondering if it is possible to turn off this feature to save battery power. In theory, background activity can consume energy, but in the case of optimized Xiaomi firmware, this cost is minimal. Shutdown is possible, but with standard system tools this is extremely difficult to do, since the “Disable” button is often inactive (dark).
⚠️ Attention: Attempting to force the process to stop through application settings is temporary. MIUI It will automatically restart the service the next time you access the camera or widgets, as it is a critical component of the interface.
If you decide to use ADB-When you have a cold app, be aware of the risks. If you don't properly disable the system packages, you can either have a bootloop (cyclic reboot) or you can have important functions like the weather widget or the Mi Video tape disappear.
Technical details of the process
For most users, the best solution is not to remove, but to limit background activity, which allows you to keep the functionality in case of need, but prevents the service from running constantly in the background when it is not explicitly used.
Instructions for removal via computer and ADB
For those who are determined to get rid of the system component, the only safe way (without root rights) is to use USB debugging and the ADB (Android Debug Bridge) toolkit, which allows you to remove applications for the current user without affecting the system partition Recovery, which leaves the possibility of recovery.
Before starting the procedure, you need to activate the developer mode. To do this, go to Settings → About Phone and press 7 times on the MIUI Version (or OS Version). After the message “You became a developer”, open the menu Additional → For developers and turn on the USB Debugging Toggle.
☑️ Preparation for removal through ADB
Connect your smartphone to your computer and open the command line (or terminal) in the ADB tool folder. Enter the adb device command to check the connection. If a permission request window appears on your phone screen, confirm it. Next, use the command to delete the packet:
adb shell pm uninstall -k --user 0 com.miui.videoplayerNote that the name of the package may vary depending on the firmware version and region. In some cases, the process may be called com.xiaomi.scanner or have a similar name. The exact name of the package can be found through analyzer applications or in the list of installed applications in the settings.
Once the command is executed, the application will disappear from the menu and stop consuming resources. However, this action does not physically delete files from the /system partition, but only hides them for the current user, which means that resetting to factory settings will return everything as it was.
Removing System Applications with Root Rights
Owners of devices with unlocked bootloaders and established root rights (for example, through Magisk) have full control over the file system, which is the most radical method, allowing you to physically delete executable files of the application, freeing up space in the internal storage.
You'll need a root-enabled file manager, such as Root Explorer or MT Manager, to work. Go to /system/priv-app/ or /system/app/ and find the folder that matches the lens application. Be sure to back up the folder before you delete it, saving it to a safe place.
- 🔒 Security: Deleting system files can compromise system signature integrity.
- 🔄 Updates: After obtaining root rights, automatic OTA-updates will stop coming.
- ⚠️ Guarantee: Root rights officially cancel manufacturer's warranty obligations.
⚠️ Note: Do not delete files that you are not 100% sure of their purpose. A name error can cause the entire camera to fail or even the operating system to boot.
Using specialized Magisk modules, such as System App Remover, can automate the process and reduce the risk of human error.
💡
Before any interference with system files, make a full backup of data through the Mi Cloud or computer. Recovering a remote system application without flashing it may not be possible.
Alternative ways to limit the application
If deleting seems too risky, you can resort to less drastic measures: limiting background activity allows you to leave the application in place, but prevents it from working when you are not using it, and it is an effective way to combat battery discharge.
Go to Settings → Applications → All applications. Find the list “lens” or “scanner.” Select Battery (or “charge consumption”) and set the value “No restrictions” in the mode “Limit background activity” or “Save charge.” In some versions of MIUI, the option “Autostart” is available – turn it off for this application.
Also, check the permissions. In the access rights menu, deny the app access to Camera, Location, and Contacts if such points are active. Without these permissions, the scanner's functionality will be inoperable and the system will no longer actively use it.
| Management method | Difficulty | Risk to the system | Efficiency |
|---|---|---|---|
| Limitation in settings | Low. | Absent. | Medium |
| Removal via ADB | Medium | Minimum | Tall. |
| Root removal | Tall. | High-pitched | Complete. |
| Third-party launchers | Low. | Absent. | Low. |
Using third-party launchers (like Nova Launcher or Microsoft Launcher) can also help, and they often ignore Xiaomi’s system widgets and services by replacing them with their counterparts, indirectly reducing the need for a system lens.
Possible problems after removal and their solution
After the system component is forced to be removed or frozen, users may encounter a number of errors, the most common problem is the failure of desktop widgets, which are tied to scanning or recognition functions, and certain formats may stop opening links.
If you see persistent “App Stopped” pop-up errors after deleting, or your phone goes into reboot, you need to restore the deleted packet. For ADB users, there is a command to re-install the system application for the current user.
adb shell cmd package install-existing com.miui.videoplayerIn the case of root rights, recovery is possible only through restoring a backup or flashing the device. Using the Recovery function in the Recovery (TWRP) can return the system partition to its original state if a backup was made before the intervention.
💡
Removing system components is a balance between wanting to clean the system and risking loss of stability. Always start with the least radical methods, such as limiting background activity.
In some cases, errors may not be directly related to the removal of the “lens”, but are the result of a conflict between versions of the libraries of Google Play Services and residual MIUI files. Clearing the cache of Google services often helps to solve the problem of incorrect behavior of the system.