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

0
votes
0answers
7 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
48 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
321 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
1answer
32 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
315 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 ...
0
votes
0answers
37 views

ADB full backup restore command stuck on restoring app Clean Master

I have a full backup file using adb backup command. When I try to restore the full backup file using adb restore command it always displays "Unfortunately Clean Master has stopped working" while ...
1
vote
2answers
2k 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 ...
1
vote
2answers
29k 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
12 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 ...
0
votes
0answers
25 views

Running an Android App in Android Studio [on hold]

I am facing a problem .. ADB not responding. If you'd like to retry, then please manually kill "adb" and click 'Restart' Errors from ADB: adb: Unexpected exception 'Cannot run program ...
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
55 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
45 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
61 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
208 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 ...
0
votes
1answer
2k views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
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 ...
0
votes
0answers
3 views

Samsung sidesync run from pc

my phone's lcd and touch is broke, and I'm trying to use samsung sidesync to access phone. Problem is that that I can't run sidesync app. I have tried to use ADB but I'm 100% sure that I have disabled ...
0
votes
1answer
49 views

adb backup command on non-rooted device creates an empty backup file?

I recently tried to backup my Motorola Moto G2 XT1068 phone running Lollipop 5.0.1 and after connecting it over USB with usb-debugging ON and I ran the adb backup command to backup my device ...
-1
votes
0answers
25 views

Unable to execute adb shell command from Android app [closed]

I want to change my screen resolution. For that I am using adb shell command wm size 600x800, but it's not working. Here is my code : p = Runtime.getRuntime().exec("wm size 600x800"); p.waitFor(); ...
34
votes
4answers
154k views

Where in the file system are applications installed?

I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market). But where in the Android file system on my ...
0
votes
0answers
19 views

ADB restore for a single package fails in Samsung Galaxy Tab 4 SM-T230NU

I have a simple script to keep two tablets in sync for a single application's data. Specifically, I run a backup without the APK (I just want to sync the data) i.e. adb backup -noapk com.some.app I ...
0
votes
1answer
2k views

Android ADB unable connect with IP address

I have successfully installed Android OS in Oracle virtual box, but I have one problem: I cannot connect to ADB in the Android OS virtual box. In my Network settings in virtual box: When I select ...
1
vote
1answer
264 views

Update from ADB option under recovery menu

How does one typically use the "Update from ADB" option in the Recovery menu? Do I have to connect the phone via a usb cable to my laptop & provide the necessary update files? Where on the ...
2
votes
2answers
2k views

Does adb backup include contacts?

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

Cannot find HTC One in ADB, SD card not mounted, incorrect kernel for installed ROM, no backup

Pretty much what the title says. I have messed up big time. Because I am switching carriers, I have to switch back to the stock ROM. It is stuck at the loading screen, most likely because of a kernel ...
-1
votes
0answers
12 views

ADB port forward -

I have a server and a home computer. Android Studio is installed only on a server. I can run Android Studio when I am on a home computer even though my home computer doesn't have Android Studio ...
0
votes
1answer
161 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 ...
3
votes
2answers
655 views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. Android - Run/install/debug applications over WiFi? The first is to use USB, and this isn't an ...
0
votes
1answer
1k views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
1
vote
0answers
54 views

Cannot connect Nexus 7 to computer to see internal storage after flashing Cyanogenmod

I've managed to flash Cyanogenmod 12.1 onto my Nexus 7 2012 to give it a new lease on life, but now I can't connect it to my PC to view it as a storage device! The Nexus 7 shows up as a "media ...
16
votes
2answers
12k views

Enable and disable system apps via ADB

Is there any adb command to enable/disable a system app? Thanks
1
vote
0answers
32 views

Button to allow ADB backup not working

I have a Oneplus One running CyanogenMod 12.0. (Based on Lollipop 5.0) I'm trying to create a backup using ADB. I executed the command, and it gave me the usual prompt to unlock my phone and allow the ...
2
votes
1answer
3k views

Stop Media Playback through adb

I'm testing some settings on a phone, and unfortunately the only control I have is through adb right now. My issue is that while I can start playback of a music file through the following command, I ...
1
vote
0answers
60 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 ...
7
votes
1answer
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
2answers
5k views

How to update samsung galaxy tab p1000 i.e. 2.2 to 2.3. using ADB?

I am updating the OS of my Samsung Galaxy tab p1000 (i.e. 2.2) to 2.3.6 using adb. I am using the steps below: Check whether device is connected or not using ADB. C:\Users\PC>adb devices ...
0
votes
0answers
22 views

/system/bin/mediaserver and /system/bin/drmserver dont want these but Android disagrees

I used this link Use Adb to disable Media Server hoping to permanenenly disable the battery hogging media server process . It did not work Mediaserver still runs on my Android 4.4 Jiayu S3 phone as ...
2
votes
1answer
5k views

adb su permission denied, no rom, rooted, need to fix internal sd card

can someone please help. im pulling my hair out lol im trying to fix a friends phone GT-I9000. basically i get error in mounting sdcard. after searching endlessly and installing 100s of stock rom. ...
6
votes
1answer
1k views

Obtain package name AND common name of apps via ADB

I'm looking for a possibility to retrieve both, the package names and the common names of apps installed on an Android device via ADB – or at least to retrieve the common name if the package name is ...
1
vote
1answer
3k views

Sony Xperia Z1 won't start up again!

As you may know, you have to backup the TA-partition before you put a custom ROM on the Sony Xperia Z1. I've backupped the partition with this .bat file: ...
1
vote
1answer
2k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
1
vote
0answers
14 views

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...
4
votes
1answer
869 views

Possible Soft-Brick Fix for my Galaxy S4

So, prior to my stupidity, I made a system.img dump via dd However, after my stupidity (tried flashing some lib files....), I am now stuck with only stock recovery mode, or download mode. How can I ...