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
4k 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
12k 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
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
618 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
685 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
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
0answers
32 views

adb backup hangs and never finishes (Linux)

Whenever I run adb backup for a full backup, it never finishes. In Terminal, the command hangs indefinitely, and on the device, the backup cycles through a few apps before hanging on one (more about ...
3
votes
1answer
71 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 ...
3
votes
0answers
1k 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
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
0answers
876 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
398 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
1answer
614 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
0answers
598 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
58 views

command on adb waits forever

I can successfully execute ADB commands, but if the command has no output the command line just waits there and does not let me enter a new command until I press ctrl-c, the commands do work however. ...
3
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
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 ...
2
votes
2answers
901 views

Uninstall from emulator doesn't work

I'm doing my first steps with Android. I'm using a Mac, and no Eclipse. I've installed my first toy application with adb install bin/*.apk and verified that it existed in the emulator. Then I made ...
2
votes
1answer
8k 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!
2
votes
1answer
181 views

Kindle Fire's actual name on the ADB Devices List Not user-friendly

When I connect my Kindle Fire and give the "adb devices" command this is what pans out: aneesh@nb-14:~$ adb devices List of devices attached D026A0A0305501NC device If there is no other USB ...
2
votes
2answers
10k views

A way to get the current resolution size and DPI from the command line/terminal/adb?

I've got adb access to my android phone. So I know that I can override screen density and screen resolution with the am command provided with Android. That's great and dandy, I guess. But is there a ...
2
votes
2answers
12k views

Phone is rooted but has no SU application and can't access SU command on adb shell?

All this time, I thought that once I've rooted my phone, it means that I will also have SU access to it. This is true for the first device I rooted. When I rooted it, a SuperUser application appeared ...
2
votes
2answers
1k views

Interpretting the output of dumpsys telephony.registry

So when I run the command dumpsys telephony.registry | grep -i signalstrength I get the following output: mSignalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 25 -93 -12 300 2147483647 ...
2
votes
1answer
7k views

Running TRIM from shell

Is it possible to run fstrim in stock android 4.3 from adb shell? I understand it runs every 24 hours when the device is plugged in and idle but I would like to run on demand to test a few theories.
2
votes
3answers
34k views

What do I type in PATH variable for ADB server to start from CMD?

I am following a Wiki on how to install and set up Android SDK and I am stuck at a step where I am supposed to test if the ADB server works by using the command adb start-server. Is this command ...
2
votes
3answers
21k views

USB drivers for using ADB with Samsung Galaxy S on CyanogenMod 7.1?

I recently installed CyanogenMod 7.1 on my Samsung Galaxy S i9000 and I have some problems now to get ADB on my Windows 7 64-bit computer to recognize the device. Currently, adb devices returns no ...
2
votes
2answers
40k views

Why is my Galaxy S4 still not appearing as a device in Mac OS X

I am trying to solve the problem of having an empty list of devices when running adb devices. Why is it not appearing? I have tried the following to no avail: Installed Kies and ran Tools > Install ...
2
votes
2answers
12k views

How install gapps with adb commands

How can I install google apps with adb commands ? I don't know how to unzip . I used busybox. But it is not useful. Please guide me . Thanks to all and everythings. :)
2
votes
1answer
604 views

How to prevent data extraction from rooted phone via adb?

I've a question regarding security in a rooted device. Being superuser means that you can access the /data/data directory, and that's a lot of personal data (I think it is almost all the data there ...
2
votes
1answer
3k views

How to unbrick/reflash Nexus S using stock ROM, stock tools

I have a Nexus S that seems to have bricked itself. I have never modded the ROM or phone, and it was totally stock. Now, it boots right int the white Google logo and stays there forever (I let it ...
2
votes
2answers
2k views

Connect with adb to device via network

I want to do some android theming, but I have a question on what the best way is to set up the system. I have 2 computers here at home. So i was thinking of having the following setup if that is ...
2
votes
1answer
947 views

ADB connection problems on LG Optimus Zone 2 running KitKat

I have purchased an LG Optimus Zone 2 to develop on and I have removed all of the drivers for the phone on my Windows 7 machine. I downloaded the OEM driver from LG and disconnected my network. After ...
2
votes
1answer
60 views

Please explain this weird response to adb command

127|root@android:/ # find / -iname "aaengine" find: /proc/19619: No such file or directory I dont know why I got told about some file I never known about when ...
2
votes
1answer
12k views

How to Install Android Apps to the SD Card by Default

I am following this tutorial for moving apps to sd card. How to Install Android Apps to the SD Card by Default But My Default Location is not changing. And My Phone Memory is full and unable to ...
2
votes
2answers
4k views

ADB 'su: permission denied' in recovery mode on rooted device

ADB 'su' command returns 'su: permission denied' on a fully rooted device in recovery mode. I can modify folders and files that require root access on phone (when it's booted). ADB also works when ...
2
votes
1answer
303 views

If I 'adb push' a file to /system/xbin, will it persistent?

If I 'adb push' a file to /system/xbin, will it persistent? will it stay until I flash another image? $ adb push myfile /system/xbin/myfile Thank you.
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. ...
2
votes
2answers
2k views

Nook Color with CyanogenMod7 is not visible via ADB over USB

I recently bought a Nook Color. My intentions from day 1 was to install CyanogenMod7 on the device to get a full Android experience. That process worked just fine, and the device is now running CM7. I ...
2
votes
3answers
2k views

Adb push does not work

When I run the command adb push file.txt /flash/Data it writes this error message failed to copy 'file.txt' to '/flash/Data': Read-only file system I tried to solve it according to this page ...
2
votes
1answer
2k views

Substitute Win7 USB drivers for ADB mode

Under Mac OSX there is no need for a USB driver for ADB mode. Under windows, apparently, there is. I'd like to be able to adb shell to my android tablet from my Win7 PC. This table gives a list of ...
2
votes
1answer
465 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 ...
2
votes
1answer
17k views

“adb devices” shows device as “unauthorized”. How can I fix this? [duplicate]

I just decided to move from Windows to Linux for my Android development, I just finished to setup Android Studio, I was able to import my project into it, but now I want to be able to run my ...
2
votes
2answers
2k views

ADB backup is not working

I just tried to make a backup from my Nexus 5 (before installing CM 11) It is unlocked but not rooted. On PC side I'm working with Ubuntu 13.10. When I type adb backup –all -apk -nosystem –f ...
2
votes
1answer
458 views

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
2
votes
1answer
423 views

Can I use 'adb tcpip' on Gingerbread devices if I root them?

I have tried using the command adb tcpip 5555 to be able to connect wirelessly to my test devices. It's working fine for devices running Android 4.0+, but every 2.x device (like the Galaxy Ace, ...
2
votes
2answers
5k views

adb-shell : /sbin/sh: command: not found

I've managed to root Google Nexus 7 (2013 Wi-Fi) and now I have CyanogenMod 10.2-20130919-NIGHTY-grouper running on it and Clockworkmod recovery v6.0.1.9 following this guide. Then I downloaded and ...
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
1answer
2k views

How to pull only newer files with “adb pull”? (Android SDK utility)

With the command "adb pull /sdcard/" I can copy all the contents of the internal memory of my Android phone into my current local directory (and "adb pull /mnt/extSdCard/" does the same with the ...