How to allow the browser to access the camera on the Xiaomi smartphone: the complete guide

Why your browser doesn’t see your camera on Xiaomi and how to fix it

You try to take a photo through the web version of Instagram, go through an online interview in Zoom through a browser or scan. QR-code on the bank's website, but Xiaomi's smartphone stubbornly ignores requests for camera access? the problem is familiar to many owners of shell devices MIUI β€” It blocks access to hardware modules by default, even if you have already allowed it in the application settings, and 80 percent of the time, it's because of permission issues, conflicts between system settings and browser settings, or an outdated version. MIUI.

In this article, we’ll look at all the possible reasons why a browser (be it Google Chrome, MIUI Browser or Firefox) can’t access a camera on Xiaomi Redmi, POCO or Mi, and provide unique solutions for MIUI 12, 13 and 14 that you won’t find in standard instructions.

Basic Permits Verification: System Level

Before you dig deeper, make sure that the camera is allowed at the operating system level. In MIUI, this is done in two steps: first for the browser itself, then for the system services it uses, skipping at least one step is guaranteed to result in a Camera access denied error.

Open Settings β†’ Applications β†’ App Management and find your browser (e.g. Chrome). Tap it, then go to Permissions β†’ App Permissions. Here the switch should be turned on opposite to Camera. If it is not, then the browser did not request access at all, and the problem lies deeper (more on this in the next section).

  • πŸ” Check the status of the permit: if it is highlighted in gray, it has never been requested; if it is in red, it has been rejected before.
  • πŸ“± For MIUI 14: Open Settings additionally β†’ Confidentiality β†’ Special access β†’ Access the camera and make sure the browser is in the list of allowed.
  • πŸ”„ Reset permissions: If the switch is inactive, try resetting the app settings through Storage β†’ Clear the data (this will delete the cache and saved passwords!).

⚠️ Note: On some models POCO F3/F4 Redmi Note 11 post-update MIUI 13.5 There's a bug when the resolution for the camera is reset after the reboot. Solution is to roll back the version of Google Play Services to 22.18.14 (instruction in the error section).

πŸ“Š What browser do you use on Xiaomi?
Google Chrome
MIUI Browser
Firefox
Opera
Other

Browser settings: hidden settings for accessing the camera

Even if everything is allowed on the system level, the browser can lock the camera due to internal security settings. Google Chrome and MIUI Browser have separate menus for controlling access to devices, which are often overlooked.

For Chrome:

  1. Open your browser and enter chrome://settings/content/camera.
  2. Make sure the "Allow" section indicates the https://[site] that you want access to.
  3. If the site is not in the list, go back to it, update the page and allow access when a request appears.

For MIUI Browser, the path is more complicated: Browser settings β†’ Privacy β†’ Site settings β†’ Camera. Here you can manually add domains to a whitelist.

Clear cache and cookies for a problematic site

Update your browser to the latest version

Disable VPN/proxy (they can block access to hardware modules)

Check if the Traffic Saving mode is enabled (it limits the functionality of the sites)-->

If the camera still doesn't work after this manipulation, try disabling MIUI optimization for the browser.

  1. Go to Settings β†’ Applications β†’ Application Management β†’ Chrome.
  2. Slip on the three dots in the top corner and select Disable MIUI Optimization.
  3. Restart the browser.

Discussions with MIUI Optimization and Safe Mode

One of the most insidious features of MIUI is the background optimization, which can block access to the camera "to save battery," which works even if you manually authorize all permissions, to turn it off:

  1. Activate Developer Mode (if not already done): Settings β†’ About Phone β†’ MIUI version (shap 7 times).
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Find the option "Optimize MIUI" and turn it off.
  4. Also disable Background Optimization for your browser in Settings β†’ Applications β†’ Application Management β†’ Chrome β†’ Battery.

If the problem appears after the system update, try to boot into Safe Mode (hold the power button β†’ long tap on "Stop" β†’ "Reboot in Safe Mode"). In this mode, all third-party applications are turned off, and if the camera works, one of them is to blame (most often it is Clean Master, DU Battery Saver or antiviruses like Avast).

Cause of conflictSymptomsDecision
Optimization of MIUIThe camera works in other applications, but not in the browser. Once you reset, the permissions are reset.Disable optimization in the developer settings.
Safe ModeThe camera is running in Safe Mode, but not in normal mode.Remove conflicting applications (antiviruses, optimizers).
An outdated version of MIUIThere is no option "Special Access" in the privacy settings.Upgrade to MIUI 13+.
VPN/ProxyA request for access to the camera appears, but immediately disappears.Disable VPN or add an exception for the browser.

πŸ’‘

If after disabling MIUI optimization, the browser started to slow down, return the settings back and instead add it to the list of "Secure applications" in the battery settings. This will save access to the camera without losing performance.

Mistakes and bugs: what to do if nothing helps

