Anti-rollback/ARB for device firmware: Difference between revisions
mNo edit summary |
m link & fmt: fastboot |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
==How it works== | ==How it works== | ||
In the case of Xiaomi Verified Boot has a rollback index which is compared with the rollback index of the ROM that you are about to flash.<ref name=":0">{{Cite web |author=Sheist! |date=2024-03-20 |title=Anti-rollback (Google and Xiaomi): what it means and what is important |url=https://xdaforums.com/t/anti-rollback-google-and-xiaomi-what-it-means-and-what-is-important.4662801/ |url-status=live |archive-url=https://web.archive.org/web/20250311094357/https://xdaforums.com/t/anti-rollback-google-and-xiaomi-what-it-means-and-what-is-important.4662801/ |archive-date=2025-03-11 |access-date=2026-02-19 |website=XDA Forums}}</ref> If the current rollback index on your device is less than the rollback index in the ROM to be flashed, then the ROM will be flashed without any issues and the current rollback index will be increased to match the new rollback index [of the just flashed ROM].<ref name=":0" /> If the current rollback index on your device is equal to the rollback index in the ROM to be flashed, then the ROM will be flashed and there will be no change in the rollback index.<ref name=":0" /> If the current rollback index is greater than the rollback index in the ROM to be flashed, then the ROM will be rejected. But this will only happen if you’re flashing via fastboot or Mi Flash.<ref name=":0" /> | In the case of Xiaomi Verified Boot has a rollback index which is compared with the rollback index of the ROM that you are about to flash.<ref name=":0">{{Cite web |author=Sheist! |date=2024-03-20 |title=Anti-rollback (Google and Xiaomi): what it means and what is important |url=https://xdaforums.com/t/anti-rollback-google-and-xiaomi-what-it-means-and-what-is-important.4662801/ |url-status=live |archive-url=https://web.archive.org/web/20250311094357/https://xdaforums.com/t/anti-rollback-google-and-xiaomi-what-it-means-and-what-is-important.4662801/ |archive-date=2025-03-11 |access-date=2026-02-19 |website=XDA Forums}}</ref> If the current rollback index on your device is less than the rollback index in the ROM to be flashed, then the ROM will be flashed without any issues and the current rollback index will be increased to match the new rollback index [of the just flashed ROM].<ref name=":0" /> If the current rollback index on your device is equal to the rollback index in the ROM to be flashed, then the ROM will be flashed and there will be no change in the rollback index.<ref name=":0" /> If the current rollback index is greater than the rollback index in the ROM to be flashed, then the ROM will be rejected. But this will only happen if you’re flashing via <code>[[wikipedia:Fastboot|fastboot]]</code> or Mi Flash.<ref name=":0" /> | ||
==Why it is a problem== | ==Why it is a problem== | ||
# Denys users from being able to willingly downgrade to previous firmware | #Denys users from being able to willingly downgrade to previous firmware | ||
# If the new firmware creates problems, the ability to fix the problem through rollback is unavailable | #If the new firmware creates problems, the ability to fix the problem through rollback is unavailable | ||
==Examples== | ==Examples== | ||
* [[Oneplus phone update introduces hardware anti-rollback]] | *[[Oneplus phone update introduces hardware anti-rollback]] | ||
==See also== | |||
*[[Secure boot]] | |||
==References== | ==References== | ||