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
3
votes
1answer
4k views

Is USB debugging needed when flashing stuff?

I mostly worked on Samsung phones, but I also had a shot on some cheap MTK phones. Over the course of rooting/flashing roms/flashing kernels I built myself/using Odin (Samsung)/etc. on a lot of ...
3
votes
2answers
45k 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 ...
3
votes
1answer
9k 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 ...
3
votes
2answers
4k 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 activated. ...
3
votes
1answer
16k 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 ...
3
votes
1answer
1k 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
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 ...
3
votes
1answer
4k 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.
3
votes
1answer
175 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
9k 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 ...
3
votes
1answer
512 views

Cant connect Oneplus 2 to Mac via USB

Ok, I have Oneplus Two, with the latest OxygenOS 3.0.2 (android 6.0.1), not rooted. First sad thing is that there is no option in "Developer Options" to do "ADB over network", seems like developers ...
3
votes
0answers
147 views

Most complex locked phone ever, needs a genius to solve

Is there any hope. I feel I have exhausted all the options I have any knowledge of. I’ll explain the situation and methods i have tried. I broke the screen on my galaxy s2 causing the touch screen ...
3
votes
2answers
6k views

ADB Shell In Recovery Mode - Error:Closed

I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't ...
3
votes
5answers
69k views

How to fix “error: device not found” when I try to use ADB

I'm trying to get my phone (JiaYu G3T) working under adb on Windows 8 x64 (worked fine on Windows 7 x64 before reinstalling my OS). Driver Android Composite ADB Interface, version 8.0.0.0, works fine....
3
votes
0answers
1k 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 ...
3
votes
5answers
9k views

How do I force USB debugging?

I am trying to figure out why my apps don't work on tablets manufactured by the company Ainol. USB debugging is already turned on, and I took a look at all of the settings that I could find on it, ...
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 ...
2
votes
2answers
5k 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
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
1answer
205 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.
2
votes
1answer
4k 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
1answer
481 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
3k 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
1answer
501 views

Activate Debugging on broken Nexus 7

My Nexus 7's touch screen is completely broken, I know I can manipulate the device using adb commands, but debugging mode isn't enabled on the devices. Is there anyway to enable debugging mode from a ...
2
votes
2answers
6k views

Android Studio (Windows 7) does not detect ASUS Zenfone. Cannot run my app

So, I will list the problems one by one. Please help. I plug phone into laptop's USB using Phone's own data/ charger cable. Everything is ok. Phone is in MTP mode. Android Studio does not detect the ...
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 ...
2
votes
1answer
896 views

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

Mirroring an Android display via Android Studio

I have an Android (first-generation Pixel) with a broken display. While the display does still appear to receive touch events, its ability to actually display anything seems to be basically done for. ...
2
votes
1answer
1k views

After upgrade to lollipop, LG D415 grays out “Enable USB Debugging” when phone is connected to PC

I've linked this phone to the same PC many times, but since upgrading to lollipop (5.0.2), my phone is not recognized (in adb devices) when I connect. When I look in "Developer Options", "USB ...
2
votes
1answer
143 views

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 ...
2
votes
1answer
10k 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
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
1answer
656 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
2answers
761 views

“Allow USB debugging” keeps on popping evene when “Always allow from this computer” is checked in automation testing

We are doing automation testing on mobile devices with Appium but testing fails because of the popup 'Allow USB debugging' even though the device is already connected through 'adb connect' and 'adb ...
2
votes
1answer
2k views

Enable USB debugging in an Android broken screen

I have a broken display which belongs to my friend. The mobile can power on but the display is still blank. I need to enable USB debugging to recover the data. While doing so there are these following ...
2
votes
0answers
163 views

Can I use ADB with USB Network Gate?

I have a colleague who cannot obtain the kind of Android device we need for our project. He would like to own such a device to test our project with adb and similar tools, but to reiterate, his ...
2
votes
0answers
422 views

How to enable usb debugging and install an apk to an android device with non-functioning display? [duplicate]

The display of my Xperia z3 is non-functioning(i.e. all I can see is a black screen) after an accidental damage due to water-insertion. But all other parts are working fine. The screen responses to ...
2
votes
0answers
1k views

Is it possible to make Android Emulator appear as an USB device on my computer?

I know that I can't plug USB devices inside android emulator like a pen drive. But is it possible to make my emulator look like a regular phone connected to my computer? I launched the emulator, ...
2
votes
1answer
2k views

Enable USB Debugger on a phone with a broken screen

I have done my research on how to enable the debugger, but most of them seem to be useless or missleading. Now I do not need any backup, my phone is empty and I use that broken Samsung s6 for ...
2
votes
1answer
61 views

How can I get IP connectivity on my non calling tablet without using WiFi?

Actually my issue is that I want to use my tablet as a second display over USB. I have used team-viewer over WiFi and it works fine, but since it is over WiFi, there is significant lag which defeats ...
2
votes
0answers
638 views

ADB Debugging over wifi not connecting

So I am trying to connect my device to adb over wifi. I have been following this tutorial http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/ I have been doing this adb ...
2
votes
3answers
28k views

I cannot connect my one plus two to my computer or laptop. debugging option is saying “Device is in charging mode, USB Debugging is disabled”

I am using One plus two. But it is not connecting to my system. It used to connect previously. But once i set it on Charge only mode. since then there are no options in the notifications bar to ...
2
votes
0answers
93 views

Can USB host ports be dangerous in uncontrolled environments? Virus etc?

We have an Android device with 2 external USB host ports. Now I wonder what harm can be accomplished by an attacker with malicous intentions, provided that: The user can not access settings or any ...
2
votes
1answer
2k views

Nexus 7 (2012) no longer connecting via USB Mac OS X

I plugged my original Nexus 7 into my Mac earlier today to build an application onto it for testing. It failed, and then I realized that the tablet did not appear to actually be connected to the ...
2
votes
1answer
5k 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 ...
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 ...
1
vote
5answers
17k 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
2answers
7k views

Cannot get MTP to work unless USB debugging is enabled

I have a Samsung Galaxy S3 (i9300) running Android 4.4.4 (CyanogenMod 11-20141008-SNAPSHOT-M11-i9300). If I have USB debugging disabled and I plug it into Windows 7 then: I get a connection sound in ...
1
vote
4answers
47k views

How can I enable USB debugging on my HTC One with Android 4.4?

I have recently updated my HTC One from the stock 4.3 firmware it came with to the stock 4.4 firmware via an OTA update. Since this update occured, I am no longer able to connect to the device with ...
1
vote
3answers
8k 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. http://www.samsung.com/us/support/supportDownloadCenter.do?prd_ia_cd=N0000407&...