• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[BOOT][IMG][PATCHED] Boot Image Partition without OVERWRITE OF RECOVERY for MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)

Search This thread

VD171

Senior Member
Jun 21, 2012
2,051
2
1,639
127.0.0.1
LG K10
Samsung Galaxy J7
PATCHED BOOT.IMG for MERLIN by VD171

For what do I need it ?

At every boot, MIUI overwrites RECOVERY partition for stock rom recovery partition and replaces any custom recovery like TWRP. This patch disables this overwriting and keep any custom recovery.
Keep attention, it is not pre-rooted.

Works with:

- Xiaomi Redmi Note 9
- Xiaomi Redmi 10X 4G

Firmware Versions:
- (Engineering) AL2522-Merlin-V039-Q-0513
- (Engineering) AL2522-Merlin-V044-Q-0920
- V12.5.2.0.RJOMIXM
- V12.5.1.0.RJOMIXM
- V12.0.1.0.RJOMIXM
- V12.0.8.0.QJOMIXM
- V12.0.7.0.QJOMIXM
- V12.0.6.0.QJOMIXM
- V12.0.5.0.QJOMIXM
- V12.0.4.0.QJOMIXM
- (India) V12.0.4.0.QJOINXM
- V11.0.5.0.QJOMIXM
- V11.0.4.0.QJOMIXM

How to flash it?
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot boot_vd171.img

MD5 hashes:
AL2522-Merlin-V039-Q-0513: a04fdd922f5e5dd49c7772e75defa06e
AL2522-Merlin-V044-Q-0920: 9239a1fc45ba5be6ea83527eeddb2728
V12.5.2.0.RJOMIXM: e18546706fdbf35404b2116601231a09
V12.5.1.0.RJOMIXM: e172cfa9c96c5f829170db671baadba3
V12.0.1.0.RJOMIXM: a446c9d747247c4ce8016da83cbdc932
V12.0.8.0.QJOMIXM: dd3e581fc2ee1e2ef7b56a843bdd4d9d
V12.0.7.0.QJOMIXM: 884ea8c8798c594db58359796fa14f30
V12.0.6.0.QJOMIXM: 146f1254604bf9b57335eae1cd60dd03
V12.0.5.0.QJOMIXM: 3a46568b0e3d2aafc607a8d2add1bf40
V12.0.4.0.QJOMIXM: be2f0c391b22dcc9ed8d4dbbb7900cd8
(India) V12.0.4.0.QJOINXM: 416a03273045e616d67f76e3b3c50807
V11.0.5.0.QJOMIXM: 262ec3ba40c53add7f651188920618b8
V11.0.4.0.QJOMIXM: 48b568eddcd1a888fe0286beb2ed4f4a



:unsure: Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
 

Attachments

  • boot_vd171--V12.0.5.0.QJOMIXM_20201119.0000.00_10.0_global.img.zip
    9.8 MB · Views: 8,338
  • boot_vd171--V12.0.4.0.QJOMIXM_20200917.0000.00_10.0_global.img.zip
    9.8 MB · Views: 8,315
  • boot_vd171--V11.0.5.0.QJOMIXM_20200609.0000.00_10.0_global.img.zip
    9.8 MB · Views: 8,274
  • boot_vd171--V11.0.4.0.QJOMIXM_20200528.0000.00_10.0_global.img.zip
    9.8 MB · Views: 8,264
  • INDIA--boot_vd171--V12.0.4.0.QJOINXM_9b75a2e8b0_10.0.img.zip
    9.8 MB · Views: 8,260
  • boot_vd171--V12.0.6.0.QJOMIXM_20201218.0000.00_10.0_global.img.zip
    9.8 MB · Views: 8,277
  • boot_vd171--V12.0.7.0.QJOMIXM.img.zip
    9.8 MB · Views: 5,330
  • boot_vd171--V12.0.8.0.QJOMIXM.img.zip
    9.8 MB · Views: 5,344
  • boot_vd171--V12.0.1.0.RJOMIXM.img.zip
    10.1 MB · Views: 5,374
  • boot_vd171--V12.5.1.0.RJOMIXM.img.zip
    10.2 MB · Views: 5,251
  • boot_vd171--AL2522-Merlin-V039-Q-0513.img.zip
    9.7 MB · Views: 7,952
  • boot_vd171--AL2522-Merlin-V044-Q-0920.img.zip
    9.7 MB · Views: 7,953
  • boot_vd171--V12.5.2.0.RJOMIXM.img.zip
    10.2 MB · Views: 21