If you’ve tried all of the above methods, but your browser still can’t see the camera, the problem may be a system bug. Here’s a list of known bugs and solutions for different versions of MIUI:

  • 🐞 MIUI 12.5–13.0: A bug with Google Play Services that resets permissions.The solution is to roll back services to version 22.18.14 via Settings β†’ Annexes β†’ Google Play Services β†’ Remove updates.
  • 🐞 MIUI 14 (Redmi Note 12 Pro+): Conflict with com.miui.privacy.Centered by resetting privacy settings: Settings β†’ Confidentiality β†’ Resetting settings.
  • 🐞 POCO F4/F5: After the update, the Camera option disappears in the browser resolutions. The solution is to install Chrome Beta from APKMirror (it bypasses restrictions). MIUI).

To diagnose the exact cause:

  1. Connect your phone to your PC and enable debugging via USB.
  2. Enter in the command line: adb shell dumpsys package com.android.chrome | grep CAMERA If the answer has a line denied - a problem in system resolutions. If granted, but the camera does not work - the browser is to blame.

⚠️ Note: Some firmware (e.g. Xiaomi.EU) have the camera access disabled at the kernel level, in which case only flashing to the official global version will help. MIUI.

How to find out the version of MIUI and firmware?
Open the Settings. β†’ The phone, in the line "Version" MIUI" The current shell (e.g. 14.0.5) is indicated below in the Android version, the kernel version (e.g. 13). TKQ1.221114.001). If there are suffixes at the end of the firmware name _EEA (Europe) or _ING (India, this may affect camera access due to regional restrictions.

Regional restrictions and features of firmware

Few people know, but Xiaomi imposes regional restrictions on access to hardware modules depending on the firmware. For example, on the Indian ( ING) and Chinese ( CN) versions of MIUI, browsers are by default deprived of access to the camera due to local privacy laws, this applies even to global models if they were purchased in these regions.

Check your firmware in Settings β†’ About Phone β†’ MIUI version. If there is CN, ING or RU at the end of the name, you will need:

  1. Install global firmware (e.g. Global or EEA) via the Mi Flash Tool.
  2. Or manually edit the build.prop file (requires root rights) by replacing the ro.miui.region string with ro.miui.region=Global.

For Redmi and POCO models purchased in Russia, it is often helpful to simply change the region in settings: Settings β†’ Additional β†’ Region β†’ Select Indonesia or Singapore (these regions have minimal restrictions).

Alternative solutions: if standard methods do not work

If none of these things work, there are radical measures, and here's what you can try in order to increase the complexity.

  • πŸ”§ Resetting application settings: Settings β†’ Annexes β†’ Application management β†’ Menu (three dots) β†’ Resetting the application settings, it'll bring back all the permissions to the factory, but it won't delete the data.
  • πŸ“² Use an alternative browser: Install Firefox Focus or Brave – they bypass some limitations MIUI by its own engine.
  • πŸ”„ System rollback: If the problem appears after the update, roll back to the previous version MIUI Recovery Mode (instructions for your model are available on the forum) 4PDA).
  • πŸ› οΈ Rooting and editing system files: For power users: get root rights and edit the file /system/etc/permissions/platform.xml, line: <permission name="android.permission.CAMERA" /> for your browser.

If you are not ready for firmware experiments, try a workaround: use the web version of the service (for example, Instagram or Zoom) through the desktop mode in the browser.

  1. Open Chrome, tap three dots β†’ "Computer Version".
  2. Update the page and try to request access to the camera again.

πŸ’‘

On Xiaomi models with a Snapdragon processor (for example, Redmi Note 11 Pro+), access to the camera through the browser can be blocked at the driver level, in which case only updating the firmware to the latest version or replacing the kernel will help.

FAQ: Frequent questions about camera access in Xiaomi browser

Why did the camera stop working in Chrome after the MIUI update, even though the permissions are enabled?
The most likely fault is a bug with Google Play Services that resets permissions for system components. Try: Remove updates for Google Play Services in app settings; Clear the cache and Chrome data; Reboot your phone; If it doesn't work, roll back to the previous version of MIUI or install Chrome Beta.
Can I only give you access to a camera for certain websites?
Yes, Google Chrome does this through chrome://settings/content/camera. You can manually add or block sites. In MIUI Browser, similar functionality is hidden in Settings β†’ Privacy β†’ Site Settings. Note: some sites (such as banking) may require access to a camera to scan documents, but lock it for security. In this case, use the official app instead of a browser.
Why does the POCO X3 Pro have a camera in apps but not in a browser?
This model is known for the conflict between MIUI Optimization and camera drivers. Solutions: Disable MIUI optimization in the developer settings. Install an alternative firmware (like Pixel Experience) if you're not afraid to lose warranty. Use Kiwi Browser, which is Chrome-based but bypasses the limitations of MIUI.
How to check if the antivirus is blocking access to the camera?
Temporarily disable the antivirus (for example, Avast or 360 Security) and check the camera. If it works, add the browser to the exceptions of the antivirus or remove it completely (on Xiaomi, built-in protection MIUI Security is enough). Especially aggressive in this regard, Clean Master and DU Speed Booster - they block access to hardware modules "to save battery."
What if the browser is immediately closed when you request access to the camera?
This is a sign of a serious conflict, often involving: Broken browser files (try reinstalling it); an incompatible version of WebView (update Android System WebView to Google Play); a virus masquerading as a system application (check your phone through Malwarebytes); if the problem persists, reset to factory settings (remember to save the data!).