yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kounir:
Hello.

I have been trying solve my brick. I trying use warranty from my local area MiZone shop. I need little advice. If i get new device or replaced mainboard. What i should do if i want unlock bootloader but MIUI would will be active with ARB. How to unlock bootloader with ARB ? I don't need hard brick my device again.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] rodolphe06:
hey

are you using v2 ?

if so could you give your antivar nb please ?

i currently use v1 modded without fw, still 3 for me so

i d like to try v2 because of notif lockscreen fixes

---------- Post added at 10:03 AM ---------- Previous post was at 10:02 AM ----------

i guess it is more if you flash a rom without arb from a rom with arb then hardbrick.

But may be you right as arb is in fw
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] BiosCZ:
He definitely installed rom without ARB on rom with ARB, bcs that download link he used is official not custom one without firmware.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tlf55:
Where to download the Xiaomi.eu v2 rom ? I'm on Global BETA 8.7.5 with Anti still at 3 .. and just unlocked the bootloader .. If i download and install the v2 i'll still be on anti 3 right ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] BiosCZ:
You can download it here https://sourceforge.net/projects/xi.../files/xiaomi.eu/MIUI-WEEKLY-RELEASES/8.7.12/ and anti should stay at 3 but I think it is safer to stay on 8.7.5 like me ;)
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] lukesan:
To be honest. If it gets fixed under warranty I would personally wait a week or 2, I know it is hard. I've been reading a lot of threads on different forums and none is 100% clear or the same.

I could live with a locked bootloader for that time and then start checking the forums again.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] htchd2sucks:
Hi

I'm confused with all what you wrote. I received the phone (Global) with version 9.5.6.0.

The thing is while "system update download" was default, the option to install them was disabled.

I deactivated both options now.

I did not update anything yet, as I mostly waiting for LineageOS.

So how come you are having older versions?

So if I understand, it's above Stable 9.5.19.0, so I'm impacted?

Thanks!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] corkiejp:
[MENTION=4648515]AL_IRAQI[/MENTION]

"if Anti is smaller than 4, then it flashes normally, but your device will be anti 4 also"

Should you put a bigger warning that flashing your script will also trigger ARP?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Anihabe:
Hi! Can I flash MIUI 9.5.19.0 safely if I have MIUI 10 global beta 8.7.12 right now?? My BL is unlocked.

Thanks.

Enviado desde mi Redmi Note 5 mediante Tapatalk
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] MyCats:
Is it necessary to reflash dummy.img before every flashing recovery?

Sorry for my bad English
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Pjaswani023:
If you are never planning to go back to stock ROM -

Flash dummy.img then recovery(twrp recommended) and then any custom ROM(havoc os recommended) of your choice. After that you don't need to flash dummy.img. You can easily switch from one custom ROM to another, from one custom recovery to another.

If you want to use the stock ROM -

Dummy.img have to be flashed first every time you want to unlock bootloader cmnds(to flash recovery etc).
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] angryrooter:
I am now on pixel experience . My anti rollback index is 4 . How to switch to miui
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Ajendra25:
How can I check ARB index?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] KRisXD:
ARB check, ADB command: fastboot getvar anti
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] potyqa:
Hey guys, can I flash the miui oreo on top of miui pie? The phone is already screwed up (no baseband version or imei) so I don't want to absolutely brick it. And because I can't connect to the internet, I can't log into my Mi Account and it's saying "this device is locked". On previous versions of miui it was possible to delete setupwizard and bypass this but on the latest it's not. So I want to flash an older version of miui in order to bypass it.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Y-Axis:
Reboot phone to bootloader

Open cmd

Type "fastboot getvar anti"

Enter...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] qwe345:
Please help me

I encountered a big problem .. was on havoc pie 2.6 custom rom

By mistake flashed miui oreo rom and phone after booting totally dead

No recovery .. no fastboot

Tried to flash fastboot oreo rom and failed

Pc recognizes phone via mi flash but failed to send hello packet and flashing fails

