Miui gobal 13.0.2 > unable to install custom recovery

Search This thread

TroyBar

Member
Sep 21, 2014
17
1
Hi All,

The following has been done.

enable usb debugging > adb devices (shows my device)
disable driver signature verification in Windows 11 > install the driver to be able to unlock my bootloader and use the fastboot devices command.
adb shell > getprop ro.build.ab_update > false
adb reboot bootloader
fastboot devices (shows my device)
fastboot flash recovery filename (SHRP/TWRP/PBRP).img
fastboot reboot recovery

But still unable to boot into the customer recover img, it only boots into the stock rom after sometime.

or
fastboot boot (SHRP/TWRP/PBRP).zip > (FAILED (remote: image is not a boot image')

Any pointer as to why?
 
Last edited:

TroyBar

Member
Sep 21, 2014
17
1
Thanks for your reply tigrato.

I have followed the link below.

"You need to disable verification for vbmeta too. Here, you can find patched vbmeta with disabled verification: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/"

fastboot --disable-verity --disable-verification flash vbmeta vbmeta_vd171--V13.0.2.0.SJOMIXM.img
&
fastboot flash vbmeta vbmeta_vd171--V13.0.2.0.SJOMIXM.img

Ran with success, but when I run,

fastboot flash recovery filename (SHRP/TWRP/PBRP).img

But still unable to boot into the customer recover img, it only boots into the stock rom after sometime. If I power off + volume +, or adb reboot recovery I am in the MIUI recovery 5.0 main menu.

Thanks
 
Last edited:

TroyBar

Member
Sep 21, 2014
17
1
Finally..able to install magisk with the below command.

fastboot flash boot magisk_patched-25200_ganYk.img

make sure you enable su in the app.

adb shell > su

But...
fastboot flash recovery filename (SHRP/TWRP/PBRP).img

Unable to boot into the customer recover img, it only boots into the stock rom after sometime. If I power off + volume +, or adb reboot recovery I am in the MIUI recovery 5.0 main menu.
 

ajdindtvc

New member
Apr 1, 2023
1
0
Redmi Note 9
Just don't use TWRP, there's custom os recoveries that work pretty well on miui 13 a12, you can try lineage or crdroid recovery, or just downgrade to miui 12 a11 and I can send you a working TWRP.