Revert "Force PLATFORM_SECURITY_PATCH for SafetyNet"
Description
Revert "Force PLATFORM_SECURITY_PATCH for SafetyNet"
Issue(s)
Test environment
-
Make a build with the following parameters:
-
DEVICES
:FP4
-
BRANCH_NAME
:v1-r
-
FEATURE_BRANCH
:5107-r-remove_force_sec
-
-
Flash the build.
Test procedures
-
Notice that security patch is no longer forced to 2021-12-05
Technical Details
Reason for revert:
- Us forcing an old security patch level, will cause people to be unable to lock their bootloader when coming from a newer rollback index (security patch)
- It would also break userdata, if we do serve a newer build with an older security patch than what the user is on
- Once this patch is merged, we should also mention the security patch level for each build and mention specifically in the wiki, to the users, that they should not lock their bootloader on a build with a lower security patch than whatever highest patch level they had installed on their device.
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation
Edited by Rohit Sekhar