Tried to enter edl mode and failed

Tried to flash anti roll back rom of some guy on youtube and flashing failed but finally got fastboot and recovery back

Till now cannt flash any rom via fastboot and always get errors and failures

Any advice of miui rom i can flash via fastboot to overcome this problem ??

Thx in advance
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] krishkamlesh:
How did you get fastboot and recover? I have faced same problem.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Y-Axis:
What is version of your miui oreo that u hv flashed?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] hoanvu1100:
I have tried the #5: Dummy file but i another problem: unkown command. What have I do now?

sending 'antirbpass' (8 KB)...

FAILED (remote: unknown command)

finished. total time: 0.026s
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] yash rana:
Try to boot into recovery via fastboot "boot not flash"

Then install new rom from rwcovery let rom boot for first time then flash new recovery

Command "fastboot boot recovery.img"
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ana0mabdoom:
How in details please ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Omesh Kumar Singh:
does this works with any Xiaomi device which has anti roll back? like redmi 6 pro (sakura) which has anti roll back.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] serdocan:
this way work for mi 6x ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] marikun:
Hi mattes!

Can "dummy proc" -> "flash recovery" make wipe data while flashing? It's nessesary to boot twrp, but userdata must be inchanged. Is it possible?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Skl8k:
Going back to miui from custom rom

Right now i am in a custom rom that is running on android 10. If i decide to go back to go back to miui which is based on android pie will it brick my device? My device is anti var 4 enabled and i was in the latest build of miui when i switched to custom rom. Thanks
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Dipesh 789803:
if You Get reply of this.. give me too...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Raghu varma:
Nope I already tested. Recently I flashed Pixel experience Q beta build on Whyred. And rolled back to stock miui 10 pie via latest fastboot rom & successfully booted no issues. Just flash always latest fastboot rom you won't brick your phone
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Skl8k:
Apparantly it won't brick your device. Just go back to the same miui version or newer than that. Donot downgrade. Happy Flashing
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] cimdrap:
It's a no sense because miui version is not strictly related to android version. Miui 11 could be based on Android 9 or 10 for exemple...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] AMKhatri:
I'm currently on Global Stable MIUI 11.0.3.0 (PEIMIXM) and want to unlock my bootloader followed by flashing Evolution X Custom ROM (Pie based). Do I need to follow this?

Running fastboot getvar anti gives me an error after which fastboot devices doesn't detect my phone any more unless I reboot into bootloader.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kaerusu:
I have an MI A2 6X, wayne, with anti 4 and after I do the whole process flawless, still can't go into the TWRP. Actually I think it's super bricked now.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] AMKhatri:
Did you do fastboot boot <twrpimagename.img> ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kaerusu:
I've tryed all I know, but no luck. I sold the celphone yesterday.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] yushe:
tks
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Skilaksidnhwef:
hello. do you have trick to remove miui account?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] MasterJuzztine:
i have anti 4, what miui 9 eu should i flash to avoid bricking
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
follow the link and go read all than ask...

https://xdaforums.com/redmi-note-5-pro/how-to/received-9-5-17-ota-update-t3813192/page1

Good luck.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] conduisant:
Hello

my devices is now unlocked under MIUI 10.3.1.0 (come from MIUI11 android 9): in fastboot i flashed TWRP (before flash dummy.img) but when à run "fastboot boot twrp.img" my phone boot and stuck on the MI logo

trying several times and always stick on logo

someone can help me ?

EDIT : solved = i used TWRP 3.3 that is for android 9, i've solved by flashing TWRP 3.2
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] A.Zain.A:
I have upgraded my Whyred and the battery sucks, and i want to downgrade. Can i use twrp to install older version of miui EU by removing "firmware-update" folder or it will still not boot and brick the device?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Abhinav2005:
Yes, you can boot by removing firmware update folder
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Hridul P.K:
is this dummy.img still working? a bit confused cause some have been reporting its not working
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ahmed.tohamy:
Xiaomi doing weird stuff

