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.
Related
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
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.
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 ^^
Hi, just a little bit of confusion here about arb. I have bought rn5 pro from someone and its miui version is 10.3.1 stable which to me is the latest version available now. My question is, is it ok if i want to miflash this device to its current version 10.3.1 with clean all tick? I want to format this phone, unlock bootloader and install custom rom. Another question is, can i install latest xiaomi.eu rom which is version 10.3.1 also? Since its the same version of my current miui. Will it be safe? My last question about arb is, so it is not safe for us to downgrade the phone because of arb is it correct? But as long as its just upgrading the firmware, its just fine? Thank you
Upgrading is ok. For downgrading just make sure, that build you are trying to flash has exactly the same arb level as the one you are currently using
kraken77 said:
Hi, just a little bit of confusion here about arb. I have bought rn5 pro from someone and its miui version is 10.3.1 stable which to me is the latest version available now. My question is, is it ok if i want to miflash this device to its current version 10.3.1 with clean all tick? I want to format this phone, unlock bootloader and install custom rom. Another question is, can i install latest xiaomi.eu rom which is version 10.3.1 also? Since its the same version of my current miui. Will it be safe? My last question about arb is, so it is not safe for us to downgrade the phone because of arb is it correct? But as long as its just upgrading the firmware, its just fine? Thank you
Click to expand...
Click to collapse
yes miflash will flash the rom as it left from factory. using fastboot rom and miflash to start clean is the way to go. dont need to flash this way all the time only when theres something strange in rom that cant be fixed.
yes you can install xiaomi.EU stable is 10.4 i beleive. for this you will flash in twrp.
downgrade is possible as long as the rom is the same ARB as the phone.
Step One
Turn your phone to fasboot mode
Connect your Redmi Note 5 to PC with USB
Step Two
in PC go to C:\adb\
Push shift + Right Click
select Open Command window here
In CMD write this
fastboot devices
then write
fastboot getvar anti
it should say ARB4 so you can downgrade to any ARB4 rom.
raptorddd said:
yes miflash will flash the rom as it left from factory. using fastboot rom and miflash to start clean is the way to go. dont need to flash this way all the time only when theres something strange in rom that cant be fixed.
yes you can install xiaomi.EU stable is 10.4 i beleive. for this you will flash in twrp.
downgrade is possible as long as the rom is the same ARB as the phone.
Step One
Turn your phone to fasboot mode
Connect your Redmi Note 5 to PC with USB
Step Two
in PC go to C:\adb\
Push shift + Right Click
select Open Command window here
In CMD write this
fastboot devices
then write
fastboot getvar anti
it should say ARB4 so you can downgrade to any ARB4 rom.
Click to expand...
Click to collapse
Thank you for the explaination sir. One more thing. My account is authorize for edl flashing. Should i not be worried about arb and hard brick?
kraken77 said:
Thank you for the explaination sir. One more thing. My account is authorize for edl flashing. Should i not be worried about arb and hard brick?
Click to expand...
Click to collapse
i dont know anything regarding edl account. not sure what is the differnce.
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?