For issues specific to the Android Debug Bridge (adb), a command-line tool to interact with Android devices and Emulator instances. See the full tag wiki for details and hints.

learn more… | top users | synonyms

4
votes
2answers
36 views

Protect ADB access via network?

I have several Android devices in a local network. (Android Set Top Boxes from Geniatech, running 4.2 Jelly-Bean) If these boxes have problems or need debugging, I simply connect to them via adb ...
1
vote
1answer
45 views

Process List of Charging Powered Off Device

Is there any way to access or log the process list when the phone is off, but plugged into my computer charging? I'd like to see what system processes are running when the phone is connected to a ...
1
vote
0answers
782 views

Samsung USB Driver for Windows 10 - Android Studio

I've got an issue setting up the AVD in my Android Studio as Intel HAXM is not working with my Windows 10. So, I am trying to debug and run my projects with my Android device. However, after trying to ...
1
vote
2answers
1k views

does flashing a kernel ever wipe anything on the phone? + Doing it without CWM?

does flashing a kernel ever wipe anything on the phone? and is it ever dependent on android version? e.g. 4.22 or 4.3 I have CWM and i've seen the option to install from zip within CWM recovery. ...
7
votes
4answers
6k views

Restoring an ADB backup onto a different phone of the same model?

We have several Android 4.0 phones of the same model, from the same manufacturer, purchased at the same time, from the same factory batch. We have created a backup of one of the phones using ADB. Can ...
7
votes
2answers
15k views

ADB not working, but Fastboot is

I recently bought a used Nexus 5. It came with the L preview on it, and I decided to flash CM 11 instead. My last phone was a Nexus S, and I've flashed various ROMs to that thing in the past. Using ...
0
votes
0answers
10 views

Nexus 7 debug output before system mount

I'm working on using a custom filesystem for the /system partition in Android 5.1.1 on a Nexus 7 (flo). At the moment, it appears that the system partition isn't mounting: when I power on the device, ...
0
votes
2answers
4k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
1
vote
1answer
90 views

Forgot Oneplus One pin. How to enable usb debugging?

I forgot my oneplus one pin. I have tried using google device manager and have tried putting in my pin (150+ times) to be prompted for my google account. I was thinking if it would be possible for me ...
1
vote
1answer
7k views

What does the command `adb sideload FILE` do?

I am reading a tutorial on the sideload command at link. It contains the steps of rebooting into recovery mode and using adb sideload [file].zip. My question is that what does sideload actually do ...
-1
votes
1answer
261 views

ADB sideload and fastboot uses. What's the difference?

1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but ...
0
votes
2answers
4k views

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB ...
2
votes
4answers
2k views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
1
vote
1answer
115 views

How to delete SU binaries without root?

My Android device used to be properly rooted, I had root access to things, but the root manager (old version of vRoot, no computer) was a virus. So, I deleted the root program and I was gonna root ...
1
vote
2answers
36 views

Reviving my Bricked Tablet via adb and Samsung's Download Mode

Okay, here's the story: I have a Samsung Galaxy Tab S 8.4". The OS doesn't matter, because it's gone. I had lollipop 5.0.2, decided to root it. OK, rooted it fine. Then decided to get CyanogenMod on ...
0
votes
3answers
50 views

Android Studio says: “No device connected” yet I already tried many possible solutions

Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No ...
0
votes
1answer
97 views

LG Escape 2 - bricked

