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
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 ...
13
votes
2answers
11k views

Why can't the su binary simply be copied (techical response please)

I have rooted several Samsung devices and the underlying "goal" so to speak seems to be to get the su binary in /system/xbinand install Superuser.apk. My question is why does one have to jump through ...
0
votes
1answer
283 views

Failed to find init.goldfish.rc

adb shows that I have init.goldfish.rc present in the emulator device. I guess this file must exist somewhere in PC. However I could not find the file in the PC. Why it is so?
1
vote
1answer
2k 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 ...
3
votes
2answers
10k views

Documentation for adb shell getevent / sendevent

Is there any documentation on the format of the getevent and sendevent shell commands? specifically the ones for touchevents. or is this device-dependent? it is a bit hard to guess what those ids are ...
2
votes
2answers
657 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 ...
1
vote
1answer
863 views

4 Android Devices on a USB Hub [closed]

I need to be able to see 4 devices using adb with a hub. When all 4 are connected with usb debugging enabled only 1 of 4 shows up, and even if that devices is unplugged and a different device uses ...
3
votes
1answer
13k views

adb push and mount problems

I'm using Android 2.3.3 and I want to copy the iwconfig file to /system/xbin. First I tried doing it with adb push using this: adb push iwconfig /system/xbin But in return I had: failed to copy ...
4
votes
2answers
2k views

How to connect ADB over 3G/4G? Or how can an ADB listener over network vulnerability be leveraged over GSM?

I keep seeing warning signs about enabling ADB over Network when you aren't connected to a WiFi network, but what if I want to connect ADB over 3G/4G ? Whenever I try to do it with any of the ...
5
votes
1answer
2k views

Can apps be controlled through adb?

Can an installed application be completely controlled via adb? For example: Consider I need to to export my Contacts to SD Card. So here there are basically 5 Steps involved 1)Open Contacts ...
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 ...
4
votes
0answers
460 views

Locked out of Android Vortex MID *permission denied with ADB

Here's the back story: I bought an used Android tablet. The guy said the power connector was broken so the tablet wont be charged. I took it apart and figured out the battery was dead. I have an ...
3
votes
1answer
516 views

Sony XPeria Arc: How force DNS resolution with a specific host?

I've made my website and it can be accessed only through specific domain name. http://my.specific.domain.name. And of course, you have to change your /etc/hosts configuration and add ...
3
votes
1answer
18k 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 ...
6
votes
3answers
3k views

How to pull the apks from my android phone

I have a rooted android phone. I am trying to pull the applications from /system/app/. However this simply does not copy the apk. What I have tried. adb shell su cd data cd app ls ...
11
votes
2answers
3k views

Partial adb restore

ICS devices support creating backups using adb backup, and restoring them using adb restore. Using adb backup, one can select that everything should be backed up, or only a certain package. However, ...
-1
votes
1answer
134 views

Rooting Motorolla X2 adb shell problem

i tried this tutorial and in step 1 i followed method 2. I try step 3, and when i try adb shell it works fine. but the line after, sh /sdcard/motoroot-step1.sh, I get sh: Can't open ...
3
votes
3answers
9k views

How do I access .img files with yaffs2?

I've tried mounting them in Ubuntu, no luck, mount does not recognize the yaffs2 file system. I've tried yaffs2utils and ./unyaffs2 but it doesn't actually unpack the img files, I've posted an issue ...
3
votes
1answer
2k views

Can “adb remount” be used on a stock phone (unrooted)?

Is it possible to use adb remount with a standard firmware and without having rooted the device? If not, is there another way to force the system to make /system writable without rooting the device?
7
votes
2answers
24k views

How do I configure ADB for the Samsung Galaxy Y?

How do I configure ADB to recognize my Samsung Galaxy Y? I have installed the USB driver. but when I run adb devices it does not list anything. Following are the steps I followed. Declare your ...
3
votes
0answers
527 views

Error: “reloc_library cannot locate 'fdatasync'”

I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb ...
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 ...
1
vote
3answers
3k views

adb devices doesn't list Samsung Galaxy S Cyanogenmod 7.1

I am unable to list my device under adb devices and my problem is similar to that of Mad Scientist except that in his case Windows took the Google Drivers from the android SDK. Ever since I have ...
0
votes
0answers
162 views

Is is possible to make a non-rooted Huawei U8110 (T-Mobile Pulse Mini) recognisable by the `adb devices` command on OS X?

Currently, on OS X 10.6.8 Snow Leopard, this is all I get, even with USB debugging enabled on the phone: $ ./adb devices List of devices attached $ The phone shows up under About This Mac, and ...
21
votes
3answers
18k views

Is there a way to look inside and modify an adb backup created file?

I created a backup of my Galaxy Nexus with adb backup. The resulting file is named backup.db and it's somehow encrypted. I wanted to restore the backup, but it stops when it comes to restoring ...
1
vote
0answers
163 views

How can you enable “Use secure credentials” from the shell

On the ICS ROM I'm using, the option to enable the secure credentials is missing from the menu, but the sub system seems to be there since Keystore Locker can communicate with it. So does anybody ...
3
votes
1answer
2k views

Does ADB push and pull work on non-rooted phones?

I just discovered about the command adb push and adb pull which supposedly lets people push and pull data from within the internal memory. Now my question is, can this be used on non-rooted phones? ...
7
votes
2answers
1k views

Why does adb work only while the tablet boots?

