Basic Answers to Flashing procedure - Xiaomi Redmi Note 5 Pro Questions & Answers

Hey guys, I am new to whyred , flashed alot on other phones tho. Got some questions regarding the process of things I have to do to not mess up. I would do it like this:
0. I am on 9.5.19. miui global stable.
1. Unlock bootloader after 360 hours (hopefully)
2. Boot into Fastboot, boot up twrp image via command and then flash twrp via twrp.
3. Do I have to flash lazyflasher when I flash magisk? Which version of magisk is recommended atm? 1600?
4. After flashing one (or both, I don't know) I would go with flashing aosip or havoc (which is better on battery, features and over all performance?).
5. Do I have to flash some firmware or anything?
6. Since I am on Anti 4 (probably, didn't check yet but I am quite sure since I updated on 9.5.19) do I have to be aware of something else important?
Thank you guys for every help. If my answers will get answered and everything runs smooth sailing I will write a noob/starting guide to focus the knowledge a bit more. It seems really clustered in this forum

Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk

SunilSuni said:
Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk
Click to expand...
Click to collapse
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?

Username.php said:
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?
Click to expand...
Click to collapse
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough

SunilSuni said:
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough
Click to expand...
Click to collapse
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?

Username.php said:
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?
Click to expand...
Click to collapse
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile

SunilSuni said:
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile
Click to expand...
Click to collapse
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,

eisenbergw said:
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,
Click to expand...
Click to collapse
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer

SunilSuni said:
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer
Click to expand...
Click to collapse
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)

eisenbergw said:
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)
Click to expand...
Click to collapse
Most of the firmware recommended by developers contains older bootloader (Antirollback protection version 3)
Since you are in 9.5.19 your bootloader has Antirollback protection (ARP 4) so if you try to flash older firmware then your mobile will get bricked so avoid flashing any firmware recommended by developer because you already have latest bootloader
Firmware name will be based on global beta ROM version

Related

ARB and custom ROMs

hi! I'm having problems with wi-fi and mobile connection and I am on a custom ROM at the moment
my question is:
if I flash **complete** MIUI ROM (latest 10.0) without locking the phone using Xiaomi tool, would I still be able to install TWRP and custom ROMs without bricking the phone?
I am not interested in previous versions of MIUI so obviously I wouldn't be downgrading MIUI versions
Yes you can, remember that custom ROM not have firmware so your arb status will not be touched
SALVO9 said:
hi! I'm having problems with wi-fi and mobile connection and I am on a custom ROM at the moment
my question is:
if I flash **complete** MIUI ROM (latest 10.0) without locking the phone using Xiaomi tool, would I still be able to install TWRP and custom ROMs without bricking the phone?
I am not interested in previous versions of MIUI so obviously I wouldn't be downgrading MIUI versions
Click to expand...
Click to collapse
yes use fastboot rom and miflash to get back to miui 10. thats ARB4. remeber to tick clean all in miflash dont relock bootloader. and then you can install twrp and any custom roms.

information about firmware

hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
WOS17 said:
hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
Click to expand...
Click to collapse
1. there are many ways. using the official sytem updater and searching for new updates. but if you are rooted and have twrp. i suggest to use either orange fox or red wolf twrp's they support OTA. thats for official miui. or you can download zip and use the sytem updater and using the 3 dots and data package.
or unlocked bootloader using fastboot rom 2.5GB and miflash tools. i think this is the best way when you have problems and needs a fresh clean installation. beware that at bottom the option its selected to relock bootloader . just change to clean. clean and lock will flash and lock bootloader.
2. depends am not sure in RN5 how is camera. most of the times when you dont use official rom from vendor camera quality decreases. say using stock firmware will give you best quality then when using AOSP LAOS.
if camera doesnt suffer from decrease quality then its good. your phone will be faster,more battery and there are lots of roms available. i have not tried AOSP or LAOS roms in RN5 thought.
2. i love masik rom over official rom. this is miui based rom. but no OTA. you have to manually flash new updates.
3. not sure about your question.
4. doesnt matter ARB. in ARB4 only thing that changes its that in order to have twrp permanent you have to do an extra step. ARB3 you flash twrp.img. and had to use lazy flasher file.
in ARB4 you have to boot twrp. then in twrp you must flash twrp.img to have pemanent. or use orangefox and thats it.
WOS17 said:
hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
Click to expand...
Click to collapse
Hello:
1. Being you are on ARB4, I would be extremely careful flashing firmwares. It's generally not necessary anyways, although sometimes newer firmwares can contain some bug fixes. In the ROM section you can find a thread with a firmware collection, including versions of firmware that have been stripped of ARB and thus *should* be safer to flash. You can follow instructions in that thread if you decide you want to flash.
2. Of course not. MIUI is a decent ROM by itself.
3. Of course not. It's purely a matter of preference. All ROMs you will find for your device support your device (duh), regardless of the base used.
4.There is no firmware recommended per se, because firmware is released by Xiaomi, thus we don't really know what's inside. We can have a general idea sometimes if a bug fix was applied our if ARB was changed looking at the whole ROM release notes, but that's all.
Hope that helps you.

Go back to Stock ROM from Custom ROM (Help)

Hello you beautiful people ,
I recently purchased a Redmi Note 5 AI and i want to unlock the bootloader and flash a custom ROM since i'm not happy with MIUI, i have read about ARB and i'm fully aware that i can't flash an older MIUI ROM with a lower ARB than what i previously had.
But what's absolutely confusing me is if i decide to change my mind, how do i go back to Stock Everything (ROM, Recovery, Bootloader) basically and be able to receive OTA's from Xiaomi normally again? (I tried to search the forums to find an answer but i couldn't find anything so please don't tell me to check the forums).
Download fastboot ROM and flash it using MiFlash software
For more info visit en.miui.com/a-234.html
SunilSuni said:
Download fastboot ROM and flash it using MiFlash software
For more info visit en.miui.com/a-234.html
Click to expand...
Click to collapse
Doing that will lock the bootloader and bring back the stock recovery as well, and i'm able to get OTA updates again?
ZozaTermina3or said:
Doing that will lock the bootloader and bring back the stock recovery as well, and i'm able to get OTA updates again?
Click to expand...
Click to collapse
You will get option to lock the bootloader or keep the bootloader unlocked
Yes this method will bring stock recovery and you will get OTA updates.
You have to download global ROM to flash it on global variant device
Or China ROM to flash it on Chinese variant device
SunilSuni said:
You will get option to lock the bootloader or keep the bootloader unlocked
Yes this method will bring stock recovery and you will get OTA updates.
You have to download global ROM to flash it on global variant device
Or China ROM to flash it on Chinese variant device
Click to expand...
Click to collapse
Ahh thank you so much ^^, sorry i keep asking way too many questions, but where do i get the option to lock the bootloader again? and if i'm on miui 10.2.20 before custom ROM, i can flash the same MIUI ROM i was on or an older one as long as it has the same ARB value?
and is there a guide on how to flash ROMS and recoveries, because i am extremely confused >.<
ZozaTermina3or said:
Ahh thank you so much ^^, sorry i keep asking way too many questions, but where do i get the option to lock the bootloader again? and if i'm on miui 10.2.20 before custom ROM, i can flash the same MIUI ROM i was on or an older one as long as it has the same ARB value?
and is there a guide on how to flash ROMS and recoveries, because i am extremely confused >.<
Click to expand...
Click to collapse
In MiFlash software. Select clean_all and lock option to lock the bootloader
Yes you can flash 10.2.2 or any older ROM wich has ARB value 4 (you can flash any ROM between 9.5.19 to 10.2.2)
SunilSuni said:
In MiFlash software. Select clean_all and lock option to lock the bootloader
Yes you can flash 10.2.2 or any older ROM wich has ARB value 4 (you can flash any ROM between 9.5.19 to 10.2.2)
Click to expand...
Click to collapse
Thank you so much sir, You are a life saver
I can flash the Custom ROM without any worries now ^^

Need help in downgrading

I have redmi note 5 pro and I have installed the latest orange fox recovery in it. Please tell me how can i downgrade my miui 11.0.3.0 to miui 10.2.1.0 oreo without bricking my device.
Thanks in advance
I'm not sure (wait for a proper answer) but I think ROMs from MIUI 9.5.19.0 and above are ARB4. I recommend that you flash a fastboot ROM that include the proper firmware for Oreo.
Fastboot ROMs: https://xiaomifirmwareupdater.com/archive/miui/whyred/
yes I recomend fastboot way too, not recovery's
I will like to ask people why recovery downgrading is risky as with custom recovery u can have n number of possibilities
Letrix said:
I'm not sure (wait for a proper answer) but I think ROMs from MIUI 9.5.19.0 and above are ARB4. I recommend that you flash a fastboot ROM that include the proper firmware for Oreo.
Fastboot ROMs: https://xiaomifirmwareupdater.com/archive/miui/whyred/
Click to expand...
Click to collapse
Thanks buddy for ur help, I successfully downgraded to 10.2.1.0.
One more question,what is the minimum ROM version that i can downgrade to (I have ARB 4)?
Now your ARB version is 4.
You can download the offical ROM image package and exract it.
Then open the file called "flash_all.bat". Look for "set CURRENT_ANTI_VER" in this file and look at the ARB version of the package.
If the anti level is 4 , it's safe to downgrade to this version.
If it's below 4, DO NOT flash the ROM or your phone will be bricked.
Yuki1001 said:
Now your ARB version is 4.
You can download the offical ROM image package and exract it.
Then open the file called "flash_all.bat". Look for "set CURRENT_ANTI_VER" in this file and look at the ARB version of the package.
If the anti level is 4 , it's safe to downgrade to this version.
If it's below 4, DO NOT flash the ROM or your phone will be bricked.
Click to expand...
Click to collapse
Thank u Buddy
From this info i cannot flash below global stable 9.5.19
And i just flashed it.
Means i m on the border

Question ARB and firmware flashing

If I flash for example fw_alioth_miui_ALIOTHEEAGlobal_V13.0.4.0.SKHEUXM_17e135935d_12.0 and another custom ROM wants fw_alioth_miui_ALIOTHEEAGlobal_V12.5.8.0.RKHEUXM_5e087090df_11.0 (v12 basically) will I trigger ARB and brick the phone? Or what is it that triggers ARB?
jnsson said:
If I flash for example fw_alioth_miui_ALIOTHEEAGlobal_V13.0.4.0.SKHEUXM_17e135935d_12.0 and another custom ROM wants fw_alioth_miui_ALIOTHEEAGlobal_V12.5.8.0.RKHEUXM_5e087090df_11.0 (v12 basically) will I trigger ARB and brick the phone? Or what is it that triggers ARB?
Click to expand...
Click to collapse
First of all these are not custom roms but stock roms.
The brick only if your device is Chinese and you lock the bootloader on a rom other than Chinese
Then either you use Miflash or Twrp.
If you use Miflash and encounter the ARB problem, the flash will not work and that's it, edit the script and delete the lines concerning ARB.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
NOSS8 said:
First of all these are not custom roms but stock roms.
Click to expand...
Click to collapse
I meant like, if Pixel Experiance ROM requires a specific fw version. I thought that if you flashed a older fw then you trigger ARB and you brick the phone. It was so on my Redmi Note 5 from what I understand. Is it not so on Poco F3? I'm talking about flashing in TWRP. And the firmware I'm talking about is from here https://xiaomifirmwareupdater.com/archive/firmware/alioth/ i.e not the whole MIUI ROM, just the firmware
jnsson said:
I meant like, if Pixel Experiance ROM requires a specific fw version. I thought that if you flashed a older fw then you trigger ARB and you brick the phone. It was so on my Redmi Note 5 from what I understand. Is it not so on Poco F3? I'm talking about flashing in TWRP. And the firmware I'm talking about is from here https://xiaomifirmwareupdater.com/archive/firmware/alioth/ i.e not the whole MIUI ROM, just the firmware
Click to expand...
Click to collapse
Flashing a firmware for an AOSP rom is no problem, but sometimes you have to flash the complete rom.
Twrp:
Format data write yes
reboot twrp
flash firmware
reboot Twrp
Follow OP instructions
NOSS8 said:
Flashing a firmware for an AOSP rom is no problem, but sometimes you have to flash the complete rom.
Click to expand...
Click to collapse
Ok, so let's say I have flashed MIUI 13 and the custom ROM wants MIUI 12 /fw v12 I can flash it without triggering ARB? Good in that case
jnsson said:
Ok, so let's say I have flashed MIUI 13 and the custom ROM wants MIUI 12 /fw v12 I can flash it without triggering ARB? Good in that case
Click to expand...
Click to collapse
Yeap,if you follow the instructions of the previous post
NOSS8 said:
Format data write yes
Click to expand...
Click to collapse
Do I have to do it, if I don't have encryption on or is this only if I have encryption on?
jnsson said:
Do I have to do it, if I don't have encryption on or is this only if I have encryption on?
Click to expand...
Click to collapse
Format data erases your data and creates a new partition if necessary so yes it is preferable.

Categories

Resources