Anti-rollback/ARB for device firmware: Difference between revisions
Created a description for the theme, explained how it works, why it is a problem, provided an example and gave a reference |
mNo edit summary |
||
| Line 2: | Line 2: | ||
==How it works== | ==How it works== | ||
In the case of | 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" /> | ||
==Why it is a problem== | ==Why it is a problem== | ||