Skip to content
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
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