1 minute read


Redmi Note 12 Pro (ruby)

To flash a new update, make sure you are in FASTBOOT mode, not in FASTBOOTD — notice the ‘D’ at the end.

Then, flash with


Download the ROM from

unzip -d ~/miui

Download this:

[!NOTE] If your Mac computer uses Apple silicon, download the android-ota-extractor-v1.1-darwin-arm64.tar.gz.

To extract only the boot.img from the Recovery ROM’s payload.bin, run

./android-ota-extractor ~/miui/payload.bin boot

The boot image can be directly extracted from the ROM’s ZIP with:

./android-ota-extractor boot

[!NOTE] If on a macOS, you may need to right-click the executable, select Open, and then the Open button.

Push it to your Downloads folder:

adb push ~/Downloads/boot.img /sdcard/Download/

Now, using your phone:

  1. Open the Magisk app
  2. Press Install (the 1st one, not the 2nd one)
  3. Check the ‘Select and Patch a File’
  4. Choose the boot.img in your Downloads folder

Now, back to your laptop, pull the modified boot.img with

adb pull /sdcard/Download/magisk_patched-26300_rWIiJ.img

Reboot into fastboot mode

adb reboot bootloader

Flash the patched boot.img with

fastboot flash boot ~/Downloads/magisk_patched-26300_rWIiJ.img

Finally, reboot with

fastboot reboot

And that should be all!

Upgrading from MIUI to HyperOS

HyperOS – Rename Trick 2.0

Redmi Note 5 Pro (whyred)

“[ROM][13][UNOFFICIAL] Pixel Experience Plus for Xiaomi Redmi Note 5 Pro [Whyred][2024-02-04]”

Reboot into the bootloader:

adb reboot bootloader

Flash pixel experience recovery:

fastboot flash recovery PixelExperience_Plus_whyred-13.0-20240204-0825-UNOFFICIAL.img

Reboot to the Recovery menu:

fastboot reboot recovery

Wipe the data, cache, and system through the recovery menu.

Install the Pixel Experience ROM by navigating to ‘Apply Update’ > ‘Apply from ADB’, and then:

adb sideload