USB debugging is a connection mode on Android devices which allow a USB connected computer to transfer data between the computer and the device, including easily reading log data from the device, and using debugging commands when testing software on the device.

learn more… | top users | synonyms

26
votes
1answer
8k views

Where are the developer options in Android 4.2?

I wanted to access the developer options to enable adb access on Android 4.2 but cannot find it. How can I enable that? Once I've activated the menu, how can I hide it again?
19
votes
4answers
6k views

What is USB debugging? Can I keep it ON forever?

Sometimes I need to transfer some music from my PC to my Galaxy S2 and must always activate USB debugging. Then I think, can I keep it ON forever? I mean, Keep it ON for ever can give me a problem ...
12
votes
2answers
6k views

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 ...
12
votes
6answers
29k views

Broken screen while debug mode was disabled. How can I re-enable adb?

The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it ...
9
votes
2answers
17k views

How to enter USB debugging mode in Cyanogenmod

I just installed Cyanogenmod 11 on an HTC One, and now I'm completely unable to connect to it via USB from my Linux PC, so I'm unable to transfer any more ROM or applications. How do I enable USB ...
9
votes
2answers
6k views

How do I disable the USB Connected notification?

Every time I plug in my phone, I get a notification for USB connected. Is there any way to disable the notification, without disabling USB debugging? Phone: LG Optimus S Carrier: Sprint Android: ...
7
votes
3answers
6k views

USB debugging on Samsung Galaxy Tab — How do I prevent it from resetting debug setting?

I have a Samsung Galaxy tab that I'm using for development purposes. For some reason, when I choose 'Enable USB Debugging' in the settings menu, it turns off after a random period and drops whatever ...
7
votes
2answers
25k views

How do I configure ADB for the Samsung Galaxy Y?

How do I configure ADB to recognize my Samsung Galaxy Y? I have installed the USB driver. but when I run adb devices it does not list anything. Following are the steps I followed. Declare your ...
6
votes
4answers
25k views

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. ...
6
votes
6answers
61k views

Driver issues when using Samsung Galaxy SIII via USB for development

The phone is connected via USB to Windows 7 64-bit. The USB debugging option enabled. When I connect the phone to the computer, I'm notified that some drivers failed to install. Do I need these for ...
6
votes
3answers
14k views

Samsung Galaxy Tab-2 USB connection issue

I am working on Android application development, I want to run my application on Samsung Galaxy Tab-2 GT-P3100 but whenever I connect it with USB to the computer then it is not detecting. snapshot - ...
5
votes
1answer
1k views

ADB shell-ing to wifi connected device when usb device present

I have two devices connected to my workstation simultaneously, one by usb, the other over wifi. C:\>adb devices List of devices attached Cxxxxxxxxxx2 device 192.168.60.69:5555 ...
5
votes
1answer
1k views

How to activate Android debugging mode

I've recently upgraded my Samsung Galaxy 5 from Android 2.1 to 2.2 and I can't find Android debugging mode in the settings. I need to root my phone.
5
votes
6answers
27k views

How to prevent Galaxy S4 from connecting as “Connected as Installer” instead of “Connected as Media Device”?

I have my Verizon Wireless Samsung Galaxy S4's developer options enabled with USB debugging turned on. Whenever I connect it to my machine, it displays "Connected as Installer" in the notification ...
5
votes
1answer
2k views

Error launching ddms.bat: “Failed to get the adb version: Cannot run program ”adb“: CreateProcess error=2, The system cannot find the file specified”

I've been following these very detailed instructions to take a screenshot on my Motorola Flipside. When I get to the step #10 where I launch ddms.bat I get this error and my phone doesn't show up: ...
5
votes
2answers
1k views