I have a Samsung Galaxy Tab. When I type "adb devices" or "adb shell", it works while the tablet is booting up - showing the Samsung logo or animation - but once the orange lock screen shows, the ...
1
vote
0answers
616 views

Why would /mnt/sdcard/ not appear?

Using ADB shell to view my Samsung Galaxy Tab 7+, I see a /mnt but no /mnt/sdcard/ where according to fable the photos taken by the camera should reside. Why would the sdcard directory not be there? ...
5
votes
3answers
5k views

Getting Segmentation Fault on recovery

It's an Android 4.0.3. I'm trying to fix my tablet, because it doesn't start anymore. running fastboot devices returns nothing. Then, I'm trying to do that through adb. adb devices returns List of ...
5
votes
3answers
3k views

“Too many files specified; only takes APK file and verifier file” problem

I have some devices attached to my PC. Now I want to install Astro to a specific emulator. Unfortunately, I get this error. hieund@hieund:~/Downloads$ adb install "Astro File Manager 2.5.1.apk" -s ...
4
votes
3answers
5k views

How to copy all photos in gallery to linux desktop machine?

I have a bunch of photos on my Samsung Galaxy Tab running 3.2 which I'd like to copy over USB to my main machine running Linux so I can work on them with GIMP and other power tools. Despite this ...
8
votes
1answer
8k views

Is there any way to check the backup that android does?

Today I have been researching a bit about the Android backup options (Since I have seen some people having to lose all their data due to ICS serious bugs). From now, I prefer to use native options, ...
2
votes
1answer
4k 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. ...
4
votes
1answer
18k views

why is my file system suddenly read only?

Some background: My HTC Desire HD has several issues. The first issue being that I can not connect to it using a USB cable. So I found that I can tell ADB to work over wifi and I was using this ...
2
votes
1answer
2k views

Can adb start my android device that shows up as “offline”?

I can see my device in adb devices. It shows up as "offline". When it is "ready": $ adb shell $ su # reboot This would reboot my device. The exact problem is that my cellphone has been turning off ...
2
votes
0answers
1k views

Motorola USB Drivers on Windows 8

Is there any way to install the Motorola USB drivers on Windows 8? I downloaded MotoHelper, but it won't install, saying that the OS Version is unknown. Is there some other way to get ADB to see my ...
1
vote
1answer
261 views

Nexus One stuck in loading screen - How to save application data? (ROOTED)

I have my N1 rooted and after I installed BlackRose and change the partitions with password protection I wasn't able to start Android ever again. It show this screen: I can access to the adb shell, ...
4
votes
1answer
2k views

How to take backup of all installed APKs from Phone to PC? [duplicate]

How do I take backup of all installed apks from my sgs2 to PC using android sdk/ 3rd party tool etc? My phone is not rooted. I can install/uninstall apks using adb, but is there any similar command ...
1
vote
0answers
75 views

How do I set up adb for the Augen GenTouch78? [closed]

I am trying to root my Augen GenTouch78. I am following instructions from this site but I cannot get past step 8b. I get this error:
5
votes
3answers
1k views

Windows doesn't detect Nexus S

I recently switched from Linux to Windows 8 consumer preview. I have installed the latest android SDK including the Google USB driver. I connect my Nexus S to the laptop, the phone goes into USB ...
6
votes
1answer
7k views

adb command to search the filesystem

Is there an adb command similar to "locate" or "grep" that would help me find a file on my Android device? I'm curious about adb specifically, not a search app. EDIT: "find" has been suggested, ...
0
votes
1answer
193 views

Mass install apps using FTP/HTTP

I would like to mass install few apps at one time from a single FTP server - from Android phone, without using adb command. The phone will be rooted and will have and the option to install non-Market ...
5
votes
1answer
1k views

How to find app based on package name?

I've installed a malicious app that is posting ads over my notification bar, but can't find it. I know the java package name for it: com.letang.game103.en using the command: adb shell dumpsys ...
6
votes
1answer
2k views

Is it possible to write to a device's clipboard using ADB?

I am interested in learning how to write to (and if possible, read from) a rooted Android device's clipboard. I hope to do so using ADB over USB and I am not interested in installing any apps to help ...
2
votes
2answers
2k views

How can I get ADB to recognize my Spice MI 350?

I want to use my Spice MI 350 for testing an application I'm developing. I have tried following this link, but so far I cannot get it working. When I run adb devices I get ???????? as device name. ...
4
votes
3answers
4k views

Broken Screen + Using adb shell to run vnc server

I have an HTC HD2 with a completely busted screen, I tried repairing it with a replacement screen but broke the ribbon cable to the screen (oops) sad day, I've got two of these and I've been running ...
0
votes
1answer
102 views

How to track device locations in an office [duplicate]

Possible Duplicate: How can I make my phone/tablet ring remotely without a SIM card? There are many Android devices in our office which we use for application development and QA. Finding a ...
2
votes
1answer
5k views

How to extract .zip through ADB shell

Exactly what the title says. I've got a 1.5 gb zip file on my sdcard that I would like to extract via adb (not pulling to pc and pushing back). Is there a simple command to unzip a file? Thanks!
1
vote
0answers
243 views

Has anyone had trouble connecting the Xyboard via ADB? [closed]

I have no problems when I connect any of my other Android devices (Galaxy 7" & 10", DroidX, and Motorola Xoom), but when I attach either the Xyboard 8" or 10", adb doesn't see them as connected ...