---------- Post added at 03:30 PM ---------- Previous post was at 03:30 PM ----------

Idk why they do this lol

---------- Post added at 03:31 PM ---------- Previous post was at 03:30 PM ----------

But thanks for the information
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Remember111:
Hoooww???
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] rahimali:
Hi, if anyone can help or guide me please. I recently acquired this device (11.0.3.0) so kind of new to this ARB thing.

I used MIUI account to unlock bootloader, flashed TWRP and then Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flashed Magisk also.

I just checked ARB status via fastboot getvar anti and unfortunately, I got a 4. Now since I already have a working recovery installed, do I need to do anything except wipe and flash to have a custom ROM on there or will ARB prevent me from doing so?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] AL_IRAQI:
Hello, flash away everything should be fine

dont install old FW/Miui ROMs
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Sidgup1998:
I am getting Bootloop after installing miui v 9.5.19 (official rom downloaded from Xiaomi firmware updater)

When the setup screen reaches region selection and i select India it says "Find device closed unexpectedly" and suddenly restarts and happen again and again.

Previously i installed when i was on 8.1 oreo it worked but it isn't working now

Latest orange fox recovery i am using

Edit: Fixed it after clean fastboot flash
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] helcurt2ne1:
hello, im currently on latest pie firmware whyred 11.0.3.0.. and with ARB 4..

just to make sure.. can i flash oreo firmware..?? like 10.2.2.0..?? because on OP mention that global firm after 9.5.19 have ARB 4.. so i can swith firmware or rom oreo/pie vise versa with ARB 4..
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] rahimali:
A couple of posts above yours is the OPs reply to a similar query I had. He specifically recommended NOT to flash anything lower than your current version of ROM (I had the same version and ARB 4).
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Sidgup1998:
Yes u can flash easily. Rom before 9.5.19 are arb 3

As long as u Flash afterwards version u will be fine
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kaew158:
Can I flash eu beta 8.5.10 oreo rom for my whyred anti4 (global stable v9.6.4.0)?

(xiaomi.eu_multi_HMNote5Pro_8.5.10_v9-8.1.zip)

If yes. Please give me how to do?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ajiekz:
need help

my whyred device was bricked and successfully rise from the dead after flashing using "unofficial_whyred_global_images_V9.5.19.0_OEIMIFA_anti_rollback_authorized" rom, after now i'm facing problem cannot install TWRP again. it always failed when i flash TWRP on fastboot command, please give me suggestion for step i must to do for i can install TWRP again.

thank you for the help...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tamil1996:
XBL error while flashing

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.2.3-2-whyred.img

target reported max download size of 536870912 bytes

sending 'recovery' (36616 KB)...

OKAY [ 1.423s]

writing 'recovery'...

FAILED (remote: Error flashing partition : Write Protected)

finished. total time: 1.513s

Kindly help me . i wont boot my phone for more than 15 days. i searched whole internet for solution . but i didnt find any :(

---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------

Use twrp-3.2.3-2-whyred.img this version of twrp and boot via fastboot
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
Read OP again.... you need to bypass ARB :laugh: dumy.img :eek:

Good luck!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] hungphuthai:
me too
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] hungphuthai:
I have bypassed ARB, But A Can not insstall TWRP, (ARB :4) PLS help me
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Wahyu9764:
T
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Coogan:
Hi,

in order to upgrade to the latest LineageOs i flashed the latest Orangefox but it won't boot into recovery after that. Then i managed to install TWRP after using the dummy but it still does not boot into recovery. I only see the MI logo and the unlocked sign at the bottom. Can anyone please help me how to get into recovery?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] longsd:
I had the same problem last few days. You need to flash the fastboot rom to unbrick the phone, Should choose the lowest fastboot rom possible. Otherwise, ARB won't allow you flash the custom recovery again. I'm stucked with the latest Global rom and couldn't flash any custom recovery or root it.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] longhai18:
Can I unlock bootloader and flash ROMs like AOSiP or Pixel Experience without getting bricked? Sorry for asking such a dumb question because I'm new to all of this.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] anu1:
Nice Explanation

