Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
0answers
9 views

How can i change default user of ADB daemon

When i use adb shell i am logged in as user shell who is in lot of groups and have a lot of permissions. My question is if i can change default user which ADB daemon use to have less permissions. For ...
0
votes
0answers
19 views

How to setup Android Studio on Macos

I need help with setup Android Studio on macOS. Android Studio shows me an error - Error initiazing ADB: Android Debug Bridge not found. If I go to the terminal and which adb I see a path, its ok. ...
0
votes
1answer
14 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....
0
votes
0answers
10 views

Android Debug Bridge doesnt detect my phone on MacOS

I cant connect my Galaxy s7 to adb on Android Studio 3.2 MacOS. USB debugging is enabled and if I do ./adb devices my phone appears. But on "Select Deployment Target" it doesnt appear and my created ...
1
vote
0answers
27 views

Show adb backup manual [migrated]

How do I show the help text/manual for adb backup? When I run adb help I see ... backup/restore:     to show usage run "adb shell bu help" ... When I run adb shell bu ...
0
votes
0answers
54 views

Android Phone with broken screen not recognized by adb

I recently managed to break the screen of my ASUS ZenFone AR. The screen is black and i can not tell if touch is still working or not. Now I tried to mirror the screen on my Windows 8.1 computer with ...
0
votes
0answers
16 views

An error occurs when attempting to connect Android phone to Linux

An error occurs when attempting to connect Android phone to Linux. The error is that in the list of the adb connected devices the phone does not appear in the list. How can this be corrected? Any ...
0
votes
1answer
174 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 ...
1
vote
0answers
48 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" &...
-1
votes
0answers
60 views

internal storage data recovery after flashing rom

i forgot take a backup my project's source code before flashing rom. It was in my phone's internal storage. So i refered this guide to take my phone's storage data as raw file: https://howtorecover....
1
vote
1answer
196 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 ...
0
votes
0answers
116 views

Fastboot problems on AMD Ryzen laptop

I'm trying to run fastboot commands from my HP Envy x360 15z Ryzen laptop. Fastboot commands are unreliable. The same command performs inconsistently. Whereas they work without an issue on my i7 6th ...
0
votes
1answer
88 views

Windows 8.1 + Android ADB = Instant BSOD (wdf01000.sys)

The question, or rather the problem, is quite simple. Yet, I cannot find any solution to my issue. The problem: As soon as I enable ADB on my phone, and plug it into my Windows 8.1 laptop, I get a ...
0
votes
1answer
455 views

Trying to give “&” as part of adb shell input text

I'm working with the login page in one of the instance I need to pass the password which has "&" in it. It is not letting me send the text which involves "&". Example: adb shell input text ...
0
votes
0answers
281 views

Bypassing filesystem permissions of Android device

as far as I know, filesystem permissions are easily bypassed if we have physical access to the device (if there is no encryption going on, mounting the filesystem on another operating system is enough,...
0
votes
0answers
411 views

How to push or copy files to android's /system/etc directory?

I would like to find a way to append part of my desktop's /etc/hosts file to my android's /system/etc/hosts file without manually writing each line and preferably with a single command because the ...
0
votes
0answers
156 views

screenrecord: unrecognized option `--output-format=h264'

I am trying to pipe the output of screenrecord but apparently is not possible to pass the --output-format argument, it is not showned in the --help neither in the adb manual http://adbshell.com/...
0
votes
1answer
211 views

TCP bridge between 2 interfaces for specific port (accessing host's localhost from inside a VM)

I have an ADB daemon running on localhost:5037 on my machine. I have a virtual machine running on my machine. Let's call my machine host and the virtual one guest. The guest VM uses host's interface: ...
0
votes
0answers
220 views

Run binary in adb shell

For three days I have been trying to run binary(FPT bios utility) on android with x86 cpu. I have read many questions on StackOverflow and XDA, but I am getting the same error FPT: not found. I am ...
0
votes
0answers
127 views

15GB of Android ADB files in tmp folder

Hi so I've noticed my HD space is running out rather quickly on MacOS and after a quick search I've found a 15GB temp folder at /private/tmp/android-alex with lots of similar files names like ...
1
vote
1answer
25k views

adb command for PowerShell (Windows)

I'm new to Windows. I installed adb and fastboot files (platform-tools) for Windows, and added the folder in the path variable so that I can access adb universally. I did some research, and found ...
1
vote
0answers
100 views

Become superuser in firefox os?

I have a core firefox os device. Now it is having some problem with some functions like settings. I have tried to repair it with adb but whenever I try to do something the error message like this ...
0
votes
0answers
423 views

Get Mac address of the connected PC using android device via a USB connection?

I have an android device which is connected to a laptop via a usb connection.I need to get that laptop's mac address using an app which will be installed in the android device. Can you suggest any ...
2
votes
1answer
6k views

Using ADB to sendevent touches to the phone, but cant release

I have a HTC 10 which is running CM13 I am trying to send touch events to it by means of ADB and Send Event After sending this: adb shell sendevent /dev/input/event6 3 57 0 sendevent /dev/input/...
1
vote
0answers
690 views

Cannot install ADB driver for Android Device

I have an Alcatel Pixi 4 (7") tablet and I would like to install the ADB (Android Debug Bridge) for it because I would like to develop android apps. I have already tried many links in google, the ...
1
vote
0answers
97 views

image from androidphone via insecure adb to ubuntu pc fails via netcat (permission issue + broken pipe) - what is the reason?

I am using following tutorial to get an backup-image from my android phone (to recover lost pictures via photorec on ubuntu): https://www.packtpub.com/books/content/extracting-data-physically-dd I am ...
1
vote
1answer
84 views

Why does ADB appear to be using the network?

I was using ADB on Windows 10 to flash firmware to an Android device via a USB cable. During the process, I was looking through the Resource Monitor, and I noticed that ADB was appearing to recieve 3....
0
votes
0answers
46 views

SD Card Full Reset

A little while ago, via ADB, I partitioned my SD card (in the hopes of storing more apps on my phone), and it's been very on and off. Just today, though, the SD card corrupted. If I try to reformat ...
-1
votes
1answer
257 views

Uncore frequency/voltage through adb

I want to study the effects of uncore frequency and uncore voltage on cpu performance for android devices, but I don't know if it is possible. There is a way to get/change uncore frequency or uncore ...
1
vote
1answer
9k views

Cant connect to Android phone using adb (adb device unauthorized)

I can't connect my nexus 5 using adb and to laptop (windows 10 B:10586) Working on it like more that 10 hours. Tested lots of google adb driver, even adb-setup-1.4.3 (adb auto setup by xda) ...