Questions tagged [usb-debugging]

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

Filter by
Sorted by
Tagged with
44
votes
1answer
37k 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?
40
votes
4answers
272k 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 ...
30
votes
6answers
94k 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 ...
27
votes
4answers
26k 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 (...
19
votes
2answers
446k views

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB ...
16
votes
2answers
70k views

Can I enable USB debugging using adb?

I own a Samsung Galaxy S3 and the display is broken and USB debugging is set to off too. How can I enable it using ./adb commands? I have done these steps already: data/data/com.android.providers....
15
votes
2answers
25k views

adb backup command on non-rooted device creates an empty backup file?

I recently tried to backup my Motorola Moto G2 XT1068 phone running Lollipop 5.0.1 and after connecting it over USB with usb-debugging ON and I ran the adb backup command to backup my device ...
13
votes
10answers
56k views

Samsung (Galaxy S4) does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as "...
13
votes
5answers
74k views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
13
votes
3answers
23k 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: 2.2, ...
12
votes
3answers
9k 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
4answers
22k 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 ...
10
votes
1answer
8k 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.
10
votes
7answers
86k 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 ...
9
votes
4answers
52k 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. ...
9
votes
2answers
41k views

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 ...
9
votes
2answers
52k 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 ...
8
votes
2answers
35k 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 ...
8
votes
5answers
192k views

How to backup broken screen phone when USB debugging IS NOT enabled?

I dropped my Samsung S3. Now I cannot see anything, just a white screen with purple, black, and green lines. Before it blanked out, it wasn't recognizing my finger touch. Any idea on how or what to ...
7
votes
2answers
6k views

Can't get adb on Macbook to see Pixel C

I'm trying to connect my 2014 Macbook pro to a Pixel C tablet. The tablet has developer settings enabled, usb debugging enabled and unknown sources enabled. 'adb devices' shows nothing and there is ...
7
votes
4answers
7k 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 ...
6
votes
8answers
60k 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 ...
6
votes
1answer
3k 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, I'...
5
votes
1answer
52k views

Turn on USB debugging using command-line

I have a Samsung Galaxy S2 and a PC running Debian 8. How can I turn on USB debugging using command-line on my PC without touching the phone?
5
votes
2answers
5k 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
3answers
7k views

Unable to activate USB debugging after upgrading to Android 5.1.1

After upgrading my Huawei phone (which is rooted) to Android 5.1.1 (CM 12.1) the 'USB debugging' option is greyed out with message: 'Device is in charging mode, USB debugging is disabled'. The ...
5
votes
1answer
4k 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
3answers
24k 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
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
2k 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 ...
5
votes
0answers
9k views

How to enable USB Debugging from recovery mode?

So, my phone screen broke. I can't see anything and touch doesn't work. I have a Motorola Moto G2 running LineageOS 14.1, and TWRP custom recovery. Until now I have been able to use my phone with ...
4
votes
1answer
12k views

The device is temporarily restricted

I try to install an app from Android Studio on Xiaomi Mi Max via USB. The debug mode is on, but when I try to switch the 'Install over USB' enabled, I get 'The device is temporarily restricted' ...
4
votes
3answers
27k 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 ...
4
votes
2answers
12k 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 ...
4
votes
1answer
12k views

“adb devices” successfully shows device, but “adb connect usb” inevitably fails, any suggestions?

I have an ASUS ThinkPad, Android 4.4.2, Kernel 3.10.20. I've checked Settings->Developer Options->USB debugging. I've disabled Wi-Fi and BT (because I've seen some devices have some conflict there). ...
4
votes
2answers
800 views

How to enable developer mode to install apps via ADB for this cheap Android Watch?

I just bought one of these: It was fairly cheap so, unsurprisingly, in "Settings" I don't see any way to select "developer mode". How can I go about enabling developer mode (USB debugging) to ...
4
votes
3answers
10k 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 ...
4
votes
1answer
131 views

Unexpected logcat when on idle phone

I asked this question on Overflow but was advised to ask it here. I am attempting to debug an error using logcat in Android Studio on my testing device, a Galaxy s9 plus running Pie. Suddenly I have ...
4
votes
1answer
3k views

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 (...
4
votes
1answer
11k views

What is MIUI optimization?

In MIUI (an Android ROM) there is an option in developer settings called MIUI optimization, what is the use of this option.When this option is enabled an app can't be installed via USB (i.e. from ...
4
votes
1answer
7k views

Enable USB debugging for Android at Android Linux command

OS: Android JB. HW Platform 1: sama5d31-ek (ATMEL ARM) HW Platform 2: TI-Sitara SK Enable USB debugging for android at android Linux command prompt. Usually USB debugging for android is enabled ...
3
votes
3answers
5k views

How do I increase the size of logcat buffers?

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 ...
3
votes
2answers
152 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 ...
3
votes
1answer
670 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
1answer
534 views

Why “adb root” does nothing?

I have a OnePlus 6T. It is rooted by TWRP and Magisk. I have set ro.debuggable to 1. But when I type adb root it does this: I cannot even use adb pull on system files.
3
votes
2answers
6k views

Is it possible to connect Nexus 4 to Windows Server 2012 R2?

I'm trying to connect Nexus 4 (Android 4.4.4) to Windows Server 2012 R2 DataCenter for purpose of debugging from Xamarin Studio. What I did: Activated Developer Settings Checked USB Debugging ...
3
votes
2answers
6k 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
1answer
6k views

Enabling USB debugging from open file system access using custom recovery

Of course this should be possible, but finding the correct files to modify is the real question. Assuming we can boot into a custom recovery and have full access to the file system, has anyone ...
3
votes
4answers
36k views

USB Debugging is not showing in ADB devices

I Enabled USB Debugging on CyanogenMod 11 for LG Optimus L7. The Device is showing in Device Manager. But, it is not showing in ADB devices list. And there is no notifications for USB debugging.
3
votes
2answers
10k 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 ...