Camera freezes on Xiaomi smartphones are one of the most common problems faced by users of devices on MIUI. Symptoms can vary from small slowdowns when you start the application to a complete โfadingโ of the image or crashes with an error. Most often the problem occurs on models Redmi Note 10/11/12, POCO X3/X4/X5 and flagship Xiaomi 12/13/14, but does not bypass and budget devices like Redmi A2 or POCO M5.
In 80% of cases, camera lags are not caused by hardware failures, but by software failures: overloaded cache, application conflicts or outdated firmware. However, you can not ignore the problem โ constant freezes not only spoil the shooting experience, but can also indicate more serious malfunctions, such as overheating of the processor or damage to the camera module. In this article, we will analyze all possible causes and give unique solutions that are not in the standard instructions from Xiaomi, including hidden settings and debugging commands.
Reset and basic checks
Before you start complex manipulations, do the simplest steps that solve the problem in 30% of cases:
- ๐ Reboot your smartphone. Long periods of time without rebooting lead to a buildup of temporary files that can block the camera. Hold the power button for 10 seconds until the reboot menu appears.
- ๐ฑ Check the space available if you have less than 1 GB of memory left, MIUI starts aggressively optimizing background processes, which can cause lags. โ Warehouse.
- ๐ Make sure the battery is not discharged. At a charge level below 15%, the system automatically limits performance, which affects the camera's performance.
- ๐ก๏ธ Control the temperature. If the case is hot, let the device cool down. 10โ15 Overheating is a common cause of Snapdragon hanging. 7xx/8xx.
If the camera is still laying after the reboot, move on to the next step. Note: if the freezes occur only in one app (for example, Instagram or TikTok), the problem is most likely in the software itself, not in the hardware part of the smartphone.
2. Cleaning the cache and data of the Camera application
Accumulated cache is the main cause of brakes. In MIUI, the camera cache can take up to 500 MB, and when files are damaged, it causes freezes.
- Open Settings โ Applications โ Application Management.
- Find the Camera app (or Camera on global firmware).
- Slip on the vault and cache โ Clear the cache.
- If the lags repeat, go back to the same menu and select Clear Data (this will reset the camera settings to factory settings).
Important! After cleaning the data, user settings (such as HDR or manual mode) may be reset. Record or take a picture of the current settings in advance.
Make a backup of photos
Remember the current camera settings
Close all background applications
Connect the charger (if the charge is below 30%)
-->
If the cleanup didnโt work, try rolling back the Camera app updates (if it was updated through Google Play):
- Go to Settings. โ Annexes โ Camera. โ Three points (โฎ) โ Remove updates.
- Reboot your smartphone.
3. Checking conflicts with other applications
Camera lags often call third-party programs, especially those that use the camera in the background: messengers (WhatsApp, Telegram), social networks (Instagram, Snapchat), or shooting apps (GCam, Open Camera), to identify the โculpritโ:
- Close all applications through Recent Tasks (Swipe Up and Hold).
- Launch the camera and check if there are lags.
- If the camera is working normally, alternately open the applications until you find one, after which the freeze begins.
You find a problem app? You use an algorithm.
- ๐ Update it to the latest version.
- ๐ซ Limit background activity: Settings โ Annexes โ Select the application โ Battery โ Limit background activity.
- ๐๏ธ Remove and install again.
- ๐ก๏ธ Turn off camera permissions: Settings โ Confidentiality โ Permits โ Camera.
List of apps that most often conflict with the Xiaomi camera
A special case: if the lags appeared after installing GCam (Google Camera), the problem may be incompatibility with your model. Check the port version on the 4PDA or XDA Developers forum - some builds require additional settings in the config.xml file.
4. Update firmware and rollback to stable version
Camera failures are often associated with firmware bugs, especially if you are using MIUI beta or custom software.
- Go to Settings โ About the phone โ System update.
- If you have an update, install it. Importantly, make sure that you have a battery charge above 50 percent before you upgrade.
- After installation, restart your smartphone and check the camera.
If the lags appeared after the last update, the problem may be with the new version of MIUI.
- ๐ฅ Download stable firmware for your model from the official Xiaomi website.
- ๐ง Install it through Settings. โ The phone. โ Updating the system โ Three points (โฎ) โ Select a firmware file.
- โ ๏ธ Warning: rollback to the old version may result in a data reset. backup in advance via Settings โ Additionally. โ Backup and reset.
For power users, if the camera is lagging due to bugs in the camera drivers, you can try flashing the vendor or persist partition through Fastboot. However, this is a risky procedure - if you make a mistake, the smartphone may stop turning on.
๐ก
If after the update the camera began to lay, and the rollback does not help, try resetting the camera settings to the factory. /sdcard/DCIM/.data/camera_settings.xml (You will need root or file manager permissions with access to system folders).
5. Reset settings and test in safe mode
If previous methods failed, the problem may lie in system settings or conflicts with user data. Start by resetting the camera settings:
- Open the Camera app.
- Tap on. โ๏ธ Settings โ Restore the default settings.
- Reboot your smartphone.
If that doesnโt help, check the cameraโs performance in Safe Mode, where all third-party apps are disabled:
- Hold the power button until the off menu appears.
- Slip and hold the option to turn off until the prompt to go to Safe Mode appears.
- Confirm and wait for the reboot.
- Launch the camera and check its performance.
If the camera is operating normally in safe mode, the problem is in one of the installed applications, and if the lags are left, the system or the hardware is to blame.
โ ๏ธ Note: On some Xiaomi models (e.g. Redmi Note 10 Pro), Safe Mode can disable access to the main camera, leaving only the front camera.
The last measure is a hard reset, which will delete all the data, so first:
- Save photos and videos to your PC or cloud.
- Export contacts and SMS.
- Write down the Mi Account (login and password).
For discharge:
- Go to Settings โ Additional โ Backup and Reset โ Reset settings.
- Choose to erase all data and confirm.
6. Checking of hardware faults
If the software methods didn't work, the problem could be a physical breakdown.
| Symptoms. | Possible cause | Decision |
|---|---|---|
| The camera freezes when focusing. | Autofocus or lens module damaged | Replacement of the module in the service center |
| Lags for shooting video in 4K/60fps | Processor overheating or heat sink malfunction | Cleaning from dust, replacing thermopaste |
| Artifacts on screen when viewed through a viewfinder | Damage to the camera plume | Diagnosis and replacement of the plume |
| The camera does not start after falling | Disconnection of the module connector | Disassembly and inspection of connections |
To diagnose hardware malfunctions on your own:
- Try to start the camera in manual mode (PRO). If the lags occur only in automatic mode - the problem is in the software.
- Shoot the video at 1080p/30fps. If the lags are gone, it's overheating at high load.
- Put a flashlight in the lens, and if you see colored spots on the screen, the matrix is damaged.
โ ๏ธ Warning: If your smartphone has fallen or been exposed to moisture, don't try to disassemble it yourself! Xiaomi uses fragile plumes that are easily damaged when unprofessional repairs. Contact an authorized service center - warranty repairs can be free.
Hidden Test: Enter ##4636## in the phone dialer, select Phone Information, and check the camera Usage Time setting. If the value is greater than 50-60%, the module is running at its limit, which may indicate a malfunction.
7. Alternative solutions for advanced users
If the standard methods donโt work, try these non-obvious methods:
- ๐ง Shutdown MIUI Optimization (requires an unlocked bootloader):
adb shell
settings put global miui_optimization 0This command disables aggressive MIUI optimization, which sometimes conflicts with camera drivers.
- ๐ฑ Installing a custom core (such as FrancoKernel or Kirisakura) can improve camera performance on legacy models.
- ๐ Replace the camera app with Google Camera (GCam) with the right config for your model.
- ๐ ๏ธ Manual setting GPU-rendering:
adb shell
setprop debug.hwui.renderer skiagl
setprop debug.egl.hw 0These commands force the software rendering, which can help with image artifacts. Attention: after applying some commands, graphical glitch in the interface may occur - return the settings back if the problem worsens.
๐ก
Before use ADB-Make sure you have the debugging enabled. USB (Settings โ The phone. โ Version. MIUI โ Tap 7 times, then Settings โ Additionally. โ For developers โ Debugging by USB).