yashsingh1/xdaforums huggingface dataset:
[Redmi Note 9 Guides, News, & Discussion] aries.1482:
Finally, done it. I found this:

- Hold both vol up and down when plug in so the device recognize.

- You must choose right fastboot image (origin stock rom), if not devices can't boot in to miui rom cause bootloader locked after sp flash

And at last, thank you very much, you saved my day.
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
Cool ill update the guide!
[Redmi Note 9 Guides, News, & Discussion] lionfishes:
Hi, My device is recognized as "Qualcom HS-USB QDLoader 9008" not the "MediaTek USB Port" on step 11 and it seems not recognized on step 12. Do you have any solutions for me. Thanks!
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
I think you are on a wrong guide, That's a guide for a Redmi Note 9, not the Pro version
[Redmi Note 9 Guides, News, & Discussion] lionfishes:
My phone is Redmi Note 9. I tried to restart it yesterday and couldn't power on again. So I'm looking for some solutions to see if it can be fixed. Thanks!
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
There's no qualcomm version of Redmi Note 9
[Redmi Note 9 Guides, News, & Discussion] nikosefs:
i made a mistake,when i clicked to download the fastboot at the xiaomi site,i clicked the fastboot link to download,but i didnt see that it brings you to a page where it has all the downloads again,so i stopped the operation and restarted it with the correct scatter this time.

Now im waiting to see what will happen,how long does it usually take for the spflash to finish?

Also at the bottom of spflash where it says 0b/s,emmc etc. should it stay at 0 when you start the download?

edit:

managed to make it work,one important thing for me was at the option/option,had to select com port com 3
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
Thanks i updated the guide including this
[Redmi Note 9 Guides, News, & Discussion] Ray Gaming:
i'm having an ERROR notification : STATUS_EXT_RAM_EXCEPTION (0xC0050005) help me
[Redmi Note 9 Guides, News, & Discussion] mrgbuzz:
Looking for some info/help if possible: apologies i'm not trying to derail your thread.

I had bricked my RN9 but managed to unbrick and have it working ok now however I am wanting to restore it/lock the bootloader to allow for using banking apps. But I am encountering an issue. I had tried using MiFlash Tool but during the flash, I get a mismatch error and it doesn't succeed in flashing the Fastboot rom.

If i was to follow your guide from step 13, would this work for me? Or which steps do I need to skip in your list?

Thank you for any advice/help :)

** I finally managed to get it sorted ** used the EDL flash guide and then flashed in SPFT.

https://xdaforums.com/t/guide-how-t...d-flash-in-edl-with-no-auth-for-free.4229679/
[Redmi Note 9 Guides, News, & Discussion] Aezius26:
Hi thanks a lot for your help. I accidentally flashed a redmi 10x miui 11, wanted to downgrade my Redmi 9 from 12.5, bad perfomance, resulting in your hard-bricked version. Flashing last fastboot version doesn't help, do i have a chance to fix it?
[Redmi Note 9 Guides, News, & Discussion] Coroneln:
Hi and thanks for this detailed guide.

I bricked my merlin trying to root it (long history trying to get TWRP to stick)

I am now in the redmi logo loop and i am trying to follow this with great care.

however in the step above, no matter what I choose in "Yshasalger" page, i end up with a Recovery ROM and the file name contains the miui prefix as opposed to what you clearly state.

see image:

View attachment 5476667

I am asking because i am scared of making more mistakes.

So i guess my question is if someone can check it happens to them (maybe the page changed since the writting of this guide)

If i should try with that ROM zip file or if there is another place i can get the proper one

I want to if possible to flash an older MIUI / Android than the latest 12 xxx / Android 11 as i find the phone to be really slow since the last OTA update.
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
That's because you are choosing recovery and not fastboot, choose fastboot as type scroll down it has two links for recovery and for fastboot image. Check the file name
[Redmi Note 9 Guides, News, & Discussion] Coroneln:
i promise i am choosing fastboot but it ends up in the recovery i have tried several different versions in case it was a file wrongly indexed.
[Redmi Note 9 Guides, News, & Discussion] Coroneln:
TL|DR

Python errors, step 8 and 12 on Windows 10

Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"

=========================

Now read....

Just in case someone has trouble with step: 8

Escenario: the BAT file calls `python` and in some windows 10 this will result in a message about the windows store (Even if the path is added)

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings

but `py` works, so just edit the BAT file and replace the call for `python` with `py` it will install all the python modules with no errors.

EDIT:

This also affects step: 12

