yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
Well to check the simple method is boot in TWRP and if it ask you to input pattern/pin/... to decrypt the data(no encryption will boot you directly in TWRP)...:laugh: or you can check in settings under security :good:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tofclaire:
hi, my rn5 run a custom rom(unlocked,twrp). Before i had the beta miui 10 with anti roll back. I have tested a lot of custom rom but i would like toknow : if i want to go back miui, i just have to flash with miflash ? and after i can re install twrp and go back custom rom ? thanks
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Rhine Septimus:
I recently saw Xiaomi stopped letting flash China rom to Global rom or vice versa. I got my Redmi note 5 ai Chinese stable with ARB 3. Still 720Hour till unlocking. I want to use Global stable after unlocking. Can I still flash Global stable after unlocking? I don't want to hard brick my device as I bought it unofficially.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dlghowk:
I think that only applies when the bootloader is locked. Maybe in MIUI forums there's some information to address this.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] shatsky:
I don't use such "toolkits", but this claim that command which writes 8192 zero bytes with standard tool is someone's intellectual property made me smile.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] scgas:
i is strange for me but i have arb level 4 and twrp not install ..But my version rom is 9.5.19.

I had read that only from update mioui 10 was install arb ..

now i can try ? or its dangerous !
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] shatsky:
Installing TWRP shouldn't hard brick anything, only ROMs which overwrite bootloader data can (i. e. MIUI).

MIUI has double versioning (e. g. MIUI 10 version 8.7.5), or even triple, together with Android version it's based on.

Every Snapdragon 636 RN5 device has ARB value, usually new phones are ARB3, MIUI 8.7.5 and newer increment it to 4 and write new fastboot host-side code which doesn't allow flashing images without bootloader data if safeguard flag in antirbpass partition is on. Zero it to disable the safeguard (see "fastboot flash antirbpass dummy.img" thing). Or boot TWRP with "fastboot boot" if you don't need it installed.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Jerome Matthew:
Hey guys! I'm on MIUI 10.0.2.0 but I hate the constant ads that can't be disabled and the image quality it trash now. I regret updating from MIUI 9.5.19.0 that my phone came on but I didn't know any better at the time and Xiaomi aren't addressing the issues. From my understanding, I can rollback to MIUI 9.5.19.0 via fastboot ROM if I unlock my bootloader without bricking since they're both anti-rollback 4? Is this correct? And are the fastboot ROMs on this thread the official ones from Xiaomi without any modifications? Thank you!

Edit: Sorry, I posted on the wrong thread by mistake and can't seem to delete the post. Kindly disregard this post.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] alghashm:
i am redmi note 5 on miui 10 stable rom Anti vlaue 4.

i just want to root my device without losing any data ?

how to please...... ?

my redmi note 5 is unlocked
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] VeerAmrit:
Can someone please tell me:

I am on MIUI 10.0.3 Can I downgrade to 9.5.19 using fastboot mode? Will it hard brick or it will work?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] scgas:
Yes

Read install dummy.img i open thread where i explain my situation.https://xdaforums.com/redmi-note-5-pro/how-to/flash-eu-global-stable-dev-9-5-19-arb-4-t3861407
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] crocodille05:
for mi 8 ı checked getvar:anti FAILED (remote: GetVar Variable Not found) this is problem or not?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] xell75:
I have an solution for the ads: Disable "msa" in the authorisation section, that should disable xiaomi ads system wide.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Jerome Matthew:
I tried it before and it didn't work. But I've just figured it out. It seems I needed to disable it then clear its data to get rid of the cached ads and stop them immediately. Now they've finally disappeared. All that's left now is the bad image quality. There's too much noise reduction and compression which leads to images looking like oil paintings and not having any detail. I've confirmed this because the images are half the size compared to MIUI 9. Which is rather disappointing. I saw MIUI 10.0.4.0 improves image processing on the Phone so I'll wait and see what happens with our device as I wait for my bootloader unlock timer to run out.

