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
40
votes
4answers
274k 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 ...
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?
19
votes
2answers
449k 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 ...
8
votes
5answers
193k 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 ...
16
votes
2answers
71k 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....
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 (...
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 ...
4
votes
1answer
939 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.
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 ...
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 ...
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 ...
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 ...
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 - ...
3
votes
2answers
10k 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 ...
1
vote
1answer
6k views

Enabling ADB on Nexus 6 with dead screen

So I acquired a Nexus 6 with a completely dead screen. (Dead as in I cannot see anything) The phone powers on (and off) and is detected by my computer. I want to be able to see the phone's display ...
5
votes
1answer
54k 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?
3
votes
4answers
37k 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.
14
votes
10answers
60k 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 "...
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 ...
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 ...
5
votes
1answer
14k 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
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 ...
2
votes
2answers
33k 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 ...
0
votes
1answer
6k views

How to know if phone has been connected via USB? (connection log on the phone?)

I'm trying to find out if someone has connected the Android phone (Samsung Note 4) to the PC via USB. Is there a log somewhere on the device showing the timestamp of connection? Preferably without ...
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 ...
2
votes
4answers
8k views

Micromax A57 is not displayed in Eclipse Device List

I have purchased a new Micromax A57 (Ninja-3) smart cell phone. I want to install my application from Eclipse directly, because i need to see the Logcat output for testing my Application. I just ...
1
vote
1answer
985 views

Alternative method to enable adb

It seems that daily, I see some question along the lines of "issue X is causing my phone to be inoperable, and debugging is off. How do I enable ADB to get my data?" I understand that this issue can ...
1
vote
1answer
12k views

Is it possible to enable usb debug without touch screen? [duplicate]

I have a samsung i9100 phone. The screen is broken. Usb debug mode is not enabled. So is it possible to enable usb debug in such situation? I don't want to replace the screen now.
0
votes
0answers
4k views

Adb says “Error: Device offline” everytime

Please see this question for background information. Problem: Whenever I run adb devices it says Error: device offline - This appears even when no device is connected at all. It won't even let me ...
3
votes
2answers
47k views

Can’t enable the developer options of Samsung Galaxy Tab

I have several time tap on “Build Number” for 7 times but it does not show any toast message and also not enable the developer options. Where can we find the USB Driver for the Tab. I have Samsung ...
2
votes
1answer
5k views

Is it possible to unlock the bootloader without root access?

Is it possible to unlock the bootloader without root access? If so, is there another way to unlock the bootloader without using the command... fastboot oem unlock Now, for the background stuff ...
2
votes
3answers
25k views

USB debugging option greyed out in Samsung Galaxy J5 runing Android 5.1.1

As per the rule with a new Android, I have tapped build number 7 times for enabling Developer option. However, USB debugging is shown as greyed out and I cannot start it. Samsung Galaxy J5 comes with ...
2
votes
2answers
7k 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
5answers
18k views

Can't authorise android device in USB debugging mode

I am trying to use a Samsung Galaxy S6 Edge for debugging an android app. I've downloaded and installed the Samsung USB driver but when the device appears in android studio it says the device is ...
1
vote
1answer
7k 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
1answer
2k views

Failed to root Galaxy S (Fascinate) after three methods

I have tried three methods for rooting my previous Android device, running 2.3.5 (Gingerbread). It's a Verizon Samsung Galaxy s (Fascinate - SCH-I500). I have all the drivers installed for the device ...
1
vote
1answer
2k views

How can I control my Azpen Android Tablet with a broken screen without root or usb debugging?

I've had this Azpen A700 tablet for a while, but at some point it got the touchscreen broken. I can still see an image but the touchscreen is completely unresponsive. I'd like to still get some use ...
0
votes
2answers
219 views

My Samsung Galaxy Note 8 Doesn't Show an “Allow USB Debugging?” Prompt. Is there a fix?

Around this morning, I had the idea to transfer all my whatsapp chats(from android to ios) Not so complicated, right? Well, I was in for a rude awakening. Not only did I spend literally 7 hours ...
0
votes
1answer
2k views

How to NOT charge when USB debugging? [duplicate]

I develop "on the road" using a laptop that's not connected to a power source, so when I debug on my android devices, they drain my laptop battery. Unfortunately, the laptop is a MacBook Air so spare ...
0
votes
2answers
554 views

Malware installed with remote debugging

Is it possible for someone to install apks without you noticing, using remote debugging? (E.g. over TCP/IP, or on the same WiFi network). I found articles referring to this after a quick Google, but I'...
0
votes
1answer
2k views

xperia z5 broken screen locked need data

I had a sony xperia z5 compact for about 2 weeks until i smashed the screen. I have searched online to find some help to recover my photos and videos taken with the device. I didnt have any cloud set ...
0
votes
1answer
917 views

Recovering files in Android phone, phone stuck in boot loop

My phone is currently stuck in a boot loop. I tried using minimal adb and fastboot but I can't seem to do it. I have also read in some forums that usb debugging should be enable and the phone should ...