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

3
votes
2answers
6k views

Do I need Android SDK to connect my phone in USB debug mode?

I'm following the steps provided here to root my Samsung Captivate (Galaxy-S). I install the USB drivers in the link provided. Whenever I connect my phone, I get the error There was a problem ...
3
votes
3answers
102 views

ADB command to wipe data the phone?

I have 200 Russian Phones to flash with UK Firmware. Now when i flash the UK firmware through Odin, it works fine but Russian firmware is still on it, however it does become UK if i factory reset the ...
3
votes
3answers
3k views

Physical Device does not show up in Android Device Chooser

I posted this in stack overflow, but I figured it would be more relevant here. When I open the DDMS, it shows the device there. However, when I try to run my program, Eclipse opens the Android ...
3
votes
1answer
2k views

Howto get device's features with adb

Howto get device's features with adb - e.g. whether it has accelerometer, screen is capable landscape mode... These values are set in XML during build: <feature ...
3
votes
1answer
2k views

How to get “Non-Root” access on Emulators ?

I am running adb on emulators and by default, the emulators give root access. When I execute 'adb shell', I get root access to the emulator(virtual device). For some reason, I want to have non-root ...
3
votes
2answers
2k views

Edit hosts file on Kindle Fire

I'm trying to edit the hosts file on a Kindle Fire. I should say that I'm not interested in rooting the device (unless I have to) and am not trying to hide adverts or prevent software updates etc. I ...
3
votes
2answers
8k views

Prestigio Multipad USB debuging

I am having troubles with Prestigio Multipad PMP3370B. I enabled USB debuging in Settings, but when I plug in my device to a computer and start adb devices, it does not recognize it. Does anybody have ...
3
votes
2answers
8k views

Can't connect to the device with ADB when it's in recovery mode

I am having some problems with my Samsung Galaxy S2 and I want to start an fschk session on the device. So, I installed Android SDK with platform-tools. I can access to the device when it's normally ...
3
votes
1answer
4k views

How to enable adbd to listen to a port at boot time in Android?

I have a rooted HTC Hero, and what I want to do is to enable the adbd to listen to a port at boot time. I tried some code found here: setprop service.adb.tcp.port 5555 stop adbd start adbd in an ...
3
votes
2answers
5k views

How to “adb connect” to Samsung Galaxy Tab (P3100)?

I am trying to connect to my tablet (Samsung Galaxy Tab P3100) through network. > adb connect 10.0.0.2 unable to connect to 10.0.0.2:5555 > adb connect 10.0.0.2:5555 unable to connect to ...
3
votes
2answers
1k views

Backing up everything on my kindle fire with ubuntu before installing firefirefire, can't get past Hellions with blue flames when rooting

I'm trying to follow this post in order to install firefirefire on my kindle fire: http://forum.xda-developers.com/showthread.php?t=1369405&page=1 I'm at the part at the beginning of the guide ...
3
votes
1answer
77 views

Copy contacts to sdcard from android 2.3

how to copy my contacts from my sony ericsson wt19i android 2.3 to sdcard? I tried to do this by adb, but does not work. I do it like this: adb devices adb shell su mount -o rw,remount rootfs / ...
3
votes
1answer
102 views

Can you dump the contents of your phone (os + apps + data) and run that in an emulator/Android Studio?

Is there a way to dump the contents of your phone (OS + apps + data) and run them on a PC in an emulator of some sort? I feel like there are security implications to being able to do this but with ...
3
votes
1answer
3k views

windows 8 - keeps disconnection samsung from computer

I recently upgraded from windows xp to windows 8 and I have a problem with the USB-connection. When I plug-in my samsung galaxy s3 to the computer - a symbol pops-up and the adb-client can comunnicate ...
3
votes
1answer
661 views

Colored output in adb, e.g. for ls command

Is it possible to have colored output in adb shell, e.g. for the ls command? I've tried ls --color=auto . etc, but that doesn't seem to work. Colored output, however, works in adb shell, e.g. with ...
3
votes
2answers
12k views