Edit: after further testing it seems it's also gotten rid of those annoying splash screens before the stock apps open.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kekesed97:
Hi, I am now using the fwless MIUI global. I've tried to install incremental update (from 10.0.1.0 to 10.0.2.0) and removed the firmware part, but it failed to flash. Is incremental update won't work if I dismantle the firmware part? I don't care if it work through updater, because I think it will increase arb value. I don't want to increase arb value, and I installed it via TWRP.

Thanks.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] scgas:
i succefully install xiomi . eu dev thanks a lot !

i have arb level 4 and 9.5.19 xiomi global stable !

this is the process for me

BT Unlocked

boot from adb into twrp

flash twrp.img via twrp

reboot into recovery

flash lazyflaher forsecure fit permanent twrp

than format data

copy ... in the storage the zip

install .zip of global dev

yeah
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] abdullah alotaibi:
in youtub i saw video change from rom arb 4 to arb 3 by recovery *****black recovey

any body try this method ? does it true?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tkh0403:
Hi everybody!

My RMN5 in 9.5.17 Global stable, was unlocked. TWRP, ar3

I want update to Miui 10 Global stable but have ar4 and will brick with TWRP ar3.

So, How can i do to update. Thanks!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dlghowk:
Bricks only happens when you downgrade from arb 4 to arb3. If you update from arb 3 to arb 4 your device will only get anti 4 and continue working.

You can also try with the fw-less versions of MIUI from this thread:

https://xdaforums.com/redmi-note-5-pro/how-to/index-redmi-note-5-pro-miui-roms-t3816343

Or try revolution OS, more or less the same as MIUI 10.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] tkh0403:
Thank for reply. I'm worried about bricking of twrp, but i don't worry brick of ROM because TWRP for Ar3 different TWRP for Ar4. Thanks!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dlghowk:
No really, TWRP is the same for both versions of arb, you can flash the latest version of TWRP either on arb 3 or 4. What does matter is firmware... and also the dummy.img but you can get that from the tutorial at the start of this thread.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ishuya:
Is it recommended to upgrade from anti 2 to anti 3?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] domsch1988:
I know this might be in here somewhere, but i just can't seem to grasp it and don't want to brick my phone.

I'm currently on AOSP 9.0. Phone is unlocked with TWRP on Anti 4 (checked with fastboot).

I now would like to go back to Miui 10 official Rom. I downloaded it from here: http://en.miui.com/download-341.html

I got the Developer MIUI 10 Beta (which is what i had before unlocking, not sure of exact version).

Can i just flash that through TWRP and be back to stock, or is there anything else i need to do? Or is this the completely wrong Rom Version?:confused:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] wehape:
Thanks [MENTION=4648515]AL_IRAQI[/MENTION] you're awesome... :good::good::good:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] yshiv666:
sir, After installing custom rom, if i want to flash stock latest miui using fastboot mode(using pc) is there any problem doing this or is there any precaution before flashing?

Please reply ASAP
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Egyptiandroid:
Now i ahave redmi note 5 global version on muiu 10.2 , what about roll back if i will unlock bootloader today and install custom rom? Please help me because i don't want to brick my phone
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ciochi85:
i dont get the all thing. I had stable 10.2 global, i unlocked bootloader, flashed redwolf then twrp (rom was not loading), then flashed rom, rom booted even though is laggy as hell (PE extended). May this have something to do with anti rollback? Anyway i'm flashing PE official, let's try if this is laggy too.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] anand115688:
Google play services froce stopped.... Any solution?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Suyash3267:
Can we get atleast camera quality like rn6pro like AI2.0 and better light condition images?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Rifat94:
If i flash the recovery / twrp build by #TWRP, will the twrp keep staying or replace with official miui recovery? My last miui official version was 9.5.12 & i never updated, just unlocked boot-loader & flash PE custom ROM.... Thanks in advance :) peace ✌
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Hobbygamer27:
Sorry for the maybe stupid question, but how exactly to I flash the Fastboot built correctly?

Maybe?

Thank you
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SuperJohnson:
Impossible to Flash TWRP

Hi guys.

I try to flash TWRP but i can't. It never happend to me before. Any help would be really nice.

Phone parameters :

- Bootloader unlocked

- Last global STOCK Rom installed (official ROM you have installed by default when you buy the phone)

