Skip to main content

Questions tagged [adb]

For questions about Android Debug Bridge (adb), a command line tool that lets you communicate with an emulator or connected Android-powered device.

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

Different Type-C Cables and Connection Issues with Samsung Galaxy S24 Using ADB tool

I have two Type-C USB charging cables: Cable A and Cable B. Cable A is thicker than Cable B in appearance. Devices used to test apps: 1.Samsung Galaxy S24 2.Google Pixel 7 Pro Problem: When using the ...
keizman's user avatar
0 votes
0 answers
78 views

Cannot ping VMware IP address from Android TV

I am new to Android and Network. I have a system as the following: I have a Linux VM on Windows computer that has a specific IP address and I will use it to host a website. I can ping the IP address ...
user avatar
0 votes
0 answers
218 views

How to access Styx Browser & Duckduckgo sessions/tabs on my Android & transferring them to my Linux PC, possibly adb method, is root needed?

I've tried every solution recommended. My smartphone is not rooted, it is an LG L355DL, LG K31 Rebel, Android version 10. I got many tabs on my browsers that I need to transfer & review. When I ...
Username2324's user avatar
0 votes
0 answers
58 views

Is ADB backup on a Chromebook somehow different than on PC?

I'm attempting to run adb -t ... dev# ... shell backup -nosystem (with or without -f ~/backup.bk. For some reason, nothing appears in the device notifications, and on the terminal side no error or ...
Arctiic's user avatar
  • 1,183
0 votes
2 answers
381 views

I am writing script in batch command and I am trying to replace a variable inside a loop

script 1 echo off set /a flag = 0 set /a flag = 1 pause script 2 echo off set /a flag = 0 for /l %%x in (1,1,3) do ( if %flag% == 0 (set /a flag = 1) echo %flag% ) pause script 1 is working ...
emanuel abraham's user avatar
0 votes
0 answers
24 views

Making CentOS 7 USB host memorize mode selection for a particular attached device

Is there a way to make CentOS 7 USB host somehow memorize the mode (e.g. MTP) selected in the mode selection menu that currently shows up on the phone every time upon attaching it? I recall having to ...
dandreye's user avatar
2 votes
3 answers
535 views

How to wirelessly push files to Android using ADB via Windows context menu?

By using context menu in Windows I would like to wirelessly push selected file(s) to Android device using ADB. I want to connect to the device, push selected file(s) and disconnect each time, so I ...
Rayearth's user avatar
  • 355
0 votes
2 answers
2k views

How to escape "&" in Android ADB shell command?

Seeking help with how to escape "&" in ADB command line -- any guidance would be much appreciated! I am attempting to extract .epub book files from an Android tablet running B&N Nook ...
tbroad's user avatar
  • 1
0 votes
0 answers
137 views

How to use ADB wireless on WSL?

Is this possible? I spent a good hour trying figure out why it wasn't working before I remembered WSL can't even establish a connection with any physical USB interface (out-of-box, anyway). What ...
Arctiic's user avatar
  • 1,183
0 votes
0 answers
483 views

Android Reverse Tethering With Broken Radio

I have exactly the problem mentioned in this GitHub comment: For my use case, this is a problem that cannot be worked around by connecting to WiFi. My phone's antenna, or possibly a related component,...
Korogba's user avatar
0 votes
0 answers
158 views

Adb shell 192.?????? Why does it come back target is offline

Tying to connect a Android 10 cellphone to an adroid tablet using termux when I type the command adb connect 192.????:22 it's says it's connected but my target ip address is offline why is it ...
Arthur's user avatar
  • 1
0 votes
1 answer
122 views

I making adb console and I blocked

I wanna input 'check Specific Third-Party App version' to in my console option like App ver : 1.2.345 and I using this cmd prompt on next :Appver cd %localappdata%\Android\Sdk\platform-tools\ mkdir &...
CLINoob's user avatar
  • 11
0 votes
1 answer
149 views

How to get the source code of installed APKs by accessing the ADB. Is it even possible?

I want to get the source code of one of the APKs installed on my customized android device. I do have ADB root access, is it possible to get the source code of the particular APK installed?
Rajat Bansal's user avatar
1 vote
2 answers
1k views

using fastboot to flash an image on Windows remains stuck on < waiting for any device >

I have a Linux based MCU device that's connected using USB into which I'm flashing a boot or system image using fastboot. On an ubuntu host machine, I use fastboot with root permissions via sudo adb ...
xyf's user avatar
  • 111
1 vote
1 answer
913 views

Why does 'adb.exe devices' not see my phone on Windows 10?

I have USB Debugging & File Transfer both enabled on my phone (Blackview A80Pro) and I have installed the USB driver for my phone as recommended by Blackview. But though 'adb.exe version' shows ...
John Rose's user avatar
  • 159
0 votes
0 answers
935 views

fastboot boot boot.img failed

