Telegram

Xiaomi Poco X5 Pro / Redmi Note 12 Pro Speed: Unleashing Performance with Custom ROMs and Magisk Modules

The Xiaomi Poco X5 Pro and Redmi Note 12 Pro are impressive mid-range devices, offering a compelling blend of features and performance. However, for enthusiasts seeking to maximize their device’s potential, exploring custom ROMs and Magisk Modules can unlock a new level of speed, customization, and control. In this comprehensive guide, we delve into the world of custom ROMs, focusing on Android 15-based options, and explore how to install them, optimize performance, and enhance functionality using Magisk. We will focus in particular on the Rising Revived OSS ROM for the Poco X5 Pro / Redmi Note 12 Pro “redwood” device.

Understanding the Appeal of Custom ROMs for Xiaomi Devices

While Xiaomi’s MIUI offers a feature-rich experience, it can also be resource-intensive and may not cater to every user’s preferences. Custom ROMs, on the other hand, provide a streamlined, often near-stock Android experience, allowing for greater customization and performance optimization. Some key benefits include:

Rising Revived OSS: A Deep Dive into Android 15 for “Redwood”

Rising Revived OSS is a custom ROM built with a focus on stability, performance, and customization. Built on the latest Android 15 source code, this ROM brings the newest features and improvements to the Poco X5 Pro and Redmi Note 12 Pro.

Key Features of Rising Revived OSS

Preparing for Installation: Essential Prerequisites

Before flashing any custom ROM, it’s crucial to take the necessary precautions to avoid data loss or device instability.

  1. Unlock the Bootloader: Unlocking the bootloader is the first step towards installing a custom ROM. This process erases all data on your device, so ensure you have a backup. Xiaomi provides an official method for unlocking the bootloader, which typically involves waiting a few days after submitting the request.
  2. Backup Your Data: Create a full backup of your important data, including photos, videos, contacts, and documents. You can use cloud storage, a computer, or a dedicated backup app.
  3. Download Required Files: Download the Rising Revived OSS ROM zip file, the appropriate boot, dtbo, and vendor_boot images for your device, and the latest version of ADB and Fastboot tools.
  4. Install ADB and Fastboot: ADB (Android Debug Bridge) and Fastboot are essential tools for flashing custom ROMs and performing system-level operations. Download the platform tools from Google’s official website and extract them to a convenient location on your computer.

Installation Guide: Flashing Rising Revived OSS

We will now outline two primary methods for installing the Rising Revived OSS ROM: using AOSP Recovery (Clean Flash) and using TWRP Recovery. Always make sure to follow the instructions closely to avoid any potential issues.

Method 1: Clean Flash with AOSP Recovery

This method is recommended for users who want a fresh start and ensures a clean installation of the ROM. It will erase all data on your device.

  1. Download Images: Obtain the boot.img, dtbo.img, and vendor_boot.img files specific to your Poco X5 Pro / Redmi Note 12 Pro.

  2. Connect to PC: Connect your device to your computer using a USB cable.

  3. Reboot to Fastboot: Enter fastboot mode by pressing the power button and volume down button simultaneously.

  4. Flash Images: Open a command prompt or terminal window on your computer and navigate to the directory where you extracted the ADB and Fastboot tools. Execute the following commands one by one:

    fastboot flash vendor_boot vendor_boot.img
    fastboot flash dtbo dtbo.img
    fastboot flash boot boot.img
    fastboot reboot recovery
    
  5. Wipe Data: In the AOSP recovery menu, select “Wipe Data/Factory Reset” and confirm.

  6. Sideload ROM: Select “Apply Update” from ADB and sideload the Rising Revived OSS ROM zip file using the following command:

    adb sideload Rom_Name.zip
    

    Replace “Rom_Name.zip” with the actual name of the ROM file.

  7. Wipe Data Again (Optional): After installation is complete, you can optionally perform another data wipe.

  8. Reboot System: Select “Reboot System.”

  9. Reboot to recovery to sideload any add-ons ( e.g magisk, firmware, gapps etc ).

Method 2: Dirty Flash (Without Data Format)

This method allows you to update the ROM without losing your data. However, it is recommended only if you are already running a compatible custom ROM. It may also cause unexpected errors and is not recommended when switching between ROMs, or major Android version changes.

  1. Reboot to Recovery: Enter recovery mode by holding the power button and volume up button simultaneously.

  2. Apply Update via ADB: In the recovery menu, select “Apply update through ADB.”

  3. Sideload ROM: Sideload the Rising Revived OSS ROM zip file using the following command:

    adb sideload Rom_Name.zip
    

    Replace “Rom_Name.zip” with the actual name of the ROM file.

  4. Reboot System: After installation is complete, select “Reboot System.”

