Recovery Vs Fastboot ROM - Xiaomi Redmi Note 5 Pro Questions & Answers

Hello guys how u doing...
My question is what is the difference between Fastboot And Recovery ROM in terms of what files they have.
I know Recovery ROM can be flashed by recovey and fastboot is used when phone's recovery in not accessible.
If i am on android 9 (MIUI 11.0.3.0) and i want to downgrade to oreo (9.5.19) can i flash this 9.5.19 recovery ROM directly via custom recovery or Use mi flash tool.Please tell me the reason why u choose either method

Sidgup1998 said:
Hello guys how u doing...
My question is what is the difference between Fastboot And Recovery ROM in terms of what files they have.
I know Recovery ROM can be flashed by recovey and fastboot is used when phone's recovery in not accessible.
If i am on android 9 (MIUI 11.0.3.0) and i want to downgrade to oreo (9.5.19) can i flash this 9.5.19 recovery ROM directly via custom recovery or Use mi flash tool.Please tell me the reason why u choose either method
Click to expand...
Click to collapse
For upgrade/reflash/downgrade MIUI always use fastboot ROM and chose clean install. Custom recovery is better for rooted devices OTA MIUI update and for custom ROM's. And if you gonna play with ROM's be smart and unlock bootloader for easy fix if something goes wrong aka (un)bricking device.
Good luck
Sent from my unknown using XDA Labs

I'd be interested in this question too. Is there any difference in what those versions contain?
Fastboot ROMs are much bigger usually, like double the size. Is this only due to the recovery versions beeing compressed (better), or do the fastboot versions contain additional data?

Related

Rollback Protection

I understand that with thins new update it becomes impossible to downgrade to previous versions of MIUI but how about custom roms like lineage? Or installing twrp and magisk? There is a lot of info scattered but i would like to get some answers and update OP with something like a FAQ of do and Do not to make it easier for everybody
*Work in Progress*
-Miui 10
- From 8.7.10 onward flashing TWRP is impossible but booting into TWRP is possible from Fastboot using "fastboot boot recovery.img"
- There is one report of a successful Treble Lineage Flash ( take it with a grain of salt )
Tyrany said:
I understand that with thins new update it becomes impossible to downgrade to previous versions of MIUI but how about custom roms like lineage? Or installing twrp and magisk? There is a lot of info scattered but i would like to get some answers and update OP with something like a FAQ of do and Do not to make it easier for everybody
Click to expand...
Click to collapse
Yes we need to know if possible flash custom roms or not. If yes the anti rollback isnt a big deal.
I updated to latest global beta.......now i cant flash twrp recovery now because of this anti rollback.
in my expiriance with LG G4 with antirollback. i could flash any custom rom aosp laos. just stock rom from LG i could not . qfuse will blow and brick phone.. this was only on LG firmware stock roms. not sure if its the same in xiaomi.
TWRP can be installed
Im currently on Miui 10 8.7.12 global beta
I have TWRP 3.2.1 installed along with magisk 16.0 :good:
Everything works fine
Have no intention of going back to previous builds
00r3 said:
Im currently on Miui 10 8.7.12 global beta
I have TWRP 3.2.1 installed along with magisk 16.0 :good:
Everything works fine
Have no intention of going back to previous builds
Click to expand...
Click to collapse
did you install before or after updating?
Installed it after as twrp was replaced by stock.
After rooting it works fine
Anti roll back is already in moto phones. Only problem is rollback to stock only you can flash 8.1 to 7.1 custom ROMs. Even in stock you can skip bootloader files and flash to rollback with upgraded bootloader. Its new to xiaomi.
So Anti-rollback is no big deal because we can install TWRP + custom roms then? Some people say no (they can't, with little to no evidence) and others say yes (with decent evidence). Do we know what's up, I read comments telling it's basically 50:50. Is it device dependant, or do we need some exploits in terms of drivers/software usage etc? Thanks for your reply!
I'm also searching whether we can install custom rom or not ?
My RN5 AI came with stable MIUI 9.5.22.0. When I tried to install TWRP, to begin the process of flashing RR, I got the anti-rollback message and TWRP install failed.
You can install custom recovery and roms. Method here: Everything About Anti Roll-back .
ToXiTe said:
You can install custom recovery and roms. Method here: Everything About Anti Roll-back .
Click to expand...
Click to collapse
Link is down!
MarvinMe said:
So Anti-rollback is no big deal because we can install TWRP + custom roms then? Some people say no (they can't, with little to no evidence) and others say yes (with decent evidence). Do we know what's up, I read comments telling it's basically 50:50. Is it device dependant, or do we need some exploits in terms of drivers/software usage etc? Thanks for your reply!
Click to expand...
Click to collapse
we can install it, i did on 8.7.12. using redwolf.
also will be falshing custom roms tomorrow. so its just few extra precaustions. otherwise it business as usual
Kapiljhajhria said:
we can install it, i did on 8.7.12. using redwolf.
also will be falshing custom roms tomorrow. so its just few extra precaustions. otherwise it business as usual
Click to expand...
Click to collapse
Did you check the version of anti-rollback via fastboot (fastboot getvar anti)?
What was your method of flashing? Minimal adb and fastboot flash recovery redwolf.img and then boot into it, or just booting into it and flashing redwolf.img from the recovery itself? Did you use lazyflasher afterwards, or is it even necessay with redwolf? Which version of Redwolf did you use?
Thanks for your effort and sorry for all of these questions, I really hope we can help the community out. Plz tell then if you succeed in flashing a custom rom
MarvinMe said:
Link is down!
Click to expand...
Click to collapse
Sorry, wrong link. Updated
ToXiTe said:
Sorry, wrong link. Updated
Click to expand...
Click to collapse
So nothing has changed regarding flashing recovery and custom roms? I mean, people managed to flash twrp/redwolf the normal way --> doing the same with custom roms. I don't think we have a problem here but still this new implementation makes me nervous...
Edit: huh, no just flashing the antibypass image before doing the twrp in case you are on anti rollback > 3. Just with "fastboot getvar anti" the version, if you are on 3 you are good, if you are on 4 use the method the link I guess...
MarvinMe said:
Did you check the version of anti-rollback via fastboot (fastboot getvar anti)?
What was your method of flashing? Minimal adb and fastboot flash recovery redwolf.img and then boot into it, or just booting into it and flashing redwolf.img from the recovery itself? Did you use lazyflasher afterwards, or is it even necessay with redwolf? Which version of Redwolf did you use?
Thanks for your effort and sorry for all of these questions, I really hope we can help the community out. Plz tell then if you succeed in flashing a custom rom
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...warning-update-to-recent-miui-builds-t3814895

Basic Answers to Flashing procedure

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

Need to know some things before unlocking bootloader

Okay basically, I am new to this phone. I'm keen to unlock bootloader and flash custom ROMs, but I read some things that I don't really understand. Will I be able to return from a Custom Rom to a stock one, since there is Anti-Rollback? Is it true that some ROMs can relock my bootloader and if so, how can I notice?
If there is a thread with all this kind of answers or if you could answer me here directly I'd really appreciate it.
Thanks!
Lemon476 said:
Okay basically, I am new to this phone. I'm keen to unlock bootloader and flash custom ROMs, but I read some things that I don't really understand. Will I be able to return from a Custom Rom to a stock one, since there is Anti-Rollback? Is it true that some ROMs can relock my bootloader and if so, how can I notice?
If there is a thread with all this kind of answers or if you could answer me here directly I'd really appreciate it.
Thanks!
Click to expand...
Click to collapse
1st question is YES. you can return to stock miui. and viceversa. first you need to check your ARB version.
turn off phone and enter fastboot mode. by pressing power vol down.
then connect usb. and open cmd and run this command
fastboot getvar anti
it should say 3 or 4... if you in ARB4 then all you have to do is flash miui 9.5 9.6.4.0 or latest miui 10 stable 1.0
if you wish to stay on ARB3 then flash miui 9.5 9.5.17.0 and miui 10 only cersion 8.7.5 beta.. or learn to flash rom without firmware theres guides.
theres 2 types of roms. recovery and fastboot. recovery rom you can flash using the miui buily in updater using the 3 dots and selecting data package. and theres fastboot rom wich is 2.5GB and its not a zip but format .TGR wich you only need to unzipped. then use mi flash tools this is the best way to go back with a clean installation of rom. like if you have software issues. also in miflash tools in the window at the bottom it has 3 options clean installation. then keep data and CLEAN AND RELOCK thats how you relock you bootloader.

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 Is this recovery or fastboot rom?

I downloaded a rom from https://c.mi.com/oc/miuidownload/detail?device=1900394
The global version.
Now I'd like to know how I can flash this rom safely on my device. I don't know if I'm gonna flash this through recovery or fastboot.
Anyone know what this rom is?
LynnnXDA said:
I downloaded a rom from https://c.mi.com/oc/miuidownload/detail?device=1900394
The global version.
Now I'd like to know how I can flash this rom safely on my device. I don't know if I'm gonna flash this through recovery or fastboot.
Anyone know what this rom is?
Click to expand...
Click to collapse
There is a flashing guide button right by the download button. It says that you can locally update, or flash via mi flash tool (fastboot).
Judging from the ZIP-format, in Recovery-Mode? AFAIK Fastboot Images are Tarballs (.tar.gz) and Recovery Images are ZIP.
Don't quote me on that tho. I might be wrong

Categories

Resources