Found a solution here: https://stackoverflow.com/questions...arguments-to-install-from-the-microsoft-store

Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"

The error:

View attachment 5476719

After editing the BAT file replacing `python` with `py`

View attachment 5476717
[Redmi Note 9 Guides, News, & Discussion] mashrufhratul:
The 2nd run this file should say found port com 3

Open the lib usb filter app, (you should find it on start menu) and click 'remove usb profile' or something like that, and see there if it shows you Some mediatek device. If it doesn't you need to repeat step 11.
[Redmi Note 9 Guides, News, & Discussion] encephalitis20:
not working either :(
[Redmi Note 9 Guides, News, & Discussion] mashrufhratul:
Knock me on messenger?

facebook.com/mashrufhratul
[Redmi Note 9 Guides, News, & Discussion] Kain105:
hi i'm stuck @ 12. when running "2ND RUN THIS.bat" the output is

[2022-12-25 20:39:49.329225] Waiting for device

[2022-12-25 20:39:53.478390] Found port = COM3

and protection is not disabled. searched in thread and googled but still didn't figure it out. thank you

edit:

tried on two windows 11 and one windows 10

edit2: removed and added once again the filter. restarted the "run this" files and it's working
[Redmi Note 9 Guides, News, & Discussion] oyez666:
I just would like to thanks you : i've hard brok my redmi note 9 and with your help, I succeed in bring it back to 100% useful, Thank you very much !
[Redmi Note 9 Guides, News, & Discussion] Azizovich_787:
BRO, THANK YOU. HOW CAN I PAY? STATUS_EXT_RAM_EXCEPTION (0xC0050005) PROBLEM WAS BUT I COULDN'T FIND THE SOLLUTION. THANK YOU BRO !!! I am so happy to the new year because of you thank you bor.
[Redmi Note 9 Guides, News, & Discussion] jcagara08:
hey thank you so much for this guide, was trying to resurrect my brothers phone, I have managed to do it until the Download Ok step and I think it went succesful but the phone right now is doing a bootloop.

I am currently charging it at the moment. Pretty sure I have followed all the steps carefully and the execution was near perfect but I don't get why it is bootlooping with the android and MI logo for now, any help or advice?

I did the whole steps twice in a row now (HAHA ROFL), went with the steps one by one, still I am experiencing a bootloop, what gives?

PS bootloop state is better compared to its previous state where it would just flash and turn off again.

See the attached screenshot;
[Redmi Note 9 Guides, News, & Discussion] jcagara08:
Just an update you guys, I went ahead to a local mobile tech and showed him the bootloop issue, he immediately went ahead and opened the thing up since it wouldn't hold a battery charge when connected to his diagnostic charging board, opened up the battery, did some soldering and removed a fuse and voila now the phone booted up as if it was new!

Had I known that the issue was supposed to be just the battery fuse, I should haven't tried all the steps and possibly could have saved the memory stored in it (my dumb opinion LOL)

By the way this is the third Note 9 I sent in for repair, 1st had a bulged battery, 2nd wasn't holding a charge and would only work while connected to a power source, and this 3rd reached to a point where screen only flashes on and off when charged - not even a Mi or Android logo showing.

Conclusion - Redmi Note 9 low quality control phone, I had a 9T Pro which also had a sudden AMOLED screen death. Never again am I going to purchase a Xiaomi phone.

PS My brother's phone now has cellular network issues, couldn't make calls sometimes and only has Edge connection...

Whew what a rant!
[Redmi Note 9 Guides, News, & Discussion] KemZam:
Followed every steps thoroughly, also have this issue

I did repeated steps already only to get stuck here.
[Redmi Note 9 Guides, News, & Discussion] Skyfall91:
Hey, thanks for the awesome guide! I also have this problem:

and this

Like user Kain105 I tryed deleting and reinstalling the device filter but it had no effect. Same output and problem again when I run the "2ND RUN THIS.bat" script. The result is that i can not choose COM 3 in the connection options in the flash tool!

When i run the "1ST RUN THIS.bat" I always get the output which user KemZam postet.

Please help!
[Redmi Note 9 Guides, News, & Discussion] Kain105:
Did you try playing around with the buttons? Try pushing the three buttons at the same time before running "2nd run this.bat" (just a moment before insertion of cable) because pushing unorthodoxly worked for me. Try also pushing only some of the buttons
[Redmi Note 9 Guides, News, & Discussion] forfra1:
greetings, I have followed your guide for " (Guide) How to repair a redmi Note 9 (Merlin) hard bricked (Hard Brick) ", when I get to point 12 I can't continue:

1) with python in the.bat file it doesn't find python

