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.
79
questions
0
votes
0
answers
72
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 ...
0
votes
0
answers
178
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 ...
0
votes
0
answers
53
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 ...
0
votes
0
answers
479
views
Termux ssh connection over usb-c result in connection closed by remote host
I got an Oneplus 8 with Kali NetHunter.
I want to ssh to Termux and I can, but only if the device connect to my LAN at least once.
If I restart the phone and I jump the connection with WiFi/internet ...
0
votes
2
answers
330
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 ...
0
votes
0
answers
21
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 ...
2
votes
3
answers
405
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 ...
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 ...
0
votes
0
answers
113
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 ...
0
votes
0
answers
415
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,...
0
votes
0
answers
138
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 ...
0
votes
1
answer
120
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 &...
0
votes
1
answer
126
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?
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 ...
1
vote
1
answer
884
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 ...
0
votes
0
answers
884
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 ...
0
votes
1
answer
191
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://...
3
votes
1
answer
1k
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
"...
2
votes
1
answer
8k
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 ...
2
votes
0
answers
859
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 ...
0
votes
0
answers
169
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 ...
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 ...
1
vote
1
answer
6k
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 ...
0
votes
1
answer
966
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 ...
3
votes
2
answers
11k
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 ...
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 ...
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 ...
1
vote
1
answer
136
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 ...
0
votes
0
answers
221
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 ...
0
votes
1
answer
413
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 ...
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 ...
0
votes
1
answer
372
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
483
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.
...
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 ...
1
vote
0
answers
814
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 ...
0
votes
1
answer
258
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 ...
1
vote
2
answers
474
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 ...
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 ...
1
vote
0
answers
318
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 ...
2
votes
0
answers
3k
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 ...
1
vote
1
answer
4k
views
Android Studio Error: ADB exited with exit code 1
First of all:
Yes, I have read countless threads for hours on the issue presented in the title here and related issues.
On running my very first example app with Android Studio on Windows 10, I get ...
0
votes
0
answers
622
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....
3
votes
1
answer
3k
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 ...
0
votes
1
answer
235
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 ...
0
votes
0
answers
27
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
...
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