45

Starting with Android 4.2. developer options are hidden by default to clean up the options menu. They're nice for debugging but some overlay options may be very alienating for average users when they're accidentially enabled. On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings -> About phone and tap ...


37

Go into settings > about phone Toward the bottom of the list, you'll see an entry for "Build Number" Tap it 5 times and you'll see toast pop-up letting you know that the Developer Options have been enabled. Go back to the main options menu and tap Developer Options and you'll see a tick box for USB Debugging about halfway down the list.


30

Enabling USB debugging essentially starts up the adb daemon on your device, which allows it to communicate with adb on another device to enable debugging commands. It's used when developing and debugging applications, and allows you (primarily) to: Transfer data between a computer and your device (both ways) Read log data easily from logcat Debug ...


18

I have had this happen multiple times on multiple Android devices. Solved every time by putting the device in Photo transfer (PTP) mode. ADB will not work for me when my device is in MTP or any other mode.


13

It's usually located in Settings > Applications > Development Of course, you could just perform a quick and easy root by installing Universal Androot as detailed here - http://androidadvices.com/root-unroot-samsung-galaxy-5-i5500-easy-tutorial/2/#.UF3Qi1H1pjc


12

Had exactly the same problem recently (on a friend's Nexus S running stock Android 4.0 with a completely broken screen & digitizer and adb switched off): Get a recovery system running with adb enabled. Then use adb console to access the device's data and create a backup. On Nexus S you cannot use the sdcard to get the data off the device, so you need to ...


12

I got it to work :) NOTE: This requires unlocked bootloader. Connect the device to Mac or PC in recovery mode. (I had to map the process in my mind as the screen was broken). Now open terminal/CMD in computer and go to platform-tools/. type and enter ./adb devices to check if the device is connected in recovery mode. Now type ./adb shell mount data and ./...


10

The workaround was to set the desktop backup password under Developer settings. It seems there is a bug in backup process. If you didn't set a desktop backup password under the developer options settings the above problems occur and your backup will eventually be incomplete(empty backup file). However, I couldn't find an official source for this bug report ...


9

I found the solution: Assuming you have debugging mode enabled, you have to change the USB settings to Internet Connection: Modem or ethernet. Keeping it on Charge Phone, Media Sync, or Camera does not enable debugging.


9

Details for that can be found in our usb-debugging tag-wiki (where I've just added them): 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 › Development – a section originally hidden with Android 4.2 and up. You can make ...


9

If the question is simply "using the command-line" Let it be simple (root possibly[1] required): settings put global development_settings_enabled 1 settings put global adb_enabled 1 And then you need to echo "mtp,adb" > /data/property/persist.sys.usb.config If you want to do this without touching your phone Then I'm feeling interesting because you ...


9

Finally, I got a workaround - the Wi-Fi has to be turned off and then the installation over USB works as expected.


8

My SAMSUNG Galaxy S4 sometimes bothers me with this annoying offline status message too. I always fix it by trying options below: Try to revoke the USB Debugging authorization on Developer Options menu. Try using adb kill-server and the adb usb commands. Try to replug your device if none of above works. Try Restarting your device. Turn USB Debugging OFF and ...


7

You need to include the port number. adb -s 192.168.60.69:5555 shell If you're using a sensible shell with configurable tab-completion (i.e. not Windows), then you can type adb -sTab to get a list of devices.


7

I found the missing pieces of the puzzle were installing the Java SDK & Android SDK. I came across this because I couldn't connect to the "adb interface" - the Android remote debugging instruction page never mentioned installing an SDK, so I Googled "how to set up adb interface", and I found this page on How To Geek. After installing the Java SDK & ...


6

I am not sure if you ever solved this problem, but I ran into this problem, and tried out many many different procedures, each of which might have helped others, but this is 2016 and a summary might help. A brand new phone bought in 2016 didn't work when I installed Android Studio on Linux. A phone bought in 2015 worked without a problem. A new phone didn't ...


5

Do you have "{} Developer options" under Settings menu? If yes, go to Settings->Developer Options and uncheck the boxes under "Input", "Drawing" "Monitoring" sections. I presume these should be not available with standard ROMs (i.e. produced by carrier/that come with phone). In that sense, I am bit surprised on why you have it, unless you have CM's or ...


5

Use the drivers that come with the android SDK. The samsung drivers do not work once CyanogenMod is installed.


5

The easiest way to get this driver is from the samsung website. There is a link to a download that installs only the driver (none of the bloat). See https://stackoverflow.com/a/11851697/1427165 for more details.


5

Based on OP's clarification done in the comments below Izzy's answer, I propose the following solution if one's device is locked out and ADB is not enabled under Settings. Note that this method is tested on Stock Android 4.2.1 and Stock CM 12.0 (Android 5.0) , both devices having custom Recovery (ADB always enabled as default) . If your Stock Recovery ...


5

Here is the documentation on usage of the adb utility. Basically, adb connect is only needed if you are trying to connect to a device over TCP IP, i.e. wireless network. You don't need to issue any "connect" commands for a device connected via USB if it is already recognized in adb devices prompt. Just issue any other command, e.g. adb shell ls /sdcard/ ...


4

It looks like you are calling the application by the wrong name. It is ADB not ABD. The message you posted from the console is when the file (or command) doesn't exist in the current directory (or in the environment path) It stands for Android Debug Bridge.


4

To make one of eldarerathis' cons less critical: One could use Tasker or Locale together with the Secure Settings plugin to automatically toggle USB Debugging on for safe locations (based e.g. on cell towers, network/GPS location, WiFi networks connected or in reach), and toggle it off (exit-task with Tasker) when leaving such. With a NFC tag and the Locale ...


4

Is your USB Debugging mode enabled? Go to Settings->Applications->Development, and check the "USB Debugging" mode. This will help the ADB detect your device. You may refer to the Android Developer Documentation: Using Hardware Devices for further information and details.


4

There was (and still is) such a tab. It's called File Explorer, and by default it shows up in the same part of the screen as the Threads and Heap views. If you've hidden it in the past, you can show it again from the Window menu → Show view, or by pressing Ctrl+3. (Thanks to Edgard Leal for suggesting the keyboard shortcut.)


4

The user44860 answer is almost correct. Goto Settings, About Phone, Software Information: Click Build Number 7 times. You should see a message saying that now you're a developer. So, you can go back and enabe USB Debugging in the Development Settings. Maybe you've to detach the usb cable, enable the debug and re-plug the usb cable.


4

The PC Software setting is just for installing and using the LG PC software. Once your drivers are installed, enable USB Debugging, plug it in, change it from "charge only" to "MTP" and USB Debugging should work.


4

As it turns out, the issue was that my phone was no longer being recognised as a composite USB device by Windows, meaning only one of ADB, MTP or HTC Sync was capable of running at a given time. After the update, MTP was always recognised first. This explains both the 4.3 issue of MTP and ADB conflicting, and the 4.4 issue of no ADB. The solution was ...


4

Actually Windows Experience Feature is the answer! I had the same problem and could not install usb drivers for a MotoG on a win2012 Server, but when I installed Desktop Experience feature, all runs flawlessly, drivers auto-installed and all! BUT it is a little weird to find it... Go to: Server Manager -> Open Add Roles and Features Wizard -> Features -> ...


4

Go to Settings-->Storage-->Menu(3 dots in the corner) and tap USB computer connection. When there, make sure MTP and PTP are both unchecked.


Only top voted, non community-wiki answers of a minimum length are eligible