[Redmi Note 9 Guides, News, & Discussion] VD171:
1

. Where can I find official and untouched STOCK FIRMWARES ROMS?​

Here, you can find latest releases: https://xiaomifirmwareupdater.com/miui/merlin/​

Here, you can find archive of releases: https://xiaomifirmwareupdater.com/archive/miui/merlin/​

2

. Where can I find some useful tools?​

Xiaomitool: https://www.xiaomitool.com/V2/​

Miflashpro: https://miflashpro.com/​

Miflashtool: https://xiaomiflashtool.com/​

Sp Flash Tool: https://spflashtools.com/category/windows​

Mi PC Suite: http://pcsuite.mi.com/​

3

. There are useful tools for LINUX or Mac OS?​

Xiaomitool (Linux & MacOS): https://www.xiaomitool.com/V2/​

Sp Flash Tool (Linux): https://spflashtools.com/category/linux​

4

. My pc can't detect my phone. What to do?​

Probably, you need to install appropriate usb drivers.​

Try this: https://androidmtk.com/download-mtk-usb-all-drivers​

5

. Where can I find custom ROMs?​

Here, you can find the collection of custom ROMs for MERLIN: https://xdaforums.com/t/rom-custom-...for-merlin-redmi-note-9-redmi-10x-4g.4291423/​

6

. How can I root?​

First and obviously, you need to unlock your bootloader. Once you unlock your bootloader, you can root your device flashing magisk patched boot.img.​

Here, you can find magisk patched boot images: https://xdaforums.com/t/img-stock-p...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204671/​

KEEP ATENTION

: you need to disable verification for vbmeta too.​

Here, you can find patched vbmeta with disabled verification: https://xdaforums.com/t/vbmeta-img-...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/​

7

. Where can I find TWRP & PBRP?​

There is only ONE recovery project with open source for MERLIN.​

But, there are other twrp and pbrp with closed source.​

If you use it, you can cause damages to your device, use at your own risk and DON'T ask about it.​

KEEP ATENTION

: you need to IGNORE misc partition, if you flash the misc partition, your phone can be stucked in boot loop.​

Here, you can find recovery projects images: https://xdaforums.com/t/twrp-pbrp-c...for-merlin-redmi-note-9-redmi-10x-4g.4227751/​

KEEP ATENTION

: you need to disable verification for vbmeta too.​

Here, you can find patched vbmeta with disabled verification: https://xdaforums.com/t/vbmeta-img-...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/​

8

. How can I restore the state of UNLOCKED BOOTLOADER?​

You need to restore your backup of

SECCFG

partition.​

Please, read this: https://xdaforums.com/t/guide-unloc...omi-redmi-note-9-xiaomi-redmi-10x-4g.4220013/​

9

. How to make TWRP V11.0.4.0 work on MIUI V12.0.5.0 or higher?​

If you are using MIUI V12.0.5.0 or higher, TWRP V11.0.4.0 will not work.​

Please, read this: https://xdaforums.com/t/guide-twrp-...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223077/​

You will need to flash an older

LK

partition.​

Here, you can find lk images: https://xdaforums.com/t/lk-img-stoc...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218925/​

10

. How can I disable TWRP?​

You will need to flash original stock recovery.img.​

Here, you can find original stock recovery images: https://xdaforums.com/t/img-stock-p...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204671/​

11

. How to flash using SP FLASH TOOL without EDL and authentication?​

If you want to use flash tool on MIUI V12.0.5.0 or higher, it will requires EDL and authentication.​

Please, read this: https://xdaforums.com/t/guide-flash...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223089/​

12

. I am on MIUI V12.0.5.0 or higher, how can I flash using SP FLASH TOOL without EDL and authentication?​

You will need to flash an older

PRELOADER

binary.​

Here, you can find preloader binaries: https://xdaforums.com/t/preloader-i...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218929/​

13