Last edited:
  • Like
Reactions: RN9_G85

VD171

Senior Member
Jun 21, 2012
2,051
2
1,639
127.0.0.1
LG K10
Samsung Galaxy J7
I do not know if regionally different ROMs have different Boot.img

Please, edit your post if you need to increment it and avoid dupes.

MD5 hash of stock rom boot.img for V12.0.4.0.QJOMIXM (global) is: e6a904938cf6ea3ed5d040ae69115131. And for V12.0.4.0.QJOINXM (india) is: 096d8d46ca1612f0ff13863fed7cf6e5.
So, they are NOT identically.

I've patched your requested boot.img. It's attached, you can download it.
Enjoy
 

DavitidzeSh

Senior Member
Dec 3, 2020
107
32
Tbilisi, Georgia
Redmi Note 9
Please, edit your post if you need to increment it and avoid dupes.

MD5 hash of stock rom boot.img for V12.0.4.0.QJOMIXM (global) is: e6a904938cf6ea3ed5d040ae69115131. And for V12.0.4.0.QJOINXM (india) is: 096d8d46ca1612f0ff13863fed7cf6e5.
So, they are NOT identically.

I've patched your requested boot.img. It's attached, you can download it.
Enjoy
Thanks for the patch

Will it get overwritten if I root?
 

VD171

Senior Member
Jun 21, 2012
2,051
2
1,639
127.0.0.1
LG K10
Samsung Galaxy J7
No, I meant if i could have both at the same time

Official stock rom boot.img and magisk patched boot.img are equivalent.
The second is just rooted.
You can have only one boot.img flashed.
This boot.img patched by me helps people that need to keep TWRP, or any other custom recovery, together official stock rom boot.img. Otherwise the custom recovery will be overwritten.
 
Mar 24, 2021
15
6
Redmi Note 9
Hi, @VD171 I realise you must have very good control of your Redmi Note 9 merlin! (y)! Thank you for these patched boot.img - very good idea.
Where I have got to is that I have learned that on Linux Debian Buster I can get back to a reliable base MIUIV12.0.3.0. QJOMIXM by
flash-all.script
from within the ROM. (Other readers should understand how + why that might work before trying!)

I now see that V12.0.3.0 is not one that you regularly list. My question is really about this numbering. Is there a base version of the ROM that you favour, that gives the user best control of the device?

Thanks in advance, and many thanks for curating these threads.
 
Last edited:

VD171

Senior Member
Jun 21, 2012
2,051
2
1,639
127.0.0.1
LG K10
Samsung Galaxy J7
Hi, @VD171 I realise you must have very good control of your Redmi Note 9 merlin! (y)! Thank you for these patched boot.img - very good idea.
Where I have got to is that I have learned that on Linux Debian Buster I can get back to a reliable base MIUIV12.0.3.0. QJOMIXM by
flash-all.script
from within the ROM. (Other readers should understand how + why that might work before trying!)

I now see that V12.0.3.0 is not one that you regularly list. My question is really about this numbering. Is there a base version of the ROM that you favour, that gives the user best control of the device?

Thanks in advance, and many thanks for curating these threads.
I suggest you to keep on LATEST MIUI.
But, I suggest you to mix some partitions from older MIUI:
- PRELOADER: V12.0.4.0 (or older): It allows you to flash using SPFLASHTOOL without the EDL mode and bypass the authentication.
- LK: V12.0.4.0 (or older): It allows you to flash ANY version of the TWRP or PBRP.
 
