.t/dely_

CalyxOS Installation Trouble

While I was following the official guide to install CalyxOS from my Obarun (Linux) machine the device-flasher got stuck on `5. Please use the volume and power keys on the device to unlock the bootloader`; my phone rebooted into fastboot but I was never given the option to unlock the bootloader. Retrying the procedure did not solve the issue and neither did retrying after a factory reset, both common suggestions. To troubleshoot I went the route of manually unlocking the bootloader:

/opt/android-sdk/platform-tools/adb reboot bootloader /opt/android-sdk/platform-tools/fastboot devices

Here's the issue: the fastboot devices command did not report any devices. I had an idea of what the problem might be and tried the command through sudo, which sure enough returned the device. Continuing on with sudo I successfully unlocked the bootloader:

sudo /opt/android-sdk/platform-tools/fastboot flashing unlock

The device-flasher requires the same access for other operations, running it through sudo successfully completed the installation.