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

[MAGISK][XPOSED] What is working for Magisk and Xposed in MERLIN ? (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)

Search This thread

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
Versions Used:

MAGISK: v20.4 / v21.2 / v21.3 / v21.4 / v22.0 / v22.1 / v23.0.
(Died) MAGISK MANAGER: v8.0.3 / v8.0.5 / v8.0.6 / v8.0.7.
TWRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
PBRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
RIRU-CORE: v21.3 / v23.3 / v23.4 / v23.5 / v23.6 / v23.9 / v24.0.1 / v24.1.0 / v24.1.2 / v25.0.0 / v25.2.0.
RIRU-CORE: v25.3.1 / v25.3.3 / v25.3.4 / v25.4.1 / v25.4.2 / v25.4.3 / v25.4.4 / v26.0.2 / v26.0.5 / v26.1.0.
RIRU-CORE: v26.1.1 / v26.1.2.
RIRU-EDXPOSED: v0.4.6.4 (4563) / v0.5.1.4 (4655) / v0.5.2.1 (4677) / v0.5.2.2 (4683).
EDXPOSED-MANAGER: v4.5.7 (45700) / v4.6.2 (46200).
XPRIVACYLUA: v1.27 / v1.28 / v1.29 / v1.30.
XPRIVACYLUAPRO: v0.79.
(Discarded) MINMINGUARD: v2.1.1.
TITANIUMBACKUP: v8.4.0.2.
ADBLOCKER-REBORN: v1.8.2.
(Discarded) MAGISKHIDEPROPSCONFIG: v5.4.0.
HIDDENCORE-MODULE: v1.7.
PROXYDROID: v3.2.0.
VIRTUALXPOSED: v0.18.2 / v0.20.2.
RIRU-LSPOSED: v0.5.4.0 (5135) / v1.2.2 (5420) / v1.3.4 (5501) / v1.3.5 (5551) / v1.4.0 (5666) / v1.4.1 (5698).
RIRU-LSPOSED: v1.4.2 (5711) / v1.4.3 (5728) / v1.4.4 (5737) / v1.4.5 (5767) / v1.4.6 (5800) / v1.4.7 (5803).
RIRU-LSPOSED: v1.5.0 (5880) / v1.5.1 (5898) / v1.5.2 (5964) / v1.5.3 (5984).
(Died) LSPOSED-MANAGER: v0.5.4.0 (5135).

(Other versions can be NOT working.)


Note for MAGISK & MAGISK MANAGER: After you install magisk and reboot, you have to install magisk manager. After you install magisk manager, you have to open it with your phone CONNECTED TO THE INTERNET. And then, magisk manager will alert you to install an specific patch for MERLIN phones. After you accept and install this specific patch and reboot your phone, magisk manager will works perfectly.

Note for ADBLOCKER-REBORN:
(Some people said it can get troubles to google apps. Use at your own risk.)

Note for MINMINGUARD
: (If you install it and active it on xposed manager, your phone will be stucked in bootloop.)

Note for MAGISKHIDEPROPSCONFIG:
(SafetyNet keeps fails)

Note for HIDDENCORE-MODULE:
(SafetyNey pass successfully, but it is making android to keep on activity forever and never suspends screen.)

SOLUTION for HIDDENCORE-MODULE: Use the patched apk by Evengard: https://forum.xda-developers.com/t/hiddencore-module-what-was-it-doing.3903984/post-81982121



: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/
 
Last edited:

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
V12.5.1.0.RJOMIXM:
FLASHING: EDL only.
MAGISK: Working.
TWRP: Working.
PBRB: Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: NOT working..
HIDDENCORE-MODULE: Working.
PROXYDROID: Working.
VIRTUALXPOSED: Working.
RIRU-LSPOSED: Working.

V12.0.1.0.RJOMIXM:
FLASHING: EDL only.
MAGISK: Working.
TWRP: Working.
PBRB: Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: NOT working..
HIDDENCORE-MODULE: Working.
PROXYDROID: Working.
VIRTUALXPOSED: Working.
RIRU-LSPOSED: Working.

V12.0.8.0:
FLASHING: EDL only.
MAGISK: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): NOT working.
PBRB: NOT working.
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Working.
HIDDENCORE-MODULE: Working.
PROXYDROID: Working.
VIRTUALXPOSED: Working.
RIRU-LSPOSED: Working.

