CameraTools

A powerful but simple Xposed module that unlocks hidden camera features on the Xiaomi Redmi Note 12 Pro 5G (ruby).

Android 13+ Xposed API 93+ Downloads

About this module

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.)

Features

  • 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.

Requirements

  • Rooted device running Android 13+ (MIUI / HyperOS)
  • LSPosed (or compatible framework like Vector) installed and active

Install

  1. Install APK from Releases
  2. Enable the module in your Xposed manager and ensure the Camera (com.android.camera) app is checked in the scope.
  3. Reboot your device (or force-stop the camera if your framework supports hot reload).
  4. Open the CameraTools app and toggle your desired features.
  5. Tap Restart Camera inside the app to apply changes immediately.

Reporting issues

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).

License

GPL-3.0-only

Releases

9/11/2026, 6:46:26 AM

🎬 CameraTools v1.1.0 Release Notes

🚀 What's New in v1.1.0:

  • Dual Video (Director Mode / Mode 204) UNLOCKED & FULLY WORKING:
    • Unlocked simultaneous front (OV16A1Q) + rear (Sony IMX766) multi-camera concurrent streaming and recording on Redmi Note 12 Pro 5G (ruby / MediaTek Dimensity 1080 MT6877).
    • Bypassed HAL multi-camera restrictions (onValidateOpenLocked return bypass and max concurrent stream bump).
    • Fixed MediaTek session operating mode (rewriting vendor Qualcomm session types 0x9005 to standard Android SESSION_REGULAR).
    • Added hooks for DualVideoModuleUtil, ComponentRunningDualVideo, and Checker hardware bypass.
    • Cleaned up debug method tracing for optimal camera responsiveness.
  • Modernized Dashboard UI & Verified Package Structure:
    • Full OLED-dark UI dashboard with per-feature colored pill badges, haptic feedback, and smart Enable/Disable All toggle.
    • Updated verified module ID to io.github.official_arvind.cameratools.

🌟 All Features Included:

  1. 4K 60FPS Video Recording: Unlocks true 3840x2160 @ 60 FPS recording with 60 FPS toggle switch.
  2. Cinematic Ultra Bitrate (150 Mbps): Boosts 4K video recording up to 150 Mbps HEVC for studio master quality.
  3. 50MP Full Bayer RAW (DNG): Enables true 50-megapixel uncompressed RAW sensor capture in Pro Mode.
  4. Leica Authentic & Vibrant Profiles + Branded Watermark: Injects official Leica color profiles and branding.
  5. Dual-Camera Concurrent Stream (Director Mode): Full concurrent front + rear recording.
  6. Extended Pro Exposure Range: 60s long exposure astrophotography down to 1/16000s shutter.
  7. Complete Thermal Warning & Shutdown Bypass: Prevents camera close dialogs or recording halts under high temperature.

Package: io.github.official_arvind.cameratools
Version Code: 101
Version Name: 1.1.0