EDIT: i'm really not sure about the correctness of this now. I'll leave the thread up as a sort of guide, but you'll need to do your own checks on ARB. Sorry, i read a couple of threads and thought i had it clear, but now i am not so sure...!
[Alioth, my device: Poco F3] Just writing this in case anyone else faces issues with ARB (anti rollback) while using MiFlash...
I was using a xiaomiEU rom later than the stock backup rom i downloaded which threw an ARB error in MiFlash Tool.
So i checked the ARB status using fastboot cmd 'fastboot getvar anti' which results with 'anti: 1'.
As far as i have found: anti:1,2 or 3 means that anti roll back is not active, it's safe to roll back. 4,5 and ARB is activated (if 4 or 5 are/become active from flashing roms since the time of this post, DO NOT FLASH downgrade rom).
Contained within the extracted rom folder are .bat files that correspond to each action you select in MiFlash (clean all etc in bottom right corner). Simply rename the associated bat file to the action you want to .txt at the end, instead of .bat ie flash_all.bat becomes flash_all.txt and open with notepad
Then delete all text at or near the top with reference to ARB/Anti etc. DO NOT DELETE any fastboot lines. Save and exit.
Rename the file back to .bat
Run MiFlash now without error. BUT, i MUST reiterate. CHECK YOUR ARB status BEFORE, as per opening of this post. If it's 4 or 5 DO NOT ATTEMPT TO ROLL BACK versions.
Many thanks to @pl1992aw for the additional info... taken from post below, i stand corrected;
It doesn't mean "anti:1,2 or 3 means that anti roll back is not active"
If your current Rom is anti 2,
1) you can flash Rom with anti: 3, 4, 5, 6... etc. and the anti will become 3, 4, 5, 6... etc.
2) you can flash Rom with anti: 2, and the anti will remain anti 2.
3) you CANNOT flash Rom with anti 1.
Source:
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
and also;
If anti roll back index is 0, that means no anti roll back at all of that Rom, it will not check or change your device ARB index.
Make sure you look at the index correctly. I don't own poco F3 or Mi11x or redmi K40. You have to double check it yourself. You are the one decide to flash.
I would like to also add: those lines in the .bat file are there for a reason, they should prevent bricked devices by preventing wrong flashing. Edit at your own risk!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reg66 said:
[Alioth, my device: Poco F3] Just writing this in case anyone else faces issues with ARB (anti rollback) while using MiFlash...
I was using a xiaomiEU rom later than the stock backup rom i downloaded which threw an ARB error in MiFlash Tool.
So i checked the ARB status using fastboot cmd 'fastboot getvar anti' which results with 'anti: 1'.
As far as i have found: anti:1,2 or 3 means that anti roll back is not active, it's safe to roll back. 4,5 and ARB is activated (if 4 or 5 are/become active from flashing roms since the time of this post, DO NOT FLASH downgrade rom).
Contained within the extracted rom folder are .bat files that correspond to each action you select in MiFlash (clean all etc in bottom right corner). Simply rename the associated bat file to the action you want to .txt at the end, instead of .bat ie flash_all.bat becomes flash_all.txt and open with notepad
Then delete all text at or near the top with reference to ARB/Anti etc. DO NOT DELETE any fastboot lines. Save and exit.
Rename the file back to .bat
Run MiFlash now without error. BUT, i MUST reiterate. CHECK YOUR ARB status BEFORE, as per opening of this post. If it's 4 or 5 DO NOT ATTEMPT TO ROLL BACK versions
Click to expand...
Click to collapse
I had to find out all that the hard way, sadly.
Couldn't install Pixel Experience Rom over 12.0.5, learnt i must downgrade to 12.0.3 to try again first. Had that Antirollback feature error, looked into the .bat file and just removed it all. I was then able to downgrade and install the Pixel Experience rom.
What if ARB gets activated ?
sheikh55 said:
What if ARB gets activated ?
Click to expand...
Click to collapse
The script stops and the fastboot commands in it don't get executed and you start scratching your head why that is.
reg66 said:
[Alioth, my device: Poco F3] Just writing this in case anyone else faces issues with ARB (anti rollback) while using MiFlash...
I was using a xiaomiEU rom later than the stock backup rom i downloaded which threw an ARB error in MiFlash Tool.
So i checked the ARB status using fastboot cmd 'fastboot getvar anti' which results with 'anti: 1'.
As far as i have found: anti:1,2 or 3 means that anti roll back is not active, it's safe to roll back. 4,5 and ARB is activated (if 4 or 5 are/become active from flashing roms since the time of this post, DO NOT FLASH downgrade rom).
Contained within the extracted rom folder are .bat files that correspond to each action you select in MiFlash (clean all etc in bottom right corner). Simply rename the associated bat file to the action you want to .txt at the end, instead of .bat ie flash_all.bat becomes flash_all.txt and open with notepad
Then delete all text at or near the top with reference to ARB/Anti etc. DO NOT DELETE any fastboot lines. Save and exit.
Rename the file back to .bat
Run MiFlash now without error. BUT, i MUST reiterate. CHECK YOUR ARB status BEFORE, as per opening of this post. If it's 4 or 5 DO NOT ATTEMPT TO ROLL BACK versions
View attachment 5323869
Click to expand...
Click to collapse
It doesn't mean "anti:1,2 or 3 means that anti roll back is not active"
If your current Rom is anti 2,
1) you can flash Rom with anti: 3, 4, 5, 6... etc. and the anti will become 3, 4, 5, 6... etc.
2) you can flash Rom with anti: 2, and the anti will remain anti 2.
3) you CANNOT flash Rom with anti 1.
Source:
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
As @pl1992aw said, anything than 0 in anti: x means ARB is active, so u can flash the same/greater ARB than u already have. I said that because many ppl on here said that if ARB is 4 only means the ARB is active.
Thank you everyone for putting pieces of knowledge regarding anti rollback.i think people who frequently flash roms should have all understanding about their devices and in this case this one is must because many people have bricked their phones lately and somebody should make a thread with proper guide about how to downgrade or recover from bricked by using mi flash tool.
sheikh55 said:
Thank you everyone for putting pieces of knowledge regarding anti rollback.i think people who frequently flash roms should have all understanding about their devices and in this case this one is must because many people have bricked their phones lately and somebody should make a thread with proper guide about how to downgrade or recover from bricked by using mi flash tool.
Click to expand...
Click to collapse
Downgrade with unlock bootloader should be possible.
You have to remove anti roll back from the official Rom, creating a modified rom, then you should be able to downgrade. (MIUI by Xiaomi.eu might have their ARB removed, so you can ask them how to remove it.) Of course this will need to be flashed with custom recovery like TWRP. The official Mi-flash might not pass if you modified the rom since it will become a custom Rom, even if most part is the same as official, the hash check or some checks won't match.
Locked bootloader is a different story. The proper way is limited, mostly to find either Xiaomi official repair service, or find EDL account and pay for it.
pl1992aw said:
It doesn't mean "anti:1,2 or 3 means that anti roll back is not active"
If your current Rom is anti 2,
1) you can flash Rom with anti: 3, 4, 5, 6... etc. and the anti will become 3, 4, 5, 6... etc.
2) you can flash Rom with anti: 2, and the anti will remain anti 2.
3) you CANNOT flash Rom with anti 1.
Source:
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Click to expand...
Click to collapse
thanx a lot for the info bro. its very useful.
i just checked the anti rollback of my devices. its 1.
i had MIUI 12.5.1.0 in my phone. Then i unlocked my bootloader then flashed custom ROM Arrow OS. its working fine so far. and i have downloaded fastboot ROM MIUI 12.5.1.0 and checked for its anti rollback index. its 0. if i want to go back to stock ROM means what shall i do? shall i just edit off the anti rollback lines and delete them then will i be able to install the ROM?
Suhaas said:
thanx a lot for the info bro. its very useful.
i just checked the anti rollback of my devices. its 1.
i had MIUI 12.5.1.0 in my phone. Then i unlocked my bootloader then flashed custom ROM Arrow OS. its working fine so far. and i have downloaded fastboot ROM MIUI 12.5.1.0 and checked for its anti rollback index. its 0. if i want to go back to stock ROM means what shall i do? shall i just edit off the anti rollback lines and delete them then will i be able to install the ROM?
Click to expand...
Click to collapse
If anti roll back index is 0, that means no anti roll back at all of that Rom, it will not check or change your device ARB index.
Make sure you look at the index correctly. I don't own poco F3 or Mi11x or redmi K40. You have to double check it yourself. You are the one decide to flash.
If you are very sure you had MIUI 12.5.1.0 before ArrowOS, and you want to return MIUI 12.5.1.0, flashing the same version MIUI should be possible. ArrowOS should have no ARB index change.
Return to stock latest stable version is generally not needed to edit the ARB index.
I don't guarantee anything if you brick it. You can either ask someone else to verify, or try and error.
pl1992aw said:
If anti roll back index is 0, that means no anti roll back at all of that Rom, it will not check or change your device ARB index.
Make sure you look at the index correctly. I don't own poco F3 or Mi11x or redmi K40. You have to double check it yourself. You are the one decide to flash.
If you are very sure you had MIUI 12.5.1.0 before ArrowOS, and you want to return MIUI 12.5.1.0, flashing the same version MIUI should be possible. ArrowOS should have no ARB index change.
Return to stock latest stable version is generally not needed to edit the ARB index.
I don't guarantee anything if you brick it. You can either ask someone else to verify, or try and error.
Click to expand...
Click to collapse
thanx for the info.. Since i am not sure and ur not sure either i am thinking to remove those lines altogether. will there be any problem if i flash the ROM without those lines?
Suhaas said:
thanx for the info.. Since i am not sure and ur not sure either i am thinking to remove those lines altogether. will there be any problem if i flash the ROM without those lines?
Click to expand...
Click to collapse
You have to ask @reg66 because he is the one said to remove those lines, I don't know.
In my opinion, since the newest version for your device now is 12.5.1.0, you don't need to remove those line. Make sure you use the Rom of your region/country, if not, make sure you don't lock your bootloader.
pl1992aw said:
You have to ask @reg66 because he is the one said to remove those lines, I don't know.
In my opinion, since the newest version for your device now is 12.5.1.0, you don't need to remove those line. Make sure you use the Rom of your region/country, if not, make sure you don't lock your bootloader.
Click to expand...
Click to collapse
@reg66 pls give me ur opinion. thank you
Suhaas said:
thanx for the info.. Since i am not sure and ur not sure either i am thinking to remove those lines altogether. will there be any problem if i flash the ROM without those lines?
Click to expand...
Click to collapse
@pl1992aw thanks for all the very helpful extra info regarding all this. @Suhaas, tbh I'm not too in the know about xiaomi devices and arb. I just wrote the guide /info from a bit of research. But, if you check one of the recent 'Oh no - another bricked devices' thread a user with arb:1 on device flashed his original arb:0 rom successfully (12.0.3). I appreciate yours is a later version but in principle it all seems fine.
I wouldn't like to say for sure either way tho, just to cover my ass
God luck
See this thread too https://forum.xda-developers.com/t/oh-no-another-poco-f3-brick-thread-d.4286291//unread
Two Anti version is safe from ARB according to rule:
Anti 0 and 1.
0 is obvious non-active ARB
1 is because there's no positive natural number smaller than 1, unless Xiaomi implement ARB with decimal digits.
So the case that success with Anti 1 is because it can flash to any Anti version. (And unlocked bootloader)
In my case current rom has arb 1 and stock has 0. It is fine to flash via mi flash?
GabiML said:
In my case current rom has arb 1 and stock has 0. It is fine to flash via mi flash?
Click to expand...
Click to collapse
Yes, i did the same thing earlier... went from 12.5.1 stable (base build, arrowOS flashed over that - but custom OS's don't affect arb, i believe), device showed arb:1 and flashed back to 12.0.3.0 stable with anti:0 (as a base for re-install/clean flash of latest arrow)
GabiML said:
In my case current rom has arb 1 and stock has 0. It is fine to flash via mi flash?
Click to expand...
Click to collapse
Fine if the bootloader is still unlocked after flashing.
Many people brick their device because they did not read the correct tutorial and locked their device with different region Roms.
pl1992aw said:
Fine if the bootloader is still unlocked after flashing.
Many people brick their device because they did not read the correct tutorial and locked their device with different region Roms.
Click to expand...
Click to collapse
I was on 12.0.3 and I flashed crDroid 5/9 and it worked but when I tried to update to crDroid 5/26 build from Recovery ->adb install my device bricked (EDL MODE). What could be the reason for it ?
I bought the phone from Amazon Spain , would it be a global or EEA region ?
Thanks in advance.
Related
Hi! I'm new with this ARB stuff. But I've been doing some searching for a while. So I will ask some questions and please tell me if I'm wrong.
After waiting for almost 720 hrs. I really don't want to enter EDL Mode or take the phone to service center to unbrick.
- if any custom whyred miui rom is fw-less then it's should be fine to flash though TWRP to any whyred. no matter what version of ARB index is. Am I right?
- once got anti 4 mean there's no way to remove ARB at this moment?
- when entered fastboot. Is it still have to re-flash TWRP?
- Pitch Black TWRP fixed all of above? and I can use it worry free like there's no ARB at all?
Vermillion_PT.2 said:
Hi! I'm new with this ARB stuff. But I've been doing some searching for a while. So I will ask some questions and please tell me if I'm wrong.
After waiting for almost 720 hrs. I really don't want to enter EDL Mode or take the phone to service center to unbrick.
- if any custom whyred miui rom is fw-less then it's should be fine to flash though TWRP to any whyred. no matter what version of ARB index is. Am I right?
Yes, but you might have to use lazyflasher as you probably have ARBv4 already.
- once got anti 4 mean there's no way to remove ARB at this moment?
Yes, as far as I know.
- when entered fastboot. Is it still have to re-flash TWRP?
The first time? What do you mean "reflash", if you have never unlocked your phone, how come you would have TWRP?
- Pitch Black TWRP fixed all of above? and I can use it worry free like there's no ARB at all?
Click to expand...
Click to collapse
I also don't understand...Oh you are talking about a different "recovery" (https://sourceforge.net/projects/pitchblack-twrp/).
You can use the other recovery without problem too (TWRP, OrangeFoxRecovery, RedWolf Recovery Project ...).
Any recovery won't "fix all of the above", it's just a recovery, you need to be carefully with ARB and it's not "fixing" ARB.
It seems more clever if you would post the steps you intend to do, rather than ask several questions and then mentionning a recovery as a possible "fix all".
Replied.
Oh ok. I mean do I have to re-flash the dummy.img. everytime entered fastboot.
I heard that Pitchblack TWRP can handle ARB perfectly. But don't know about re-flash dummy.img if it still an issue.
Thank you for your reply anyway!
Vermillion_PT.2 said:
Oh ok. I mean do I have to re-flash the dummy.img. everytime entered fastboot.
I heard that Pitchblack TWRP can handle ARB perfectly. But don't know about re-flash dummy.img if it still an issue.
Thank you for your reply anyway!
Click to expand...
Click to collapse
I think you do need to reflash dummy.img (thats related to layflasher, right) each times due to ARBV4.
Maybe "pitchblack" does these steps for you, I am not familiar with that one,.
Why don't you rely on MiFlash ?? It is the best option flash MIUI ROM because MiFlash is capable of checking bootloader index value before proceeding with fastboot flash..
If you try to flash older version of miui (arb3) then MiFlash will not allow to flash that particular ROM
One of the user here said pitch black recovery is capable of checking bootloader index but I'm not sure about that..
Hi, can I flash MIUI ROM which has this in flash_all.bat:
if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0
when my current ROM after running "fastboot getvar anti" returns 1?
Will MiFlash prevent me from bricking Redmi Note 8 Pro with returning an error because of anti rollback?
P.S.: If I download my current rom in fastboot version there is also CURRENT_ANTI_VER=0 so I truly do not understand why it returns 1 after that command.
When I tried to use MIFlash to do this, it just returned an error without bricking the device.
However, I bricked my RN8P anyway with foolish persistence and paid $26 US to have it restored to MIUI V10.4.2.0 from some installed V11 (don't have it on my PC), after trying to downgrade with TWRP to flash the MIUI V10.4.2.0 zip file. Jesus, nothing but the LED light functioned. Like you, the installed VER was A_V at 1, while the ROM to be installed was at 0.
Is it possible to install a custom ROM that allows downgrades and then fastboot flash_all.bat with a lower version MIUI ROM that was initially installed? Sure as hell not going to try this, but it is a question that might be successfully answered. Sorry for not being of help for you.
Have Global V, very pleased with RN8P and MIUI V10.4.2.0.
Thomas_xxxxx said:
Hi, can I flash MIUI ROM which has this in flash_all.bat:
if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0
when my current ROM after running "fastboot getvar anti" returns 1?
Will MiFlash prevent me from bricking Redmi Note 8 Pro with returning an error because of anti rollback?
P.S.: If I download my current rom in fastboot version there is also CURRENT_ANTI_VER=0 so I truly do not understand why it returns 1 after that command.
Click to expand...
Click to collapse
Hello, my friend.
Downgrading Redmi Note 8 pro is very easy. I also struggled at first trying to find the safest method to downgrade and got stuck on " Anti Roll Back Protection" which on my device was " 1 " and all the previous consecutive roms had " Anti Roll Back Protection " value which was " 0 ". So didn't know what to do. but after some research, I found out that it was not a big issue.
You just need to use the fastboot method. Just extract the fastboot rom in the C drive and click on the " flash-all.bat " It will not brick your device. I tried it on my Redmi Note 8 Pro Global version
Also MiFlash will prevent you from downgrading if you have anti-var value less then your device value, which is the case for all the roms.
ppthom said:
When I tried to use MIFlash to do this, it just returned an error without bricking the device.
However, I bricked my RN8P anyway with foolish persistence and paid $26 US to have it restored to MIUI V10.4.2.0 from some installed V11 (don't have it on my PC), after trying to downgrade with TWRP to flash the MIUI V10.4.2.0 zip file. Jesus, nothing but the LED light functioned. Like you, the installed VER was A_V at 1, while the ROM to be installed was at 0.
Is it possible to install a custom ROM that allows downgrades and then fastboot flash_all.bat with a lower version MIUI ROM that was initially installed? Sure as hell not going to try this, but it is a question that might be successfully answered. Sorry for not being of help for you.
Have Global V, very pleased with RN8P and MIUI V10.4.2.0.
Click to expand...
Click to collapse
And where did you get it unbrick?
Faisal-Shahzad said:
Hello, my friend.
Downgrading Redmi Note 8 pro is very easy. I also struggled at first trying to find the safest method to downgrade and got stuck on " Anti Roll Back Protection" which on my device was " 1 " and all the previous consecutive roms had " Anti Roll Back Protection " value which was " 0 ". So didn't know what to do. but after some research, I found out that it was not a big issue.
You just need to use the fastboot method. Just extract the fastboot rom in the C drive and click on the " flash-all.bat " It will not brick your device. I tried it on my Redmi Note 8 Pro Global version
Also MiFlash will prevent you from downgrading if you have anti-var value less then your device value, which is the case for all the roms.
Click to expand...
Click to collapse
So where exactly should I extract fastboot ROM? Directly in C:/ drive and then run flash_all.bat? That is all? So I will have for example folder in C:/begonia_eea_global_images_V10.4.5.0.PGGEUXM_20191007.0000.00_9.0_eea?
Thomas_xxxxx said:
So where exactly should I extract fastboot ROM? Directly in C:/ drive and then run flash_all.bat? That is all? So I will have for example folder in C:/begonia_eea_global_images_V10.4.5.0.PGGEUXM_20191007.0000.00_9.0_eea?
Click to expand...
Click to collapse
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Faisal-Shahzad said:
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Click to expand...
Click to collapse
I will let you know but I must wait till tomorrow to have unlocked bootloader so now I am doing some research. So I cannot brick with this method for sure, yes? And which ROM did you exactly flash?
Thomas_xxxxx said:
I will let you know but I must wait till tomorrow to have unlocked bootloader so now I am doing some research. So I cannot brick with this method for sure, yes? And which ROM did you exactly flash?
Click to expand...
Click to collapse
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
I will try tomorrow and let you know, thanks for help now.
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
And that method with fastboot will remain my bootloader unlocked? And will it wipe everythting from phone?
Can't give you the web page, but there are more than 1 to give help (for money), and you can be vulnerable to cheats and viruses. My guy was in the Ukraine, very honest and helped me more than once. Just Google with different words until you find what you need. Could take some time, just be patient.
Thomas_xxxxx said:
And that method with fastboot will remain my bootloader unlocked? And will it wipe everythting from phone?
Click to expand...
Click to collapse
Your bootloader will remain unlocked and the data will be wiped clean.
Faisal-Shahzad said:
Your bootloader will remain unlocked and the data will be wiped clean.
Click to expand...
Click to collapse
I already tried to downgrade via fastboot method and everything worked like a charm. Thank you for helping once again. Now I am on Android 9 and I can install factory preloader and then custom ROMs.
Faisal-Shahzad said:
I downgraded from Miui 12.0.2 to Miui 11.0.6 android 9.
Then from Miui 11.0.6 Android 9 to Miui 11.0.5 Android 10.
Downgraded and upgraded without any problems.
I was able to to do it. It may also work for you .
Click to expand...
Click to collapse
My friend my getvar antiblank)
Its safe to downgrade redmi 8a
Thomas_xxxxx said:
I already tried to downgrade via fastboot method and everything worked like a charm. Thank you for helping once again. Now I am on Android 9 and I can install factory preloader and then custom ROMs.
Click to expand...
Click to collapse
Bro help when o extracted the rom is says
Flash all ther is no.bat but when I search in that folder I find it also can you provide me with the link of your rom thx
Faisal-Shahzad said:
Yeah, exactly as simple as that.
Just put your device in fastboot mode, I am pretty sure you know how to do that.
Extract the fastboot room directly in the C drive. Just click on the flash-all.bat file. It will start flashing the rom and will take about 8 to 10 minutes.
Its literally a one click installation and is even easier than using MiFlash tool. Try it out and tell me if it works
Click to expand...
Click to collapse
Do I need to unclok boot loader
Hello,
The Xiaomi 9 SE Global Unlocked of my girlfriend was restarting a lot (restart loop) and I tried to flash a ROM but I accidentaly flashed and locked the mobile on a "MIUI version that can´t be installed on this device" (grus_global_images_V12.0.2.0.QFBMIXM_20200910.0000.00_10.0_global)
The problem is the phone was wiped and I cant unlock the phone now. What to do? I can´t flash another ROM or unlock it and I just have access to Recovery Mode and Fastboot mode.
Please any help would be greatly appreciated.
It´s 4 am where I live and I´ll go to bed... But Will read here as soon as I´m awake. Thanks a lot in advance.
Let me continue my story... I still need help.
I contacted an authorized and he helped me to EDL a flashed version and I reinstalled the MIUI 12.0.2 Global stable on the phone.
But the phone is still TURNING OFF BY ITSELF (this was the reason because I tried flashing it on the first place). I don´t know the cause but it does not seems to be a faulty battery. I heard the phone has Anti RollBack protection. Is it right?
So I need help on how to procced. I would like to RollBack it to MIUI 11 where I didn´t had this problems...
Unfortunately you can NEVER go back once you flash a ROM on Xiaomi devices. However that doesn't prevent you from flashing custom ROMs.
Though you still need to be careful, because once flashed there is no going back.
I recommend testing the ROM on an emulator before flashing it. Here is how.
Also don't forget to check for your rollback protection index and the ROM's index before flashing.
Follow this post and scroll down to "How to find rollback index of images".
XDHx86 said:
Unfortunately you can NEVER go back once you flash a ROM on Xiaomi devices. However that doesn't prevent you from flashing custom ROMs.
Though you still need to be careful, because once flashed there is no going back.
I recommend testing the ROM on an emulator before flashing it. Here is how.
Also don't forget to check for your rollback protection index and the ROM's index before flashing.
Follow this post and scroll down to "How to find rollback index of images".
Click to expand...
Click to collapse
what do you mean never? you can flash miui with miflash
giorgarasgr said:
what do you mean never? you can flash miui with miflash
Click to expand...
Click to collapse
You can read more about xiaomi anti-rollback here.
hi guys. Someone pls help me and provide me detailed instructions as to how to flash stock ROM. i have bought MI 11x indian variant. some of the xiaomi websites are blocked in India. pls provide me a link ( preferrably GDrive or Media fire) to xiaomi mi flash tool for flashing stock ROMs and official stock ROM download links. i want to install custom ROMs( in 2 days bootloader unlock tool timer will expire and i will be able to unlock bootloader). so i want to know how to revert back to Stock ROM just in case something happens when flashing custom ROMS. How do i flash firmware only? and also do we need any authorisation to use mi flash tool to flash stock ROM?
Suhaas said:
hi guys. Someone pls help me and provide me detailed instructions as to how to flash stock ROM. i have bought MI 11x indian variant. some of the xiaomi websites are blocked in India. pls provide me a link ( preferrably GDrive or Media fire) to xiaomi mi flash tool for flashing stock ROMs and official stock ROM download links. i want to install custom ROMs( in 2 days bootloader unlock tool timer will expire and i will be able to unlock bootloader). so i want to know how to revert back to Stock ROM just in case something happens when flashing custom ROMS. How do i flash firmware only? and also do we need any authorisation to use mi flash tool to flash stock ROM?
Click to expand...
Click to collapse
Sorry fella, I've not got Mi11x. Although I understand they're besaically the same device (i have poco F3), i wouldn't want to advise on flashing in case there are any differences... plus this is the first xiaomi since some years ago, so i'm a little vague too. That said i won't advising on flashing, you'll have to do your own research. What i am here for is to offer my mega account folder where i've uploaded MiFlash Tool, MiFlash Pro and XiaoMiTool V2. These are all the tools i am aware of.
i've included the other two not to confuse you but in the past i've found where one failed, another succeeded. eg the original MiFlash here has in the past failed for some reason (can't remember why now), so used the 3rd party MiFlash Pro, which also contains the MiFlash tool (not sure which version) under one of its tabs. That tool worked. Also XiaoMi Tool V2 is another 3 party tool for getting you out of trouble, though hopefully you won't need it!
No need to sign into your account to use these tools, even though it prompts to.
Also, when flashing with MiFlash, make sure you select 'clean all' at the bottom right corner, NOT 'clean all and lock'
here's a link to said folder with tools in it. Let us know if you can't use mega in India.
Also, let me know which roms you need from where for your device, i'll download them and re-up them to mega (assuming that works for you), failing that gdrive.
One more thing, in order to download your current stock rom, like you say, in case there's some issue, be good to know which build you are currently on...
this thread may be of use to you...
can you access this site for instruction?
reg66 said:
Sorry fella, I've not got Mi11x. Although I understand they're besaically the same device (i have poco F3), i wouldn't want to advise on flashing in case there are any differences... plus this is the first xiaomi since some years ago, so i'm a little vague too. That said i won't advising on flashing, you'll have to do your own research. What i am here for is to offer my mega account folder where i've uploaded MiFlash Tool, MiFlash Pro and XiaoMiTool V2. These are all the tools i am aware of.
i've included the other two not to confuse you but in the past i've found where one failed, another succeeded. eg the original MiFlash here has in the past failed for some reason (can't remember why now), so used the 3rd party MiFlash Pro, which also contains the MiFlash tool (not sure which version) under one of its tabs. That tool worked. Also XiaoMi Tool V2 is another 3 party tool for getting you out of trouble, though hopefully you won't need it!
No need to sign into your account to use these tools, even though it prompts to.
Also, when flashing with MiFlash, make sure you select 'clean all' at the bottom right corner, NOT 'clean all and lock'
here's a link to said folder with tools in it. Let us know if you can't use mega in India.
Also, let me know which roms you need from where for your device, i'll download them and re-up them to mega (assuming that works for you), failing that gdrive.
One more thing, in order to download your current stock rom, like you say, in case there's some issue, be good to know which build you are currently on...
Click to expand...
Click to collapse
thank you very much bro for your reply and the link to the tools
reg66 said:
can you access this site for instruction?
Click to expand...
Click to collapse
yes i am able to access the website but i am getting page not found message
Suhaas said:
yes i am able to access the website but i am getting page not found message
Click to expand...
Click to collapse
i've uploaded stock global rom for Mi11x from that site to gdrive for you... alioth_global_images_V12.0.3.0.RKHMIXM_20210416
unzip the tgz file TWICE to the root of C drive on your pc so that you are left with access to some .bat files and a folder containing images.
connect the phone in fastboot mode to pc and start miflash. click 'refresh' and check your device is recognised. (if you need drivers, i may be wrong, but i think when i installed miflash PRO, it installed neccesary drivers... use USB 2 port also)
select 'clean all', NOT 'clean all and lock' in bottom right corner of miflash
click 'select' and point to the extracted folder in C drive.
click flash. that should hopefully be it..... now, i'm pretty tired after a long night, but i think that's everything. can't remember, but phone will most likely reboot once completed...
give us a shout if you have issues or for steps on flashing custom rom... but all the info is here already in xda or youtube vids etc
I have a Ginkgo model which I am using with LineageOS 17.1 / TWRP. It is pretty cool.
However I want to return completely to the Global (EU) version of the software, including stock recovery, ROM, relocked bootloader, anything, because I am willing to sell the phone.
Next user will be average user, unlike me, so he/she won't appreciate any modifications.
Tried to search for suggestions but no luck.
Before installing LoS, I installed Xiaomi.EU 12.5 stable from here: https://xiaomi.eu/community/threads/miui-12-0-12-1-12-2-12-5-stable-release.56191/
Could have some relevance like firmware partition, etc. AFAIK it is Chinese ROM based, will that make any problems when I re-flash EU version?
Found this one: https://forum.xda-developers.com/t/how-to-completely-revert-back-to-stock.4088665/
But before trying and possibly bricking the phone, I'd like to hear some encourage from you guys. Phone was EU version originally.
Many thanks.
HUN_Gyuszi said:
I have a Ginkgo model which I am using with LineageOS 17.1 / TWRP. It is pretty cool.
However I want to return completely to the Global (EU) version of the software, including stock recovery, ROM, relocked bootloader, anything, because I am willing to sell the phone.
Next user will be average user, unlike me, so he/she won't appreciate any modifications.
Tried to search for suggestions but no luck.
Before installing LoS, I installed Xiaomi.EU 12.5 stable from here: https://xiaomi.eu/community/threads/miui-12-0-12-1-12-2-12-5-stable-release.56191/
Could have some relevance like firmware partition, etc. AFAIK it is Chinese ROM based, will that make any problems when I re-flash EU version?
Found this one: https://forum.xda-developers.com/t/how-to-completely-revert-back-to-stock.4088665/
But before trying and possibly bricking the phone, I'd like to hear some encourage from you guys. Phone was EU version originally.
Many thanks.
Click to expand...
Click to collapse
Follow this guide
and don't relock the bootloader
loopypalm said:
Follow this guide
and don't relock the bootloader
Click to expand...
Click to collapse
Thank you so much. It means I must not relock the bootloader? This is pretty sad because then I cannot guarantee 100% factory software. Buyer for my phone will complain. No chance to reach factory software 100%?
HUN_Gyuszi said:
Thank you so much. It means I must not relock the bootloader? This is pretty sad because then I cannot guarantee 100% factory software. Buyer for my phone will complain. No chance to reach factory software 100%?
Click to expand...
Click to collapse
it will brick the phone and your only way to fix it is EDL
I am happy to update the thread with good results.
Please note that the following are my personal experience described, I cannot guarantee anything and you might get a bricked phone. Please dont blame me if anything goes wrong!
Originally my phone was Global/EEA, and I had Xiaomi.EU and LineageOS 17.1 also this year. After this, I successfully reverted to complete factory software, including relocking the bootloader. This is necessary if you want to sell your phone to other people because they dont need custom ROMs and will complain.
First, go to this link: https://c.mi.com/oc/miuidownload/detail?guide=2
(make sure to follow the 'Fastboot Update' guide on this link!)
On Step 1, click on the link to download the Flash tool.
On Step 2, select your proper device (mine was 'Xiaomi Redmi Note 8 Latest EEA Stable Version Fastboot File Download'). I think region (like Chinese, Global/EEA) is hardcoded to the phone, so you cannot flash Global ROM to a Chinese phone, but please fix me. Pay attention what you select here.
Once both files are downloaded, extract them (you can use 7-zip).
Put your phone to fastboot mode.
Connect your phone with USB cable to your Windows machine. Start the flash tool, make sure to run it as admin. AFAIK it will present a dialog to install the necessary drivers which is needed to communicate with the phone in fastboot mode, just click OK for that.
Check if your phone is present in the list. On the left bottom side, click on 'clean all and lock'. Select the extracted directory of the fastboot ROM you downloaded. Press the flash button.
Wait for a few minutes. Your phone will boot up with original MIUI ROM.
You might also check logs. You need to have a ton of fastboot commands and a successful locking at the end.
Important notes: flash chinese ROM for chinese phone, global or eea for european/global phones. You can only relock your bootloader using the proper region.
Good luck anyone reading this!