[FAQ][GUIDE][HELP] Assistance Solution Centre for MERLIN 🤓 (Redmi 10X 4G / Redmi Note 9)

Search This thread

VD171

Senior Member
Jun 21, 2012
1,108
1
255
127.0.0.1
LG K10
Samsung Galaxy J7
DISCLAIMERS:
  • This help is specific for MERLIN devices only !
    (Xiaomi Redmi Note 9 and Xiaomi Redmi 10X 4G)
  • Keep atention. This is an UNOFFICIAL thread.
  • This thread was based on the thread by Agent_fabulous. Thank you very much !
  • DON'T ask by PM. If you have any question, reply to this thread.
  • Keep in mind, nothing is 100% perfect, so you need to read careful
    and keep trying before to ask an already answered question.
  • Keep your backup files safe and secure ! If you can, encrypt them.
  • If you try to flash in "firmware upgrade" mode, bootloader will be LOCKED again !
  • Never try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC.
  • Never try to share your backups or your security and privacy will be compromised.
  • USE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR YOUR ACTIONS.
  • Sorry for my bad english.


GOOD LUCK
😍🤩🥳😎
 
Last edited:

VD171

Senior Member
Jun 21, 2012
1,108
1
255
127.0.0.1
LG K10
Samsung Galaxy J7
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?
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.​

5. Where can I find custom ROMs?

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.​
KEEP ATENTION: 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-10x-4g-xiaomi-redmi-note-9.4221075/

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.​
KEEP ATENTION: 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-10x-4g-xiaomi-redmi-note-9.4221075/

8. How can I restore the state of UNLOCKED BOOTLOADER?
You need to restore your backup of SECCFG partition.​

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.​
You will need to flash an older LK partition.​

10. How can I disable TWRP?
You will need to flash original stock recovery.img.​

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.​

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.​

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).​

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.​

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.​

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://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229679/
For this, you will need an authorized account for flashing in EDL mode.
You need to go the service centre for professional assistance.

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.​
KEEP ATENTION: 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-10x-4g-xiaomi-redmi-note-9.4221075/

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

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

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://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209269/

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/lancelot-q-oss
Here, you can find the OFFICIAL source code of the kernel modules: https://github.com/MiCode/MTK_kernel_modules/tree/lancelot-q-oss

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

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.​

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.​

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://forum.xda-developers.com/t/...lin-device-redmi-10x-4g-redmi-note-9.4229633/

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://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229679/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4233979/

36. How can I flash a CUSTOM ROM?
Here, you can find the guide for flashing custom roms by c.whoopee: https://forum.xda-developers.com/t/...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://forum.xda-developers.com/t/...eage-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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4229939/
Here, you can find common errors of the SPFlashTool: https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

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://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/
44. Where can I find official ENGINEERING ROMs?
45. Where can I find extracted FIRMWARES?
Here, you can find the thread of the EXTRACTED FIRMWARE by yshalsager: https://forum.xda-developers.com/t/...-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://forum.xda-developers.com/t/...unt-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://forum.xda-developers.com/t/...-in-merlin-redmi-note-9-redmi-10x-4g.4258779/
Here, you can find md1img images of the baseband/modem/radio: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4258919/
 
Last edited:

VD171

Senior Member
Jun 21, 2012
1,108
1
255
127.0.0.1
LG K10
Samsung Galaxy J7
Full List of My Own Threads:

[V12.0.7.0] New Update: Download Files for Merlin V12.0.7.0.QJOMIXM
https://forum.xda-developers.com/t/...-0-qjomixm-redmi-10x-4g-redmi-note-9.4245349/

[BOOT][PATCHED] Boot Image Partition without OVERWRITE OF RECOVERY for MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209273/

[DA][FLASH] DA files for flashing to MERLIN using FLASH TOOL
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209767/

[V1][ENGINEERING][ROM] OFFICIAL Egineering Firmware for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4227957/