V12.0.7.0:
FLASHING: EDL only.
MAGISK: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): NOT working.
PBRB: NOT working.
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Working.
HIDDENCORE-MODULE: Working.
PROXYDROID: Working.
VIRTUALXPOSED: Working.
RIRU-LSPOSED: Working.

Discarded:
MAGISK MANAGER.
MINMINGUARD.
MAGISKHIDEPROPSCONFIG.
LSPOSED-MANAGER.

V12.0.6.0:

FLASHING: EDL only.
MAGISK: Working.
MAGISK MANAGER: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): NOT working.
PBRB: NOT working.
Note for TWRP V11.0.4.0 & PBRP: (If you flash it, you will be redirected to a black screen inside the ADB RECOVERY. so, if you need, you can make changes using adb, as you are ROOT inside adb recovery.) (If you flash misc.bin, your phone will be redirected forever for this adb recovery. you will need to remove the misc partition using dd command.)
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
MINMINGUARD: NOT working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Working.
MAGISKHIDEPROPSCONFIG: NOT working.
HIDDENCORE-MODULE: Working.
PROXYDROID: Working.
VIRTUALXPOSED: Working.
RIRU-LSPOSED: Working.
LSPOSED-MANAGER: Working.


V12.0.5.0:

FLASHING: EDL only.
MAGISK: Working.
MAGISK MANAGER: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): NOT working.
PBRB: NOT working.
Note for TWRP V11.0.4.0 & PBRP: (If you flash it, you will be redirected to a black screen inside the ADB RECOVERY. so, if you need, you can make changes using adb, as you are ROOT inside adb recovery.) (If you flash misc.bin, your phone will be redirected forever for this adb recovery. you will need to remove the misc partition using dd command.)
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
MINMINGUARD: NOT working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Not tested.
MAGISKHIDEPROPSCONFIG: Not tested.
HIDDENCORE-MODULE: Not tested.
PROXYDROID: Not tested.
VIRTUALXPOSED: Not tested.
RIRU-LSPOSED: Not tested.
LSPOSED-MANAGER: Not tested.

V12.0.4.0:

FLASHING: Working.
MAGISK: Working.
MAGISK MANAGER: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): Working.
PBRP: Working.
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
MINMINGUARD: NOT working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Working.
MAGISKHIDEPROPSCONFIG: NOT working.
HIDDENCORE-MODULE: Working.
PROXYDROID: Not tested.
VIRTUALXPOSED: Not tested.
RIRU-LSPOSED: Not tested.
LSPOSED-MANAGER: Not tested.

V11.0.5.0:

FLASHING: Working.
MAGISK: Working.
MAGISK MANAGER: Working.
TWRP (V12.0.6.0): Working.
TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
TWRP (others V11.0.4.0): Working.
PBRP: Working.
PBRB (by OnadHanif): Working.
RIRU-CORE: Working.
RIRU-EDXPOSED: Working.
EDXPOSED-MANAGER: Working.
XPRIVACYLUA: Working.
XPRIVACYLUAPRO: Working.
MINMINGUARD: NOT working.
TITANIUMBACKUP: Working.
ADBLOCKER-REBORN: Working.
MAGISKHIDEPROPSCONFIG: Not tested.
HIDDENCORE-MODULE: Not tested.
PROXYDROID: Not tested.
VIRTUALXPOSED: Not tested.
RIRU-LSPOSED: Not tested.
LSPOSED-MANAGER: Not tested.



: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/
 
Last edited:
  • Like
Reactions: RN9_G85

c.whoopee

Member
Feb 13, 2017
41
2
I have one particular scenario and several questions involving this:

I managed to return back to custom rom using Xiaomi Flash Tool and a 12.0.4.0 version of the MIUI 12 also bootloader unlocked. I saw this post and decided to change roms again. Only this time it requires TWRP (since several roms needed Permissiver_v4.zip to avoid bootloop for some reason) I wanted to flash TWRP, and then, fastboot flash that specific rom and flash permissiver via TWRP. The questions are:

