Skip to content

Instantly share code, notes, and snippets.

@lucasmz-dev
Last active April 16, 2024 03:10
Show Gist options
  • Save lucasmz-dev/cabf4c1348a269de6b99b075b93ede49 to your computer and use it in GitHub Desktop.
Save lucasmz-dev/cabf4c1348a269de6b99b075b93ede49 to your computer and use it in GitHub Desktop.
Unlocking the bootloader

In principle, you should be able to unlock the bootloader by running:

fastboot flashing unlock

I'm getting an "OEM Unlocking is off" error!

When you get an error in relation to OEM Unlocking, it means you have to go into developer settings (or just in Other Options in CalyxOS) and enable OEM Unlock before running this command.

I can't boot into the OS to enable OEM Unlocking! (CalyxOS)

In this case, you can try as a recovery step "updating" the OS via a Full OTA package. You can check how to do this here. Even if you do manage to recover your installation somewhat using this, you should retry installation via the device-flasher as it is not guaranteed to be safe and you could run into worse issues in the future. This should not be necessary if you're going back to stock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment