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
0answers
10 views

Need help reading logcats to find the cause of random reboots on android device [migrated]

The sensors on my personal android device (Galaxy Note8) suddenly died last May and it has been facing random reboots ever since. I made a reddit post asking for help that explains in detail what the ...
1
vote
0answers
10 views

How to use my Android phone as sdcard reader and format my sdcard in Ubuntu? [duplicate]

I want to format my sdcard without removing sdcard from the phone, using my laptop which has Ubuntu os. external sdcard I mean. Have adb installed on my laptop in case it helps.
0
votes
0answers
1k views

Kali linux adb pull error cannot connect to deamon

I am trying to pull an apk from adb shell using command adb pull but I am getting this error, here is my terminal: * daemon not running. starting it now on port 5038 * ADB server didn't ACK * failed ...
0
votes
0answers
19 views

Reversing a TCP port with ADB in a udev rule

I'm trying to do a adb reverse tcp:8080 tcp:22 when my android device is plugged in. To do that I've created the following rule in /etc/udev/rules.d/85-adbReverse.rules: SUBSYSTEM=="usb", ACTION=="...
0
votes
0answers
2k 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 ...
2
votes
1answer
408 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
0answers
110 views

adb hangs after exectuing adb kill-server command in linux fedora 30

To reproduce this I run the command adb devices this prints in my console that a daemon is starting in a specific port 5037 then I execute the command adb kill-server and the terminal hangs. I look at ...
0
votes
0answers
283 views

no target device found android studio 3.5 on ubuntu 18.4