Mar 24, 2021
15
6
Redmi Note 9
I suggest you to keep on LATEST MIUI.
But, I suggest you to mix some partitions from older MIUI ...
Thank you very much for this much valued advice. (y)

I was now able to install eOS, e-0.15-q-20210310-UNOFFICIAL-merlin.zip from


using a newly flashed MIUI V12.0.9.0 EU and it is running very well. Thanks.

Many thanks also to the ROM builder credited within the link.
 

VD171

Senior Member
Jun 21, 2012
2,051
2
1,639
127.0.0.1
LG K10
Samsung Galaxy J7
Thank you very much for this much valued advice. (y)

I was now able to install eOS, e-0.15-q-20210310-UNOFFICIAL-merlin.zip from


using a newly flashed MIUI V12.0.9.0 EU and it is running very well. Thanks.

Many thanks also to the ROM builder credited within the link.
Good work, my friend.
You are welcome
 
  • Like
Reactions: RN9_G85

mikeripper13

New member
Jul 15, 2021
3
1
Hi! Thanks for all the things you have shared for this phone. I got an issue every time i flash this patched boot.img i get stuck in a bootloop, and the only way to get out of that is to flash the stock boot.img again. Any ideas why this is happening?
 
Last edited:

Madmoud

Member
Sep 17, 2021
20
4
Redmi Note 9
PATCHED BOOT.IMG for MERLIN by VD171

For what do I need it ?

At every boot, MIUI overwrites RECOVERY partition for stock rom recovery partition and replaces any custom recovery like TWRP. This patch disables this overwriting and keep any custom recovery.
Keep attention, it is not pre-rooted.

Works with:

- Xiaomi Redmi Note 9
- Xiaomi Redmi 10X 4G

Firmware Versions:
- (Engineering) AL2522-Merlin-V039-Q-0513
- (Engineering) AL2522-Merlin-V044-Q-0920
- V12.5.1.0.RJOMIXM
- V12.0.1.0.RJOMIXM
- V12.0.8.0.QJOMIXM
- V12.0.7.0.QJOMIXM
- V12.0.6.0.QJOMIXM
- V12.0.5.0.QJOMIXM
- V12.0.4.0.QJOMIXM
- (India) V12.0.4.0.QJOINXM
- V11.0.5.0.QJOMIXM
- V11.0.4.0.QJOMIXM

How to flash it?
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot boot_vd171.img

MD5 hashes:
AL2522-Merlin-V039-Q-0513: a04fdd922f5e5dd49c7772e75defa06e
AL2522-Merlin-V044-Q-0920: 9239a1fc45ba5be6ea83527eeddb2728
V12.5.1.0.RJOMIXM: e172cfa9c96c5f829170db671baadba3
V12.0.1.0.RJOMIXM: a446c9d747247c4ce8016da83cbdc932
V12.0.8.0.QJOMIXM: dd3e581fc2ee1e2ef7b56a843bdd4d9d
V12.0.7.0.QJOMIXM: 884ea8c8798c594db58359796fa14f30
V12.0.6.0.QJOMIXM: 146f1254604bf9b57335eae1cd60dd03
V12.0.5.0.QJOMIXM: 3a46568b0e3d2aafc607a8d2add1bf40
V12.0.4.0.QJOMIXM: be2f0c391b22dcc9ed8d4dbbb7900cd8
(India) V12.0.4.0.QJOINXM: 416a03273045e616d67f76e3b3c50807
V11.0.5.0.QJOMIXM: 262ec3ba40c53add7f651188920618b8
V11.0.4.0.QJOMIXM: 48b568eddcd1a888fe0286beb2ed4f4a



