A powerful but simple Xposed module that unlocks hidden camera features on the Xiaomi Redmi Note 12 Pro 5G (ruby).
Xiaomi software restricts many camera capabilities on mid-range devices. This module bypasses these artificial restrictions by directly hooking into the Xiaomi Camera application at runtime.
Enabling the module allows you to cleanly toggle hidden features without modifying your system files. You can turn on each feature from the CameraTools app, and a toast will confirm if the hook was successful when the Camera app opens.
Note
Designed specifically for the Redmi Note 12 Pro 5G (ruby) running Xiaomi HyperOS or MIUI. While some features may work on other MediaTek Dimensity devices, this module targets the MT6877 camera capabilities.
(For developers wanting to see the technical reverse-engineering notes, please check our ruby reverse engineering repository.)
- 4K 60FPS Video Recording: Unlocks smooth 4K video recording at 60 frames per second.
- Ultra High Video Quality: Improves video recording quality (150 Mbps bitrate) for clearer videos without compression artifacts.
- 50MP RAW Photos: Enables uncompressed 50-megapixel RAW photos in Pro Mode.
- 50MP Normal Photo: Forces the standard Photo mode to take full 50-megapixel pictures automatically instead of pixel-binning to 12MP.
- Leica Camera Modes: Adds Leica Authentic and Leica Vibrant camera modes and the official Leica watermark.
- Dual-Camera Video: Record video using the front and rear cameras at the same time.
- Pro Mode Long Exposure: Allows taking very long exposure photos (up to 60 seconds) in Pro Mode for astrophotography.
- Disable Overheating Limits: Stops the camera from closing automatically when the phone gets warm during long video recording sessions.
- Rooted device running Android 13+ (MIUI / HyperOS)
- LSPosed (or compatible framework like Vector) installed and active
- Install APK from Releases
- Enable the module in your Xposed manager and ensure the Camera (com.android.camera) app is checked in the scope.
- Reboot your device (or force-stop the camera if your framework supports hot reload).
- Open the CameraTools app and toggle your desired features.
- Tap Restart Camera inside the app to apply changes immediately.
If a feature fails to hook or crashes your camera, please create a GitHub issue and attach your LSPosed/Vector logs as well as a crash log (�db logcat -b crash).