yashsingh1/xdaforums huggingface dataset:
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] BlackOut_94:
Bootloop?

Kinda new with this rooting, i reached the step 4 of part 2 and i got a successful message from the powershell after the command. I tried restarting the phone but is stuck in the boot animation (where it just says "unlocked" on the bottom of the screen and it just restarts over and over). Is this working ONLY on redmi note 9s/pro or also with the base redmi note 9? Any help would be much appreciated!
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
It should work on Redmi Note 9. Which factory ROM did you use to source boot.img? If you can't get the patched boot.img to work, you can always flash the original one to fix the boot loop.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] BlackOut_94:
I downloaded the V11.0.4.0.QJOEUXM (MIUI11) version from the given link (checked in the phone info so i was sure to download the correct one). Then Magisk made a file and i copy/paste it into the folder with the unlocking software and fastboot.exe and i ran the command from that folder with powershell. The result was successful, so next step was to simply turn on the phone and check if everything was ok. Problem is that the phone is turning on but i can't access fastboot anymore. It just stays with "Redmi" in the middle of the screen, below it says "Unlocked" and after a couple of seconds it turns off.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
You should always be able to access fastboot, even in a bootloop (by holding Vol- and Power for 15 seconds or so), unless you've overwritten it by accident. Does this work?

Also, your phone may be using a Global ROM even if bought in the EU, as was my case.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] BlackOut_94:
I tried multiple times to access fastboot, without success. It's like it only recognizes the power button pressed, doesn't matter if i press volume+ or volume- is just stuck in the initial screen. (if i could access fastboot i would be able to restore the stock rom to make it work again). Is it possible to delete fastboot? If i did, idk how. There are no alternatives to make it work again? (without fastboot at least).

Thank you for the quick reply btw
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] papatzis:
What codename phone you have they're 4 codenames for the redmi note 9 series.

Στάλθηκε από το Redmi Note 4 μου χρησιμοποιώντας Tapatalk
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] BlackOut_94:
You mean "Merlin"?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] papatzis:
Yes, there are not testing in Merlin are you sure you had flashed the correct rom? Very bad that it is not stay in fastboot, I have not this phone, the important is to be defected by the PC.

Try to plugin to usb with - or + or both button pressed as you connect it, also try this with the telephone powered off.

Check you pc using Device manager if in any case is defected.

Στάλθηκε από το Redmi Note 4 μου χρησιμοποιώντας Tapatalk
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
The second option is using Xiaomi's recovery, which should be accessible by holding Vol+ and Power. Are you sure the buttons are not working? I doubt you've overwritten both recoveries. It's a bit finnicky, but you just have to hold the buttons down for quite a long time and ignore the phone restarting until you get to fastboot or recovery.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] BlackOut_94:
Thanks, i tried your suggestion but didn't help unfortunately,i remember i had the debug usb active but the pc does not recognize the phone, tried also with different usb ports

---------- Post added at 01:11 PM ---------- Previous post was at 01:10 PM ----------

That's what i used the first time i messed up, i went to fastboot and recovered the phone without issues, but now if i keep pressed power button + any volume button it just turns on and off without doing anything else. Kept the buttons pressed for around one minute each, then my fingers started to hurt a bit
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
Huh, that's odd, I've never seen this. I was able to launch fastboot on all the phones I've had so far, no matter what.

In any case, if you manage to solve this, please post a solution here :)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] paulb86:
will i receive official updates after rooting?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
They should work as long as you don't modify the system partition. Applying an update will unroot your phone, so you'll have to patch boot.img after every update. I didn't have a chance to try the updates myself, I couldn't stand MIUI and flashed this much more stable version of stock Android https://xdaforums.com/redmi-note-9-pro/development/gsi-t4105121 .
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] paulb86:
is it working good? what recovery do you use?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
Ur phone is QJZEUOR, so Roms with QJZ is compatible,

9S is QJW, 9 (normal) is QJO, 9 Pro Max is QJX.

Im from Brazil, my 9S came with EEA ROM (QJWEUXM) and worked finee.

but I switched to Global ROM (QJWMIXM). I didn't see big differences.

On another site I found this:

Global ROM:

- This is the official worldwide ROM for all countries except China

- The Global ROM has also a Beta Program

- The Global ROM receives updates every 1 to 2 months

EEA ROM:

- This ROM was specifically designed for EU countries

- The EEA ROM doesn't have a Beta program

- Updates seem to be slower

- EEA includes a few certificates required by the european regulations, otherwise, they are the same ROM with different version number.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] enotar:
No matter how I do it I still have safetynet failling on both. Basic integrity and ctsProfile, that cant be right?