Keep it up. It helped a lot
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Lorenzo3631:
Yes, you can. The problem occurs when you downgrade to an older version of MIUI. Also, just don't update to newer firmwares.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] devanshu12:
Sir i now on miui 10 8.7.5 I have Anti 3 so I can downgrade to miui 9 lastest version or not
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ramig:
Yes

Enviado do meu Redmi Note 5 através do Tapatalk
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SunilSuni:
[MENTION=4648515]AL_IRAQI[/MENTION] fastboot link is available fo 9.5.19 build,

http://bigota.d.miui.com/V9.5.19.0....FA_20180706.0000.00_8.1_global_26115bcec2.tgz

please update this fastboot link
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] corkiejp:
Stable 9.5.19.0 has ARP enabled! Why would he link to that version?

He listed safe versions to use, not to trigger ARP!

Nevermind
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SunilSuni:
Go back and read first page properly....... He added Global Beta ROM fastboot link for 8.7.12 buil but he didn't added Global Stable ROM fastboot link for 9.5.19 so i am sharing fastboot link here...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Kusie:
Hi,

I don´t understand your point Nr 4:

This only applies to installed ROMs with rollback protection enabled, right? I´m on 9.5.17 right now and DON`T want any restrictions on my phone, I´d like to be able to use fastboot commands to flash new recovery or Kernel or whatever ...

So I downloaded 9.5.19 full recovery ROM and inspected the ZIP file... my question is: is there ANY chance of altering the ZIP to remove/avoid flashing of new bootloader (which does contain ARP as fas as I know) to get the benefits of new version but WITHOUT ARP ?

Otherwise I´m forced to stay on 9.5.17 or change Rom to AOSP or similar...

Thanks,

K.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kellerman40:
9.5.19 OTA notification arrived for me today, glad I haven't upgraded it yet. Most people will probably stick to the old BL versions.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Zippka224:
Need someone to clear this up for me,

If I update now to 9.5.19.0,will I be able to flash TWRP again and install AOSP/LOS roms?

And then if I'm on AOSP can I only go back to the latest MIUI or I can flash older MIUI versions?

Thanks
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Lorenzo3631:
Actually this is what I want to know too. I think it's not really clear and there are some misunderstanding about this, so if anyone is willing to explain that would be great.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] nolohedecidido1:
Hi guys,

I have posted this message in other thread but I think that posting it here could help someone else if my doubt is solved here too:

I am a little concern about all this anti rollback matter...

well, the point is i am in xiaomi.eu rom, 8.6.28 (miui 10). I have checked the "anti" variable via the "fastboot getvar anti", and return 3.

Now, I would like to downgrade to miui 9 via twrp, and since I have "the 3 value" I understand that I can downgrade without any trouble, rigth?

However, I have found this https://xiaomi.eu/community/threads/...ll-back.44975/

Here a guy have tried somehing similar and...briked phone.

What do I do now? Flash? i stay in a rom version that i dont like?

Thanks for your answers
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] AL_IRAQI:
Which Script ?, i was talking about fastboot ROMs script

Yes you can flash it

9.5.6.0 is older than 9.5.19.0, so it will stay anti 3

Miui 9 latest 9.5.19.0 is anti 3, so you have to flash 9.5.17 or use my modified builds Here

Added Thanks

9.5.19.0 is anti 4, so its "NOT" safe :p

Yeah #4 is for anti/arb ROMs only, you check my modified builds Here

or mod stock zip on your own

Yeah you can, after updating to 9.5.19.0 you cant go to older Miui builds without editing the zip

or you can check my modified builds Here

yeah you can downgrade fine, once you flash anti 4 ROMs you cant go back to anti 3 ROMs without modifying it
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] corkiejp:
[MENTION=4648515]AL_IRAQI[/MENTION]

"Which Script ?, i was talking about fastboot ROMs script"

Sorry, Thought you where referring to flashing of "fastboot-unlock-anti-4-whyred.zip"!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Lorenzo3631:
Just to be sure, if I understood correctly, that means that we can switch between any custom ROM and MIUI which is not old version even if our phone is Anti4?

So the limitation is only if we want to downgrade?

I'm asking this because the thread of AOSP Extended ROM says we need to be Anti3, otherwise it links to this thread. But I don't understand the point if the limitation is only between older MIUI versions... :confused:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] AL_IRAQI:
Yeah, with anti 4 you just cant flash back anti 3 Miui ROMs

its doesnt effect AOSP/LOS ROMs
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Cel00:
Good post, the Global 9.5.19.0 OTA came yesterday, luckily I didn't install it yet. Love MIUI but I guess its time for a custom ROM.

If I got it right the reason for this is because they include an older firmware that you can download separately, which only works on Anti 3 but improves some features like AD and OTG.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Lorenzo3631:
Thanks a lot for the clarifications!

That is what I was thinking too... but it wasn't really clear in the post, because every step were together and that made me think you must have Anti 3.

Anyway thank you!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tareque2742:
MIUI China beta 8.7.5

Would you please give me the link of china beta 8.7.5 for redmi note 5 AI.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] @ayush9:
I am on miui 9.5.17 so can I install miui 10 without enabling ARB??
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] lekyhiep:
help

HELP ME, i flash twrp (i'm in CHINA 9.5.22) to 8.7.5 GLOBAL BETA MIUI 10 and my phone was brick !!! :(
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] :
I had placed an order with one of the resellers but have since cancelled it because I am concerned about the following questions. I have had my eye on this device for some time, having previously owned Galaxy Nexus, Nexus 5 which were a dream to use third-party ROMs on.

I plan to use LineageOS on it. I refuse to use MIUI, so I am buying the device with the express purpose of flashing LineageOS.

Does this include the latest and official LineageOS rom ie lineage-15.1-20180717-nightly-whyred-signed.zip and TWRP for whyred

Does new stock of this device come with 9.5.19 or later already and do I need to be careful not to get that stock? I expect some time in the future all devices will include something later than 9.5.19.

There are no service centres in the country I am in, and I would like to avoid using translators to get support like suggested here should something go wrong.

I was planning on buying the Chinese version/Global rom or Taiwanese version as it appears that is the only version that comes with 6GB. I would have liked to have been able to get the Taiwanese version, though the only place I have seen that seems to be selling that is natun-king_au on ebay and I think that price might be more than I should be paying for it.

All the carriers in my country supports LTE bands 1,3,5,7,28,40. 28 ie 700MHz LTE is only on the Taiwanese version according to gsmarena. Does anyone know any reputable sources for the Taiwanese version?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] corkiejp:
Follow instructions here: - https://xdaforums.com/redmi-note-5-pro/how-to/tutorial-unbrick-redmi-note-5-whyred-t3816260

Or bring it to a Mi Service center if possible.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] coder3101:
I am on Xiaomi.eu 8.7.12 (MIUI 10)

Suppose I want to try Pixel experience or another Similar ROM, How can I do it, I have unlocked bootloader and TWRP installed.

This ARB just made me crazy, what are the things I won't be able to do, once I switch to other Roms Like Will I be able to switch back to Xiaomi.eu ROM (later or this 8.7.12)?

What are the things I need to do before going to those AOSP/LOS based Roms?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Yippee-ki-yay:
It's the same as always. Just use the new firmware (8.7.12 or above) with the same level (4).
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] coder3101:
Yes, how do I know that the new custom ROM is above 8.7.12+ with level (4)..

LOS Roms have different versioning, how do I know it is level 4
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Yippee-ki-yay:
But you have to use some firmware (rom+gapps+firmware): use 8.7.12
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] coder3101:
But previously I didn't use to flash firmware?

Simply, Wipe all with TWRP, then flash ROM + Gapps : booted the rom.