1.) Will flashing Permissiver on an unofficial TWRP work since the 12.0.4.0 update or older seems compatible with the recovery?
2.) Since Erfan's GSI ROM recommends root users to flash permissiver as a way to change SElinux from Enforcing to Permissive before booting up, for you, what is the best alternative for Permissiver without flashing via TWRP since it has major issues when flashing on Redmi Note 9?
3.) Does flashing rom via fastboot and flashing permissiver via TWRP work?
 

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
I have one particular scenario and several questions involving this:

I managed to return back to custom rom using Xiaomi Flash Tool and a 12.0.4.0 version of the MIUI 12 also bootloader unlocked. I saw this post and decided to change roms again. Only this time it requires TWRP (since several roms needed Permissiver_v4.zip to avoid bootloop for some reason) I wanted to flash TWRP, and then, fastboot flash that specific rom and flash permissiver via TWRP. The questions are:

1.) Will flashing Permissiver on an unofficial TWRP work since the 12.0.4.0 update or older seems compatible with the recovery?
2.) Since Erfan's GSI ROM recommends root users to flash permissiver as a way to change SElinux from Enforcing to Permissive before booting up, for you, what is the best alternative for Permissiver without flashing via TWRP since it has major issues when flashing on Redmi Note 9?
3.) Does flashing rom via fastboot and flashing permissiver via TWRP work?

You can't downgrade your miui version without unlocked bootloader. For this, you need unlocked bootloader and use fastboot for flashing older version. You don't need any permissive patcher, everything is working fine on higher miui versions. Everything you need to do is flash some partition from older versions and newer versions will works perfectly. I am sorry about custom rom, but I don't like it and I will never use it.

If you are using V12.0.5.0 or higher, TWRP will not work.

If you want to keep TWRP working on V12.0.5.0 or higher, you need to flash the stock rom lk partition using V12.0.4.0 (or lower). (It will works perfectly with lower lk partition version).
Here, are LK images for flashing: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218925/

If you want to disable TWRP, you need to flash stock rom recovery partition.
Here, are RECOVERY images for flashing: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204671/

If your device keep booting in recovery (or blackscreen), you need to erase misc partition.
Here, is the guide for erasing MISC partition: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209299/

Good luck



:unsure: Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4225177/
 
Last edited:
  • Like
Reactions: RN9_G85

c.whoopee

Member
Feb 13, 2017
41
2
One more question..

1. Does the Unofficial twrp work? I mean if I managed to flash twrp on Redmi Note 9 12.0.40.0, can it flash several zip files?
 

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
One more question..

1. Does the Unofficial twrp work? I mean if I managed to flash twrp on Redmi Note 9 12.0.40.0, can it flash several zip files?

Read the reply again, I've already answered it.
There is no V12.0.40.0, the correct version is V12.0.4.0.
About flashing, it will depend on the changes made by the zip file.
You need to try for to know.
Please, try reading it: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223077/

Good luck
 
  • Like
Reactions: RN9_G85

soundreamer

Member
Apr 3, 2021
8
5
Versions Used:

MAGISK: v20.4 / v21.2 / v21.3 / v21.4 / v22.0.
(Died) MAGISK MANAGER: v8.0.3 / v8.0.5 / v8.0.6 / v8.0.7.
TWRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
PBRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
RIRU-CORE: v21.3 / v23.3 / v23.4 / v23.5 / v23.6 / v23.9 / v24.0.1 / v24.1.0 / v24.1.2 / v25.0.0 / v25.2.0.
RIRU-CORE: v25.3.1 / v25.3.3 / v25.3.4.
RIRU-EDXPOSED: v0.4.6.4 (4563) / v0.5.1.4 (4655) / v0.5.2.1 (4677) / v0.5.2.2 (4683).
EDXPOSED-MANAGER: v4.5.7 (45700) / v4.6.2 (46200).
XPRIVACYLUA: v1.27 / v1.28 / v1.29 / v1.30.
XPRIVACYLUAPRO: v0.79.
(Discarded) MINMINGUARD: v2.1.1.
TITANIUMBACKUP: v8.4.0.2.
ADBLOCKER-REBORN: v1.8.2.
(Discarded) MAGISKHIDEPROPSCONFIG: v5.4.0.
HIDDENCORE-MODULE: v1.7.
PROXYDROID: v3.2.0.
VIRTUALXPOSED: v0.18.2 / v0.20.2.
RIRU-LSPOSED: v0.5.4.0 (5135) / v1.2.2 (5420) / v1.3.4 (5501).
(Died) LSPOSED-MANAGER: v0.5.4.0 (5135).

