yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
1. The easy but "nuclear" option: go to the OrangeFox menu, and selected "Del OF Files"; you will need to reinstall the OrangeFox zip installer after this

2. The fiddly but non-nuclear option: delete /sdcard/Fox/.foxs, and /persist/.foxs
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
That's got nothing to do with the recovery.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] umair42:
Then after ota update,i should reboot to recovery again and flash magisk,right?

And recovery will be intact after ota or i have to reflash recovery?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
I wouldn't say "several" - but the issue was not exclusive to whyred. This was probably one of the nameless "bug fixes" that we have done. IIRC, this one was just needed a small addition to an xml file. If you are interested in digging deeper, search the commits in our gitlab repo ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Is this something that you have just done?

Edit: I have just seen it ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
I'm interested to know yes!

I looked here: https://gitlab.com/groups/OrangeFox/-/activity

Is that the commits logs you are talking about?

I searched using ctrl + f in browser, for "pin" or "pattern", not found anything, maybe it was not named this way...

---------- Post added at 04:44 PM ---------- Previous post was at 04:38 PM ----------

I do have several tiny issues with this OrangeFox-R8.3-whyred.zip:

1) Often when I select reboot (slide right) just after wipe for example, it just comes back to the menu without rebooting.

2) If I haven't decrypted the /data, it was not letting me mount it. I think it's because I already formatted it inside ORANGFOX; but not rebooted. At that stage, I was trying the options in the gui, (such as mount) it kept failing.

So I rebooted in recovery for a test and after it worked. It's just a question of knowing if a reboot is required or not, I think.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
https://gitlab.com/OrangeFox/Recovery/commit/a081410dd4d7909de08756efa67851104c5659cf
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Thanks I was on the project main page and not at the "commit level" on the "recovery" page :cyclops:

I see, I will check in details thanks for the help!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] pakrett-bm:
Best recovery !

Thank you for keeping it up to date ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] peter-k:
I concur. Functionally this is by far superior to anything else.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Special support for nt36672 display

Update for Huaxing nt36672 display panel only - https://sourceforge.net/projects/orangefox/files/whyred/OrangeFox-R8.3-nt36672-whyred.zip/download
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] peter-k:
Does the update suppress the panels ghosting effect? Or what does it do?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
The only thing different about it is that it fully supports the nt36672 display panel. Only very few people have this display panel (which is a new thing for this device). If you have been using OrangeFox up till now (ie, your display is not nt36672), it offers nothing new to you.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Pedro11:
i would like to use it. i like all the features. however there is one serious problem for me : it does not mount my 126GB (exfat) external sd card.

this card is well mounted in redwolf 028 and the os. I will wait until next release of orange fox. thanks for your work,
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Which zip did you download?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Pedro11:
Hi DarthJabba9,

i have used OrangeFox-R8.3-whyred.zip wich does not mount sd card, so i switched back to newest redwolf beta (028).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Hmmm ... that shouldn't happen. Can you please try this build: https://sourceforge.net/projects/orangefox/files/whyred/OrangeFox-R8.3-nt36672-whyred.zip/download
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Thanks. It shows an approach (hard-coding vfat) that I would rather not adopt. This is the same approach as official TWRP. I will look at other options ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Please check your PM ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] reddsmokee:
how can i learn my display. i installed nt36672 and it's working but should i change it to normal version?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
No need to change. All versions will run properly on standard display panels.

If you want to know your panel, install AIDA64 from the Play Store.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] reddsmokee:
i looked. it was td4310. thank you. :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SSfalcon:
Mine is also same now should I flash 8.3 regular or the other 8.3 33 different one
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] raptorddd:
one of the files should have TD use that one.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
The regular one. But it really doesn't matter which one, because the standard td4310 panel is supported by both builds (the only difference is the kernels).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Hemphiz:
Deleted
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] nicolassp:
[MENTION=5850987]DarthJabba9[/MENTION]

It cannot access f2fs partitions.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Please don't post the same thing in different forums.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] nicolassp:
[MENTION=5850987]DarthJabba9[/MENTION]

The previous post was written by mistake at 5 plus forum. Though, when I format as f2fs, after formatting it says that it cannot mount cache and data which were f2fs partitions
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Ok, no worries. Perhaps you might want to send me the logs.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
[MENTION=5850987]DarthJabba9[/MENTION]

Hi there,

