How to turn off autofocus on Xiaomi smartphones: all working methods

Autofocus on Xiaomi smartphones often works in unpredictable ways: it clings to the background instead of the subject, then constantly adjusts to dynamic scenes. This is especially annoying when shooting macro, video or using manual settings when you need to fix the focus on a particular point. Unfortunately, the manufacturer has not added an obvious button to turn off autofocus in the standard camera application, but there are several proven ways to get around this limitation.

In this article, we’ll break down all the current ways to disable autofocus on Xiaomi, from hidden features in MIUI Camera to using third-party apps and ADB commands. We’ll describe the nuances for different models (from Redmi Note 10 to Xiaomi 14 Ultra), and also warn about the possible consequences of each method. If you’re tired of constantly β€œrefocusing” the camera, read on.

Why is Xiaomi’s autofocus not working properly?

Autofocus issues on Xiaomi smartphones are usually due to three factors:

  • πŸ” Algorithms MIUI: The firmware aggressively optimizes your shots, including forced focus on β€œkey” objects (faces, textures), even if you’ve chosen a different point.
  • πŸ“± Hardware restrictions: Budget models (e.g. Redmi) 9A or POCO M3) use simplified autofocus modules with a laser or contrast sensor, which are worse at handling dynamic scenes.
  • πŸ€– Calibration errors: After drops or firmware updates, the calibration of the lenses can be lost, which causes the focus to β€œfloat” even in static frames.

Interestingly, on flagships (Xiaomi 13 Pro, Mix Fold 3), the problem often manifests itself in Pro mode: the camera ignores manual focus and returns to automatic after 1-2 seconds. This is not a bug, but a feature of MIUI - this is how the manufacturer tries to "help" users not to spoil the frame. Fortunately, it can be turned off.

πŸ“Š How often do you get annoyed by autofocus on Xiaomi?
Always, especially with macro
Sometimes, in specific scenes.
I used to worry, but I used to.
Never noticed a problem.

Method 1: Focus fixation in a standard MIUI camera

The easiest way to trick autofocus is to use the built-in focus lock feature, which is available in all versions of the MIUI Camera, but hidden in the depths of the menu.

  1. Open the Camera app and go to Photo or Video mode.
  2. Touch the screen at the point where you want to fix the focus (a yellow square will appear).
  3. Hold your finger on the screen for 1-2 seconds until the AE/AF Lock (Blocking Exposure and Focus) appears.
  4. Release your finger and the focus will remain fixed even if you move the camera.

⚠️ Note: On some models (POCO X3, Redmi Note 11) The lock is reset after one frame or when the lighting changes, and you have to repeat the procedure to get it back.

Make sure the camera settings turn on Focus when touching | Try to lock the focus in different modes (Photo, Portrait, Night) | Check if the lock is maintained when the distance to the object changes | If the focus is reset, try restarting the camera app-->

This is a one-off technique, but it doesn't solve the problem completely, and it's going to require more radical measures to permanently shut down autofocus.

Method 2: Using Pro-mode (manual settings)

In Pro mode (aka Manual or Professional), it is theoretically possible to turn off autofocus by moving the Focus slider to the MF (Manual Focus) position.

  • πŸ“Έ On Redmi and POCO manual focus is often β€œreset” in 1-2 seconds.
  • πŸ”„ On flagships (Xiaomi) 12T, 13 Ultra) focus slider may not be available at all.
  • 🚫 On some firmware (MIUI 14 and later) manual focus is blocked when shooting video.

To circumvent these restrictions:

  1. Open the camera. β†’ More. β†’ Professional.
  2. Touch the MF icon (if any) and manually adjust the focus with a slider.
  3. If the slider is missing, try holding your finger on the screen for 3-5 seconds – sometimes this will unlock hidden settings.
  4. For video: Enable Pro mode for video in the camera settings (if available).
Why can't a manual focus work?
On Xiaomi’s budget models (like the Redmi 9C or POCO C31), the camera hardware doesn’t support full manual focus. Even if there’s an MF slider in the interface, it’s emulated software and is essentially limited-range autofocus, which is due to the use of cheap fixed focus modules (FF – Fixed Focus).

If manual focus is not available or is not working smoothly, proceed to the following method.

Method 3: Third-party applications for the camera

The most reliable way to turn off autofocus is to use alternative cameras that give you complete control over settings.

AnnexSupport for manual focusCompatibility with XiaomiFeatures
Google Camera (GCam)βœ… Complete.⚠️ Requires a config for the modelBetter quality shots, but autofocus may work differently than MIUI
Open Cameraβœ… Complete (including) MF)βœ… Most modelsSimple interface, RAW support, but worse HDR processing
ProCam Xβœ… Complete. + lockdownβœ… All models.Paid version, but there is a trial period
Footageβœ… For the video.βœ… Flagships (Snapdragon) 8xx)Specializes in video shooting with manual focus

