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

WA- Fix BM user build not flashing issue #179

Draft
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from
Draft
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
8 changes: 4 additions & 4 deletions libfastboot/fastboot_flashing.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,13 @@ static void cmd_unlock(__attribute__((__unused__)) INTN argc,
#endif
change_device_state(UNLOCKED, TRUE);
} else {
#ifdef USER
fastboot_fail("Unlocking device not allowed");
#else
//#ifdef USER
// fastboot_fail("Unlocking device not allowed");
//#else
fastboot_info("Unlock protection is set");
fastboot_info("Unlocking anyway since this is not a User build");
change_device_state(UNLOCKED, TRUE);
#endif
//#endif
}
}

Expand Down