2) with py in the.bat file it doesn't find the main.py file

I have windows 10 and payton python-3.11.1 ( both python-3.11.1-embed-win32 and python-3.11.1-amd64 )

I ask for help, Thanks

Spoiler content hidden.

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] matteo555:
first of all, make sure that the python 'path' is there and that it is correct ...

> go to 'THIS PC' icon / right click / properties / advanced system settings / environment variables /

well now here we have 2 sections :

'user variables for 'THIS PC'

'system variables'

In both there is the line : 'path'

now give 'edit' in both path lines (both above and below sections)

inside you have to find 2 paths concerning python, if you don't find them you have to create them again, the important thing is that the path is correct, this is the one that is normally created:

c:\users\QUESTO PC\appdata\programs\python\python311\

c:\users\QUESTO PC\appdata\programs\python\python311\scripts\

for the last line move the line concerning the /microsoftApp store-app with the buttons on the side up/down, put it in the last position otherwise if you run the python command the app from the microsoft store will open

Check and if necessary add these 2 paths in both sections 'user variables for 'THIS PC' and also 'system variables'

restart

now if you open the terminal/command prompt and run the python command you should get 'python 3.11.1 (tags.... etc.' ), same thing when running the py command

this means that python works correctly, now if the .bat file you want to launch has problems, who cares, launch the command manually, if you open it with notepad inside there should be these commands, launch them like this from a command prompt:

pip3 install pyusb

pip3 install pyserial

pip3 install json5

and then u r good to go ...

Spoiler content hidden.

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] Skyfall91:
Awesome, thank you! Pushing Volume up + Volume Down together before inserting the cable and using the second script worked for me now!
[Redmi Note 9 Guides, News, & Discussion] forfra1:
Thanks, I'll try now

Gazzie, ora provo

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] forfra1:
hello and thank you for your prompt reply , I did as indicated for the system variables but nothing changes , I added the files to the 2ND RUN THIS.bat and the result is what I am attaching

ciao e grazie per la sollecitudine della risposta , fatto come indicato per le variabili di sistema ma non cambia niente , ho aggiunto i file al 2ND RUN THIS.bat e il risultato e quello che allego

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] matteo555:
Before doing this, you must have completed the LIBUSB-WIN32 pairing and done the wizard pairing the cell to the MEDIATEK USB VCOM PORT (to do this, DISABLE WINDOWS VIRUS PROTECTION THEN RUN THE WIZARD TO INSTALL THE FILTER!!!!)

Sometimes it happens that the first time it doesn't work, I usually managed by starting with the cell off, or by putting the cell in fastboot mode with the USB cable disconnected, I launched the 2ND RUN THIS.bat, then I kept the power+volume-key pressed down, and as soon as the android figure disappeared I plugged in the usb cable and released power and immediately after volume-down, this is proof of 9, if that doesn't work for you, ask them who are better but it's also very difficult who answer, always and only in English !!

Spoiler content hidden.

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] forfra1:
Thanks, all OK

Grazie , tutto OK

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] tximytximy:
Great job, it works for me.

Thx.
[Redmi Note 9 Guides, News, & Discussion] riyasrawther.in:
Thank you so much for saving 16K INR for a new phone. My device was showing dm verity corruption "5 second" and was in a reboot loop. There was no adb access or fastboot option. This saved me.

Thanks!
[Redmi Note 9 Guides, News, & Discussion] MiuMiuu:
Hello I followed all the steps but, in Step Number 12, no file .bat recognizes my port even if I use thousands of button combinations, when I went to the device manager the phone sounds as if it recognizes the cell phone but the driver comes out with a yellow triangle and then disconnects. It only works for me if I press volume down which recognizes the sound but nothing happens in the files .bat
[Redmi Note 9 Guides, News, & Discussion] Maximus Real:
Hello! Everything is working expect step 12

Its not about recongizing

There are some error going on

ModuleNotFoundError: No module named 'serial'

Someone help?

EDIT: I fixed it, i just had to uninstall python and install python 3.8, cause i had 3.11 installed

THANK YOU SO MUCH FOR MAKING THIS GUIDE

You saved me around 1000 ZŁ for service ( Polish Złoty )

I love you!

Dziękuję jeszcze raz!
[Redmi Note 9 Guides, News, & Discussion] qwertyuiop1289:
Works also without waiting for this. When I bricked my phone, the battery was almost 90%, so I would have to wait such a long time... so I decided to try skipping this step. And it just worked.