πŸ”Ή Recommendation: Open Camera is best for photos, it is free, supports Manual Focus on most devices and allows you to fix the focus indefinitely. For video, try Footage (if your model is supported).

⚠️ Note: On some models (Xiaomi 12 Lite, Redmi Note 11 Pro)+) Third-party cameras may not see all modules (e.g. telephoto or macro.

Method 4: Disabling Autofocus through ADB (for Advanced)

If you need to turn off autofocus completely at the system level (for example, for continuous macro shooting or camera testing), you can use ADB commands. This method requires an unlocked bootloader and enabled debugging over USB, but gives maximum control.

Instructions:

  1. Turn on Developer Mode (7 times click on the MIUI version in Settings β†’ About Phone).
  2. Activate Debugging by USB in Settings β†’ Additional β†’ For developers.
  3. Connect your phone to your PC and execute the command: adb shell settings put global camera_af_mode 0 (where 0 β€” autofocusing, 1 β€” switchback).
  4. Reset the device.

⚠️ Note: This method can cause the camera to fail in some applications (e.g. TikTok or Instagram).In addition, on models with multiple modules (wide-angle, telephoto), autofocus can only turn off on the main lens.

πŸ’‘

Before using ADB, back up your camera settings through Settings β†’ Apps β†’ Camera β†’ Storage β†’ Backup. This will help you quickly recover if something goes wrong.

Method 5: Setup the camera through Engineering Mode (engineering menu)

The Engineering Mode can fine-tune autofocus settings, including focus speed and sensor sensitivity, which is suitable for advanced users, as incorrect settings can impair the quality of the shooting.

How to open the Engineering Mode:

  1. Type the code ##4636## in the phone app (some models may require ##3644633##).
  2. Choose Hardware Testing β†’ Camera.
  3. Scroll to the AF Calibration or Focus Settings section.
  4. Turn off Auto Focus or Continuous AF options (if available).

πŸ“Œ Important: In the engineering menu, it is not recommended to change the values AF Position or Lens Calibration – this can cause physical damage to the camera module.

Frequent problems and solutions

Even after you turn off autofocus, you might have some unexpected difficulties.

  • πŸ”΄ Focus is not fixed in macro mode: Most Xiaomi macro shooting is forced to use autofocus. The solution is to use a third-party camera (such as Open Camera) with manual focal length adjustment.
  • πŸ”΄ Video 'wash' with manual focus: This is because firmware is trying to compensate for the lack of autofocus with software processing.Solution is to disable Video enhancement in camera settings.
  • πŸ”΄ After updating MIUI Autofocus is back: Reset camera settings to factory (Settings) β†’ Annexes β†’ Camera. β†’ Warehouse β†’ Clear the data).

If neither method worked, the problem could be hardware, such as the Xiaomi Mi 11 and 12 Pro, which have a floating focus bug due to a laser sensor defect, and only a service center will help.

πŸ’‘

On models with optical zoom (such as the Xiaomi 13 Ultra or Mix Fold 2), disabling autofocus can make it impossible to use a telephoto lens. Before experimenting, check the operation of all modules manually.

Can autofocus be turned off for macro photography only?
No, there is no separate macro setting in a standard MIUI camera, but you can use the Open Camera app, where you can manually set the focal length (e.g., 4-6 cm for macro) and fix it.
Why did some camera functions stop working after ADB turned off autofocus?
Adb shell settings put global camera_af_mode 0 disables autofocus at the system level, which can conflict with applications using API Cameras (like Snapchat or WhatsApp) To return everything back, run the same command with the setting. 1 instead 0.
My Redmi Note 12 doesn't have a manual focus in Pro mode. What do I do?
This is a hardware limitation: Redmi and POCO budget models often come with simplified cameras without Manual Focus support. Try installing a Google Camera with a config for your model - sometimes this adds missing features.
Can I turn off autofocus for video only?
Yes, but only through third-party apps like Footage or Cinema FV-5. The standard MIUI camera doesn't have separate settings for photos and videos - autofocus is turned off globally.
After the upgrade to MIUI 15, all the ways to turn off autofocus stopped working.
Xiaomi regularly tightens restrictions on access to the camera API. If previously working methods (for example, through Engineering Mode) have ceased to work, try: Reverse to the previous version of the firmware. Use Magisk modules to unlock hidden features (for example, Xiaomi Camera Features Enabler). Install custom firmware (for example, Pixel Experience), where autofocus is more flexible.