Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [usb-debugging]

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

0
votes
2answers
27 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
67 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 ...
0
votes
1answer
34 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 (...
4
votes
1answer
59 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
100 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
77 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 ...
0
votes
1answer
168 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 ...
0
votes
1answer
85 views

Hard Reset to Factory Settings without USB access

I've got an Asus ZenPad 300C that is crashing constantly. Things I have tried: Clearing cache. I am unable to access Settings to clear the cache but was able to run a clean-up app, which I think did ...
0
votes
0answers
22 views

Can't use adb after phone startup until unplug/replug USB cable on Galaxy S3

I am doing some Android kernel development and would like to be able to quickly flash a kernel and reboot my phone to test my changes. Unfortunately, whenever my phone starts up, I can't access the ...
1
vote
1answer
28 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 ...
0
votes
1answer
25 views

Coolpad 3622a. No USB recognition on PC

I had an earlier cool pad a few years ago and it wouldn't show up either.its a metro pcs.that has been factory reset stops at the Google pre owner login. I used the keyboard work around got into phone ...
0
votes
0answers
66 views

USB cable not working

I'm using MacBook Air(MacOS Sierra) and have installed Android File Transfer on it. The problem I'm getting occurs sometimes and works well the other time. When I connect my phone with my PC with a ...
0
votes
0answers
15 views

how to use vysor with s3 neo

My Samsung galaxy s3 neo just spelt from the roof and now its display is not working but the touch is working fine I have enabled the USB debbuging by taking screenshots and installed universal adb ...
1
vote
0answers
45 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 ...
0
votes
1answer
119 views

How do I enable SEANDROID ENFORCING over adb inside TWRP?

When I boot into TWRP Recovery, it says, RECOVERY IS NOT SEANDROID ENFORCING but when I run sestatus, it tells me SELinux status: enabled SELinuxfs mount: /sys/fs/...
0
votes
2answers
76 views

wi-fi + bluetooth + usb failed for no reason (no system update) on xiaomi redmi note 4

Some time ago I suddenly noted that wi-fi switch does not turn on wi-fi and I could not start wi-fi hotspot on xiaomi redmi note 4. I did not do any system update before that happened. As I've read on ...
2
votes
1answer
394 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 ...
1
vote
0answers
63 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 ...
0
votes
2answers
394 views

How do I remove Trojan horse virus from my android smartphone?

There is a virus in my android phone named com.wgjvp.idck and I tried every possible solution to remove it but couldn't find any solution. What I did: I hard-reset(factory-reset) my phone twice but ...
0
votes
0answers
330 views

AndroidViewClient - How to enable USB debugging programmatically without rooting the device?

When a new AVD is created or its data is wiped, USB debugging is needed to be allowed from the window (see the figure below) prompted when the operating system (OS) is started. I work on a system that ...
0
votes
1answer
424 views

Enable USB Debugging with broken touch screen and no physical buttons

I'm trying to fix a phone (LG G3 Stylus) that has been badly injured, so now the touchsreen doesn't work, and the only button that works is the volume-up one. I need to backup some stuff (notes, ...
0
votes
0answers
114 views

USB connection mode options no longer showing in notifications drawer

My phone is plugged into my computer via USB - it is charging, but I do not see any options to change the USB connection mode in the notifications drawer. I have seen and used these options in the ...
1
vote
0answers
215 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 ...
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 ...
4
votes
0answers
5k 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 ...
0
votes
0answers
31 views

Lenovo K3 Note: Debugging options enabled but USB Debugging check is grey out

i'm trying to root my K3 because is one of those chinese phone that came with preinstalled malware and bootware. I succesfully enabled the developer mode and can see my debugging options but USB ...
0
votes
0answers
23 views

Samsung-SM-J320AZ

Got a new phone and now I can't remember my old phones pin password. I just want to enable the USB Debugging so I can pull my media from the internal storage. Is there anyway I can do it without ...
0
votes
0answers
2k views

Adb says “Error: Device offline” everytime

Please see this question for background information. Problem: Whenever I run adb devices it says Error: device offline - This appears even when no device is connected at all. It won't even let me ...
0
votes
0answers
97 views

Is it possible to enable and use USB debugging with an Android device turned off?

I heard about the procedure: Connect the device to the computer by USB holding the UP button; I tried and did not see results. I need something more detailed. I have a Philco tablet that looks like ...
0
votes
2answers
975 views

adb shell error: device not found (Ubuntu)

I am complete novice on adb. When it comes to Android I could be classified as "dumb user" - trying however to get one level up, hence playing with adb: $ ./adb shell error: device not found $ ./adb ...
0
votes
0answers
134 views

Android 5 no developer options

I got Nexgo N3 Smart POS terminal, it is Android v5.1.1 When I tap on build number I don't get developer options, but changemodel ("You are X steps away from being changemodel") and then it leads me ...
1
vote
1answer
145 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
333 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 ...
0
votes
0answers
79 views

my micromax a106 is not swiched on i want to apply update from sd card curently my phone is having lolipop version which rom should i download

i want to apply update from SD card by going into recovery mode because it is not able to connect with PC. currently my phone is having lollipop version so which ROM should i download and apply that. ...
2
votes
0answers
147 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 ...
0
votes
0answers
19 views

Dealing with buggy Firefox os

I am trying to flash my ZTE ufire with Firefox os. The moment I try to enable debugging from the settings it gets off automatically, so adb cannot read it. Further whenever I try to get in recovery ...
0
votes
1answer
47 views

USB debugging permission alerts stopped although USB Debugging is enabled on android 4.4.2

I was able to connect my android mobile to my computer as I enabled USB debugging from the developer options. I used to receive the USB debugging permission alert and from there I switch from charging ...
1
vote
1answer
2k views

list disable package feature/component

we can use pm list packages -d to list disabled packages. but how can I list disabled feature/component inside a package? for example I disable all fitness related stuff from gms pm disable com....
1
vote
0answers
7k 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 ...
0
votes
0answers
2k views

Bypassing Lock Screen/Turn On USB Debugging

I have an LG Stylo 3 that is all stock and does not have USB debugging turned on. I am trying to find a way to bypass the lock screen without deleting the data on the phone. I was thinking maybe there ...
0
votes
1answer
64 views

Locating Win10 driver

Is it true that "the Google USB Driver is located in android_sdk\extras\google\usb_driver."` Because I have none and I have installed Android Studio.
0
votes
0answers
801 views

Fake the Android USB Debug settings

I'm trying to get a certain NFC tap-and-pay app to work. It's called Nexi-Pay and AFAIK is only available in Italy. Due to "security concerns" they deny access to the app to rooted Android users. I ...
2
votes
0answers
352 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, ...
3
votes
1answer
5k 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 ...
2
votes
1answer
1k 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. ...
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 ...
0
votes
3answers
339 views

USB Debugging: PC doesn't recognize that my Moto E (2nd Gen)(Upgraded to Marshmallow) in on debugging mode

So I'm trying to root my Moto E (2nd Gen) using PC apps such as Kingo Root, One Click Root etc. But the problem is that my PC doesn't recognize that my phone is in debugging mode. Moreover on my ...