In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

MIUI Feedback

[Q&A] [Anti-Rollback] All your questions are answered here.

2018-07-22 13:05:11
4389 17











Hi all.
So, as we know with recent MIUI update Xiaomi screwed our whyred. And this gave birth to many questions which is like a struggle for many users to find all those answers. So, I tried to answer all your questions. If you think your question isn't included please feel free to ask.



Q1: What is this "Anti-Rollback" thing?
A: Its a security measure that Google brought with the release of Android Oreo. It makes sure that your data is secure even when phone is stolen or if any attacker tries to downgrade the software and wants to gain control over your data.



Q2
: How is this harmful to my device?
A: Well, as a security measure it should never give you a hard-brick. When someone tries to downgrade, it should display a warning and get turned off but there's difference between how things should work and how Xiaomi does. As Google has stated, "Anti-Rollback" should automatically turn off when the user unlocks the bootloader but in case of MIUI even unlocked users are getting hard-bricks. Hopefully the developers of MIUI should push an update soon and if they don't, our beloved devs will find a way for sure



Q4: So, what now? Will Xiaomi solve this issue?
A: We do not know. But our beloved developers in the XDA-Forum will find a way for sure



Q5: How to know if my device is affected by it?
A: Run fastboot command :Code:
fastboot getvar anti

The displayed output : 3 shall mean you're fine while 4 shall mean you're in the Anti-Rollback squad.



Q6: I'm in the Anti-Rollback squad what now?
A: Don't worry you can still flash custom recovery and roam around custom ROMs but avoid flashing any firmware or any MIUI ROM which is older than what you're using now. Remember you cann't flash MIUI Stable over Beta otherwise you'll brick your device.



Q7
: Which MIUI builds include "Anti-Rollback"?
A: All the MIUI builds which are released after Stable MIUI V9.5.17.0 and Beta MIUI V8.7.5 include "Anti-Rollback". And yes the Chinese versions are affected as well.



Q8
: Do MIUI Stable V9.5.17.0 and Beta V8.7.5 have "Anti-Rollback" enabled?
A: NO. If you're on either of these builds you are safe to downgrade and use any older version.



Q9: How to flash custom recovery and custom ROMs on "Anti-Rollback" enabled devices?
A: On "Anti-Rollback" enabled ROMs you cann't flash custom recovery permanently. You'll have to boot into recovery first by running fastboot command:Code:
fastboot boot xyz.img

(where xyz is name of your recovery file). Once you're booted into the custom recovery, copy the recovery image file in the internal storage and flash that recovery from recovery itself. Now you've successfully flashed custom recovery and you're good to go with custom ROMs. WARNING: Avoid flashing any firmware.



Q10
: Can I migrate from Stable to Beta and vice-versa?
A: You can install Beta from Stable and make sure you flash latest Beta build but installing Stable over Beta isn't possible yet.



Q11: Can I unlock bootloader and flash custom ROMs on an "Anti-Rollback" enabled device?
A: Yes. Again to flash custom ROMs and recovery refer to
Q9.



source
2018-07-22 13:05:11
Favorites6 RateRate

Pro Bunny

Shahriar Zaman | from Redmi Note 5

#1

So informative.
Tnx for sharing
2018-07-23 02:24:27

Master Bunny

Akram Rahim | from Redmi Note 4

#2

that means nought based device's aren't in Anti-roll back option?
2018-07-24 01:52:48
Mi Big Fan

Moderator

aalakib07 Author | from Redmi Note 5

#3

Akram Rahim
that means nought based device's aren't in Anti-roll back option?

yup. only few devices have this.
2018-07-24 02:29:08
aalakib07 replied at 2018-07-24 12:29:08
yup. only few devices have this.

few device means only oreo... right?
2018-07-24 02:48:02
Mi Big Fan

Rookie Bunny

shuvra | from Redmi Note 5

#5

can i flash global stable 9.5.19? now i am using china stable 9.5.22
2018-07-31 05:25:34

Moderator

aalakib07 Author |

#6

shuvra replied at 2018-07-31 15:25:34
can i flash global stable 9.5.19? now i am using china stable 9.5.22

yes.. you can.. Anti Lock is not available at 9.5.19 or 9.5.22 :)
2018-07-31 14:05:31

Moderator

aalakib07 Author |

#7

Akram Rahim replied at 2018-07-24 12:48:02
few device means only oreo... right?

yup. oreo with latest security update
2018-07-31 14:05:58

Semi Pro Bunny

Hillol Paul | from mobile

#8

If  i ran fastboot getvar anti it give 1 , what does 1 means can anyone tell me
2018-09-20 23:55:49

Rookie Bunny

1876632145 | from Mi A2 Lite

#9

Give me mi a2 lite MIUI 10 update..
2018-10-22 16:05:33

Moderator

aalakib07 Author |

#10

1876632145 replied at 2018-10-23 02:05:33
Give me mi a2 lite MIUI 10 update..

Sorry, MIUI 10 will not release for Mi A2 Lite as it is a product of Android One Program, It only runs Stock Vanilla Android.
2018-10-22 19:47:13
please sign in to reply.
Sign In Sign Up

aalakib07

Moderator

  • Followers

    613

  • Threads

    68

  • Replies

    785

  • Points

    9977

Aktywny 3 dni pod rząd
Aktywny 7 dni pod rząd
Aktywny 21 dni pod rząd
Aktywny 40 dni pod rząd
Aktywny 70 dni pod rząd
Aktywny 100 dni pod rząd
Newbie Member
Mi A2
MIUI 8th Anniversary
Eid Mubarak
Dirgahayu ke-73 Indonesia
MIUI Beta Tester
MIUI 10
10K Members Celebration
10M Downloads
2019
Throw Back with Mi 2018
30K Members
Limited Edition Space Medal
Challenge Photographer
Android Q
Mother's Day
Best Mi
50K Mi Fans
Challenger
40K Registered Users
Eid Mubarak

Read moreGet new
Copyright©2016-2019 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list