0

My LG G3 phone (phone is rooted; OS is Android Fulmics) is recognised by my laptop when I plug it in. The laptop is running Ubuntu 18.04 and I can easily copy data from and to my phone.

I have recently installed the Android Debug Bridge (ADB) (sudo apt-get install android-tools-adb). Then, I wanted to reach my device and typed adb devices.

When functioning properly, it should return something like this:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
5200d6fd904b2200    device

But when I tried it, it returned this:

List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
 

So, List of devices attached appeared first and no device was listed.

When I type adb devices again, I get this:

List of devices attached
 

I have also tried to use sudo adb devices instead of adb devices but the results were the same.

When the ADB would work, I would try to use it for data recovery purposes as described here. Maybe the pull command can do what I want.

7
  • 1
    Have you checked with the solutions on How do I get my device detected by ADB on Linux? and ADB on Ubuntu does not recognize Nexus 4? Pointer: UDev rules, adb.ini.
    – Izzy
    Sep 25, 2018 at 11:54
  • Screenshot. “Entwickleroptionen” = “Developer options”, “USB-Debugging-Autorisierungen widerrufen” = “Revoke USB debugging authorisations”, “Debugging-App festlegen: Keine Debugging-App festgelegt” = “Set debugging app: No debugging app set”, “Auf Debugger warten” = “Waiting for debugger”.
    – Nemgathos
    Sep 25, 2018 at 12:11
  • 1
    According to the screenshot, USB debugging is turned off. Without that turned on, ADB cannot see the device.
    – Izzy
    Sep 25, 2018 at 13:17
  • 1
    Does the toggle not work? Then I'd recommend making that the question (ask a new one along the lines of "cannot turn on USB debugging"). Sounds like a bug to me, though, if that toggle is really grayed out / deactivated.
    – Izzy
    Sep 25, 2018 at 14:24
  • 1
    Oy… Sure one has to activate USB debugging before plugging the cable in. That was too obvious for me to think it might be the issue. Glad your problem solved that easy – and thanks for self-answering!
    – Izzy
    Sep 25, 2018 at 15:11

2 Answers 2

1

This has solved my problem. I could not turn on USB debugging because the phone was connected to my computer. You have to unplug the phone first, start the USB debugging and plug it back in. Then, adb devices worked.

0

For one plus 6 I had to switch off developer mode

-> connect USB to phone

-> switch on developer mode

-> switch on debugging mode

-> a prompt appears to allow pc to connect

-> select yes

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .