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
3
votes
0answers
44 views

Should warnings about not charging your phone at airport/public usb ports be taken seriously?

There are many articles on the internet saying that charging at the usb ports available at the airport and public places can cause your phone to get hacked. Is there any any truth behind this? If ...
0
votes
1answer
19 views

Using a keyboard to send Volume Up signal to confirm flash on device without volume rocker?

Background I have a tablet that I am trying to fastboot flash a custom ROM on. The problem is this tablet has no volume rocker. In order to flash, fastboot requires you to press volume on the device ...
0
votes
0answers
13 views

USB Debugging on a soft brick? [duplicate]

How do you enable USB Debugging on a bootloop-ed device? Or, at least, how do you determine if a bootloop-ed device has the USB Debugging option turned on?
0
votes
0answers
29 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
159 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. ...
1
vote
1answer
53 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 ...
0
votes
0answers
68 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
190 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
157 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
23 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
214 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
150 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
29 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 ...
4
votes
1answer
907 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
75 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
154 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
91 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
207 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
443 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
28 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
709 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
49 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
132 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
498 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
126 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 ...
3
votes
2answers
2k 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
244 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
48 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
52 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
59 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
108 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
19 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
245 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
96 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
1k 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
79 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
493 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
1answer
553 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
361 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
296 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
10k 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
4k 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
2k 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
187 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
556 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
182 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 ...