Skip to content

Commit

Permalink
Make device as unlocked state by default on userdebug build for civ
Browse files Browse the repository at this point in the history
test done: boot

Tracked-On: OAM-123665
Signed-off-by: Chen, Gang G <[email protected]>
  • Loading branch information
GangSecurity authored and sysopenci committed Aug 24, 2024
1 parent 1073762 commit 0f7383f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernelflinger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,9 +1528,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table)
#ifndef USER
/* WA patch to set device as unlocked by default for userdebug build
*/
#ifdef USE_SBL
set_current_state(UNLOCKED);
#endif
#else
/* For civ, flash images to disk is not MUST. So set device to LOCKED
* state by default on the first boot.
Expand Down

0 comments on commit 0f7383f

Please sign in to comment.