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

2
votes
1answer
8k 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
685 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
1k views

Disable browser prompt when using ADB to open an URL

I'm trying to open an URL using the ADB command: ./adb shell am start -a android.intent.action.VIEW -d URL When I have multiple browser support applications, I'm trying to open this using google ...
2
votes
1answer
6k 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
1answer
560 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
3answers
19k 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
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
3answers
283 views

Moving installation location on non rooted Android 5 Lollipop device

I have a Moto G (2nd generation) with Android 5.02 on it. Internal SD card is about 8Gb and I have an external SD card with 16Gb free space. Moving application to SDCARD from the application's menu ...
2
votes
2answers
368 views

How to verify an ADB backup file is complete and in a good state?

This is not a duplicate of How to verify a backup file from ADB backup. The poster there probably didn't know that an unrooted phone requires -nosystem (ref) and ended with a 0 byte file, where my ...
2
votes
1answer
679 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
53 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
2answers
8k 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
9k 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
3k 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
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
987 views

A way to get location coordinates from command line

I'm looking for a command line, or a series of commands that can dump or list the latitude and longitude on a rooted device. I connect to a device using ADB shell. A way that will cause the ...
2
votes
1answer
366 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
2answers
4k 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
866 views

`adb shell ime list` commands - Please clarify!

What do the following two commands mean adb shell ime list -s adb shell ime list and why don't the return anything at all? See code below: aneesh@nb-14:~$ adb shell ime list -s aneesh@nb-14:~$ adb ...
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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
3k views

Where to find “adb” version 1.0.32 to install on Ubuntu?

My laptop has Ubuntu 14.04 as OS. I installed latest version of "android-adb-tools" available in "Synaptic Package Manager". After installation, adb command --help says that adb's version is 1.0.31. ...
2
votes
1answer
1k views

How can I enable USB Debugging on an LG G2 (vs980) with a broken screen? [duplicate]

I have an LG G2 (vs980 - Verizon). The digitizer and screen is broken - I can view it, but not submit input. The device has fastboot and TWRP capabilities, and I can get to ADB from TWRP. The device ...
2
votes
1answer
1k 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 ...
2
votes
2answers
8k views

Can I format android phone's internal storage with adb?

I formatted my phones internal storage with ntfs and now it doesn't appeared in usb mode and also not in file manager. And phone's feature like gallery, camera, recording etc are not working. Is there ...
2
votes
1answer
2k 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 ...
2
votes
1answer
681 views

ADB not seeing device after update

I just updated the Android SDK Tools to 22.6.4 and the Google USB Driver to Rev. 10 and now ADB cannot see the device. Device: Honeywell Dolphin 70e Black with 4.0.3 Modified the android_winusb.inf ...
2
votes
1answer
127 views

How can I root my HTC One for T-Mobile using ADB?

I want to use ADB. FastBoot isn't working on my OS X machine. ./fastboot devices lists nothing. ./adb devices shows my device I downloaded SuperSu from the Google Play store but it says it I ...
2
votes
1answer
279 views

Should the sdcard support case-sensitive files?

I've been testing one of my apps to see how it handles filenames in UPPER-CASE. I thought the Android libraries and system was case sensitive for filenames, however I eventually discovered that files ...
2
votes
1answer
7k 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 ...
2
votes
1answer
466 views

Is it possible to run any sort of hardware diagnostics through ADB

I have a Samsung Galaxy S4 that I had for a little over months before getting caught outside in a serious rainstorm. As I was pulling the battery out of the phone, I noticed the screen flicker. I ...
2
votes
1answer
581 views

adb connection problem on Kubuntu 13.04 x64

I'm facing a problem with ABD connection under Kubuntu 13.04 x64. Every time I try to push/pull/shell ls the adb disconnects from device. I tried the following solutions: Added device ID into ...
2
votes
1answer
856 views

ADB without USB connection [duplicate]

The micro-USB port of my Xperia Arc with ICS it's broken. How can I enter to ADB by wireless, without connecting the cable? I am not root, and I need to enter to ADB to root my phone. I can connect to ...
2
votes
1answer
694 views

Do I need adb? Whats wrong with terminal?

I'm pretty new to Android, but I have a bit of linux understanding. Do I need to use adb and do I need to type adb before every command? I have SSHDroid running on my GS3. I open my regular linux ...
2
votes
1answer
132 views

is it possible to know the names of the files without root?

I'm saving my games data that I have on my Samsung Galaxy S2 using the adb program and I'm having problems finding out locations and names of files, where are they saved in?
2
votes
2answers
12k 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 ...
2
votes
2answers
7k views

Missing device driver for “Android 1.0” in Device Manager while in HBOOT menu!

When I enter HBOOT menu with the phone connected to the PC with USB I get the missing driver prompt in Windows and there's an exclamation mark for a device called Android 1.0 in Device Manager. I ...
2
votes
2answers
800 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 ...
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. ...
2
votes
0answers
13 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 ...
2
votes
0answers
34 views

extSD card does not work after adb push to /mtn/extSdCard

After I run adb push cm-11-20141115-SNAPSHOT-M12-i9300.zip /mnt/extSdCard the command replied me 3949 KB/s (223217798 bytes in 55.194s). After that my micro SD-card is not detected neither by device ...
2
votes
1answer
277 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 ...
2
votes
2answers
950 views

Does adb backup include contacts?

Does adb backup .all -f backup.ab include contacts in the backup?
2
votes
0answers
229 views

Asus Transformer Tab tf300t stuck on asus screen. No ADB, no fastboot, no recovery, no os

I'm very happy with cm11 on my Galaxy s3 so i wanted to try it on my tf300t. First i unlocked the bootloader which i succeeded in doing. Then i flashed clockworkmod recovery via adb. However, when i ...
2
votes
0answers
1k views

SDCard permission issue

I have a Samsung S3 which I have installed Cyanogenmod on with a view to carry out some procedures with root permissions. At the minute I am trying to create a .img file of the userdata memory block ...
2
votes
0answers
899 views

Simulate missed call from ADB shell

On the adb shell I run the command "adb -s shell am start -a android.intent.action.CALL -d tel:123456" to simulate a fake incoming call to my testing device. It works great. But I also want to ...