- USB Debugging activated in the ROM

What I tried :

- Reboot the phone in fastboot (vol down+ power)

- Plug it to my computer

fastboot flash antirbpass dummy.img
target reported max download size of 536870912 bytes
sending 'antirbpass' (8 KB)...
OKAY [ 0.003s]
writing 'antirbpass'...
OKAY [ 0.000s]
finished. total time: 0.004s

fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (22760 KB)...
OKAY [ 0.647s]
writing 'recovery'...
OKAY [ 0.000s]
finished. total time: 0.648s

fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.637s]
booting...
OKAY [ 0.135s]
finished. total time: 0.771s

- The phone restarts with just the phone logo and it says "unlocked" at the bottom... Like when it boots to the system, but without loading anything. If I do nothing, it stays like this forever.

- If I try to manually reboot in recovery using vol down+ power, I am back in fastboot mode.

Please help!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.637s]
booting...
OKAY [ 0.135s]
finished. total time: 0.771s

Wtf downloading boot.img :confused:

lol nice soft brick. Recovery is not boot lol

That happens when people without knowledge and fearless trying to flash phones....

Loool go back to stock with fastboot method ( without firmware ROM )... and try not to hard brick your phone :p

Good luck :D
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SunilSuni:
Volume down + power button is the key combination to reboot into fastboot mode

Use Volume up + power button to reboot into recovery

And make sure you have downloaded latest twrp.img file for WHYRED device
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
I think he replaced boot partition with recovery:confused:

So nothing happens?!?

Correct me if I'm wrong!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SunilSuni:
No.. fastboot boot twrp.img command temporarily boots twrp recovery and we have to flash twrp.img file from twrp recovery to keep it permanently.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
If my memory doesn't fail me I didn't use that command... I know that you get temp twrp and flash it again in twrp and before reboot need to flash lazyflasher or magisk to make it permanent..

but fastboot boot twrp.img I never used..

fastboot boot recovery twrp.img I used and booted me directly into twrp... maybe I'm old and my memory isn't that good any more :rolleyes:

Anyway hope that guy will send us a report :angel:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SunilSuni:
From OP

1-

TWRP flashing method:

Boot Twrp or Redwolf using “fastboot boot XYZ.img”

Copy img to device then flash Image file of XYZ.img again from recovery.

Flash Lazyflasher Or Magisk

Or you can just flash any AOSP/LOS based ROM

or check #6 to unlock bootloader commands

I always use fastboot boot twrp.img command to temporarily boot twrp

i tried fastboot boot recovery twrp.img command on redmi 2 but it didint worked (My WHYRED is still locked so never tried this command)
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] SuperJohnson:
[MENTION=1393901]drnightshadow[/MENTION] I used to flash many ROMs on many phones. This brick is weird and happend when I try to flash TWRP, but the fact it overrides the OS boot is not an issue as I want to flash a new one. And thank you I know how to flash a stock ROM. Thanks really much for your kindness (sarcastic).

[MENTION=8387913]SunilSuni[/MENTION] yeah you're right, my bad. I tried volume up+power many times and it was the same (infinite boot).

My problem is solved and I really don't know how. The phone finally went off, then vol up+power succeeded, even if it was not working before. TWRP is now installed and I can flash a custom ROM.

Thanks for your help. ;)
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] drnightshadow:
Yeah that was really weird brick.. anyway I'm glad that it worked for you...

[MENTION=8387913]SunilSuni[/MENTION], I checked my notes and scripts and you were right about that command.

yeah I guess I'm old that's why I take notices and making scripts...

Anyway all good phone has TWRP and happy flashing...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Hor1zon:
I'm currently on V10.0.4.0.OEIMIFH MIUI 10 GLOBAL with unlocked bootloader. Do I need to use LazyFlasher and Dummy ARB Bypass to install Lineage OS 15.1?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Vuska:
Use Orange TWRP, you dont need lazy flasher again
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] vietphuongngo712:
[IMG="Error"]https://scontent.fhan1-1.fna.fbcdn.net/v/t1.15752-9/46965832_2222373964684103_8377057467141455872_n.png?_nc_cat=109&_nc_oc=AWMoVpz24kw_jwjfRKTF0mSvY45ZNfmqeUN7aUDhmuxJgSYpgqRd99WAeTxg0g&_nc_ht=scontent.fhan1-1.fna&oh=aa947788637123ad24a9a832b7b5b7b9&oe=5CA4EB56[/IMG]

