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
0
votes
2answers
740 views

Developer options switch is disabled, hence not able to turn it on

I'm having a Samsung Galaxy S5 Android phone. All these days I was able to debug apps using USB debugging from the Developer options menu in my phone. But suddenly I noticed the switch in the ...
0
votes
1answer
4k views

Problem rooting Xperia E Dual

I am following the below post to root my Xperia E Dual. How To Root Xperia E! Latest Update! (Locked Bootloader)*LINKS UPDATED* NOOB GUIDE! In step 4 to install Framaroot APK we need to Check ...
0
votes
0answers
16 views

enable screen mirroring on galaxy S7 (broken display + locked by sequence) with keyboard

I have a Galaxy S7 device with broken and black screen. The phone is locked by screen sequence (pattern). I would like to activate the screen mirroring on it to backup data, but it is not possible to ...
2
votes
2answers
802 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 ...
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, ...
0
votes
1answer
1k views

Power button broken and can't switch on phone

I have HTC One mini. Power button is broken and can not turn it on. Phone is not rooted and unfortunately usb debugging is not turned on. Any ideas what to do? Or at least how to enable usb debugging? ...
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'...
0
votes
2answers
753 views

How to install Android ADB drivers on Windows? (Any Android Phone)

How can I install the Android ADB drivers on a Windows 8.x PC/Laptop? I followed tutorials on the internet but nothing worked for me. PS: The adb driver should be compatible with any Android ...
0
votes
0answers
34 views

How do you enable MTP on Android 8.0.0?

Developer options on. Select USB Configuration is MTP (Media Transfer Protocol). When I plug the USB into my Windows 10 computer it does nothing.
0
votes
0answers
15 views

Connect Android to OTG cable and PC

TLDR: I'm wondering if it's possible to connect a android device to a device(lets say usb flash drive) while staying connected to the computer. I'm developing a app that requires a ftdi chip to be ...
0
votes
2answers
1k views

How to connect soft bricked tablet to pc without USB debugging enabled

I tried rooting my Galaxy tab a 9.7 using Odin and soft bricked it. I went into system recovery mode and clicked wipe data/factory reset thinking it would reset back to stock. My tablet is still ...
0
votes
1answer
879 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 ...
0
votes
2answers
91 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 ...
1
vote
2answers
1k views

Error setting up Android USB debugging on Ubuntu 14.10

I have an Android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as "...
13
votes
9answers
52k 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 "...
1
vote
1answer
130 views

How to factory reset a locked phone when you cant access fastboot or usb debug mode

I have a Hyundai Orbit android phone. The situation is as follows: The phone has a pin which we don't know The phone was never signed into any google or other accounts USB debugging is not turned on ...
0
votes
1answer
1k views

Connecting android tablet as testing device

I have a problem related to connectivity between my desktop (Windows) and tablet (Android 4.1). I bought a new device (Colorovo City Tab Vision 7) and now I want to use it for testing of my ...
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 ...
0
votes
1answer
1k views

OnePlus One - How to enable USB Debugging with broken TWRP

My device is Oneplus One, I installed Android 7.0 on it, then I installed OxygenOS 3.1.3. Then I thought to get back to CyanogenMod 13.0 with SultanXDA 3.4.0 kernel. I've got bootloop, but I still ...
0
votes
1answer
1k views

Moto G not showing up properly in Android Device Monitor after upgrade

I was able to enable USB debugging, download, and run a an app I wrote in Android Studio when it was running KitKat. I have since upgraded to Lollipop. I also changed from 32 to 64 bit Linux Mint ...
0
votes
1answer
2k views

Unable to mount SAMSUNG Android when USB debugging

I'm running Ubuntu 16.04 LTS on my PC, and Android 5.0.1 on my Samsung Galaxy S4. Whenever I plug my phone in with MTP mode and USB debugging enabled, it gives me a repeated popup saying "Unable to ...
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 ...
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 ...
0
votes
0answers
24 views

Android screen is dark, no USB debugging is enabled, how can I recover contacts?

My phone screen is not showing anything, although the touch detector works perfectly. I hear the sound of the notifications and call and I can answer them but it shows nothing. What are my options ...
2
votes
1answer
221 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
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 ...
0
votes
0answers
14 views

