0

I'm trying to open an adb shell on my BQ Aquaris Ubuntu phone. Initially the command failed with a device not found error. Now after adding the phone's USB ID to a custom INI file as outlined here I get a different error:

error: closed

Any pointers as to what's going wrong here? How can I open a shell into my Ubuntu phone?

Any help is very much appreciated!!!

EDIT I have set my phone to developer mode and I'm using 14.04 on my desktop.

3
  • 1
    Is your phone screen turned on and unlocked when you try to connect via adb? – Christopher Bludau Apr 27 '15 at 9:27
  • Wow! That did it! Thank you, Christopher! I didn't expect the solution to be that trivial. :) If you convert your comment to an answer I'll mark it as solved. – Béné Apr 27 '15 at 10:48
  • 1
    Glad it helped :) – Christopher Bludau Apr 27 '15 at 15:45
2

adb can only connect to a device if the device's screen is on and unlocked.

This is a security measure so that no one can circumvent your lock screen by accessing your phone via adb. That is the reason that one has to set a lock to enable developer mode as well.

By unlocking your phone you give the proof to adb that you have the permission to access the phone and it will connect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.