I have TWRP tried first to root with it and after patch the boot.img and flash. Something should be missing?

MIUI 12.0.3 curtana android 10

Any idea?

Thanks guys
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Thanks a lot for details
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Hello, I can't download and install new update miui 11 11.0.6.0.QJZEUOR

Is it normal because of being root ?

It said "failure of check and that it is impossible to check the source of update, try to download it again (us translation by myself from french language)

Does it mean that because of being root I won't be able to install official update directly from my phone ? (Is it called OTA?)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] terymyri:
hi

my note 9s says MIUI 12.0.2 stable GLOBAL.

Android 10

can i use the instructions above to root and install some custom rom to de google ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Fazalsubhan:
Root
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Fazalsubhan:
What root mobile
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Ham3dt:
Guys my ROM model is 12.0.3.0 (QJWEUXM), will this rooting method work for me?

If I do root, can I still perform OTA updates?

Is it okay if I download the ROM from here?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Azamsm:
You can update as long as you have stock recovery. If you have installed custom recovery, OTA won't work. Also if you manage to update by flashing a recovery MIUI ROM, the root will be gone.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Ham3dt:
Thanks, I'm not touching the recovery.

But you didn't answer the main question, does this rooting method works for the 12.0.3 version too (stock ROM and recovery)?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Shah65367:
Can someone tell me how to root redmi note 9s miui 12.0.3 global?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
""First, you need to have unlocked Bootloader.

Download the official ROM (It needs to be the same version you use). Download

Download and Install Magisk (.apk) on your phone. Download

Extract boot.img from the official ROM zip you downloaded (and transfer it to the phone).

Click "install" in Magisk and "Select and Patch a File", select boot.img.

This should result in a patched magisk_patched.img.

Transfer this file to your computer. "Ideally to the Mi Unlock folder where fastboot.exe is located."

Reboot your phone to fastboot mode. Open a command prompt in the folder of the Mi Unlock tool and run

fastboot flash boot magisk_patched.img

Reboot your phone and that's it! Verify root status in the Magisk Manager app.""
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
Works.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Shah65367:
Will it work in miui 12.0.3?

I tried this command "fastboot flash recovery magsik_patched.img"

Successfully done but phone not rooted
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
12.0.3 Works.

Not "fastboot flash recovery magsik_patched.img"

the correct is "fastboot flash boot magisk_patched.img"
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Shah65367:
HMMM OK THANKEW I WILL TRY NOW
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Shah65367:
Can uh send me patched image?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
Note 9S?

QJWMIXM? QJWEUXM? QJWRUXM? QJWINXM? QJWTRXM?

I have only for v12.0.3.QJWMIXM (Global), idk if works with different ROM.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Shah65367:
I have v12.0.3 QJWMIXM GLOBAL
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
v12.0.3.QJWMIXM boot.img with Magisk 22.1 (Latest).

and SafetyNet is OK. ;)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] derradji898:
Thanks for the guide the best one on the internet
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] MrBlacky:
Hello can someone help me? The first time I followed all the steps and it worked perfectly, but the version V12.0.6.0.QJWMIXM (MIUI12) was installed automatically and I lost the root, I tried again but in CMD whenever I try to execute the command appears <Waiting for any device> and I can't make magisk active...
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Souminona:
Hello Guys,

I've made several attempts to root my device but failed. Bootloader is unlocked>installed orange fox recovery successfully but i cant view magisk file. Currently running on Android 11/miui 12.0.4(RJWINXM)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Lookass13:
Hello there, it is possible to unlock my Redmi note 9pro without mi account sign in onto it? My rn9pro is currently in bootloop state! Help me please.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] JohnEdwardMS:
If u unlocked before, u can unlock again using MiUnlock, without waiting several days.

But in Mi Unlock maybe you should use the same account as before.

Good Luck.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Lookass13:
But I don't have an account sign in on my phone. And my phone is currently in hang logo.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] joaovitorbf:
Using the Magisk patched boot.img is giving me a bootloop during the MIUI logo. The screen brightness keeps going down and back up again.

I'm currently on V12.0.2.0.RJWMIXM

Any ideas?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] joaovitorbf:
Solved after some hours. My Magisk modules were causing the bootloop. I forgot that they are preserved between flashes.

You can use OrangeFox's built in Magisk Manager to disable them.

EDIT: It was specifically the Universal SafetyNet Fix package. I just needed to update it.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Hello I have 'joyeuse' rom. It seems to be 'orange' one (french operator). I discover that my phone is google play not certified and I can't install netflix or disney plus. I followed tutorials to activate the certification using GSF number but nothing change.