Live screen capture through USB [duplicate]

My phones screen is crooked but not enough to not open the pattern lock. Vibe P1 Turbo 6.0.1 What I plan to do is use the USB as a control gateway by attaching my phone to the Windows 7 and then use ...
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 ...
1
vote
0answers
423 views

USB Debugging stopped working - Xiaomi Mi A2 - Android 9 (Pie)

USB Debugging isn't working anymore (was working before). Tested it with 2 real Xiaomi Mi A2 devices. Setup: Xiaomi Mi A2 (Android 9, Build-Number: PKQ1.180904.001.V10.0.7.0.PDIMIXM) macOS 10.14.4 ...
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 ...
1
vote
1answer
52 views

How to prevent apps auto-reinstalling?

Almost every time I connect my phone to my PC apps auto-reinstall in the background. I say "auto-reinstall" rather than "auto-update" because the versions aren't changing. Auto-update is disabled but ...
5
votes
0answers
8k 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 ...
9
votes
2answers
51k 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 ...
0
votes
2answers
5k views

enabling usb debugging when device is off

I am trying to unlock my bootloader, but I am unable to enable usb debugging because my device (xperia t) is not coming on. How do I unlock my bootloader so that I can flash it.
0
votes
1answer
12k views

The device has either stopped responding or has been disconnected

I get this error when trying to copy a large file (11 gb) from Windows 10 to an Android device (Nexus 7, Android 4.4, 32 gb) Cannot copy item The device has either stopped responding or has been ...
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 ...
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 ...
1
vote
0answers
87 views

How to enable usb debugging on bootloop phone(Lenovo tab yoga 8)?

So... I am having a a hard time to pull my file from internal memory on my bootlooped Lenovo tab Yoga 8. I only know that to pull files from adb I need to enable usb debugging. But, because it is ...
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 ...
1
vote
0answers
54 views

Meaning of abbreviations (DP, KP, NP, RP) concerning POWER OFF RESET REASON in logcat / bugreport

I have a Samsung Galaxy A7 2018 phone, and it is subject to frequent unexpected reboots/shutdowns. To try and pinpoint their cause, I extracted bugreports using adb bugreport. In the main bugreport ...
1
vote
0answers
104 views

Disabling USB debugging by default

When I connect my LineageOS 16 (Android 9) device to my computer, USB debugging turns on by default. Even when locked. That doesn't seem safe, so I searched through my settings to change that. I ...
0
votes
2answers
123 views

How to enable USB debugging in LineageOS 14 on Moto G2014?

I want to build LineageOS 15 from source following the titan image build guide which requires the transfer of vendor specific files and thus an adb connection after enabling USB debugging. I didn't ...
1
vote
0answers
432 views

How to enable USB debugging with broken touchscreen?

I have an Infinix Zero phone whose touch screen is broken. The screen calibration got affected, so the touch screen is not responding. I tried pushing a calibration APK to the phone from my system, ...
0
votes
0answers
26 views

Android connected via USB to Windows 10 but Android does not see Windows computer as in local network

I have connected my Android to Windows 10 via USB. I have enabled network tethering in Android device, I have enabled developer settings in Android device and there have been all the messages that I ...
0
votes
1answer
44 views

Developer Options screen opens for a second, then closes

I'm using an LG4c Android v5.0.2. I have enabled Developer Options - it is in the menu where I can tap it to open it. When I tap it, it opens for a split second - long to enough to see that it is on (...
3
votes
2answers
10k 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 ...
2
votes
1answer
925 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 ...
4
votes
1answer
117 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 ...
0
votes
1answer
435 views

ADB - Can't enable USB Debugging, phone stuck on boot screen

My phone stopped working and stays stuck on the boot screen. I've tried wiping both cache partition and data reset, still nothing. So I decided to flash a new ROM, but I can't connect through ADB as ...
1
vote
1answer
111 views

Accessing device with broken touch sensor and LCD using adb

After a drop, my phone's (Galaxy J3 6v) screen (both LCD and touch sensor) are completely unresponsive. I believe I have USB debugging turned on, but cannot be sure. I have a Linux machine with ...