[V2][ENGINEERING][ROM] OFFICIAL Egineering Firmware for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4246901/

[FAQ][GUIDE][HELP] Assistance Solution Centre for MERLIN 🤓
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4225177/

[GUIDE] How to bypass authentication and flash in EDL with NO auth for FREE
https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229679/

[GUIDE]How to properly solve the errors of the SP FLASH TOOL for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4238149/

[GUIDE] How to properly use the SP FLASH TOOL for MERLIN ?
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4229939/

[GUIDE] How to remove and clear GOOGLE ACC and Mi ACC / MiCloud for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4233979/

[GUIDE] How to restore IMEI, Baseband, MAC, fix NVRAM WARNING and fix NVDATA CORRUPTED on MERLIN ?
https://forum.xda-developers.com/t/...-on-merlin-redmi-10x-4g-redmi-note-9.4230421/

[GUIDE] What should I backup before trying to customize my MERLIN device ?
https://forum.xda-developers.com/t/...lin-device-redmi-10x-4g-redmi-note-9.4229633/

[GUIDE][FLASH] How to keep flashing without AUTH or EDL on V12.0.5.0 or higher MIUI versions in MERLIN ?
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4223085/

[GUIDE][TWRP] How to keep TWRP V11.0.4.0 working on MIUI V12.0.5.0 or higher MIUI versions in MERLIN ?
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4223081/

[DISCUSSION] How to write and recover the IMEI for SLOT 1 and SLOT 2 in MERLIN ?
https://forum.xda-developers.com/t/...-in-merlin-redmi-note-9-redmi-10x-4g.4258779/

[GUIDE][UNBRICK] How unbrick your bootloop in MERLIN after flashing TWRP
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209295/

[GUIDE][UNLOCK] How to restore the state of UNLOCKED BOOTLOADER in MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4221065/

[LK][STOCK] LK Image Partition for MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4221083/

[BASEBAND][STOCK][MD1IMG] MODEM Image Partition for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4258919/

[MAGISK][XPOSED] What is working for Magisk and Xposed in MERLIN ?
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209269/

[PRELOADER][STOCK] PRELOADER Partition Binary for MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4221081/

[READBACK][FLASH] Read Back file for backuping using flash tool from MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4223107/

[SCATTER][FLASH] Scatter file for flashing using flash tool to MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4223093/

[STOCK][PATCHED] Boot, Vbmeta and Recovery: Images Partitions for MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4209279/

[TWRP][PBRP] Collection of TWRP & PBRP for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4227759/

[VBMETA][PATCHED] VBMETA Image Partition: Disabled verity & Disabled verification for MERLIN
https://forum.xda-developers.com/t/...omi-redmi-10x-4g-xiaomi-redmi-note-9.4221075/
 
Last edited:
Apr 6, 2021
15
1
DISCLAIMERS:
  • This help is specific for MERLIN devices only !
    (Xiaomi Redmi Note 9 and Xiaomi Redmi 10X 4G)
  • Keep atention. This is an UNOFFICIAL thread.
  • This thread was based on the thread by Agent_fabulous. Thank you very much !
  • DON'T ask by PM. If you have any question, reply to this thread.
  • Keep in mind, nothing is 100% perfect, so you need to read careful
    and keep trying before to ask an already answered question.
  • Keep your backup files safe and secure ! If you can, encrypt them.
  • If you try to flash in "firmware upgrade" mode, bootloader will be LOCKED again !
  • Never try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC.
  • Never try to share your backups or your security and privacy will be compromised.
  • USE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR YOUR ACTIONS.
  • Sorry for my bad english.


GOOD LUCK
😍🤩🥳😎
how to again unlock bootloader
 

VD171

Senior Member
Jun 21, 2012
1,108
1
255
127.0.0.1
LG K10
Samsung Galaxy J7
how to again unlock bootloader
You can unlock the same device using the same MIUI account.
If you want to backup the unlocked bootloader, read this: