Changing Firmware with fastboot flash using Xiaomi's tool - Xiaomi Redmi 5A Questions & Answers

Good day xda devs and users! I'm using Lineage 17.1 Android 10 and I want to go back to MIUI 11 Oreo. Can I just go straight to flashing with the tool and Fastboot image from miui web page, or do I need to flash Firmware back to Oreo first? Thank you.

Download fastboot rom from the miui community then use MiFlash to flash the stock rom.

Do I need boot loader unlock?
I think you need to unlock bootloader, am i sure? Let me know about this. I am wait for your reply.

Related

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.

Want to flash miui pie fastboot ROM, need any precautions?

I want to flash latest miui pie fastboot ROM. Do I need any precautions, anything else to avoid brick and if I need to get back can I just flash miui Oreo roms?
Yes, same question.
drmuruga said:
I want to flash latest miui pie fastboot ROM. Do I need any precautions, anything else to avoid brick and if I need to get back can I just flash miui Oreo roms?
Click to expand...
Click to collapse
No, you don't have to worry about anything as long as you are using official flashing method
Yes you can flash 10.2.2 fastboot ROM after flashing 9.3.28 android pie beta ROM
Use 9.3.28 fastboot ROM and flash it using MiFlash

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 ^^

Revert back to Factory ROM

I am currently using Havoc OS and have TWRP installed.
How do I go back to the latest MIUI 10 Rom for my device (UK Version).
Would the bootloader still be unlocked after process?
Thanks
Flash the phone with official Xiaomi PC software, bootloader will lock itself afterwards, but you can unlock it right back without waiting period.
owen1978 said:
I am currently using Havoc OS and have TWRP installed.
How do I go back to the latest MIUI 10 Rom for my device (UK Version).
Would the bootloader still be unlocked after process?
Thanks
Click to expand...
Click to collapse
visit this en.miui.com/a-234.html to flash MIUI fastboot rom
pinx said:
Flash the phone with official Xiaomi PC software, bootloader will lock itself afterwards, but you can unlock it right back without waiting period.
Click to expand...
Click to collapse
Flashing official rom will not lock bootloader, you will get option to retain bootloader unlock or to lock bootloader in MiFlash software

Recovery Vs Fastboot ROM

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?

Categories

Resources