. I am on MIUI V12.0.4.0 or lower, how can I flash using SP FLASH TOOL without EDL and authentication?​

You will need the specific DA (download-agent) file for it without authentication (#NoAuth #NoAuthentication #No-Auth #No-Authentication).​

Please, read this: https://xdaforums.com/t/da-flash-da...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209765/​

14

. How can I downgrade MIUI version?​

For downgrading your miui, you need unlocked bootloader.​

After unlocked bootloader, you can flash older firmware rom using fastboot or sp flash tool.​

15

. My phone is booting to a black screen after flashed misc partition together twrp. What to do?​

If your phone is booting to a black screen, you need to erase

MISC

partition.​

Please, read this: https://xdaforums.com/t/guide-unbri...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209299/​

16

. My phone got bootlop after installed a Magisk module or Xposed module. How can I disable it?​

You will need to uninstall the module. You have two methods for this.​

For first method, you can disable Magisk (read question 17).​

For second method, you need to boot in emergency mode (rescue mode).​

For booting in emergency mode, you need to press Vol+ (volume up) after boot starts. (YES, I mean AFTER you see boot logo.)​

And then, you can uninstall the module.​

17

. My phone got bootlop after flashed Magisk. How can I disable it?​

You will need to flash original stock boot.img.​

Here, you can find original stock boot images: https://xdaforums.com/t/img-stock-p...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204671/​

18

. My phone got bootloop, I am on MIUI V12.0.4.0 or lower and I can't enter in fastboot mode or recovery mode. What to do?​

You need to flash stock rom using sp flash tool.​

Please, read question 13.​

19

. My phone got bootloop, I am on MIUI V12.0.5.0 or higher and I can't enter in fastboot mode or recovery mode. What to do?​

For this, you will need to bypass authentication and flash in EDL mode with NO auth for FREE.​

Here, you can find the guide for bypassing EDL authenticated mode for FREE: https://xdaforums.com/t/guide-how-t...d-flash-in-edl-with-no-auth-for-free.4229683/​

For this, you will need an authorized account for flashing in EDL mode.​

You need to go the service centre for professional assistance.​

Please, read this: https://www.xda-developers.com/xiaomi-edl-unbrick-authorized-mi-accounts/​

20

. There is any other way for flashing or unbricking?​

Yes. You can try any useful tool (read question 2 and 3).​

But, this help is not for how use them.​

You can find a huge amount of videos in youtube about it.​

21

. I want to keep with original stock boot.img together TWRP, but TWRP is removed at every reboot. What to do?​

You will need to flash patched boot image without overwrite of recovery.​

Please, read this: https://xdaforums.com/t/boot-img-pa...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209263/​

KEEP ATENTION

: you need to disable verification for vbmeta too.​

Here, you can find patched vbmeta with disabled verification: https://xdaforums.com/t/vbmeta-img-...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218909/​

22

. Where can I find scatter files to flash using flash tool?​

Here, you can find scatter files: https://xdaforums.com/t/scatter-fla...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223097/​

23

. Where can I find readback file to backup using flash tool?​

Here, you can find read back file: https://xdaforums.com/t/readback-fl...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223109/​

24

. How can I know what is working on my phone before installing?​

If you want to know what is working for MERLIN, read this: https://xdaforums.com/t/magisk-xpos...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204873/​

25

. How can I disable preinstalled apps without uninstalling them?​

You need to perform this in command line:​

pm disable-user --user 0 com.android.chrome​

(Change

com.android.chrome

to desired package name to disable.)​

26

. Where can I find source code of the kernel?​

Here, you can find the OFFICIAL source code of the kernel: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/merlin-r-oss and https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/lancelot-q-oss​

Here, you can find the OFFICIAL source code of the kernel modules: https://github.com/MiCode/MTK_kernel_modules/tree/merlin-r-oss and https://github.com/MiCode/MTK_kernel_modules/tree/lancelot-q-oss​

27

. Where can I find device tree and other sources codes of MT6768?​

-> https://github.com/Jebaitedneko/omni_device_xiaomi_merlin​

-> https://github.com/Redmi-MT6768/android_device_xiaomi_merlin​

-> https://github.com/Redmi-MT6768/android_kernel_xiaomi_mt6768​

-> https://github.com/Redmi-MT6768/android_vendor_xiaomi_merlin​

-> https://github.com/AndroidBlobs/device_xiaomi_merlin​

-> https://github.com/AndroidBlobs/vendor_xiaomi_merlin​

-> https://github.com/SparXFusion/android_device_xiaomi_merlin​

-> https://github.com/SparXFusion/android_kernel_redmi_mt6768​

-> https://github.com/JamieHoSzeYui/android_device_xiaomi_merlin​

-> https://github.com/surblazer/android_device_xiaomi_merlin​

-> https://github.com/surblazer/android_kernel_xiaomi_mt6768​

-> https://github.com/ZyCromerZ/android_kernel_xiaomi_mt6768​

-> https://github.com/Box-boi/android_kernel_xiaomi_mt6768​

-> https://github.com/Box-boi/omni_device_xiaomi_merlin​

-> https://github.com/Box-boi/android_device_xiaomi_merlin​

-> https://github.com/Box-boi/android_vendor_xiaomi_merlin​

-> https://sourceforge.net/projects/zyc-kernels/files/Merlin​

28

. How to pass SafetyNet?​

You will need to have Xposed installed. After it, everything you need to do is install HiddenCore-Module, active it on Xposed Manager and reboot.​

Here, you can find the HiddenCore-Module: https://repo.xposed.info/module/com.cofface.ivader​

KEEP ATENTION

: it is making android to keep on activity forever and never suspends screen.​

You can use the patched apk by Evengard: https://xdaforums.com/t/hiddencore-module-what-was-it-doing.3903984/post-81982121.​

29

. How to disable ads (advertising)?​

You will need to have Xposed installed. After it, everything you need to do is install AdBlocker-Reborn, active it on Xposed Manager and reboot.​

Here, you can find the AdBlocker-Reborn: https://repo.xposed.info/module/com.aviraxp.adblocker.continued​

KEEP ATENTION

: some people said it can get troubles to google apps.​

30

. How to restore IMEI, Baseband, MAC, fix NVRAM WARNING and fix NVDATA CORRUPTED?​

KEEP ATENTION

: never try to restore partitions from a different device, or you can brick and cause damages to your device.​

Here, you can find the guide: https://xdaforums.com/t/guide-how-t...-on-merlin-redmi-note-9-redmi-10x-4g.4230423/​

31

. How to disable ads (advertising) without xposed?​

For unrooted devices, you need to perform this in command line:​

pm disable-user --user 0 com.miui.msa.global​

For rooted devices, you need to debloat your system and then remove the "MSA" app.​

32

. What should I backup before trying to customize my device?​

Here, you can find the list of what partitions you need to backup for avoiding mistakes without risking all of your device's identification details, like IMEI, WiFi MAC, Bluetooth MAC, calibration data, NVDATA, NVRAM, RADIO/MODEM/BASEBAND and others: https://xdaforums.com/t/guide-what-...lin-device-redmi-note-9-redmi-10x-4g.4229629/​

33

. How to bypass authentication and flash in EDL with NO auth for FREE?​

Here, you can find the guide for bypassing EDL authenticated mode for FREE: https://xdaforums.com/t/guide-how-t...d-flash-in-edl-with-no-auth-for-free.4229683/​

34

. How to install XPOSED?​

1. You need to unlock your bootloader.​

2. You need to root using Magisk.​

3. You need to install magisk manager.​

4. You need to install the magisk module: RIRU. (Only Riru in the name).​

5. You need to choose between EDXPOSED or LSPOSED and then install the magisk module: "Riru Edxposed" or "Riru Lsposed".​

6. You need to install the properly manager: "Edxposed Manager" or "Lsposed Manager".​

7. Reboot.​

Done

.

Enjoy

!​

35

. How to remove and clear GOOGLE ACC and Mi ACC / MiCloud?​

Here, you can find the guide for removing google account and xiaomi account: https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4233977/​

36

. How can I flash a CUSTOM ROM?​

Here, you can find the guide for flashing custom roms by

c.whoopee

: https://xdaforums.com/t/official-in...rom-on-a-redmi-note-9-global-variant.4234151/​

(Thanks to c.whoopee)​

Here, you can find the guide for installing a

Lineage 17.1

ROM by

ma259

: https://xdaforums.com/t/guide-installing-a-lineage-17-1-rom-in-redmi-note-9-merlin.4235003/​

(Thanks to ma259)​

37

. How to properly use the SP Flash Tool?​

Here, you can find the guide how to configure correctly the SPFlashTool: https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4229937/​

Here, you can find common errors of the SPFlashTool: https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

38

. How to solve "LIB DA not match" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

39

. How to solve "PMT changed for the ROM" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

40

. How to solve "STATUS_BROM_CMD_STARTCMD_FAIL" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

41

. How to solve "STATUS_SEC_AUTH_FILE_NEEDED" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

42

. How to solve "STATUS_BROM_CMD_FAIL" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

43

. How to solve "STATUS_BROM_CMD_SEND_DA_FAIL" error?​

Please, follow the guide "How to properly solve the errors of the SP FLASH TOOL": https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4238161/​

​

44

. Where can I find official ENGINEERING ROMs?​

Here, you can find

ENGINEERING ROM V1

: https://xdaforums.com/t/v1-engineer...for-merlin-redmi-note-9-redmi-10x-4g.4227933/​

Here, you can find

ENGINEERING ROM V2

: https://xdaforums.com/t/v2-engineer...for-merlin-redmi-note-9-redmi-10x-4g.4246891/​

45

. Where can I find extracted FIRMWARES?​

Here, you can find the thread of the EXTRACTED FIRMWARE by yshalsager: https://xdaforums.com/t/firmware-xiaomi-redmi-10x-4g-redmi-note-9-merlin-auto-updated.4250261/​

Here, you can find latest releases: https://xiaomifirmwareupdater.com/firmware/merlin/​

Here, you can find archive of releases: https://xiaomifirmwareupdater.com/archive/firmware/merlin/​

46

. Where can I find extracted VENDORS?​

Here, you can find latest releases: https://xiaomifirmwareupdater.com/vendor/merlin/​

Here, you can find archive of releases: https://xiaomifirmwareupdater.com/archive/vendor/merlin/​

47

. How can I mount system RW (read-write) ?​

Here, you can find the guide and the script by lebigmac for mounting system as read-write (RW): https://xdaforums.com/t/script-android-10-universal-mount-system-read-write-super-no_super.4247311/​

48

. How to write and recover the IMEI for SLOT 1 and SLOT 2?​

Here, we are discussing about the possibilities of how to recover the IMEI for SLOT1 and SLOT2: https://xdaforums.com/t/discussion-...-in-merlin-redmi-note-9-redmi-10x-4g.4258779/​

Here, you can find md1img images of the baseband/modem/radio: https://xdaforums.com/t/baseband-im...for-merlin-redmi-note-9-redmi-10x-4g.4258919/​

​

49

. Where can I find custom KERNEL?​

-> https://sourceforge.net/projects/zyc-kernels/files/Merlin/​

-> https://github.com/JamieHoSzeYui/dream/releases​

-> MOD EDIT: Link Removed​

​

50

. How to skip & avoid EDL auth bypass and FLASH in DOWNLOAD MODE?​

Here, you can find the guide: https://xdaforums.com/t/guide-how-t...for-merlin-redmi-note-9-redmi-10x-4g.4322631/​