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).
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:
- Open your browser and enter chrome://settings/content/camera.
- Make sure the "Allow" section indicates the https://[site] that you want access to.
- 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.
- Go to Settings β Applications β Application Management β Chrome.
- Slip on the three dots in the top corner and select Disable MIUI Optimization.
- 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:
- Activate Developer Mode (if not already done): Settings β About Phone β MIUI version (shap 7 times).
- Back to Settings β Additionally. β For developers.
- Find the option "Optimize MIUI" and turn it off.
- 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 conflict | Symptoms | Decision |
|---|---|---|
| Optimization of MIUI | The camera works in other applications, but not in the browser. Once you reset, the permissions are reset. | Disable optimization in the developer settings. |
| Safe Mode | The camera is running in Safe Mode, but not in normal mode. | Remove conflicting applications (antiviruses, optimizers). |
| An outdated version of MIUI | There is no option "Special Access" in the privacy settings. | Upgrade to MIUI 13+. |
| VPN/Proxy | A 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:
- Connect your phone to your PC and enable debugging via USB.
- 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?
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:
- Install global firmware (e.g. Global or EEA) via the Mi Flash Tool.
- 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.
- Open Chrome, tap three dots β "Computer Version".
- 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.