- Nov 16, 2022
-
-
Nicolas Gelot authored
-
-
-
-
-
* We need to depend on a prop that: a) Remains unlikely to change on stock ROM b) Won't be spoofed elsewhere * This seems to be the most sane prop, satisfying these conditions
-
-
* Devices that havent LOCKED would still be in fastboot
-
* Do NOT LOCK bootloader incase the stored SPL was empty * We have no idea what the actual rollback index might be, LOCKING might put the user in AVB red state and unbootable * Just skip through the locking steps in this case
-
* We don't want to have any cached values from previous runs
-
* Unused after previous commit
-
* Rollback Index == SPL only if we: - Are on the Stock ROM (Non Stock OS-es spoof SPL values) - Have a LOCKED bootloader (A device with an UNLOCKED bootloader MAY NOT have SPL == Rollback Index) * On a given device from the wild, which can only be interfaced via ADB and Fastboot, this is the only way to understand the Rollback Index and prevent AVB Red state on LOCKING the bootloader
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Nov 15, 2022
-
-
Nicolas Gelot authored
-
-
- Nov 10, 2022
-
-
Nicolas Gelot authored
Close #444
-
Nicolas Gelot authored
-
Nicolas Gelot authored
-
Nicolas Gelot authored
-
-
-
-