Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Make device as unlocked state by default on userdebug build f… #190

Open
wants to merge 1 commit into
base: celadon/u/core
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kernelflinger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,9 @@ 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