Do you have a solution for this ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
Allright, I took the plunge yesterday evening because I was already 2 updates behind.

So, updated Magisk first to v23 (app+module), unrooted and ran 2 OTA's in sequence. First OTA took me to 12.0.4.0_QJZEUXM, second OTA took me to 12.0.1.0_RJZEUXM. In advance I had already downloaded the complete ROM's from the Xiaomi website, patched the boot.img and transferred this to my SD card.

OTA's and re-rooting went fine (using my own guide in this topic :p ), albeit that apparantly the safetynet now seems to fail. Has anyone else have this experience?

----------

Edit: after some searching on google it appears Google has changed the attestation of these devices. Anyway, I've managed to get the device to pass after tweaking some settings:

1) Enabling Magisk hide in the Magisk app helped me pass the basic integrity test. Apparantly hiding Magisk is disabled by default now, which I had missed at first.

2) Next downloading the latest version of Safetynetfix by KDragon. Latest version can be found here: https://github.com/kdrag0n/safetynet-fix/releases . Installation instructions and the ins and outs of how the attestation works and how KDragon managed the work around is described here: https://www.thecustomdroid.com/fix-safetynet-hardware-attestation-guide/ , a must read!

3) Install the aforementioned zip file in Magisk and reboot the phone.

4) Attestation is reverted back from Hardware to Basic and all passes ok now!

This is working for me on a

JOYEUSE

device.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Ud4ba:
Im trying to unlock bootloader on Redmi Note 9 pro , i have done all the steps correctlty , my device will get recognized at adb but not at fastboot to unlock the bootloader . any ideas what i should do?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] t3rm3y:
Oops
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] t3rm3y:
I think you have to get it officially unlocked by xiaomi? Register, request unlock, wait how weever many hours and then unlock it with their app... At least that's how it used to be.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Xorio71:
Shouldn't I copy the patched Magisk file to the ADB directory so the command prompt can find it?

Google's SDK tools also have fastboot.exe.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Hello I have MIUI version 12.5.3.0 (RJZEUOR). I'm root. My phone warn me there is an update available 12.5.7.0 (RJZEUOR). But when I accept to install it, after the download is over the phone restart et go directly in TWRP. Then I can reboot to system but the update is not done.

What can I do to install it ? (In the past I did successfull update with this phone without problem)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
If you have flashed TWRP you cannot take the OTA. Never could either. You will need stock recovery for taking an OTA.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Thanks Maybe I did this by error in my last manipulation (because after each update I needed to re-root again using TWRP). Then what would be the solution ? Can I install the update using TWRP and an official file provided by Xiaomi ?

Or Can I unflash TWRP ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
I don't know, you can flash back the original recovery (if you made a backup) but I've never tried this before. In this topic I've described the way how I have rooted my phone and taken an OTA before with the original fastboot tools, since there was no TWRP for the Joyeuse device. You will have to search for my post in this topic.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
So your proposal is to load an OTA from a Xiaomi file and load it using a computer + USB tools. (Fastboot).

Shouldn't it be more simple as I have TWRP already installed and it can flash a zip file ?

How can I know if the update will erase or not my application and settings? Because OTA are clean update and don't erase anything
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
No that is not what I said / meant. I rooted my phone with the OEM tools.

For taking an OTA you need to restore your original recovery.

Flashing an OTA with fastboot wil surely brick your device.

Read my old post in this topic and compare it to the way how you rooted your phone. Only you know how you rooted it. Then you'll see what is comparable and what isn't can and how to continue.

Edit: added the links

How to root with OEM tools:

https://xdaforums.com/t/how-to-unlo...ng-official-tools-only-fully-working.4108913/

How to take the OTA with OEM tools:

https://xdaforums.com/t/how-to-unlo...ly-fully-working.4108913/page-4#post-83158575

https://xdaforums.com/t/how-to-unlo...y-fully-working.4108913/page-11#post-85524399
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Thanks for your answer. I will have a look at it.

Just for my understanding, OTA are update that can be done 'online' using only phone and without being connected to computer. Generally these update don't reset the phone.

But isn't it possible to download the same update on Xiaomi website and do the update manually with TWRP or any other tool (I'm not an expert) like adb tool, etc.

Last question : I have the feeling that my rom is quite special (specific to one french operator or something like that) would it be better and simpler for update if I switch on a main global rom ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
1) Correct.

2) No, OTA's can only be flashed with the original recovery, which you should have backup'ed before you flashed TWRP to your recovery partition.

3) If you switch to the global rom your device will be wiped anyway. It will make your life easier later on though. Only you can weigh the positives with the negatives in your case ;).
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Thanks, so you confirm that I have a specific ROM that may be hard to maintain because less used. Maybe also I don't have all update like people with global rom.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
It really depends on your carrier/operator. In the Netherlands it usually sucks and they dump update support after a year or 2*. (* if you are lucky)

