How to check your anti version?

Method 1:

You can do this on both locked and unlocked bootloader. You don’t need to be on MIUI.



you need to make sure that you have fastboot drivers installed. Youc an install the drivers from http://whyred.tk/adbfastboot (Make sure you select install for everyone when asked to do so)







Execute

Code: fastboot getvar anti in command prompt while your device is connected in fastboot mode.

as shown below.











as you can see it gives v3 onetime and v4 othertime. so youc an’t downgrade from v4 to v3 .

Method 2:

if fastboot file is available for that ROM then you can download that and check its anti_ver . Just unzip the file. open flash_all.bat file with a text editor.



and look for



Code: set CURRENT_ANTI_VER=



Screenshot from fastboot file of 8.7.12 Global public beta



as you can see in above screenshot. this rom will set your anti_ver to 4. so you won’t be able to come back to any rom which has anti_ver lower than 4. it can be equal to 4 or higher but not lower.

Methods tried so far to fix bricked device





1. we have tried QFIL tool and used fastboot rom of same and lower anti_ver.



2. we have tried test point method.



3. we have treid drivers installation, changing cables, windows, etc



4. as of 14 july there are two more methods. one involve posting your user id on



and many more methods that you can think of. let me know about more methods so that i can add them to this list. but we have tried every possible method that we could find on youtube or google. We have tried bunch of methods so far and they all seems to have failed to revive a hard bricked device.1. we have tried QFIL tool and used fastboot rom of same and lower anti_ver.2. we have tried test point method.3. we have treid drivers installation, changing cables, windows, etc4. as of 14 july there are two more methods. one involve posting your user id on http://ru.miui.com/thread-10664-1-1.html thread and then trying to unlock your device using fastboot file of 8.7.12. but this method also didn't work for us. so far it has only worked for one person that i can find. Even the original thread says that this method success rate is not 100% so it could be that we are just unlucky. or we have to wait for reply from them in PM or forum post. so we haven't reieved that till now as well. so lets just wait few days before declaring this method as working solution.and many more methods that you can think of. let me know about more methods so that i can add them to this list. but we have tried every possible method that we could find on youtube or google.

Possible solutions?

How to Flash custom recovery





There are two methods to use custom recovery.

Method 1



1) Boot twrp or redwolf using fastboot boot XXXX.img

2) Flash XXXX.img again from recovery.

3) Flash lazyflasher.

Thats it. now its business as usual. Just don;t flash any MIUI ROM which has anti v lower than what you are on right now. You can upgrade but can't downgrade. Also i suggest you use redwolf recovery so that you don't need lazy flasher and you don't have to worry about loosing your recovery when you flash MIUI rom again.



Method 2



1 .Download img file from thttp://bit.ly/2ujYbUO

2. Flash from fastboot running this command

3. execute

Code: fastboot flash antirbpass dummy.img

Now you can use any fastboot command like you usually do. so just flash twrp using the normal method.



You will have to do this evertime you want to use any fastboot commands.

More abut this

1 .Download img file from thttp://bit.ly/2ujYbUO2. Flash from fastboot running this command3. executeNow you can use any fastboot command like you usually do. so just flash twrp using the normal method.You will have to do this evertime you want to use any fastboot commands.More abut this HERE

There are two methods to use custom recovery.Method 1Method 2

FAQ



Do no update to

-China 8.7.9 (my case)

-global 8.7.10 (most people reported on this build)



Anti Roll back feature of oreo seems to be implemented in these versions.

You won't be able to roll back to previous versions or flash custom recovery.

People are ending up with hard brick.



»Why xiaomi did this?

We don't know?



»Will future build have same issue?

again we don't know. someone will have to test it on future builds as well. if you are brave enough to do that then test on these builds and future builds and let us know.



»Someone said xyz method might work?

give it a try if you are ok with visiting service center



» i am on these versions, what should i do?

Stay on it and only update to fuutre versions. maybe in some future build they might roll back this feature.



» but won't xyz work?

again give it try if you are willing to take the risk.



We have mentioned everything we know so far. multiple people have bricked their device trying to use things that used to work.

So its your choice if you want to ignore the warning.



Read more about anti roll back using these two links



https://www.xda-developers.com/andro...ck-protection/



https://www.androidpolice.com/2017/0...downgraded-os/

MUST READDo no update to-China 8.7.9 (my case)-global 8.7.10 (most people reported on this build)Anti Roll back feature of oreo seems to be implemented in these versions.You won't be able to roll back to previous versions or flash custom recovery.People are ending up with hard brick.»Why xiaomi did this?We don't know?»Will future build have same issue?again we don't know. someone will have to test it on future builds as well. if you are brave enough to do that then test on these builds and future builds and let us know.»Someone said xyz method might work?give it a try if you are ok with visiting service center» i am on these versions, what should i do?Stay on it and only update to fuutre versions. maybe in some future build they might roll back this feature.» but won't xyz work?again give it try if you are willing to take the risk.We have mentioned everything we know so far. multiple people have bricked their device trying to use things that used to work.So its your choice if you want to ignore the warning.Read more about anti roll back using these two links

-How to check anti version?-Methods we have tried so far and failed.-How to flash custom recovery-FAQ will add as i go through the thread and update it accordingly)-If you own whyred and use telegram then you can follow the updates HERE -if any ifnormation missing or wrong then comment below.Note: My previous post shifted to at the end under spoilers,As per google's documentation and implementation unlocking bootloader should be enough.. But in xiaomi case they haven't implemente it in such a manner. they may or may not change this in future. So no solution so far. Me and bunch of use have tried various method that are floating around and none of them works. Only hope is that russian forums thread. and even that is not 100% guranteed method. but still we are waiting for a reply or PM from them and are trying every day. Will update the post here if we find anything that works.Q: I am on so and so MIUI ROM with ant v3? can i update to so and so MIUI ROM?A: you can update to any ROM with anti v3. you can even dowgrade to a rom with ant v3. you can update to rom with anti v4 as well. But if you do so then you won't be ablet to downgrade to anti v4Q: i am on anti v4 and want to to switch to MIUI ROM which has anti v3.A: You can use MIUI ROMs from this thread https://forum.xda-developers.com/sho....php?t=3816343 Q: What about custom roms?A: You will have no issue with custom roms if you are on v3. . and for people who want to switch to custom roms and are on v4. just flash redwolf like explained above. and then its all as usual when it comes to custom roms.Q: is it safe to flash masik?EU or any other custom MIUI rom.A: Check their announcement thread with every release. Do not flash those roms before you check their thread. if they don't mention anything about anit version then post in their thread and avoid them till you can get an answer about this anti version. Just like MIUI roms. you will have to follow the same precaution with those roms as wellPrevious postSource: https://t.me/rn5prodownloads/416 Some usefull linkslooks like 9.5.17 build is safe. more and more people are reporting as its safe and they switched from it. 8.7.10 is the main culprit so far. Will collect more responses soon, maybe 24 hours and update this post with what i find14 july. was busy with exam and getting my brciked device fixed. got my device and also managed to bypass 360hrs limit. Shhh, can't tell the trick. updating thread so that all relevant information regarding this is at one place.[/HIDE][/HIDE]