:unsure: Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
this USED to work for me, but now for some reason when I flash the 12.5 boot.img it bootloops and sometimes it says something like CMD OVERFLOW.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi, @VD171 I realise you must have very good control of your Redmi Note 9 merlin! (y)! Thank you for these patched boot.img - very good idea.
    Where I have got to is that I have learned that on Linux Debian Buster I can get back to a reliable base MIUIV12.0.3.0. QJOMIXM by
    flash-all.script
    from within the ROM. (Other readers should understand how + why that might work before trying!)

    I now see that V12.0.3.0 is not one that you regularly list. My question is really about this numbering. Is there a base version of the ROM that you favour, that gives the user best control of the device?

    Thanks in advance, and many thanks for curating these threads.
    I suggest you to keep on LATEST MIUI.
    But, I suggest you to mix some partitions from older MIUI:
    - PRELOADER: V12.0.4.0 (or older): It allows you to flash using SPFLASHTOOL without the EDL mode and bypass the authentication.
    - LK: V12.0.4.0 (or older): It allows you to flash ANY version of the TWRP or PBRP.
    1
    PATCHED BOOT.IMG for MERLIN by VD171

    For what do I need it ?

    At every boot, MIUI overwrites RECOVERY partition for stock rom recovery partition and replaces any custom recovery like TWRP. This patch disables this overwriting and keep any custom recovery.
    Keep attention, it is not pre-rooted.

    Works with:

    - Xiaomi Redmi Note 9
    - Xiaomi Redmi 10X 4G

    Firmware Versions:
    - (Engineering) AL2522-Merlin-V039-Q-0513
    - (Engineering) AL2522-Merlin-V044-Q-0920
    - V12.5.2.0.RJOMIXM
    - V12.5.1.0.RJOMIXM
    - V12.0.1.0.RJOMIXM
    - V12.0.8.0.QJOMIXM
    - V12.0.7.0.QJOMIXM
    - V12.0.6.0.QJOMIXM
    - V12.0.5.0.QJOMIXM
    - V12.0.4.0.QJOMIXM
    - (India) V12.0.4.0.QJOINXM
    - V11.0.5.0.QJOMIXM
    - V11.0.4.0.QJOMIXM

    How to flash it?
    Code:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    fastboot flash boot boot_vd171.img

    MD5 hashes:
    AL2522-Merlin-V039-Q-0513: a04fdd922f5e5dd49c7772e75defa06e
    AL2522-Merlin-V044-Q-0920: 9239a1fc45ba5be6ea83527eeddb2728
    V12.5.2.0.RJOMIXM: e18546706fdbf35404b2116601231a09
    V12.5.1.0.RJOMIXM: e172cfa9c96c5f829170db671baadba3
    V12.0.1.0.RJOMIXM: a446c9d747247c4ce8016da83cbdc932
    V12.0.8.0.QJOMIXM: dd3e581fc2ee1e2ef7b56a843bdd4d9d
    V12.0.7.0.QJOMIXM: 884ea8c8798c594db58359796fa14f30
    V12.0.6.0.QJOMIXM: 146f1254604bf9b57335eae1cd60dd03
    V12.0.5.0.QJOMIXM: 3a46568b0e3d2aafc607a8d2add1bf40
    V12.0.4.0.QJOMIXM: be2f0c391b22dcc9ed8d4dbbb7900cd8
    (India) V12.0.4.0.QJOINXM: 416a03273045e616d67f76e3b3c50807
    V11.0.5.0.QJOMIXM: 262ec3ba40c53add7f651188920618b8
    V11.0.4.0.QJOMIXM: 48b568eddcd1a888fe0286beb2ed4f4a



    :unsure: Do you need help with your MERLIN device ?
    Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
    1
    will this work on 12.0.9.0 QJOEUXM???
    This is not rooted.
    1
    Thank you very much for this much valued advice. (y)

    I was now able to install eOS, e-0.15-q-20210310-UNOFFICIAL-merlin.zip from


    using a newly flashed MIUI V12.0.9.0 EU and it is running very well. Thanks.

    Many thanks also to the ROM builder credited within the link.
    Good work, my friend.
    You are welcome
    1
    Hi! Thanks for all the things you have shared for this phone. I got an issue every time i flash this patched boot.img i get stuck in a bootloop, and the only way to get out of that is to flash the stock boot.img again. Any ideas why this is happening?
    You are welcome, my friend.
    Did you flash patched vbmeta too?