I don't know how the French carriers/operators are but I wouldn't be surprised if they do it the same and dump it as soon as they can.

They only earn on the sales of contracts and new phones, updates are blegh and only cost money in the eyes of carrier/operator. They rather sell you a new phone and contract then support an older device for more years.

So that is your decision to make. Good luck!
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] derrekgamer:
Will this method work for note 9 pro joyeuse EEA MIUI 13 Android 12 version?...
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
I agree with you I guess I have less updates than the one provided by Xiaomi (even if they also earn money by selling phones ;-) )

So I will install the stock official rom for my phone. Could you help me to know which rom is it ? I don't want to make an error and install a Chinese rom or something like this.

I have a Redmi note 9 pro (m2003j6b2g) , I don't know if there are several version of this or not and I also have currently the 12.5.3.0 (RJZEUOR) version installed. And TWRP is flashed. Will it be a problem to install the stock rom ? Do I need to do the complete adb stuff with fastboot etc. or can I use TWRP to install it from it using a zip ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
Before doing this operation I would like to backup my phone using TWRP. If I select 'data' partition, I need approx 30go to do the backup (that is too much for my phone) because of my photo. Is there a way to perform a backup of the phone using TWRP and exclude my photo from the backup ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
it seems that this does not contain download or photo (as said by TWRP during backup) but unfortunately I have error during backup : "createTarFork() process ended with ERROR: 255" I don't know if this is related but I have also a message in red on startup of backup process : "E:Unable to decrypt FBE device"
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] iostrym:
I found the error it is because TWRP flashed can't decrypt data partition. I use now TWRP pushed with adb and I can decrypt data, backup is done but at the end, still the error "createTarFork() process ended with ERROR: 255" whereas there is no more encryption problem.

any idea ? is it possible to make a full backup using TWRP and redmi note 9 pro ? do you succeed to do it ?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] Thijs_Rallye:
I honestly have no idea. I think your best way forward is to download a complete image, extract the recovery from that image, unroot your phone, flash back the OEM recovery and take the OTA.

I suspect the last two letters of your image version means operator. All OEM images end on XM. So _maybe_ a RJZEUXM image _could_ work. But no guarantees. If you are lucky the recovery part hasn't been changed that much between versions but it is a slippery slope and dangerous assumption.

Please forget using TWRP for flashing zips for recovering/restoring your phone. It will likely brick it.

Xiaomi Community

new.c.mi.com

Xiaomi Firmware Updater

The ultimate script that provides firmware packages for Xiaomi devices.

xiaomifirmwareupdater.com

https://xdaforums.com/t/extracting-stock-boot-recovery-and-persist-images.4058447/
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] OctagramStar:
Hi, I have updated my redmi note 9s to MIUI 13.0.2 Global when I check the official MIUI ROM Page the lastest rom they provided is the MIUI 12 so do I need to downgrade from MIUI 13 to 12 to apply the patch and root?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] cpoc:
what to do if a xiaomi while I install global rom is clean and lock but then by mistake it remains stuck in fastboot mode. now I can't even unlock because it's blocked, I can't go to the developer option to give permissions please hepl
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] cevi:
Very clean and easy. Redmi Note 9 Pro (Joyeuse) MIUI 14 Android 12. Thanks. :)
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] mrmagicm:
Hello!

Is it now possible to unlock the bootloader of a redmi 9S without having to use Xiaomi's official s unlocking tool please?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] DCCS:
Is this work with my RN9Pro with version V12.0.3.0.QJZMIXM joyeuse?

I didn't see my version V12.0.3.0.QJZMIXM here https://c.mi.com/global/miuidownload/detail/device/1900564
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] TheMadAtheist:
How much data is used to unlock the bootloader?

I want to root this phone.

Since we have to have a phone service to unlock the phone, how much data is used?

I have no cell plan and have to get a prepaid sim.

Thx, d.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
There is no stable and fully working recovery for Android 10 yet, unfortunately.

It's hard to know for sure, because it's some proprietary Xiaomi stuff, but it seems it transferred very little data, probably just some auth tokens and such. It's quite dumb they force you to use mobile data just to unlock the bootloader.
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] TheMadAtheist:
I haven't rooted or custom flashed a ROM in a long time, once the bootloader's unlocked, it's unlocked permanently, even if you flash ROMs to the phone, right?
[Redmi Note 9S / Note 9 Pro (Indian Model) Guides, ] 81403:
Yep, it is, unless you lock it yourself.