Addressing Partition Slot Issues

In some cases, your device may not automatically switch between partition slots. If you encounter issues after flashing the ROM, you can manually change the active slot using the following steps:

  1. Reboot to Bootloader:

    adb reboot bootloader
    
  2. Check Current Slot:

    fastboot getvar current-slot
    
  3. Set Active Slot: If the current active slot is A, set it to B, and vice versa:

    fastboot --set-active=b
    

    or

    fastboot --set-active=a
    
  4. Reboot:

    fastboot reboot
    

Resolving Linux Fastboot Permission Errors

On Linux systems, you may encounter permission errors when using Fastboot. To resolve this, try using the sudo command with the full path to the Fastboot executable:

sudo $(which fastboot) devices
sudo $(which fastboot) flash vendor_boot vendor_boot.img

And so on for all fastboot commands.

Method 3: Flashing ROM with TWRP Recovery

This method uses TWRP (Team Win Recovery Project) custom recovery.

Prerequisites

Installing TWRP

  1. Extract Platform Tools: Extract the downloaded platform tools to a directory (e.g., C:\platform-tools). Copy the downloaded TWRP image (twrp-TheStrechh-RX.img) into this folder.

  2. Open Terminal: Open a command prompt or terminal in the platform-tools directory.

  3. Flash TWRP: Connect your phone to your computer in fastboot mode (usually by pressing Power + Volume Down). Then flash TWRP using the following command:

    fastboot boot twrp-TheStrechh-R2.img
    

    Your device will boot into TWRP.

  4. Install TWRP Permanently (Optional): In TWRP, go to Advanced and select “Flash current TWRP” to install TWRP permanently. If you skip this step, TWRP will be replaced by the stock recovery upon reboot.

Installing ROM with TWRP

First Option

  1. Download ROM: Download the custom ROM zip file to your device.
  2. Install ROM: In TWRP, tap “Install,” and select the ROM .zip file. Confirm the installation.
  3. Wipe Data (For Clean Flash): If performing a clean flash, go to “Wipe” -> “Format Data” and type “yes”. Then go to “Advanced Wipe” and wipe “Cache”. Note: This step will erase all your data! Skip this if you’re doing a dirty flash (updating the ROM).
  4. Change Active Slot: Go to “Reboot” -> “Change Active Slot”. If your active slot was A, select B. If it was B, select A. The current active slot is indicated on the screen.
  5. Flash TWRP (Important): Go to “Advanced” -> “Flash current TWRP.” This step is essential to prevent losing TWRP after rebooting.
  6. Reboot System: Finally, tap “Reboot” -> “System”. Your device will now boot into the new ROM.

Second Option

  1. Boot in TWRP
  2. Format data -> yes
  3. Install the ROM with adb sideload -> adb sideload rom.zip in adb terminal.
  4. Back to TWRP Home, go to Advanced -> flash current TWRP . If you forget this step, you’ll lose TWRP after reboot.
  5. Reboot recovery and flash the gapps of your choice.
  6. Reboot system and enjoy.

Enhancing Performance with Magisk Modules

Once you have successfully installed Rising Revived OSS, you can further enhance its performance and functionality using Magisk Modules. These modules are small, easily installable packages that modify system files without altering the core ROM. This makes them a safe and convenient way to customize your device.

Installing Magisk Modules

  1. Install Magisk: If you haven’t already, install Magisk by flashing the Magisk zip file through TWRP recovery.
  2. Download Modules: Download the desired Magisk Modules from the Magisk Module Repository or other trusted sources.
  3. Install via Magisk Manager: Open the Magisk Manager app, tap the “Modules” icon, and select “Install from storage.” Choose the downloaded module zip file and tap “Install.”
  4. Reboot: After the module is installed, reboot your device for the changes to take effect.

Managing Magisk Modules

The Magisk Manager app allows you to easily enable, disable, or uninstall modules. You can also update modules through the app.

Troubleshooting Common Issues

Conclusion: Embrace the Power of Customization

By flashing Rising Revived OSS and utilizing Magisk Modules, you can transform your Xiaomi Poco X5 Pro or Redmi Note 12 Pro into a powerhouse of performance and customization. Remember to follow the instructions carefully and back up your data before making any modifications. With a little patience and effort, you can unlock the true potential of your device and enjoy a personalized Android experience. Visit the Magisk Modules Repository at Magisk Module Repository for a wide selection of modules to enhance your device.

Explore More
Redirecting in 20 seconds...