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

handle oem-lock error FAILED (remote: '\tDevice not unlocked cannot flash or erase') #1473

Closed
eigappdev opened this issue Oct 26, 2020 · 2 comments
Assignees
Labels
bug a bug in the software itself

Comments

@eigappdev
Copy link

I did factory reset through recovery mode to wipe to cache/data and tried with few different cables but still I am getting the same error when I try to install Ubuntu Touch on Oneplus One phone.

:{"killed":false,"code":1, "singnal":null, "cmd":""snap/ubports-installer/302/app.asar.unpacked/note_modules/android-modules-tools-bin/dist/linux/x86/fastboot" flash:raw boot "/home/john/snap/ubports-installer/302/ .cache/ubports-bacon/firmware/boot-bacon.img"" }, "stdout":"", "stderr":"\nSending 'boot' (11866)

UBports Installer 0.5.5-beta (snap)
Environment: Ubuntu Core 20 linux 5.4.0-52-generic x64 with Node.js v12.16.3
Device: bacon
Target OS: Ubuntu Touch
Settings: undefined
OPEN-CUTS run: https://ubports.open-cuts.org/run/5f9705cb9702a600079d9736
Log: https://paste.ubuntu.com//p/9MqvZ4XNnZ/

@NeoTheThird NeoTheThird changed the title Flashing Error handle oem-lock error FAILED (remote: '\tDevice not unlocked cannot flash or erase') Oct 26, 2020
@NeoTheThird
Copy link
Member

Alright, sorry about that. Will include a fix in the next release. In the mean time, you can run sudo fastboot oem unlock (with the device in fastboot/bootloader mode) and use the installer again.

@NeoTheThird NeoTheThird added the bug a bug in the software itself label Oct 26, 2020
@NeoTheThird NeoTheThird self-assigned this Oct 26, 2020
NeoTheThird added a commit to ubports/promise-android-tools that referenced this issue Oct 26, 2020
@eigappdev
Copy link
Author

eigappdev commented Oct 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the software itself
Projects
None yet
Development

No branches or pull requests

2 participants