Running the "mtk payload" command in MTK Client works also well.

And now the most important part:

THANKS FOR GREAT GUIDE!
[Redmi Note 9 Guides, News, & Discussion] forfra1:
Fatta la procedura e andato tutto OK però ora in fastboot non viene riconosciuto . se a telefono acceso lo collego ad ADB con il comando "adb reboot bootloader" entra in FASTBOOT colore ARANCIO e non viene piu rilevato , se invece a telefono acceso lo collego ad ADB con il comando "adb reboot fastboot" entra in FASTBOO

TD

colore AZZURRO e accetta solo alcuni comandi ADB

Suggerimenti , grazie

Mod translation:

After the procedure and everything went OK but now in fastboot it is not recognized. if with the phone on I connect it to ADB with the command "adb reboot bootloader" it enters FASTBOOT in ORANGE color and it is no longer detected, if instead with the phone on I connect it to ADB with the command "adb reboot fastboot" it enters FASTBOO TD in BLUE color and accepts only some ADB commands

Suggestions, thank you
[Redmi Note 9 Guides, News, & Discussion] qwertyuiop1289:
Write in English language
[Redmi Note 9 Guides, News, & Discussion] forfra1:
If you were referring to me that's it

Translated with Google

After the procedure and everything went OK

but now in fastboot it is not recognized.

if with the phone on I connect it to ADB with

the command "adb reboot bootloader

" it enters FASTBOOT in ORANGE color and it is

no longer detected, if instead with the phone on I connect it to

ADB with the command "adb reboot fastboot" it enters FASTBOO TD in

BLUE color and accepts only some ADB commands

Suggestions, thank you
[Redmi Note 9 Guides, News, & Discussion] qwertyuiop1289:
I have the same issue. Probably it's caused by installing MTK drivers and libusb. Uninstalling them should solve the problem.
[Redmi Note 9 Guides, News, & Discussion] forfra1:
Fixed by installing "xiaomi_usb_driver"
[Redmi Note 9 Guides, News, & Discussion] yezigodwin:
thank you very very much, God bless you ...........this extremely detailed guide is still very valid in 2023..........thank you very much, this is the best guide that i have ever followed, please drop your youtube link if you have one and the link to your github repo.
[Redmi Note 9 Guides, News, & Discussion] neduemaginatif:
I keep getting this after trying to install pyusb pyserial json5
[Redmi Note 9 Guides, News, & Discussion] neduemaginatif:
Is that why I'm getting this?
[Redmi Note 9 Guides, News, & Discussion] neduemaginatif:
Another error message. Someone please help.

Thank you
[Redmi Note 9 Guides, News, & Discussion] neduemaginatif:
I have finally sorted it out but can't find COM3. Getting from com13.

What do I do?
[Redmi Note 9 Guides, News, & Discussion] neduemaginatif:
Everything has worked till this. I can't select COM3 on SP Flash Tool.

What do I do?
[Redmi Note 9 Guides, News, & Discussion] BigR1992:
I got onto the last stage and i recieved an error

BROM ERROR: S_BROM_CMD_STARTCMD_FAIL (0xC0060001)

Internet advised to do the following;

The device might require a custom Download Agent (DA) to be flashed

Go to Options > Option > Connection and set connection to USB high speed auto detect. Only choose UART when you have a device detected in the chosen UART port

Ensure the battery is well charged

Take out and reinsert the battery

Try using a different USB cord, port and PC

Right-click flash_tool.exe > Select Properties > Select Compatibility > Set to Windows XP Service Pack 3 > Click Apply > Click OK > Run SP flash tool as Administrator

Try a different USB cord

Try a different port on the PC or another PC

Ensure the battery is well changed and inside the switched off phone before connecting to PC for flashing

Do not hold any button when connecting to PC

I have changed to DA through USB and it has started.

On about 15:22 right now and nothing is happening but the timer is still going. Any advice?
[Redmi Note 9 Guides, News, & Discussion] OyunErbabi:
I successfully unbrick with "merlin_global_images_V12.5.3.0.RJOMIXM_20220111.0000.00_11.0_global_6a8ef76c51". Thank you very much.

Taşşaanı yirim 💖
[Redmi Note 9 Guides, News, & Discussion] Keffr3n:
OMFG! You're a genius.

I had my phone bricked last year and it was sitting in a drawer... I was ready to trash it but I gave it another chance, googled a bit and found your tutorial. And READ IT very carefully :).

Thanks for making it idiot-proof :)

Best regards from Rromania.
[Redmi Note 9 Guides, News, & Discussion] Ronleyb17:
Thank you very much, today it has helped me to solve a bootloop
[Redmi Note 9 Guides, News, & Discussion] Slav0n:
Hello forum users and guests of this topic. I am Belarusian. I write with the help of a translator. Do not judge strictly. I bought a Redmi Note 9 3/64 MTK phone. MIUI 13 (A12) Unlocked the bootloader (Official way) After that I installed TVRP. And I tried to roll back the firmware to MIUI 12.5 via FlashTool. A red line with the inscription "DA" passed 100% And the phone went into eternal reboot on the "Redmi" logo I tried several ways to restore the "Brick" But unfortunately without success. When trying to connect the phone to the console "2ND RUN THIS.bat" My phone is not defined as a com3 port. All drivers are installed. Verified several times. They even tried to restore it with the Unlock tool programmer. It gives out such an error "see screenshot" In Flash Tool it shows exactly the same error! I humbly ask for help. I'm already exhausted! All the best, I hope for your responsiveness! Sincerely!
[Redmi Note 9 Guides, News, & Discussion] Slav0n:
It doesn't work, everything gives an error!

STATUS_EXT_RAM_EXCEPTION (0xC0050005)
[Redmi Note 9 Guides, News, & Discussion] Linead96:
Thanks bro.. this really works.
[Redmi Note 9 Guides, News, & Discussion] MXC48:
Hi, do you remember the problem and how you solved it?

I'm also stuck at step 12

THANKS

Salut, te rappelles-tu le problème et comment tu l'as résolu ?

Je suis aussi bloqué à l'étape 12

Merci

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] KapilSharma180:
Thanx bro. It works.

Can you make to guide to install a custom rom in redmi note 9 step by step. Every time i does i bricked it.
[Redmi Note 9 Guides, News, & Discussion] nayemop76:
Hi everyone, I need your help. I bricked my Redme Note 9. It does not do anything, not even the redme logo.

I managed to do every ste up to the flashing of the rom. And brick my phone black screen The phone does not have any redmi logo, fastboot logo does not appear
[Redmi Note 9 Guides, News, & Discussion] vagelis199:
Follow the guide carefully. and you'll be good
[Redmi Note 9 Guides, News, & Discussion] RN114G:
@vagelis199 Honestly dude you are a legend, i tried this on Redmi note 11 and it did work, also i recommend using this guy steps, it did help me to skip battery draining thing, thank you again​
[Redmi Note 9 Guides, News, & Discussion] SymtaxError:
can you be more specific?
[Redmi Note 9 Guides, News, & Discussion] AntonS123:
Hi, i am stuck in part 12. Depending on what buttons i press i eigther get the 'Found port = COM3' and nothing else (it gets stuck there) or disabling protection fails:

[Errno None] b'libusb0-dll:err [control_msg] sending control message failed, win error: Ein an das System angeschlossenes Ger\xe4t funktioniert nicht.\r\n\n'

Payload did not reply

it will not get into the bootloop on its own again though.

i tried different python version and using different buttons on the phone. reinstalled everything and tried different version of libusb already. Got the mt6768-payload.bin in the bypass folder

Would be nice if someone could give me a hint!
[Redmi Note 9 Guides, News, & Discussion] RmzNerU:
You are a perfect detail, I am grateful for everything.
[Redmi Note 9 Guides, News, & Discussion] Weidnerklaus:
Hello Vagelis199,

I'm new here and I'm happy to have found such good helpers. I followed your instructions and up to step 12 everything worked.

At step 12, I cannot execute the "1ST RUN THIS.bat" file or it is not recognized in Python. What can I do here to get my Redmi Note 9 running again?

I would be very happy about an answer.

Kind regards

Weidnerklaus

Spoiler content hidden.

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] tomasinov:
---------- full quote removed ----------
[Redmi Note 9 Guides, News, & Discussion] tomasinov:
What to do?

Что делать?

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] tomasinov:
or it happens like this after installing bypass

или же происходит вот так после установки bypass

Mod. edit: post translated. alecxs
[Redmi Note 9 Guides, News, & Discussion] Lksemanoel:
Guys, after spending two days trying everything to do step 12 and not getting the "waiting for device" message, I finally got it, just follow this microsoft article. Everything worked out fine after that. Thanks vangelis.

A driver can't load on this device - Microsoft Support

Find out the steps you can take if you receive a message telling you a driver can't load on your device.

support.microsoft.com
[Redmi Note 9 Guides, News, & Discussion] cexen:
thanks bro. great job!