How can I enable adbd during boot on Cyanogenmod?

I am stuck during the boot process, at first before entering the passphrase for /data and now at the SIM PIN screen. At this point, adb is inaccessible (normally adbd would start up after unlocking ...
3
votes
1answer
2k views

error with adb push

Hi I want to push an APK Expansion file to my phone so I am executing: C:\Users\dogface\AppData\Local\Android\android-sdk\platform-tools>adb.exe push c :\main.1.com.redcricket.Audiobook.obb ...
3
votes
2answers
15k views

adb shell mount command: documentation?

I'm creating a guide for noobs on editing the SystemUI.apk on the US Galaxy S3. But, before I post the guide, I want to make sure I know my stuff! I'm looking to learn about ADB (and ADB shell) and ...
3
votes
2answers
2k views

Can't connect an already booted device to adb

Every time I want to connect my phone to adb via USB I need to turn it off, plug the cable and turn it back on. Is this the right way to go or am I missing something? Documentation doesn't seem to ...
3
votes
2answers
5k views

Galaxy S2 - Accessing Internal phone memory in Recovery Mode

How can i access to Internal Storage in Recovery mode using Android Debug Bridge (ADB.exe) ? C:\Users\MohammadReza\Desktop\platform-tools>adb devices List of devices attached 4F58000600000001 ...
3
votes
3answers
1k views

Deleting Pictures through adb - Yet They Remain in Gallery

I'm attempting to write a script to test out a camera for long periods of time, and one of the issues right now is the fact that it runs out of space when pictures are taken. My initial approach is to ...
3
votes
1answer
22k views

How to mount system in rw mode if no custom recovery

When I changed my build.prop for spoofing another device model, I copied build.prop from another device having gingerbrad but my system is froyo. When I rebooted, I lost my internet connection. It ...
3
votes
1answer
2k views

Samsung Galaxy Tab 7" Plus — adb drivers

I have a Samsung Galaxy Tab 7" Plus tablet on my hands, and I am trying to test my "large" scale layouts. The device shows up in harddrive mode on my computer (Win XP), but adb does not recognize it ...
3
votes
1answer
750 views

How can I access multiple user spaces from adb?

I am running KitKat on a tablet with two users: primary (owner) and secondary. I need to access a file generated by an app of the secondary user. When I plug the tablet into my (Ubuntu) desktop via ...
3
votes
1answer
6k views

Unlocking Nexus 4 with cracked screen [duplicate]

Recently a short fall broke not only my Nexus 4's cheap phone case, but the digitizer as well. The LCD and everything else is perfect, however the touch screen only works on the top quarter of the ...
3
votes
2answers
6k views

How can I find out which bands my phone supports

Background: I recently bought the Padfone X, and have been attempting to get it on my network. Part of this effort has been verifying information I have found online which claims that it supports LTE ...
3
votes
1answer
1k views

How to end call via adb in android 2.2.1?

Im creating small call center like system based on pyadb. I was developing for my phone which has custom SlimKat ROM - kitkat based. To call i do :adb shell am start -a android.intent.action.CALL -d ...
3
votes
1answer
15k views

Stuck in Fastboot?! Help please!

I tried to get CM11 on my LG G2 on Bell Canada's network and I really messed it up. I can no longer get into recovery, adb doesn't see my phone, but download mode works (though I have no idea how to ...
3
votes
2answers
3k views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
3
votes
1answer
2k views

Why is adb backup with system apps unsafe? (Holo backup)

In holo backup, adb backup with system apps is said to be unsafe. I was and am not sure why it is. But I tried it anyway, and slept then when I woke up in the morning, my computer crashed. So I am ...
3
votes
1answer
1k views

Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked

I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD ...
3
votes
1answer
702 views

Backup and Restore using adb [duplicate]

Possible Duplicate: New phone: How to transfer game progress? I recently got a Samsung Galaxy S3 and I am wanting to transfer my Jetpack Joyride game progress from my old HTC Legend. There ...
3
votes
3answers
785 views

Can the on-board ADB Server find the device itself?

I know that Android devices have an on-board adb server. I am able to start the server through the terminal emulator and run adb commands, but the device itself does not show up in the device list. ...
3
votes
1answer
1k views

How can I use su again after OTA-upgrading my rooted phone?

I had previously rooted my droid when it was running 2.2 froyo. Using the OTA upgrade, i got a gingerbread (2.3.4) for my phone. As obvious, the root privileges were gone..but the superuser app and ...
3
votes
2answers
1k views

Up and down arrows in adb shell

I have an HTC Desire HD. When I connect to it with adb shell from Windows, the up and down arrow keys work fine and I get command history. But when I connect to it from Mac OS, the up and down arrows ...
3
votes
2answers
2k views

Can the Galaxy S2 be rooted without increasing the custom flash counter using adb?

Normally, rooting guides for the S2 involve flashing a kernel to the device to install busybox and su. This xda post suggests a method for doing so via adb (found approximately in the middle of the ...
3
votes
3answers
75 views

My phone is soft-bricked after ADB update

This is the problem: I always connect my phone to computer, to charge it, but I tried to execute ADB shell into recovery mode. 1- I've entered into recovery mode 2- I tried to go to "Apply update ...
3
votes
1answer
112 views

Galaxy S5 SM-G900F programmed as SM-9006V

I have a Samsung S5. On the box, on the sticker inside the unit, checking the IMEI and using CPU-z they all said the unit is an SM-G900F and is using the Snapdragon core. My biggest problem with it ...
3
votes
0answers
196 views

How to check for root access via ADB?

Is there a way to check root status via ADB? Like a command for it or something? So far I've tried pushing some bash scripts that try to mount the system partition and return "Yes" if they succeed, ...
3
votes
0answers
44 views

Cannot remove/rename/move build.prop, new insights

I've already asked this question before but I haven't gotten any progress, but did note some things. First the problem again. I soft bricked my phone by editing a line in build.prop, specifically ...
3
votes
0answers
120 views

su doesn't give root acess

I have an HTC Sensation and I'm using Linux on my workstation. I would like to switch S-Off on this phone. I found documentation, but when I type su in adb I don't have root access: shell@android:/ ...
3
votes
1answer
2k views

adb pull - copy whole folder to computer

How do I copy a folder from my android device to a certain folder of my computer? if I use this command: adb pull efs It copies the contents of the efs folder to my computers root directory. I ...
3
votes
2answers
8k views

I can't see my device in Android adb list

I have LG G3 with android 5.0 lollipop and I want to connect it to my laptop with windows 8.1 OS (For using unity remote). When I connect my phone I can access to storage but I can't see my device in ...
3
votes
2answers
3k views

File “has unexpected contents” error when sideloading Android 5.0

I have a Nexus 7 (2013) (wifi) and am trying to update the software to Android 5.0. When I try to sideload I get this error: Installing update... mount: failed to mount ...
3
votes
0answers
2k views

Simulate missed call from ADB shell

On the ADB shell, I run the command adb -s <serial_number> shell am start -a android.intent.action.CALL -d tel:123456 to place a call on my testing device. It works great. But I also want to ...
3
votes
0answers
461 views

Is it possible to clear-default of an app using an ADB command?

Not sure if that's the place to ask this (maybe stackOverflow is better), but here we go: Background There are plenty of possible commands that you can perform by using ADB. I use many of them on my ...
3
votes
5answers
7k 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 ...
3
votes
0answers
933 views

Rooting/unlocking Android Nexus One with broken power button using Linux terminal tools

I am attempting to get Cyanogenmod onto my Nexus One, but am running into far more problems than expected. The information on rooting Android devices seems heavily fragmented across the web and the ...
3
votes
0answers
462 views

ADB Shell command that can test MLS / SPC codes? [closed]

I am a Republic Wireless subscriber with the Motorola Defy XT. The Defy is a decent phone, but unfortunately very little space has been dedicated to internal application storage (300MB) and often we ...
3
votes
2answers
4k 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 ...