1) I often clean flash the rom, and each time in OrangeFox Recovery (3.2.3), after the wipe where I selected everything but micro SD and USB, it says slide right to reboot.

I do it, it asks to slide again to confirm something else.

I do it.

And then it comes back in the initial menu (where it shows install, wipe, backup..) instead of rebooting.

Then I have to click reboot at the bottom, recovery, and again slide right.

Is that normal behavior? I think it's expected to be able to reboot directly from the wipe option, here it seems not to reboot but take back to the main screen to reach the reboot option...

2) So I clean wipe everything but Micro SD and USB, I reboot the phone in recovery. Now it does not show in MTP in windows 10.

I have to into mount menu, where I see that the orange button at the bottom right shows "disable MTP" as if it's enabled. I have to manually disable then enable so that the device is shown in MTP.

So it looks like, after rebooting, the orangefox think it's in MTP immediately, but it's not.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Do you wipe internal storage as well?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Yes, everything but the Micro SD and USB options inside the wipe menu.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
If you wipe internal storage, then you will have also wiped the OrangeFox configuration.

Why would you wipe the internal storage as a matter of course?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
:D

Actually it's just the "clean flash", no particular reasons...

Ok so I wiped OrangeFOX configuration, but the system asks me to reboot after I wiped, so the config related to my reboot choices should have been saved or stored after the wipe...

Just for comparaison, in TWRP, I could reboot directly after the same wipe (and choose to reboot in recovery or system).

Here it seems that the option is there, but it's not working and comes back to default menu, where only the main "reboot" button will work.

I could take logs but another time as I just cleaned wipe everything and reconfigured pixel experience, I'm testing the rom now... (I usually clean flash each times there's a new update at the moment).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
I have not experienced this before - but there have been one or two reports of something similar (on mido). It may be a bug in the UI. I will log it.

BTW: "clean flash" doesn't need to involve wiping the internal storage. I never wipe my internal storage - except for those occasions where miui (or a Pie ROM) forces me to format my data partition.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Thanks!

The item 2 was about MTP; I noticed it each time I did (what I though was) a clean flash.

It's not a problem but again, in TWRP it was mounting the device in MTP immediately after rebooting the phone in recovery.

Here it seems that OrangeFOX believes its in MTP (due to the button showing disable to disable it) but there's nothing in my win10 pc.

It's only after I click twice on that button, that the phone appears in PC-

So I'm clicking once to switch to disable it (even if it's actually not enabled) and then I click again to enable it (that time it works).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Again, this is not something that I have experienced (and I won't wipe my internal storage just to find out what will happen!). All I can say is that deleting the congfiuration file while running can lead to all kinds of unexpected results if there is an attempt to read the configuration file again (which will happen) ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Sure!

I understand, I am in the same situation as you now. I know the workaround, so I'm only trying to help you improving the recovery as much as I can!

There's a reboot between the delete and the fact that, on next reboot, the ROM doesn't load immediately MTP.

If you need a recovery log (if I can take it now without wiping), or anything, I'm happy to help.

If you think doing the full wipe was silly and its a corner scenario, I'm happy to leave it here. Just mentionning that in TWRP it was not happening like that, MTP was properly appearing after a reboot in recovery (and the phone connected to win10 pc, of course).

So here you are, you will fixing, I can help. You don't, well, it won't impact me anyway :D
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Confirmed. f2fs will not work with whyred.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Hello,

Actually, I made additional tests right now while flashing the "fw-non-arb_whyred_miui_HMNote5HMNote5ProGlobal_V10.0.4.0.OEIMIFH_9aa5f799fe_8.1.zip" in OrangeFox Recovery.

After a phone reboot, the MTP is not connecting directly to the PC, I always have to go to Mount, disable MTP and enable it, so it would show in my win10 PC.

I am encrypted and I do have to enter a PIN when starting orangefox, so it decrypts the /data.

It's happening even outside the score of clean flashing or not.

Cheers!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Thanks. I can't explain why that is needed, because, as I have said, it is not something that I have experienced. At least, there is a simple workaround ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Hello,

i seek some help

I've tried to install a new rom today, unfortunlatly the zip was corrupted, and i had already wype system & data.

I did a full backup before that, so i tried to restore it and then fix the zip.

But the restore didn't go well...

Note that i checked the reboot after complete option :

after a short time (too early, maybe at 25%) the screen show some activity, juste had the time to see some red lines in the logs, and then the phone reboot (!).

The trouble start... it seems i can't access to recovery or fastboot...

Only got a shot vibration after a long push on power button (guess it reboot), but vol +/- have no effect...

What can i do ?

And of course, i have a train in less than 2hours for a few day trip...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Well, it is difficult to help you because there are too many unanswered questions - eg:

1. What was your original ROM?

2 .Which ROM were you trying to upgrade to?

3. How do you know that the zip was corrupted?

4. Which recovery did you use, and which version?

5. Do you know how to go to fastboot mode?

6. Can you enter that mode?

7. Is the device encrypted?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
1. What was your original ROM?

MiUI

2 .Which ROM were you trying to upgrade to?

AOSP Extended 9.0

3. How do you know that the zip was corrupted?

The recovery told me so when i tried to flash it

4. Which recovery did you use, and which version?

Note really sure of the version but it was orangeFox Recovery (8.2 maybe)

5. Do you know how to go to fastboot mode?

Yes, as i did it to install Orangefox the first time : hold power & vol-

6. Can you enter that mode?

No, that's the main problem. Afterward i can push file / start recovery, ...

7. Is the device encrypted?

I don't think i encrypted it.

Got only a black screen now, and the vibration after a long hold of power button.

No led when charging, and not detected by the computer.

And the backup was with all partition, except internal storage
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
If you can't even access fastboot mode, then you might need to do something drastic (eg, testpoint or EDL methods - search the forum for these).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] peter-k:
[MENTION=8440774]gargant[/MENTION]

This might be your ticket: https://xdaforums.com/showpost.php?p=78153680&postcount=5
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] zarto:
Edit : Nervermind, it fixed by itself ... One reboot did not did the trick, the second did ... I guess this was not cam2api related ...