(Other versions can be NOT working.)


Note for MAGISK & MAGISK MANAGER: After you install magisk and reboot, you have to install magisk manager. After you install magisk manager, you have to open it with your phone CONNECTED TO THE INTERNET. And then, magisk manager will alert you to install an specific patch for MERLIN phones. After you accept and install this specific patch and reboot your phone, magisk manager will works perfectly.

Note for ADBLOCKER-REBORN:
(Some people said it can get troubles to google apps. Use at your own risk.)

Note for MINMINGUARD
: (If you install it and active it on xposed manager, your phone will be stucked in bootloop.)

Note for MAGISKHIDEPROPSCONFIG:
(SafetyNet keeps fails)

Note for HIDDENCORE-MODULE:
(SafetyNey pass successfully, but it is making android to keep on activity forever and never suspends screen.)

SOLUTION for HIDDENCORE-MODULE: Use the patched apk by Evengard: https://forum.xda-developers.com/t/hiddencore-module-what-was-it-doing.3903984/post-81982121


My suggestion:
Update to MIUI V12.0.7.0.QJOMIXM and use TWRP v3.4.2b-1213 by wzsx15
.



: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/
Thanks so much for all these info, I will check it out properly. I'm exactly on this MIUI version (12.0.7.0 QJOMIXM Global). So I will try to flash the TWRP you suggested me. Thanks again for your advise, is very much appreciated!
 
  • Like
Reactions: VD171

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
Last edited:
  • Like
Reactions: RN9_G85

soundreamer

Member
Apr 3, 2021
8
5
  • Like
Reactions: VD171

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
I didn't flash vbmeta. I will do and try again. I'm using ADB/ Fastboot tool. So first, I should flash vbmeta image and then, TWRP. Do I'm right? In which partition I need to flash vbmeta? (boot, recovery, system, etc.) Thanks!
Evern with unlocked bootloader, Vbmeta verifies if any partition has changed, if it was, then it reboots the device, causing a bootloop.
You need to patch vbmeta if you want to apply changes to your device.

Here, you can find patched vbmeta for MERLIN:
 
  • Like
Reactions: RN9_G85

soundreamer

Member
Apr 3, 2021
8
5
Evern with unlocked bootloader, Vbmeta verifies if any partition has changed, if it was, then it reboots the device, causing a bootloop.
You need to patch vbmeta if you want to apply changes to your device.

Here, you can find patched vbmeta for MERLIN:
Understand. In which partition I need to flash vbmeta? (boot, recovery, system, etc.) I'm using ADB/ Fastboot Tool so it asks me where I want to flash it. Thanks!!
 
  • Like
Reactions: VD171

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
Understand. In which partition I need to flash vbmeta? (boot, recovery, system, etc.) I'm using ADB/ Fastboot Tool so it asks me where I want to flash it. Thanks!!
See "How to flash it?"
 
  • Like
Reactions: RN9_G85

soundreamer

Member
Apr 3, 2021
8
5
See "How to flash it?"
I saw it, but Im not in PC but Mac so is not the same terminal script i guess
 
  • Like
Reactions: VD171
Evern with unlocked bootloader, Vbmeta verifies if any partition has changed, if it was, then it reboots the device, causing a bootloop.
You need to patch vbmeta if you want to apply changes to your device.

Here, you can find patched vbmeta for MERLIN:
Should i need to flash vbmeta before flashing recovery or after flashing recovery? It wasn't clear there.
 

VD171

Senior Member
Jun 21, 2012
1,919
2
1,592
127.0.0.1
LG K10
Samsung Galaxy J7
Should i need to flash vbmeta before flashing recovery or after flashing recovery? It wasn't clear there.
The vbmeta is so simple, it can only do two things: allow the beginning of the boot, or not.
If you flash the stock vbmeta without disabled verity and disabled verification, your device will be bricked.
Vbmeta verifies if any partition has changed, if it was, then it reboots the device, causing a bootloop.
You really need to patch vbmeta if you want to apply changes to your device.
 
  • Like