Please help

i can't flash it
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] aleMarvel:
hi i not understand.. i have buyed note5 pro with global version 9.6.4.0..

from fastboot i see ANTI=4 !!

now..

1) unlock boot:

ok simple..

2) install twrp orange :

i must use your guide ( run fastboot recovery and after install recovery from sd)

but i not understand this point too ( i need first ?) :

Unlocking Fastboot:

This method let you flash twrp or run fastboot commands again

Download fastboot-unlock-anti-4-whyred from attachments or Drive

Flash from fastboot running this command

fastboot flash antirbpass dummy.img

Now flash twrp, run any fastboot command

3) install xiaomi.eu 10 stable :

i must install how is a simple custom rom ?? inside zip i see a folder firmware-update.. i have fear for arb.. it will trigger arb ?

4) after install xiaomi.eu 10 stable i must reflash twrp because it was overwritted from rom ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] minilandl:
So I just got my Redmi Note 5 pro Whyred from gearbest today It came with a multi langauge rom with an unlocked bootloader. I suspect it is a fake ROM but I was able to install the latest developer rom successfully. When I tried running the command fastboot boot twrp.img I got sending boot.img... the same happended when I tried dummy.img so I suspect gearbest did something dodgy with the phone. Because the bootloader is unlocked would I be able to flash the latest factory rom with anti 4 through fastboot or are there other steps involved
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Kashyap70:
Custom Rom To MiUI stable Rom

Sir ,

Suppose I have install my custom rom when i m on at miui 10.0.4.0 and i have kept for 2 months so now suppose i m done with my custom rom so i want to go for miui stable rom... So i want to ask u that i have to install back miui 10.04.0 or i have to install that rom which is running in latest ( suppose i gusses miui 10.0.5.0) . So i have to install 10.0.4.0 or 10.0.5.0 ....

Thanks :o
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] sahil chandel:
I have redemi note 5 pro with 10.0.4 miui but i want to downgrade it to 9.6.4 can i do it by unlocking bootloader then installing twrp n then wipe 10.0.4 n installing 9.6.4 recovery zip file without using fw less file those r on xda thread becuz both rom are arb 4 ? Will that work too ?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] liccolailo:
With regards to switching to anti 4 roms? Does it have to be fw-less or can we just flash the whole anti 4 recovery rom?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] KanedNUnable:
Hi there, I have brand new Redmi note 5 China version. Installed latest global dev ROM as soon as I got device, then installed latest global stable ROM 10.0.0.4, that's the current ROM.

Have never installed any custom ROM yet, but now I want to install official lineage os 15.1. I'm confused as to whether I need to install firmware file first or not though, and if so which one? Can someone please advise?? TIA!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] sahil chandel:
i have same question but thread seems to be inactive
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] :
Check for anti version using command

fastboot getvar anti

If it is 4 you are good to go further otherwise don't. If it is 3 or less flash 9.5.19. if it is 5 or more way to developers tell it is safe to use those roms
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] binaryhelix:
I'm in the same boat as you mate, bought the Redmi Note 5 Dual AI cameras (variant name whyred, SD636, 64GB ROM/6GB RAM) and the seller unlocked the bootloader for me and installed MIUI global stable 9.5.19

Also am confused as to what steps I need to take before flashing Lineage 15.1 onto my device.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] WabbitKiLR:
I'm having a bit of trouble getting TWRP onto my device, as I keep on getting stuck trying to load the dummy.img file. Purchased around September 2018, shortly after I received it I unlocked the bootloader to install Gcam but an update to my current MIUI version, MIUI 10.4.0 [OEIMIFH]. MIUI 10 broke Gcam but I didn't use it as much as I thought I would anyhow, so I didn't really worry to reinstate it.

Developer mode and USB debugging on, tried with a different USB 2.0 and 3.0 port, tried a different data cable, tried another PC entirely, spun up a Windows 7 VM to try that as well (Running Windows 10 in my home)

Currently on ARB v4:

C:\adb>fastboot getvar anti
anti: 4
finished. total time: 0.001s

This is what I receive when I try and flash the dummy.img file:

C:\adb>fastboot flash antirbpass dummy.img
target didn't report max-download-size
sending 'antirbpass' (8 KB)...
FAILED (remote: unknown command)
finished. total time: 0.003s

A slightly different error:

C:\adb>fastboot devices
a******5 fastboot

C:\adb>fastboot flash antirbpass dummy.img
target didn't report max-download-size
sending 'antirbpass' (8 KB)...
FAILED (command write failed (No error))
finished. total time: 0.003s

Is anyone able to give me some pointers as to what I can try next?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] KanedNUnable:
Similar to me, mine came with unlocked bootloader too. Anyway I installed latest global dev ROM first which already gives you the latest firmware you need - you do not need to then install any further firmware file. I tried a couple first (with & without ARB) but neither worked. So I restored to stock (global dev as mentioned above), booted to twrp (fastboot boot twrp.img) then installed twrp.img using the twrp install image file option, rebooted to recovery, then installed lineage zip and gapps micro arm64 zip. That is all, nothing else. Works perfect. If you have any issues using fastboot, try changing the data cable as the one I got supplied with was ****. My Samsung cable worked just fine tho.

---------- Post added at 17:54 ---------- Previous post was at 17:49 ----------

I had this exact problem. Nothing would work via fastboot (well fastboot devices would work but fastboot flash/boot etc would not). Fixed it by cleaning out micro USB port on phone (blow out any dust, clean with cotton bud/toothpick if necessary), swapping to a Samsung cable and changing USB port on my PC. Was probably just 1 of those 3 things, most likely the crap cable I got supplied with, but that's all it took for me. Nothing to do with software, just try a different cable again and it'll almost certainly work for ya.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ameenKadir:
Seach technobuzz on YouTube

---------- Post added at 10:00 PM ---------- Previous post was at 09:52 PM ----------

What u want to do
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Kerox1337:
I'm still a little bit confused about this. I've just unlocked the bootloader,installed latest twrp and latest magisk. Now can I use any ROM? I'm on 10.0.6.0. Can I flash xiaomi.eu,AOSP ROMS or official? Does it mean that I can't use MIUI 9 ROMS,only MIUI 10? If I flash a Pie ROM can I flash Oreo after,like MIUI or AOSP?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Kn1vess:
Guys I need a little help, I'm on Pixel Experience rom and a I want to flash an MIUI based rom like xiaomi.eu, now the question is: can I proceed without any risk ? or I need to know anything else ? sorry for the noobie haha.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] BlackHawk580:
I recently just got my Redmi Note 5 and unwillingly updated to MIUI 10 without knowing it would enable the anti-rollback feature. I've tried to flash TWRP but it fails (Obviously the anti-rollback). But i'm wondering what is the method of flashing TWRP so I can install Magisk, etc.?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] mitu725:
Is your boot loader Unlocked???
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dragonnet_86:
لو سمحت في شرح بالعربي او اذا في مجال اتواصل معك
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] perrsona1234:
Hi.

It may be a wrong thread, but what Pie-based custom ROM do You recommend? ?

Thank You.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] EnForce61:
Pixel Experience
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] taco9:
No problem if you use a firmware-less MIUI rom which I believe xiaomi.eu roms are fw-less. But make sure you are aware of how to return to MIUI roms as I think encryption issues to deal with.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Spudsicles:
Okay I have a couple questions that probably require simple answers:

1. Anti roll-back only pertains to the stock MIUI roms?

2. My new phone came with 9.6.4.0, so according to the OG I'm above 9.5.17.0 therefore I can't roll-back?

3. As long as I go through the steps of unlocking the bootloader (360 hours wait) and flashing TWRP, I should be able to flash any custom rom without any trouble related to the roll-back?

4. Should I update the MIUI OS to the current before unlocking and flashing?