I tried running a script that I got online. I downloaded the whole file which included the .bat file. I tried running the .bat file while forgetting that I needed to download the drivers (from the ...
8
votes
2answers
2k views

ADB backup creates 0-byte file; prompts for current backup password even though I never set one; “Failed to set password” for Desktop backup password

The problem: Every time I run ADB backup, I get a message near the bottom of the home screen saying Backup starting..., followed by a message saying Backup finished a few seconds later despite the ...
1
vote
1answer
1k views

How to restore adb backup on Nexus 4 (boot loop)?

Recently I have flashed unofficial cyanogenmod 10.2 for my Nexus 4. After testing some features I the device came into a "bootloop" (stays on cyanogenmod logo launcher). I tried to reflash it with cm ...
2
votes
1answer
58 views

Input command is exiting ADB shell after execution

Whenever I run input command through my bash shell of Slackware 14.1 in the adb shell, the adb shell exits after executing the command, which is highly unproductive. The temporary get around for this ...
0
votes
1answer
24 views

How to use ADB to list remote directories?

I used adb push lol.png /storage/sdcard0/ to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to ...
0
votes
0answers
21 views

Android Highscreen Alfa R stuck in recovery mode, help?

today the phone got stuck during normal usage and I had to unplug the battery in order to restart it. However, it is stuck in recovery mode. Selecting any option given by the recovery will just close ...
0
votes
1answer
223 views

How do i recover my wifi pass from android using adb?

I'm connected to a wifi spot with my android, but i'd like to connect with my laptop aswell. I don't want to root my phone (warranty and stuffs) nor reset the router, as it has complex settings on it. ...
0
votes
2answers
207 views

How to pipe output of dd to a computer via adb shell?

I've accidentally wiped my phone and lost all my photos. I'm going to try to run photorec on an image of my phone. What I'd like to do is somehow something along these lines: adb shell dd if=/data ...
0
votes
0answers
78 views

Error: package x.x.x is unknown, for “run-as (classname)” command on Samsung Galaxy Note 10.1 running Android 4.4.2

I'm using a Samsung Galaxy Note 10.1 tablet, Android 4.4.2. As a developer, I need to be able to see my files in /data/data/(classname), but I don't want to root my tablet. Found out one can read ...
2
votes
1answer
29 views

defining functions in TWRP

In "normal" android you start up a Terminal emulator or do "adb shell" and then from there you can defining a function by: function name { #code } name #runs "name" But by using adb shell over ...
-1
votes
1answer
98 views

LG Optimus G Pro: adb devices works but adb reboot-bootloader doesn't boot into fastboot mode

I am looking to install Ubuntu on LG Optimus G Pro, but I have a problem on it. adb devices shows device is connected through ADB daemon, but adb reboot-bootloader or adb reboot bootloader doesn't ...
0
votes
0answers
45 views

Is it possible to bind a TCP port or address to a real block device?

(Device rooted, forced Selinux permissive via kernel patching, frowny face) I know I can force adbd to listen/connect to a different TCP port: setprop service.adb.tcp.port 5555 Then I can restart ...
0
votes
1answer
16k views

How to recover Galaxy S4 from unrequested ADB recovery mode state?

Last night, my wife turned the sound down on her factory default Verizon Galaxy S4 by Samsung, then later plugged it in at home and it showed a dark screen with the battery charging indicator. This ...
0
votes
0answers
14 views

Is Wireless ADB possible? [duplicate]

Is there, how can I setup, a form of wireless adb? I would like it control and logcat my device whilst it is borrowed by others.
1
vote
1answer
341 views

How to switch off HDMI

I have an android box with a HDMI port. Im connecting it to a projector. To the same projector Im also connecting a PC via VGA cable. Now I want to give my box a command to switch off the HDMI port, ...
1
vote
0answers
45 views

How to backup media without logging into the phone?

The screen of my phone is not responding. I tried to restart the phone but this didn't correct the problem. Now, I can't access it, and log in to my phone, so I probably need to take the phone to the ...
3
votes
1answer
68 views

Force 720p Resolution on InForce 6540

I'm working with an InForce 6540 board that has 5.0.2 Lollipop installed. I am trying to connect a display device that has a max resolution of 720p at 60hz. I am using a micro HDMI connection. The ...
1
vote
1answer
64 views

turn the speakerphone on a call? ADB Shell

I'm trying to find a command in adb shell that lets me turn on the speakerphone when I start a call. First I make the call adb shell service call phone 1 s16 "" s16 "#####" the call starts and I ...
0
votes
2answers
793 views

Clear Caches from ADB?

How do I clear caches (app, individual apps, Dalvik, ART if possible) via ADB? Using apps, recovery, or doing it through Settings are not options for me. Also, my phone is not rooted.
1
vote
1answer
1k views

Identifying an unknown Android tablet through adb/shell without relying on build.prop

I obtained a cheap unbranded tablet from a friend, without a box or anything and I need to figure out what kind of tablet it is, through software. What I've established so far is that the tablet is ...
1
vote
2answers
3k views

Galaxy S6 not seen by pc at all

I have one week old S6 and now tried to use adb. I unlocked developer mode, enabled USB debugging, connected to usb and nothing happened. adb devices shows empty list, lsusb on mac and linux as well ...
2
votes
2answers
31k views

ADB does not see connected Samsung S4

I'm on Windows 7 and have developer options including USB Debugging enabled. I have opened Kies and it recognizes the S4. However when I try adb devices, nothing to be found. It works perfectly fine ...
0
votes
2answers
20 views

Does adb pull verify files automatically?

Does adb pull verify files automatically? For instance, does it check the hash/checksum of pulled files to see whether they were pulled correctly? I'm guessing it does, but I haven't found an answer ...
2
votes
1answer
4k views

Problem with ADB on my Nexus 4 (unauthorized phone)

When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am ...
1
vote
1answer
147 views

Nexus 5 not detected by ADB

When trying to connect to my Nexus 5 (5.1.1) in Android Studio (1.0.1) my device is not found. I am running Windows 8.1 Pro. In the [SDK]/platform-tools directory I ran the command: adb devices ...
0
votes
2answers
2k views

root cannot list filed in /data

1|shell@maguro:/ # ls -l /system/xbin/ -rwxr-xr-x root shell 59816 2013-07-11 02:12 dexdump -rwsr-sr-x root root 67008 2013-10-08 17:24 su shell@maguro:/ # ls /data opendir ...
3
votes
3answers
18k views

ADB status offline when trying to root Kindle Fire

I'm trying to root Kindle Fire but it always show "ADB status: Offline" when I start "run.bat". Could you help me out of this problem? :( I tried to plug, unplug, connect, disconnect the Kindle many ...
1
vote
1answer
91 views

ADB Wi-Fi connection disconnects when device goes to sleep in Moto G 2014

I can connect the device via USB and manage to play the app from Android studio without issues. Then I do adb tcpip 5555 and adb connect <IP_ADDRESS:PORT> without problems. Same goes for running ...
0
votes
1answer
1k views

Galaxy S4 does not show Authorize USB debugging dialog box

I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option. On the PC side, adb devices shows that the PC see the device, but it is listed as ...
2
votes
0answers
78 views

File copied to /system/bin keeps disappearing

After copying Sqlite3 to by /system/bin folder, the file disappears. I can successfully change the folder to rw and modify the file properties on sqlite3. However, as soon as I remount my /system as ...
0
votes
1answer
273 views

App not installed for this user

I see App in my Apps section of settings which says App not installed for this user. It's completely greyed out and I cannot uninstall it. When I install the same from play store it says incompatible ...
1
vote
2answers
1k views

MTP not working but ADB works fine

I use Samsung Galaxy S4 Mini Android Phone, its MTP mode is not working just after I plugged it in to another PC some time for just USB charging. I re-installed the driver on my PC and removed the ...
2
votes
1answer
1k views

What does “adb shell ime list” commands do?

What do the following two commands mean? adb shell ime list -s adb shell ime list and why don't they return anything at all? See code below: aneesh@nb-14:~$ adb shell ime list -s aneesh@nb-14:~$ ...
2
votes
4answers
6k views

The command 'adb root' works, but 'adb remount' results in “Operation not permitted” message

I'm trying to remount /system to copy some files to it. I tried the following with adb: adb root adb remount The first command works fine (because my phone is rooted), but the second tells me that ...