I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery image I compiled, I receive error: $ fastboot boot boot.img downloading 'boot.img'... FAILED (command ...
Bhavesh Mankar's user avatar
0 votes
1 answer
227 views

How I update the Google USB Driver on a Windows 7 laptop?

I am trying to update my Google USB Driver to perform adb debugging with my Google devices with a laptop running Windows 7 SP1 x64 Ultimate. I currently have Google USB Driver v7: I went to https://...
Franck Dernoncourt's user avatar
3 votes
1 answer
2k views

How to timeout ADB connect <ip>

I'm making automation bash script that will go over range of IP's and try to connect over ADB. If I try: adb connect <not android device> the command will hang for 30 seconds until it say "...
Sasha Milic's user avatar
2 votes
1 answer
9k views

Android device can't ping PC while on same network

I have my Android phone connected to my PC (Windows 10 with Android SDK installed). I set up my PC to have a mobile hotspot so the phone can be connected to the PC network. My PC can ping the phone's ...
Tina J's user avatar
  • 539
2 votes
0 answers
967 views

ADB debugging stopped working, Samsung S21, Macos, Catalina

My primary testing device has stopped working over adb on macos catalina. I have done a lot of troubleshooting that will be detailed out below. TLDR; The device works fine on another desktop, and on ...
Cameron McBride's user avatar
0 votes
0 answers
182 views

Extract all files from Samsung Galaxy S8 Note (no root)

I have a Samsung Galaxy S8 Note from a customer who bought it from a "trustable" second-hand shop called asgoodasnew and the smartphone price was paid by rates by the original owner and it ...
user371780's user avatar
0 votes
2 answers
1k views

How to use ADB in a Batch file to open a Windows File Explorer window

I tried posting this on Stack but was told it may be more appropriate here. I'm trying to run a bat that will open a folder on an android device using ADB in Windows. For the life of me I have ...
Dave's user avatar
  • 1
1 vote
1 answer
7k views

How to control android phone with broken screen from computer when there is a password?

My phone's screen is broken. I want to be able to use it using a PC (I just need to use two apps for a short while). I have a password on my phone. If I remember correctly, I have USB debugging ...
Huzaifa's user avatar
  • 133
0 votes
1 answer
1k views

In VMware workstation player, running "adb devices" in the guest OS, doesn't show smartphone device

In VMware workstation 16 player, running "adb devices" in the guest OS, doesn't show smartphone device. But guest OS can see it for file transfer Same situation with another smartphone I ...
barlop's user avatar
  • 24.3k
3 votes
2 answers
12k views

How do you get adb devices to work from within a virtualbox virtual machine?

How do you get adb devices to work from within a virtualbox virtual machine? (note- I installed VS 2015 redistributable https://www.microsoft.com/en-us/download/details.aspx?id=53587 for adb devices ...
barlop's user avatar
  • 24.3k
1 vote
0 answers
1k views

“Unable to locate adb” bug via Intellij Idea Community

I use IntelliJ Idea Community for automation testing over Appium. I do not need Android Studio for this. The emulator starts but I get the message AVD Manager - Unable to locate adb I want to resolve ...
Perkone's user avatar
  • 11
0 votes
0 answers
1k views

Supplying more power to USB device over a USB connection to PC

I have multiple Android devices that I need to be connected to a PC over USB at all times (using a powered USB hub or connected directly to one of the USB ports on the PC) Now the Android devices I ...
Vinayak's user avatar
  • 10.8k
1 vote
1 answer
143 views

windows 10: process 1 output used as process 2 input: pipes

process 1 : adb shell screenrecord --bit-rate 6000000 --size 1280x720 --output-format=h264 - process 2: ffplay -f h264 normally ffplay takes its input as an argument (-i _input) How to pipe those ...
EEAH's user avatar
  • 113
0 votes
0 answers
237 views

How do I use a batch file to convert directory name to one with backslashes before spaces for use in linux shell

I am writing a batch script in windows 10 to move files from a specific folder on my android phone to my computer and then delete the files on my phone. I would like to only have to define only one ...
newscripter's user avatar
0 votes
1 answer
428 views

Adb creates the error "adb: CreateFileW 'nul' failed: The system cannot find the file specified"

As the title says, ADB shell produces the error "adb: CreateFileW 'nul' failed: The system cannot find the file specified" whilst trying to start a daemon. I'm an android developer and adb ...
Lynet _101's user avatar
0 votes
2 answers
7k views

“Unable to locate adb” bug via Android Studio

0 I'm 2 months into Android Studio,I run the latest version(4.0.1 for Windows 64-bit) to be precise and also run the latest gradle offline build dependencies. So far,I've setup my Android Sdk well ...
Chinez's user avatar
  • 117
0 votes
1 answer
412 views

Computer RSA key changes each time I use Nox android player

I checked "Always allow USB debugging..." for my PC in my phone. However, each time I use Nox android emulator, computer RSA key changes and I should confirm it again. Why this happens? Is ...
AmirSina Mashayekh's user avatar
1 vote
1 answer
2k views

How come ADB can't access files without enabling USB debugging, but the Windows Explorer can?

I've tried backing up my Android (Note 8) device using ADB. I've noticed that Developer Mode > USB Debugging must be enabled in order to even communicate with the device. However, it seems that ...
The Shwarma's user avatar
2 votes
1 answer
4k views

(Android) Unknown USB Device (Device Descriptor request failed)

So I'm trying to connect my Xiaomi mobile with Windows 8.1 pc to unlock bootloader. I get error every time I connect phone Device not recognised. Device manager shows Unknown USB Device (Device ...
privacyMatters's user avatar
1 vote
0 answers
17k views

How to uninstall ADB drivers from Windows 10?

If I type "adb devices" to CMD I want it to be unrecognized. Not sure if this question for superuser but it's related to Android. I have installed this automated installation, however it's not ...
Pranciskus's user avatar
3 votes
1 answer
7k views

How to verify rsync daemon on a remote server is accepting connections

I've got an rsync daemon running on an android phone. I just want to netcat the rsync port on the phone (configured on 1873), to verify the daemon is up and listening to the port, but strangely the ...
Maikol's user avatar
  • 163
0 votes
1 answer
499 views

ADB works in linux terminal but don't works in Android Studio

I try run application in Android Emulator inside Android Studio. Emulator works but when I run my apk in emulator I get error: Installation did not succeed. The application could not be installed. ...
SecretUser's user avatar
0 votes
1 answer
1k views

How can I run adb command from the same device?

Normally you have your Android device with adbd running on it. You connect the device with your pc for example using usb cable (with dev mode on) and you can see the device and run specific adb ...
Paweł Zawalich's user avatar
1 vote
0 answers
830 views

Android Studio Cannot Show the List of Devices Via USB

My android studio does not show the list of devices to run the app. But when I run 'adb devices' from the terminal, I can see my device and can install the app from here. I have tried everything but ...
Samit's user avatar
  • 11
0 votes
1 answer
292 views

Connecting a Google pixel to a host PC while using USB keyboard

Is it possible to connect a Google pixel to a PC and adb in, while having a USB keyboard connected to the pixel? I tried the following setup, and the keyboard worked, but the PC didn't detect the ...
user1118764's user avatar
1 vote
2 answers
509 views

Android Studio 3.5.1 can't run app on any device by adb

I am trying to debug app on my Android Studio(version 3.5.1). My environment is MacOS 10.14, Macbook Pro. When I run app on AVD, everything works fine. However, when I run app on real device, I always ...
Sugar's user avatar
  • 11
1 vote
1 answer
29k views

Android Studio Shows Error Running App: no target device found

List of things I have already done, but the problem persists: Enabled USB debugging option in mobile developer options, didnt work so i also enabled allow installing apps via usb, but nope. Changed ...
Abhi's user avatar
  • 11
1 vote
0 answers
345 views

List of adb devices in command prompt not showing

I've been trying to run adb on my laptop. At first, it just wouldn't run at all. Now, after trying different fixes, I've gotten the daemon to start, but it won't list my phone as an attached device. I ...
Generic Username's user avatar
2 votes
0 answers
4k views

Android Studio: Debugger not connecting to process

Android Studio, when debugging, installs and launches the app, but it stays on "Waiting For Debugger", while Android Studio never connects to the app. This happens on both wireless and wired ...
Riccorbypro's user avatar
2 votes
1 answer
4k views

Android Studio Error: ADB exited with exit code 1

I have read countless threads for hours on the issue presented in the title here and related issues. I have tried everything to create a new virtual device, but I can't make that available to my ...
Simon's user avatar
  • 121
0 votes
0 answers
714 views

Missing Android trusted certificates

I wanted to setup Burp Suite to use it as a proxy in order to debug an app that I am currently developing. Since I need to use HTTPS too, I followed this guide to install a root trusted CA certificate....
bartezza's user avatar
3 votes
1 answer
4k views

Fastboot Stuck, but Device Detected

I am on Manjaro Linux, running adb/fastboot version 29.0.2-ArchLinux. I read others, but their problem is device not being detected and no permission (which is not happening to me). fastboot ...
liontra's user avatar
  • 31
0 votes
1 answer
242 views

how to run android studio application with adb wifi on ubutu18

i want run android studio applcation with adb wifi on ubuntu. this is error mmessage: " Unable to connect to device 'R17B2502570 no permissions (user in plugdev group; are your udev rules wrong?); see ...
hossein rahimloo's user avatar
0 votes
0 answers
28 views

Android device not recognized in several programs (Windows 10)

I have a problem getting my Android device to work in Visual Studio for Debugging. I almost tried everything I could find in the last days: enable USB Debugging Install ADB drivers Change Protocols ...
user132397's user avatar
0 votes
1 answer
2k views

Connecting to Android x86 vm by USB/SSH

Does anyone know, how can I connect by adb to virtual Android via USB or somehow else? I have rooted Android 7.1 on Vmware workstation
Tim 's user avatar
  • 3