Reactions: RN9_G85

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Versions Used:

    MAGISK: v20.4 / v21.2 / v21.3 / v21.4 / v22.0 / v22.1 / v23.0.
    (Died) MAGISK MANAGER: v8.0.3 / v8.0.5 / v8.0.6 / v8.0.7.
    TWRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
    PBRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
    RIRU-CORE: v21.3 / v23.3 / v23.4 / v23.5 / v23.6 / v23.9 / v24.0.1 / v24.1.0 / v24.1.2 / v25.0.0 / v25.2.0.
    RIRU-CORE: v25.3.1 / v25.3.3 / v25.3.4 / v25.4.1 / v25.4.2 / v25.4.3 / v25.4.4 / v26.0.2 / v26.0.5 / v26.1.0.
    RIRU-CORE: v26.1.1 / v26.1.2.
    RIRU-EDXPOSED: v0.4.6.4 (4563) / v0.5.1.4 (4655) / v0.5.2.1 (4677) / v0.5.2.2 (4683).
    EDXPOSED-MANAGER: v4.5.7 (45700) / v4.6.2 (46200).
    XPRIVACYLUA: v1.27 / v1.28 / v1.29 / v1.30.
    XPRIVACYLUAPRO: v0.79.
    (Discarded) MINMINGUARD: v2.1.1.
    TITANIUMBACKUP: v8.4.0.2.
    ADBLOCKER-REBORN: v1.8.2.
    (Discarded) MAGISKHIDEPROPSCONFIG: v5.4.0.
    HIDDENCORE-MODULE: v1.7.
    PROXYDROID: v3.2.0.
    VIRTUALXPOSED: v0.18.2 / v0.20.2.
    RIRU-LSPOSED: v0.5.4.0 (5135) / v1.2.2 (5420) / v1.3.4 (5501) / v1.3.5 (5551) / v1.4.0 (5666) / v1.4.1 (5698).
    RIRU-LSPOSED: v1.4.2 (5711) / v1.4.3 (5728) / v1.4.4 (5737) / v1.4.5 (5767) / v1.4.6 (5800) / v1.4.7 (5803).
    RIRU-LSPOSED: v1.5.0 (5880) / v1.5.1 (5898) / v1.5.2 (5964) / v1.5.3 (5984).
    (Died) LSPOSED-MANAGER: v0.5.4.0 (5135).

    (Other versions can be NOT working.)


    Note for MAGISK & MAGISK MANAGER: After you install magisk and reboot, you have to install magisk manager. After you install magisk manager, you have to open it with your phone CONNECTED TO THE INTERNET. And then, magisk manager will alert you to install an specific patch for MERLIN phones. After you accept and install this specific patch and reboot your phone, magisk manager will works perfectly.

    Note for ADBLOCKER-REBORN:
    (Some people said it can get troubles to google apps. Use at your own risk.)

    Note for MINMINGUARD
    : (If you install it and active it on xposed manager, your phone will be stucked in bootloop.)

    Note for MAGISKHIDEPROPSCONFIG:
    (SafetyNet keeps fails)

    Note for HIDDENCORE-MODULE:
    (SafetyNey pass successfully, but it is making android to keep on activity forever and never suspends screen.)

    SOLUTION for HIDDENCORE-MODULE: Use the patched apk by Evengard: https://forum.xda-developers.com/t/hiddencore-module-what-was-it-doing.3903984/post-81982121



    :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
    V12.5.1.0.RJOMIXM:
    FLASHING: EDL only.
    MAGISK: Working.
    TWRP: Working.
    PBRB: Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: NOT working..
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Working.
    VIRTUALXPOSED: Working.
    RIRU-LSPOSED: Working.

    V12.0.1.0.RJOMIXM:
    FLASHING: EDL only.
    MAGISK: Working.
    TWRP: Working.
    PBRB: Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: NOT working..
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Working.
    VIRTUALXPOSED: Working.
    RIRU-LSPOSED: Working.

    V12.0.8.0:
    FLASHING: EDL only.
    MAGISK: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): NOT working.
    PBRB: NOT working.
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Working.
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Working.
    VIRTUALXPOSED: Working.
    RIRU-LSPOSED: Working.

    V12.0.7.0:
    FLASHING: EDL only.
    MAGISK: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): NOT working.
    PBRB: NOT working.
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Working.
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Working.
    VIRTUALXPOSED: Working.
    RIRU-LSPOSED: Working.

    Discarded:
    MAGISK MANAGER.
    MINMINGUARD.
    MAGISKHIDEPROPSCONFIG.
    LSPOSED-MANAGER.

    V12.0.6.0:

    FLASHING: EDL only.
    MAGISK: Working.
    MAGISK MANAGER: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): NOT working.
    PBRB: NOT working.
    Note for TWRP V11.0.4.0 & PBRP: (If you flash it, you will be redirected to a black screen inside the ADB RECOVERY. so, if you need, you can make changes using adb, as you are ROOT inside adb recovery.) (If you flash misc.bin, your phone will be redirected forever for this adb recovery. you will need to remove the misc partition using dd command.)
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    MINMINGUARD: NOT working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Working.
    MAGISKHIDEPROPSCONFIG: NOT working.
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Working.
    VIRTUALXPOSED: Working.
    RIRU-LSPOSED: Working.
    LSPOSED-MANAGER: Working.


    V12.0.5.0:

    FLASHING: EDL only.
    MAGISK: Working.
    MAGISK MANAGER: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): NOT working.
    PBRB: NOT working.
    Note for TWRP V11.0.4.0 & PBRP: (If you flash it, you will be redirected to a black screen inside the ADB RECOVERY. so, if you need, you can make changes using adb, as you are ROOT inside adb recovery.) (If you flash misc.bin, your phone will be redirected forever for this adb recovery. you will need to remove the misc partition using dd command.)
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    MINMINGUARD: NOT working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Not tested.
    MAGISKHIDEPROPSCONFIG: Not tested.
    HIDDENCORE-MODULE: Not tested.
    PROXYDROID: Not tested.
    VIRTUALXPOSED: Not tested.
    RIRU-LSPOSED: Not tested.
    LSPOSED-MANAGER: Not tested.

    V12.0.4.0:

    FLASHING: Working.
    MAGISK: Working.
    MAGISK MANAGER: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): Working.
    PBRP: Working.
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    MINMINGUARD: NOT working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Working.
    MAGISKHIDEPROPSCONFIG: NOT working.
    HIDDENCORE-MODULE: Working.
    PROXYDROID: Not tested.
    VIRTUALXPOSED: Not tested.
    RIRU-LSPOSED: Not tested.
    LSPOSED-MANAGER: Not tested.

    V11.0.5.0:

    FLASHING: Working.
    MAGISK: Working.
    MAGISK MANAGER: Working.
    TWRP (V12.0.6.0): Working.
    TWRP (V11.0.4.0 v3.4.2b-0109 by wzsx15): Working.
    TWRP (others V11.0.4.0): Working.
    PBRP: Working.
    PBRB (by OnadHanif): Working.
    RIRU-CORE: Working.
    RIRU-EDXPOSED: Working.
    EDXPOSED-MANAGER: Working.
    XPRIVACYLUA: Working.
    XPRIVACYLUAPRO: Working.
    MINMINGUARD: NOT working.
    TITANIUMBACKUP: Working.
    ADBLOCKER-REBORN: Working.
    MAGISKHIDEPROPSCONFIG: Not tested.
    HIDDENCORE-MODULE: Not tested.
    PROXYDROID: Not tested.
    VIRTUALXPOSED: Not tested.
    RIRU-LSPOSED: Not tested.
    LSPOSED-MANAGER: Not tested.



    :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
    I have one particular scenario and several questions involving this:

    I managed to return back to custom rom using Xiaomi Flash Tool and a 12.0.4.0 version of the MIUI 12 also bootloader unlocked. I saw this post and decided to change roms again. Only this time it requires TWRP (since several roms needed Permissiver_v4.zip to avoid bootloop for some reason) I wanted to flash TWRP, and then, fastboot flash that specific rom and flash permissiver via TWRP. The questions are:

    1.) Will flashing Permissiver on an unofficial TWRP work since the 12.0.4.0 update or older seems compatible with the recovery?
    2.) Since Erfan's GSI ROM recommends root users to flash permissiver as a way to change SElinux from Enforcing to Permissive before booting up, for you, what is the best alternative for Permissiver without flashing via TWRP since it has major issues when flashing on Redmi Note 9?
    3.) Does flashing rom via fastboot and flashing permissiver via TWRP work?

    You can't downgrade your miui version without unlocked bootloader. For this, you need unlocked bootloader and use fastboot for flashing older version. You don't need any permissive patcher, everything is working fine on higher miui versions. Everything you need to do is flash some partition from older versions and newer versions will works perfectly. I am sorry about custom rom, but I don't like it and I will never use it.

    If you are using V12.0.5.0 or higher, TWRP will not work.

    If you want to keep TWRP working on V12.0.5.0 or higher, you need to flash the stock rom lk partition using V12.0.4.0 (or lower). (It will works perfectly with lower lk partition version).
    Here, are LK images for flashing: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218925/

    If you want to disable TWRP, you need to flash stock rom recovery partition.
    Here, are RECOVERY images for flashing: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204671/

    If your device keep booting in recovery (or blackscreen), you need to erase misc partition.
    Here, is the guide for erasing MISC partition: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209299/

    Good luck



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

    1. Does the Unofficial twrp work? I mean if I managed to flash twrp on Redmi Note 9 12.0.40.0, can it flash several zip files?

    Read the reply again, I've already answered it.
    There is no V12.0.40.0, the correct version is V12.0.4.0.
    About flashing, it will depend on the changes made by the zip file.
    You need to try for to know.
    Please, try reading it: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223077/

    Good luck
    1
    Versions Used:

    MAGISK: v20.4 / v21.2 / v21.3 / v21.4 / v22.0.
    (Died) MAGISK MANAGER: v8.0.3 / v8.0.5 / v8.0.6 / v8.0.7.
    TWRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
    PBRP: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4227751/
    RIRU-CORE: v21.3 / v23.3 / v23.4 / v23.5 / v23.6 / v23.9 / v24.0.1 / v24.1.0 / v24.1.2 / v25.0.0 / v25.2.0.
    RIRU-CORE: v25.3.1 / v25.3.3 / v25.3.4.
    RIRU-EDXPOSED: v0.4.6.4 (4563) / v0.5.1.4 (4655) / v0.5.2.1 (4677) / v0.5.2.2 (4683).
    EDXPOSED-MANAGER: v4.5.7 (45700) / v4.6.2 (46200).
    XPRIVACYLUA: v1.27 / v1.28 / v1.29 / v1.30.
    XPRIVACYLUAPRO: v0.79.
    (Discarded) MINMINGUARD: v2.1.1.
    TITANIUMBACKUP: v8.4.0.2.
    ADBLOCKER-REBORN: v1.8.2.
    (Discarded) MAGISKHIDEPROPSCONFIG: v5.4.0.
    HIDDENCORE-MODULE: v1.7.
    PROXYDROID: v3.2.0.
    VIRTUALXPOSED: v0.18.2 / v0.20.2.
    RIRU-LSPOSED: v0.5.4.0 (5135) / v1.2.2 (5420) / v1.3.4 (5501).
    (Died) LSPOSED-MANAGER: v0.5.4.0 (5135).

    (Other versions can be NOT working.)


    Note for MAGISK & MAGISK MANAGER: After you install magisk and reboot, you have to install magisk manager. After you install magisk manager, you have to open it with your phone CONNECTED TO THE INTERNET. And then, magisk manager will alert you to install an specific patch for MERLIN phones. After you accept and install this specific patch and reboot your phone, magisk manager will works perfectly.

    Note for ADBLOCKER-REBORN:
    (Some people said it can get troubles to google apps. Use at your own risk.)

    Note for MINMINGUARD
    : (If you install it and active it on xposed manager, your phone will be stucked in bootloop.)

    Note for MAGISKHIDEPROPSCONFIG:
    (SafetyNet keeps fails)

    Note for HIDDENCORE-MODULE:
    (SafetyNey pass successfully, but it is making android to keep on activity forever and never suspends screen.)

    SOLUTION for HIDDENCORE-MODULE: Use the patched apk by Evengard: https://forum.xda-developers.com/t/hiddencore-module-what-was-it-doing.3903984/post-81982121


    My suggestion:
    Update to MIUI V12.0.7.0.QJOMIXM and use TWRP v3.4.2b-1213 by wzsx15
    .



    :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/
    Thanks so much for all these info, I will check it out properly. I'm exactly on this MIUI version (12.0.7.0 QJOMIXM Global). So I will try to flash the TWRP you suggested me. Thanks again for your advise, is very much appreciated!