Accessing android device via ADB shell with broken touchscreen (can't authenticate)

So, the touchscreen on my Nexus 4 broke this weekend. I have a new device coming in, but in the meantime I need to be able to access the device to use a few different apps and send/receive some SMS ...
5
votes
1answer
3k views

Stuck in USB-debugging mode

I turned on usb-debugging on my HTC One X just to see if I could identify it when using Android SDK. Now the usb-debugging mode always shows up when I connect the phone to my Windows and Linux ...
5
votes
3answers
1k views

Windows doesn't detect Nexus S

I recently switched from Linux to Windows 8 consumer preview. I have installed the latest android SDK including the Google USB driver. I connect my Nexus S to the laptop, the phone goes into USB ...
4
votes
3answers
9k views

Google Nexus 7 not recognized via USB

I'm trying to connect my Google Nexus 7 to my PC for Android development but so far I've been unsuccessful. I've tried connecting to my PC using different cables. When I connected the device to my ...
3
votes
1answer
650 views

On it's own, my Verizon Droid Razr (recently with ICS), went into debug mode. How do I get it out of debug mode?

This evening I took my phone out of my pocket and the screen was on and it was in debug mode. I assume it is debug mode - there is a column of text right justified near the top of the screen that ...
3
votes
2answers
5k views

Do I need Android SDK to connect my phone in USB debug mode?

I'm following the steps provided here to root my Samsung Captivate (Galaxy-S). I install the USB drivers in the link provided. Whenever I connect my phone, I get the error There was a problem ...
3
votes
2answers
7k views

Alternative way of setting the debug mode

I'm having a problem with my android phone: whichever phone application (contacts, settings, messaging...) I try to run, I get the dialog "The process stopped unexpectedly" and I have to force it to ...
3
votes
1answer
315 views

Why am I unable to turn of USB debugging on my Galaxy Tab 10.1?

I turned on USB Debugging in the settings and am unable to turn it off. Whenever I try to uncheck the option I get "USB is connected. Remove the cable." even though the cable is not connected. I ...
3
votes
2answers
4k views

Prestigio Multipad USB debuging

I am having troubles with Prestigio Multipad PMP3370B. I enabled USB debuging in Settings, but when I plug in my device to a computer and start adb devices, it does not recognize it. Does anybody have ...
3
votes
1answer
633 views

How can I debug my application while USB tethering is enabled?

I want to debug my application on the phone and at the same time I want to enable USB tethering so that I can access Internet on my PC. Is there any way so that I can connect my phone then enable USB ...
3
votes
2answers
9k views

Installing USB driver for Micromax A50

I have to install USB driver for Micromax A50 . I have google USB driver installed through SDK Manager, but need a USB driver specifically for this device. To install this USB driver I think, I need ...
3
votes
1answer
163 views

test usb functionality from the handset?

I am using HTC Desire HD, I have a terminal with root permissions. Are there any tests I can do on the USB port from the handset side? i.e. to make sure it exists and is functional. The reason I am ...
3
votes
1answer
2k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
3
votes
1answer
2k views

Force debug in safe mode via USB?

I did something so stupid I'm almost kind of proud of it. I rooted my LG Optimus T (Froyo) using Gingerbreak, cleaned out a bunch of stuff, and accidentally deleted the home screen launcher. No big, ...
2
votes
2answers
135 views

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 ...
2
votes
2answers
2k views

How do I increase the log size of dev/log/main?

How do I increase the size of dev/log/main by a factor of 10? My understanding is the log has a fixed size (16K?) and rolls over when that limit is reached. I'd like to find out what the log size is ...
2
votes
2answers
17k views

USB drivers for using ADB with Samsung Galaxy S on CyanogenMod 7.1?

I recently installed CyanogenMod 7.1 on my Samsung Galaxy S i9000 and I have some problems now to get ADB on my Windows 7 64-bit computer to recognize the device. Currently, adb devices returns no ...
2
votes
1answer
432 views

Use Transformer Prime instead of virtual emulator

I am thinking about buying the Asus Transformer Prime, to start developing on android. Currently I am borrowing a Motorola Xoom to develop, and that has a Micro USB port, that I can plug into, and use ...
2
votes
2answers
2k views

Nook Color with CyanogenMod7 is not visible via ADB over USB

I recently bought a Nook Color. My intentions from day 1 was to install CyanogenMod7 on the device to get a full Android experience. That process worked just fine, and the device is now running CM7. I ...
2
votes
2answers
2k views

About the android recovery mode

Question 1: what's the android recovery mode? Does it run a full linux kernel? Question 2: where the recovery.img is installed? (/somewhere_in_filesystem)
2
votes
1answer
7k views

How to get my Android device to connect in USB Debugging Mode?

I have videocon (vt10 - android v4.1 jelly bean) 10 inch tablet. I want to connect my device to my computer (Windows 7 32-bit) in USB DEBUGGING MODE. I searched a lot and didn't find any USB drivers ...
2
votes
1answer
5k views

My Samsung Galaxy S doesn't recognize when it is plugged in to USB

When I plug in my Samsung Galaxy S (Model SAMSUNG-SGH-I897, Firmware 2.2, Kernel 2.6.32.9, Build FROYO.UCKB2) to a computer, it starts charging, but does not recognize the USB connection for data. I ...
2
votes
1answer
566 views

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 ...
2
votes
1answer
51 views

HTC One detected as CD Drive

I am experiencing a similar problem as described there: Whenever I connect my HTC One to my Windows 8.1, it is recognized as a CD Drive. So I tried the solution proposed by Macha's answer, but I ...
2
votes
1answer
977 views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
2
votes
1answer
11k views

How do I make my Nexus 5 work with ADB on my Windows 7 desktop?

I am attempting to develop on the Nexus 5 using the Android SDK on eclipse. I'm developing on Windows 7, have the Helios version of Eclipse, and have kept my SDK up to date. I have previously been ...
2
votes
1answer
3k views

nexus 4 not allowing me to copy files

I have a nexus 4 and had been trying to copy files with Windows 7 - but when I plug it in, it doesn't show up in my device manager but when i enable USB debugging in the developer options, it shows ...
2
votes
0answers
557 views

Can I browse a locally hosted web site from a USB connected device?

I am attempting to remote debug a locally hosted web application on Nexus 7 and 10 tablets running Android 4.2.2, that are connected to a development machine via USB. My goal is to browse to the ...
2
votes
0answers
1k views

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.
1
vote
2answers
10k views

LG G2 - USB debugging disables when I connect to a PC

I'm trying to set up remote debugging on my brand new LG G2 phone. Seen here: http://www.html5rocks.com/en/tutorials/developertools/mobile/ So far, I've: Enabled developer options Enabled "USB ...
1
vote
2answers
6k views

Samsung Galaxy Tab drivers

Where can I find the Windows 7 drivers for the Samsung Galaxy Tab? Can't seem to find them on the samsung website. ...
1
vote
1answer
4k views

How to enable USB debug on Note 2?

No matter what setting I change, my Samsung Note 2 is always entering "USB media mode" instead of "debug mode". I have the USB debug option set and the Google USB driver from the SDK installed, but ...
1
vote
2answers
2k views

What is the difference between USB Mass Storage and USB Debug mode?

I am familiar with USB Mass Storage mode . How exactly is USB Debug mode different from it ?
1
vote
1answer
1k views

Cannot see my device in Dalvik Debug Monitor [duplicate]

Possible Duplicate: installing USB driver for Micromax A50 I have android gingerbread (2.3.6) . I wanted to take a screen shot so i enabled USB-Debugging,connected the USB,started ddms but ...
1
vote
2answers
8k views

My phone keeps slowing down and burning battery. How can I debug performance and cpu consumption? (DHD 2.2)

I know there are already a lot of threads about suggestions on how to improve performance and, strongly related, save battery life on your android. I also have tried most of the tools to diagnose ...