Hi ! Thank you for this recovery.

I'm using Pixel Experience AOSP : https://xdaforums.com/redmi-note-5-pro/development/rom-pixel-experience-t3830197

Stock Camera app wasn't working, but OpenCamera was working flawlessly.

I then installed Cam2Api from OrangeFox menu. Now neither the stock Camera (totally black screen) or OpenCamera (totally grey screen) works.

How can I uninstall Cam2Api ? Should I flash the ROM again ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MikiGry:
[MENTION=1480450]zarto[/MENTION]

Install build.prop editor, search for line "persist.camera.HAL3.enabled=1" and delete it
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
As he said in his edit, this isn't really about Camera2API at all ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Thank you for the post.

I manage somehow to detect the device with fastboot (the screen was still all black, so didn't notice the phone was on fastboot).

Couldn't reboot on recovery from the phone, but i did boot with an img directlly from fastboot.

So i tried again :

- to install my aosp rom

- to reload my backup

Each time i have errors, and i think it's the same problem :

Restoring System
Restoring Boot...
Restoring Cache
Restoring Vendor
Restoring Persist
Restoring Boot Logo
Restoring Modem
Restoring dsp
Restoring Sec
Restoring EFS
Restoring efs2
Restoring efsc
Restoring efsg

Updating partition details
Failed to mount '/firmware' -Invalid Argument
...done

Installing Zip file ...
Zip file is corrupt!
Error installing zip file

Updating partition details
Failed to mount '/firmware' -Invalid Argument
...done

So i guess i need to flash a "firmware" ? Where can i find it ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
:eek: :eek: :eek: What's all this stuff you are trying to restore? Before restoring, untick everything - except boot, system, data, and vendor. You can do serious damage otherwise (including creating a hard brick).

Unfortunately, since you have tried to install a treble ROM, returning to MIUI is not going to be straightforward. At the very least, you might need to format your data partition. Read point #3 here: https://xdaforums.com/showpost.php?p=76885728&postcount=3
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
well, i just let the default option after select my backup.

i do not specially want to return to miui, if i could install the aosp rom i'm good with it.

i do not care about data, and it's already wyped.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Ok then - but, first of all, make sure you flash the most recent release of OrangeFox (R8.3). There is no reason why you shouldn't be able to install any AOSP ROM. I can't advise as to which one is best - you will need to decide that for yourself.

But if your device is already compromised by all this flash and restore actions (which is likely if you are still getting a black screen when in fastboot mode), you might need to first flash a full fastboot MIUI ROM with the mi flash tool, and then start all over again. Just make sure that you don't flash anything that will activate troublesome ARB. And also make sure that you don't accidentally lock your bootloader again (very easy to do when flashing with mi flash, if you are not paying full attention to everything). My way of ensuring that this can never happen is to delete all "the flash_all_lock*" batch/script files after unpacking the fastboot ROM archives.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
plz delete this post - i fixed it
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
How? It might help someone else.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Hobbygamer27:
How to install this without having twrp installed first?

If its not possible, where I get the standard twrp?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
As I successfully load the recovery, I pushed the files again and was successfull with the flash.

Well, I still have a problem, perhaps with the rom, but I have no network. When I try to make a call, it tell me that I'm in plane mode, when I'm not.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
You are senior member, you should know how to use search, I guess :confused:

geez

deleted link...

lazy and mahh... for helping I got warning flaming/lack of respect... so do it your self or don't.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Which ROM?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Aosp extended 9.0

But maybe I need to flash something beside the rom? Modem or anything?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Yes, you may need to flash a firmware/modem zip.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
https://xdaforums.com/showpost.php?p=76885728&postcount=3
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
End up flashing the last stable miui with Mi Flash (http://en.miui.com/a-234.html)

Still the same problem : radio service disabled (no network)

I believe that mi flash should have flashed all partition / firmware /etc... anything ?

I'm a bit lost with what i can do now...

Edit : it seems that i have "lost" my imei, and my network problem may be due to that (or it's a subconsequence). The few solution that i found for that was to simply flash a rom...

I also checked : i'm on ARB firmware (4) - but not sure what it involve...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Flashing a fastboot ROM with mi flash should have sorted out those problems if they were software-related. If it is a hardware problem (eg, hardware failure), then nothing that you flash will cure it. You may want to run a thorough check on your hardware, and also check your logs to see what errors are thrown up. But such discussions are not for a recovery thread. You will need to take this discussion to general trouble-shooting threads.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
i don't know if you saw me edit, about the lost IMEI ?

That seems to be software.

Well, it's my last "hope", if i can call it like that...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Your last edit was posted after I posted my response, so I didn't see before posting. I thought that the problem might be IMEI related. But that kind of problem is often solved by flashing a fastboot ROM. Clearly, that didn't work in this case. But you might find a solution by searching for IMEI in the forum. With ARB4, you will need to tread very carefully with regard to what you flash - or you might end up with a permanent brick. But again, those discussions are not for this thread.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Anyway, thank you for your help
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
:fingers-crossed:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Shafwan7:
this is epic twrp for whyred <3

support AOSP and MIUI
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
I send you a PM.. Don't wanna highjack thread
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] The4anoni:
On which TWRP version this recovery is based on ?

Also does it have Polish language ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
1. v3.2.3

2. Yes.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] The4anoni:
3.2.3-0 ,-1 or -2 ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
No such things exist in TWRP. It is plain 3.2.3.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] The4anoni:
There is thing like this.

Proof:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] doveman:
In AIDA64 / Display it doesn't say what panel I've got, just shows resolution, IPS LCD, size, pixel density. I can't see anything about the panel under System either. Where should I be looking?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Go to TWRP/OrangeFox recovery and in terminal run this command

dmesg | grep "Panel Name"

Viola...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
Those are not the main TWRP release versions. They are maintainer release versions. Any maintainer can add any random hyphen and/or number.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] The4anoni:
So ,on which version OrangeFox is based ? 3.2.3-0 ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] doveman:
Cool, thanks. Says I've got the tianma td4310 so I can use the standard version.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Groot:
He said 3.2.3 already. It means it's the latest, can't you read?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] krillehb:
OMG........please let it rain some brain........:D
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SACS73:
Hello everybody. I have just updated to 10.0.6 by flashing the entire rom because it didn't get the update and I lost the orange recovery. It returned in stock recovery. What hapened?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
You're supposed to flash the non ARB firmware only to update to 10.0.6... If you flash the full "rom+everything" then it's like going back to MIUI and you replaced the recovery...

so You probably have RBv4 now, and need to reflash recovery again (inlcuding flashing the dummy.img). Do research it's all well explained.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ericson143:
Thanks for this recovery, it saved my phone struck at asking for recovery password. After flashing this recovery and then flashing the PE-Extended rom, I could boot up my phone again

Kudos to Dev :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] DarthJabba9:
:highfive:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] FaishalArZ:
Can i use this recovery on my redmi 6a ?