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
0answers
15 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 ...
0
votes
0answers
33 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
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
1answer
129 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
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
219 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.
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
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 ...
1
vote
0answers
85 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
53 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
103 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 ...
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 ...
1
vote
0answers
420 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
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 (...
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
434 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 ...
2
votes
2answers
794 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
125 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
37 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
40 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
48 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
93 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
16 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
48 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
204 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
81 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
916 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
74 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
442 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
458 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
503 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
222 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
259 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 ...
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 ...
0
votes
0answers
3k 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
2answers
1k 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 ...
1
vote
1answer
175 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
444 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 ...
2
votes
0answers
164 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
1answer
51 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
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 ...
0
votes
1answer
87 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
1k 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
427 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, ...