Xiaomi smartphones are known for their feature-rich software, but sometimes users face the need to change the camera app by default. This may be due to the desire to use alternative software with advanced features, fix bugs of a standard application. MIUI Camera, or just test new features. But not everyone knows that it's a very good idea. MIUI This procedure has its own nuances - from hidden settings to system limitations.
In this article, weβll look at all the current ways to change the default camera on Xiaomi, Redmi and POCO devices β from simple methods through the interface to advanced solutions using ADB. Particular attention will be paid to typical errors (for example, when the system ignores changes) and give recommendations for specific models such as the Xiaomi 13 Pro or Redmi Note 12. If you want to use Google Camera, Open Camera or another application instead of the standard one β read on.
Why you canβt change the default camera to Xiaomi
Before we get to the instructions, itβs important to understand why MIUI sometimes blocks the default camera change.
- π Limitations MIUI: Starting with the version MIUI 12, the system actively protects standard applications, including the camera, due to the optimization of work with iron (for example, with Leica sensors in flagships).
- π± Manufacturing settings: On some models (e.g. Xiaomi) 12S Ultra camera integrated into firmware at the core level, and its replacement requires root rights.
- π Application Conflict: If you have multiple alternative cameras installed (such as GCam and Footage), the system may reset default settings.
- π οΈ Updates: After the update MIUI or HyperOS settings can be reset, and the camera will have to reassign.
Also, on devices with a locked bootloader (most Xiaomi smartphones are sold in this state), some methods simply wonβt work. For example, trying to change the camera through the ADB without unlocking can lead to a Permission denied error.
Method 1: Change the default camera through MIUI settings
The easiest method is to use the built-in system settings, which is suitable for most MIUI 12-14 and HyperOS models, but may not work on custom firmware devices.
- Open the Settings app (cog icon).
- Go to the Appendix section β Application management.
- Click on the three dots in the top right corner and select the Default Apps.
- Slip on the camera.
- In the list, select the app you want (like Google Camera or Open Camera).
If your app is not on the list, make sure it is installed and has permission to use the camera.
- Go back to Application Management.
- Find your camera app in the list and tap it.
- Select Permissions and enable access to Camera, Microphone and Warehouse.
Install an alternative camera app from Google Play or APK
Check out the MIUI version (Settings β About Phone β MIUI version)
Turn off battery optimization for the camera app (Settings β Battery β Battery Optimization)
Reboot your smartphone before changing your settings-->
β οΈ Note: On certain devices (e.g, POCO F5) When the camera is changed, the default feature may be no longer available for functions such as night mode or macro photography, because alternative applications do not always support proprietary Xiaomi algorithms.
Method 2: Using ADB to force a camera change
If the standard method didn't work, you can use Android Debug Bridge (ADB), which requires connecting your smartphone to your computer, but gives you more control, and is suitable for devices running MIUI 11-14 and HyperOS.
First, turn on the USB debugging:
- Go to Settings. β The phone.
- Tap 7 times on the MIUI version to activate the developer mode.
- Back to Settings β Additionally. β For developers.
- Turn on USB debugging and confirm the action.
Now connect your smartphone to your PC and execute the commands:
adb shell pm list packages | grep camera # View the list of installed cameras
adb shell pm clear --user 0 com.android.camera # Reset the settings of the standard camera (optional)
adb shell cmd role add-package android.app.role.CAMERA com.package.name # Replace com.package.name with your app packageTo find out the alternative camera package, use the command:
adb shell pm list packages | grep -i cameraFor example, for Google Camera, the package is usually com.google.android.GoogleCamera, and for Open Camera, it is net.sourceforge.opencamera.
| Camera appendix | Packet name (example) | Does MIUI support the |
|---|---|---|
| Google Camera (GCam) | com.google.android.GoogleCamera | Partially (may not work night mode) |
| Open Camera | net.sourceforge.opencamera | Yes, but without proprietary functions. |
| Footage | com.almalence.opencam | Yes, with limitations. |
| MIUI Camera (standard) | com.android.camera | Full support |
β οΈ Note: After completing commands through ADB If the camera hasn't changed, check if the settings have reset since the reboot, which is a common problem. MIUI 13+. In this case, try repeating the command or using Tasker for automatic assignment.
What to do if ADB issues a βPermission deniedβ error
Method 3: Assigning a camera via Tasker or Shortcut Maker
If system settings and ADB didn't work, you can get around the limitations with automation, and you can do that with apps like Tasker or Shortcut Maker.
Instructions for Tasker:
- Install Tasker from Google Play.
- Create a new task (Tasks β +).
- Add the App β Launch App action.
- In the App field, select your camera app.
- Create a shortcut on the home screen for this task.
Instructions for Shortcut Maker:
- Install Shortcut Maker.
- Select Activity from the list of shortcut types.
- Find your camera app in the list and select the main activity (usually called.MainActivity).
- Create a shortcut on the main screen.
These methods donβt change the default camera at the system level, but let you quickly run the desired application with one tap, useful if you use multiple cameras for different scenarios (for example, GCam for photo and standard for video).
π‘
If you switch between cameras often, create a widget with both camera shortcuts on the home screen. To do this, keep your finger in the free space of the screen β Widgets β Select βApp Shortcutsβ or βTaskerβ.
Method 4: Remove or disable a standard camera (for advanced cameras)
The Radical method is to completely remove or disable the standard MIUI Camera, which will force the system to use the alternative default app. Careful: this method can lead to unstable smartphone performance, especially on models with proprietary sensors (for example, Xiaomi 13 Ultra with Leica).
Disconnect via settings (without root):
- Go to Settings β Applications β Application Management.
- Find the Camera (icon) MIUI Camera).
- Turn off (if the button is active).
- Confirm the action.
Remove via ADB (requires an unlocked bootloader):
adb shell pm uninstall --user 0 com.android.cameraRemoval via TWRP (requires custom recavery):
- Install TWRP Recovery.
- Load to the Recovery (Switch Off β Clip Power + Volume Up).
- Go to Advanced β File Manager.
- Delete files: /system/priv-app/MiuiCamera/MiuiCamera.apk/system/priv-app/MiuiCamera/MiuiCamera.odex (if any).
- Reboot your smartphone.
β οΈ Note: Removing a standard camera may disrupt some features, such as scanning QR-codes in Settings β Connection and sharing β QR-code or use the camera in applications like Mi Home (for Xiaomi smart devices). TWRP or Mi PC Suite.
Method 5: Using Magisk and Modules to Change Cameras
If you have root rights (obtained through Magisk), you can use specialized modules to flexibly customize the camera by default.This method is suitable for enthusiasts who want complete control of the system.
Conditions required:
- π Unlocked loader.
- π± Installed by Magisk (version 25)+).
- π οΈ App Systemizer or Default App Manager.
Instructions:
- Install the Default App Manager module via Magisk (download it from the XDA Developers forum).
- Reboot your smartphone.
- Open the Default App Manager app (appears in the menu).
- Select the Camera category.
- Specify the desired application and save the settings.
The advantage of this method is that it allows you to assign the camera by default even for system processes that usually ignore user settings, for example, after using the module, the camera on WhatsApp or Instagram will open through the app you choose.
π‘
Using Magisk and modules is the most reliable way to change the default camera to Xiaomi, but requires unlocking the bootloader and the risk of losing warranty.
Error Discovery: Why the Camera Doesn't Change or Reset
Even after successful camera change, Xiaomi users often face problems, and here are the most common mistakes and solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| The camera is reset after rebooting | MIUI resets application role settings | Use ADB or Tasker for automatic assignment |
| Alternative camera does not open from some apps (e.g. Telegram) | The application is tightly tied to the system camera | Use the Default App Manager module for Magisk |
| Error "Camera not responding" at launch | Conflict of permissions or drivers | Clean the camera cache and restart the smartphone |
| No sound when shooting video in an alternative camera | MIUI blocks access to microphone for third-party cameras | Enable the microphone permission in the app settings |
If none of the methods worked, check:
- π Version MIUI: Nana MIUI 14 and HyperOS restrictions are stricter than on older versions.
- π Firmware Region: Global (Global) and Chinese (China) versions MIUI Security settings may differ.
- π‘οΈ Antivirus or Optimizer: Applications like Security or Clean Master can block changes.