i have tried on fedora system and its ok but on ubuntu system, in android studio 3.5 even after press Debugging it shows adb waiting and never stops:(( but in terminal adb devices see the device as ...
0
votes
1answer
203 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
1answer
302 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
0answers
393 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
0answers
49 views

Recover a file found on SD card using adb command

I have a backup file on my device sd card and I want to restore it with an adb command. i know how to start a file that in the adb folder. adb restore filename.ab and i have tried this command adb ...
0
votes
0answers
205 views

How to use/setup adb-sync?

I'm trying to sync folders from my computer to my android device, but I just cant seem to understand what these last 3 steps on https://github.com/google/adb-sync mean. git clone https://github.com/...
0
votes
1answer
28 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 ...
0
votes
0answers
128 views

Issue with Android adb restore

I successfully used Android SDK platform tools to make a full backup of my LG G4 phone. I am now trying to restore the backup.ab file, to the same phone. The objective is to view my old text messages ...
0
votes
0answers
117 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 ...
0
votes
0answers
8 views

Logcat logs for Screen pinning

I have a tablet (Samsung Galaxy Tab Active2 with Android 9) which should be used as a kiosk device with only one app pinned with the Screen pinning feature. Unfortunately after some time it unpins by ...
0
votes
1answer
14k 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
0answers
112 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 ...
1
vote
0answers
1k 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
1answer
1k 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
0answers
154 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....
2
votes
0answers
395 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
1answer
73 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
0answers
14 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
0answers
284 views

adb in android studio does not recognize USB 3.0 for debugging

I just migrate my phone to android 9. Now adb cant connect to my phone through the USB 3.0 driver. "adb devices" is not showing any device now. I tried to uninstall USB 3.0 and install USB 2.0 and ...
0
votes
1answer
291 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
0
votes
0answers
66 views

AVD is not working

Whenever I make a device this error occurs: Unable to connect to ADB. Check the Event log for possible issues. Verify that your localhost entry is pointing to 127.0.0.1 or ::1 for IPv4 or IPv6 ...
0
votes
0answers
157 views

How Can I connect the emulated device on genymotion on windows with the adb on wsl?

I'm trying to setting up an environment to develop in react native. I've installed the sdk-android, the npm of react native on wsl and the genymotion on windows. I want to use the vscode on windows ...
1
vote
0answers
18 views

How turn on android device without power button & turned off

Is there any way to turn on my android device with broken power and up/down volume buttons? I have connection to laptop with adb but adb devices returns empty list since device is off. Device: Pixel2 ...
1
vote
0answers
5 views

Need clarification on flow of android debugger connect protocol over network

We have Android 7.1 booted on qemu kind of virtual platform. We are trying to connect ADB debugger over network. The platform uses slirp for communication between virtual platform and the host. We ...
0
votes
0answers
172 views

I am unable to enable cam2api on my ZMPM1, what should I do?

I have installed the latest versions of adb and fastboot and qualcomm usb driers for my phone - zenfone max pro m1. I tried running the command - "fastboot devices" and it runs perfectly ( when I have ...
0
votes
0answers
75 views

is it possible to install Android studio cli and set PATH from cmd/powershell only?

I am trying to install ADB commands from command line only on window 10. Is it possible to install android studio cli and set PATH with only cmd or powershell?
0
votes
0answers
439 views

AFTISS: Device not found

I am trying to format my micro sd card as interal storage for my samsung j5 6.0.1. Since samsung decided to remove this feature from the normal setting I have to find a workaround. For this I am ...
0
votes
0answers
37 views

Destination Folder Access Denied

Initially, my platform-tools folder for Android didn't have adb.exe, which is the file I need and should've automatically been there. So, I downloaded another platform-tools zip to replace the ...
0
votes
0answers
135 views

ADB.exe generates a huge number identical stop working errors

I use Windows 7x64 and Android Studio 3.4.1. When I start Android Emulator I get a huge number (>50) of errors 'adb.exe has stopped working'. But everything is working fine after I close them. I can ...
1
vote
0answers
515 views

Make streaming via ffmpeg of the screen recorder of android

I can record screen via this command then read the content in streamin via ffplay: adb exec-out screenrecord --bit-rate=16m --output-format=h264 --size 800x600 - | ffplay -framerate 60 -framedrop -...
0
votes
1answer
590 views

Android SDK tools not generating adbkey.pub

When connecting my phone (galaxy S8 with lightRom v14) to pc (ubuntu 18.10) it asks me to allow file access (mtp i guess) but doesn't ask for adb permission (no dialog). When inspecting .android on my ...
0
votes
0answers
570 views

ADB sm not found

Im using ADB to make the SD card the internal storage device and adb shell has worked however when using sm list-disks it says that sm is not found. I can't find online anywhere how to fix it so I'm ...
1
vote
0answers
94 views

Cannot Connect Galaxy S7 to Windows 10 Laptop for USB Debugging

As the title says, I cannot get my Samsung Galaxy S7 to connect to my computer and be recognized by adb devices for USB debugging. I've been at this for a few days now with no luck. State of my ...
1
vote
0answers
259 views

Connecting Raspberry Pi 3 to android over ADB failure

Currently I'm trying to connect a Raspberry PI 3 to an android tablet over adb. Used to work for quite sometime and now it doesn't. If i do a lsusb, the device appears however adb devices -l shows ...
1
vote
2answers
832 views

Unable to connect Android ADB over TCP/IP

I tried to connect to my phone through WiFi using Android ADB, but I can't connect it. I tried this steps: adb kill-server adb tcpip 5555 adb connect 192.168.1.16:5555 And got this message: ...
0
votes
1answer
3k views

Unable to locate adb when using Android Studio

Consistently receiving this error message on Android Studio to run app: java.lang.IllegalArgumentException: Unable to locate adb Attempted several troubleshooting options by downloading ADB, but ...
2
votes
0answers
315 views

Permission change commands do not work for applications (revoke, grant) in ADB Shell, Terminal Emulator

I need to change the permissions of the application through ADB Shell. When you enter and activate a command, no errors appear, I switch to the permissions settings of the application, everything ...
0
votes
1answer
357 views

The command “adb” not working as expected in a macOS shell script but works fine in the macOS terminal

I have a .bat script with some adb commands that I want to run on a Mac. So I changed the extension to .sh and changed the mode so it's executable. Every line works fine when I enter them in the ...
0
votes
1answer
1k views

Enable ADB Debugging on Android Phone with broken/disabled screen

Dropped my Nexus 6 this morning and now the screen is barely legible and touch doesn't work. Want to remote in with ADB to get what I need off the device; however when I connect it to my laptop I ...
0
votes
1answer
3k views

Use of adbkey and adbkey.pub file present in my windows user folder

I have installed android sdk in my Windows machine. Under user path / .android folder there are two files: adbkey and adbkey.pub What is use of these two files and what information does it contains....
1
vote
1answer
2k views

grep command fails on one Windows PC, but works on other Windows PC w/ same configuration

I want to issue a logcat command to filter logs specifying a keyword (say apk). But I am facing an issue where the grep command is not recognized on one of my windows 7 PC. The same command works ...
2
votes
0answers
324 views

(adb) How to queue commands for the next recovery boot?

How to create a queue of commands that will run immediately the next time I boot into the recovery? I have tried this command from this thread by Firelord adb shell 'su -c "'"echo "boot-recovery" &...
3
votes
1answer
1k views

Android - adb logcat works only on shell

When I run adb logcat nothing happens but when I run it in the adb shell then it works ok. Those are the outputs: eduardo@debian:~$ adb devices List of devices attached LGM250CE6PYLFQGU9P device ...