Questions tagged [usb-debugging]

an USB connection mode on Android devices which allow a USB connected computer to directly interact with the device.

155 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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'...
4
votes
0answers
7k 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 ...
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 ...
3
votes
1answer
7k 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
508 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
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
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
158 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
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
60 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
620 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
27k 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 ...
1
vote
0answers
55 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
45 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
61 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 ...
1
vote
0answers
298 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
101 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 ...
1
vote
2answers
567 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 ...
1
vote
1answer
37 views

One Plus 5 does not appears in ADB

I wish to install an another OS on my OnePlus 5 phone. At least try... So I follow the various guides on the web, valid developer options, click on "unlock OEM" and "USB debugging". OK. I also ...
1
vote
0answers
47 views

Enabling developer mode on cash machine

What I have is a cash register machine with a preinstalled custom launcher and Android 7.0 How to access the developer options and connect via adb? There is no settings menu with well known "build ...
1
vote
0answers
71 views

After authorizing one PC for USB debugging, how to restrict all other authorization and disable the authorization popup on Android?

After authorizing one PC for USB debugging, how to restrict all other authorization and disable the authorization popup on Android? I just don't want to accidentally accept other PCs authorization ...
1
vote
0answers
248 views

Asus zenfone 2 stuck on“ unfortunately setup wizard has stopped” How do i start my phone?

i have Asus zenfone 2 ZE550ml 2gb variant. i recently did factory reset of my phone. but after reset, It has stuck onto setup wizard. it shows setup wizard unfortunately stopped. it has no usb ...
1
vote
1answer
164 views

cannot recover data from or unlock my phone Lenovo Z2 plus

I needed some data from my old phone Lenovo Zuk Z2 plus (Z2132) but I have forgotten the lock screen PIN. I tried a lot of recovery software, but all of them had a pre-requisite to either have the ...
1
vote
1answer
411 views

Turn on android debugging

My phone screen is completely broken and good thing is that its debugging mode is on and I can access my phone screen using Vysor on a PC but I have another PC and when I trying to access my phone ...
1
vote
0answers
8k views

How to enable usb debugging on my broken touch screen android phone from windows 10 computer?

My android(Kitkat 4.4.2) phone's touch screen is broken, but phone is working fine.But usb debugging is disable. FIY, my sd card isn't working (I don't care about that) and my phone doesn't support ...
1
vote
0answers
1k views

Huawei erecovery not working on Honor 7 lite(forgotten password lock)

Can anyone help with this ? I can´t really get into settings to change usb debugging. Also huawei erecovery asks about update(Download latest version and recovery) -- which results in error getting ...
1
vote
0answers
1k views

How to enable Android USB Debugging option without the “Allow USB Debugging” popup?

When we enable USB Debugging, there is automatically a popup that asks whether you want to authorize the PC to access the phone via USB Debugging. How do I enable it without the popup? Is there a ...
1
vote
0answers
56 views

Does android auto restore function when I install my app over the usb port in development mode?

Does android auto restore when I install my app over the usb port in development mode?
1
vote
0answers
4k views

Enable USB Debugging Android Dead Screen

I obtained a Nexus 6 with a dead screen. I am trying to cast the screen to my computer. In order to do so, I believe I need to have USB Debugging enabled (which is presumably off). I managed to boot ...
1
vote
1answer
31 views

android 4.4 phone not charaging and no sync when pluged into computer

My phone manufacture: Samsung Model number: sm-j110f android version: 4.4.4 rooted: Yes Charging only works if Phone is turned off Phone is in recovery mode Phone is plunged into an ac charger. ...
1
vote
0answers
4k views

Huawei Ascend G7 Stuck in Fastboot & Recovery

A few days ago, I must have been pressing some buttons by accident and my phone entered fastboot & recovery. Restarting does nothing, it doesn't matter what combination of buttons I hold down. ...
1
vote
0answers
2k views

Are my Android issues and this repeating debug log related?

I've been having many issues on my Pixel: takes 10+ seconds to wake up answering / making a call will freeze the phone app, or cause the phone to reset cannot train "ok google" voice model When I ...
1
vote
1answer
59 views

Looking to somehow get control of my LG Optimus G with broken screen..

I dropped my phone the other day, and the screen cracked rendering it completely useless as it made the digitizer break. I have no touch control of my phone whatsoever, I reset it like an idiot to see ...
1
vote
0answers
109 views

How can I allow USB debugging to an specific computer?

First of all, forgive my english please. I hope somebody can undestand this. I have a broken touchscreen, so I'm controlling the device with a mouse via microUSB. Now I've tried different mirror ...
1
vote
1answer
600 views

I want to “allow USB debugging?” popup for a touch broken device

I just broken my mobile screen. Display just gone blank. Touch not working. But I want to see the screen on my PC using whatever software like mobile go... Mobile's USB Debugging already turned on. ...
1
vote
0answers
57 views

NTP sync over USB for chinese watch?

Context: I'm having some difficulty locating a specific .apk to synchronize the time on a specific watch. What are the challenges associated with running some type of NTP sync over USB between a ...
1
vote
0answers
78 views

How To Fix Android 5.0.2 Recognition issue with Windows 10?

I have an issue with Android lollipop (5.0.2) and Windows 10. The Windows 10 computer doesn't recognize the Phone. I tried to install the driver manually, I tried to uses another cable and I tried to ...
1
vote
0answers
55 views

How can I debug degrading performance for my Shamu device?

I've had my Nexus 6 since it first came out and will be replacing it with the new Pixel anyway but I want to get to the bottom of this. In the last 6+ months the phone got increasingly slow and ...
1
vote
1answer
73 views

Drive for Samsung Galaxy S5 doesn't show in any laptop

Samsung Galaxy S5, Model - G900P doesn't shows it drive in laptops. I tried this on 7-8 laptops with 7-8 USB cables (both full sized and small ones.) The ADB option gave following results but still ...
1
vote
0answers
37 views

How do you debug in an Andorid phone that is not a Nexus?

I am trying to hook up my LG818P to chrome developer tools. In the Google documentation it says to download the firmware form the OEM's website, yet every step after installing said usb driver assumes ...
1
vote
0answers
709 views

ADB: how to use it over TCP/IP during USB accessory development

I'm using an evaluation board from Atmel (based on SAM D21 Cortex-M0+ MCU) for developing a custom Android USB accessory and related app. I'm new to Android development, but I understood I need ADB ...
1
vote
0answers
374 views

Chrome Remote Debugging: Inspect fails, flashes new window momentarily

I'm trying to use Chrome Remote Debugging, and seem to be having a different problem from most folks. The chrome://inspect window lists tabs ok, and the "open" and "reload" functions work properly. ...
1
vote
0answers
599 views

Unlocking the screen of Nexus 4 from pc

I am trying to unlock myphone through pc as the screen is broken and does not work. For now only power and volume buttons work. I tried looking around and found about ADK but whenever I tried to run ...
1
vote
0answers
2k views

Convert Android File Transfer to USB Removable Device in Lollipop

I have a ASUS Zenfone2 Laser 500KL whose configuration are 8Gb Internal, 2gb RAM, QuadCore Processor and Android Lollipop 5.0. For some days, i am using the phone but i don't like the file transfer ...