Questions tagged [usb-debugging]

A USB connection mode on Android devices which allows a USB connected computer to directly interact with the device.

USB debugging is a connection mode on Android devices which allows a USB connected computer to interact with the device. This can be used to e.g.,

  • Transfer data between the computer and the device.
  • Read log data from the device.
  • Execute commands directly on the device.
  • Debug applications running on the device.

More details can be found e.g. in our tag-wiki.

By default, USB debugging is disabled with stock ROMs (some custom ROMs however have it enabled by default). To toggle it on or off, you can find the corresponding switch in Settings › Developer – which is hidden by default in Android 4.2 onwards.

You can make this section visible by going to Settings › About device and "hammering" the entry telling your ROM's build version until a toast-message congratulates you for having become a developer.

Useful links on our site

446 questions
12
votes
3 answers

Is there a good USB debugging toggle widget for Android?

Can you suggest me a widget for toggling usb debugging mode for Android? Or could you code it and upload to market, please? (I need it because of HTC Desire and HD's init process consuming 100% cpu bug. When toggled, it resets to 0)
ahmet alp balkan
  • 223
  • 1
  • 2
  • 7
11
votes
2 answers

Remote debugging using USB debugging is not woking

I'm trying to remotely debug Chrome on my Samsung Galaxy Note 4, but I can't seem to get it working. Note - to eliminate a device problem I have also tried to use an HTC One M8, but that also would not work. Having reviewed the requirements from the…
David Gard
  • 261
  • 1
  • 3
  • 9
9
votes
4 answers

LG G2 - Debugging mode not enabled

I'm attempting to run an app on the LG G2 (Verizon) using Eclipse on a Mac. The phone, however, is not recognized by the computer. I enabled debugging but it doesn't appear when I do adb devices. Additionally, I never receive the debugging…
ono
  • 281
  • 1
  • 2
  • 6
4
votes
1 answer

USB debugging doesn't work - switches off automatically

I have a Xolo Q800 phone with following specs. I'm trying to connect the device to my Macbook Pro with OS X Mavericks, Android Studio / Eclipse and adb working perfectly. XOLO Q800 Android 4.2.1 (Upgraded, device came with 4.1.2) Rooted Mediatek…
neeks
  • 141
  • 1
  • 3
3
votes
1 answer

Why do some processes block when my Android phone is connected?

I've been trying to reboot (WinXP) all evening, and Emacs (Win32, v23.something, not important) isn't starting... sometimes... it's locked on mount.exe (loads up some CygWin things during launch), I finally notice. Can't kill mount.exe via…
Michael Paulukonis
  • 3,622
  • 4
  • 27
  • 31
3
votes
2 answers

Why won't 'usb debugging' mode stay on?

I'm trying to put my phone into usb debugging mode, but it won't work. I'll turn it on, and it will turn off right away.. Has anyone else gone through this? I'm running 2.3.4 on a zte score.
James Litewski
  • 461
  • 3
  • 8
  • 16
3
votes
2 answers

Cant access abd

I cannot access abd on my computer it is quite annoying. I don't know what the deal is. I have tried to modify the path variable on my system variables. It didn't work. When I try to access it in cmd the command comes back "abd is not recognized as…
chriss
  • 139
  • 1
2
votes
1 answer

Developer Mode on VSN Mobil V.50

I have a phone made by VSN Mobil called the V.50. It's running their own mod of 4.4.2. The normal method of tapping Build Number seven times to access Developer Mode does not work. I just need to be able to install and debug. Has anyone…
2
votes
1 answer

USB debugging switches off automatically

I'm using a Huawei P20 Pro. I'm trying to use adb according to this guide: https://developer.android.com/studio/command-line/adb. I have enabled developer options. I can enable USB debugging, but if I go back one screen and return, USB debugging is…
extremeaxe5
  • 121
  • 1
  • 3
2
votes
3 answers

Debugging an app from the Google Play Store?

Is it possible to use USB debugging on an app that is not yours, and was downloaded from the Google Play Store? I don't really need any in-depth information, I just want to be able to see general errors that may be occurring. I'm basically trying…
DrZoo
  • 148
  • 1
  • 7
1
vote
2 answers

Android doesnt show up in ADB

I have a Android 4.4.2 tablet here and I am trying to use ADB with it, So I launch ADB on my PC and it opens and says 'No device found'. I have the USB Debugging enabled in the Developer Settings so why wont my PC recognise it? UPDATE: When I first…
user86581
1
vote
1 answer

Laptop unable to detect Gionee E6

I wanted to debug an Android app on my Ginonee e6. But when I connect it through USB cable, the device is not detected. Last time I had faced same issue with Samsung Galaxy Y and installing Kies solved the problem But for Gionee E6, nothing works,…
Abhilasha
  • 207
  • 2
  • 4
  • 10
1
vote
0 answers

USB Debugging turned off at reboot

I have a rooted Android tablet running 4.0.1. Ever since I got it, the USB Debugging option doesn't stick after a reboot. This can be quite problematic, so how do I stop this, and make USB Debugging stick? I am still running the stock ROM, which has…
Liam W
  • 8,436
  • 11
  • 40
  • 67
1
vote
0 answers

How can I enable USB debugging using ADB? My phone is recognized only in sideload mode

I am trying to unlock a USB debugging disabled device from ADB. The device is recognized by ADB only when it is connected through USB in recovery mode (when the device is turned on, it is not recognized as USB debugging is off). ./adb devices is…
1
vote
0 answers

Enabling developer mode on cash machine

What I have is a cash register machine with a preinstalled custom launcher and Android 7.0 How to access the developer options and connect via adb? There is no settings menu with well known "build number" I tried switching to recovery mode, but it…
1
2 3