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
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 ...
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.
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
2answers
785 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 ...
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 ...
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 ...
0
votes
0answers
18 views

Connecting Macbook Pro 2019 Type C cable to android phone with type C port

I have a type c usb phone and Macbook pro with type c port. Since I don't have a usb converter for mac, I used the Macbook pros charging cable to connect to the phone. I can see the files in the phone ...
0
votes
1answer
64 views

is it possible to activate usb debugging using adb command line?

i have xiaomi phone and forget mi account. so i try to restore it using factory reset. i try to enabling USB debuging then. but it says "developer option is not avaiable for this user". adb is active. ...
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 ...
1
vote
1answer
37 views

How do I make my phone stop starting in charge only mode when I plug it in?

I did something with developer mode and now whenever I plug my phone in it wont let me access the files until I pull down the task bar and tap on "Charging via USB" which brings up a window where i ...
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
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 ...
0
votes
0answers
23 views

How to turn on Google Pixel 3a with broken Power and Volume buttons

I am really smart and broke both the power button and volume button when replacing the screen on my Google Pixel 3a. (Stuck the razor in the wrong slot) Anyway, the screen works and I can tell ...
1
vote
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 ...
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 "...
3
votes
2answers
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
2answers
7k 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 ...
0
votes
0answers
26 views

Use video for camera emulator in Android Studio for debugging camera / image recognition based App

I need to debug some image recognition app and therefore need a specific camera input to see if the app is working. Is there a way to use a custom recorded video, for example using the Android ...
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 ...
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
68 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 ...
3
votes
2answers
1k 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
10k 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
760 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
64 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
20 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
898 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
159 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 "...
1
vote
1answer
143 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
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 ...
0
votes
0answers
27 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 ...
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 ...
1
vote
0answers
592 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 ...
1
vote
1answer
61 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
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 ...
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 ...
1
vote
0answers
129 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 ...
1
vote
0answers
70 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
149 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 ...