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
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 ...
1
vote
2answers
2k views

Regarding adb command: Error while loading shared libraries

aneesh@nb-14:~$ adb devices adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory I would like to understand the error above and ...
2
votes
2answers
1k 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 ...
5
votes
2answers
10k views

Unlock Screen with ADB Android 4.2

Previously with Android 4.1, doing something like: adb shell input keyevent 82 #(KEYCODE_MENU) would unlock the screen at first boot and would then allow further commands to launch applications ...
0
votes
1answer
2k views

ADB unable to connect my Nexus 7 on Ubuntu

I want to be able to connect my Nexus 7 in order to test my applications from Eclipse on the physical device. I followed this Google guide. My /etc/udev/rules.d/51-android.rules file contains this : ...
2
votes
1answer
1k 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
0answers
3k views

Is it possible to enable Location Services via Shell?

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone. Extra Points: Is it also possible to change other system-related ...
0
votes
1answer
1k views

ADB does not work in boot loader mode

I have a Galaxy Nexus 'maguro' and a laptop with Ubuntu 12.10. I'm trying to install Ubuntu Touch preview. I installed the adb and fastboot packages, and adb detects the device when it is booted in to ...
4
votes
1answer
24k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
6
votes
1answer
800 views

Why do linux commands not work properly on android?

> adb shell sh-4.1$ ls -F -F: No such file or directory -F switch works fine on my Ubuntu. Why doesn't it work on android? Is there a way to make it work?
3
votes
1answer
2k views

What's ADB and why is it used for? How do I install it on my device?

There are mentions about ADB on various questions and answers on this site. I'm not exactly sure what ADB is, what it does, how it works and where I can get it: there's little information on the tag ...
0
votes
1answer
710 views

bootloop without power button

I have a Nexus S which sadly has a broken power button. This means I cannot do anything in recovery mode. Recently, after downgrading from a Cyanogenmod 10.1 nightly to and experimental build, it got ...
0
votes
2answers
1k views

Without Root, why can I pull a specific apk using adb, but not everything in /data/app. Android 4+?

Using: Droid Bionic 4.04 without Root. I can use the adb to pull a specific apk file to my PC, for example, adb pull /data/app/com.google.android.gm-1.apk C:\my-hacks which pull gmail's apk ...
2
votes
3answers
12k views

Configuring ADB for Nexus 4 on Ubuntu 11.10

I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to ...
3
votes
3answers
16k views

Android ADB Shell Recovery Mounting

*Question: I need assistance mounting an Android phone's internal data using the Android ADB Shell while the unit is connected via USB and in recovery mode. How do I form a proper mount command? See ...
1
vote
1answer
4k 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 ...
5
votes
3answers
33k views

How do I get permission to create this file in an android shell?

I'm trying to root a Kindle and I'm stuck. Getting permission denied and don't know how or what permissions to change. mike@Inspiron:~/Downloads/android-sdk-linux/platform-tools$ adb shell ...
1
vote
0answers
386 views

Possible security issues with having debug mode enabled?

Are there any significant security concerns with having a phone with debug mode enabled 24/7? As I understand it the debug mode only really becomes active once the phone is connected via USB cable to ...
3
votes
3answers
3k views

Lost data upgrading roms, but data is still there when viewed with Clockwork and Clockwork alone. Can I recover it?

I lost my data upgrading to M1 CM10.1 through CMUpdate, but I still see it when I go into clockwork recovery mod. I tried accessing it through adb and adb shell but I cannot find it. Furthermore my ...
1
vote
1answer
2k views

SGN 4.2.1 - stuck at < waiting for device >

I own Samsung Galaxy Nexus, it has been unlocked, rooted, I'm using CWM Recovery Touch and a few weeks ago I updated firmware to 4.2.1 (build JOP40D). It seems that Superuser is no longer working on ...
2
votes
1answer
128 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?
1
vote
2answers
11k 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
6k 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 ...
1
vote
3answers
18k 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
1answer
548 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 ...
0
votes
1answer
2k views

Toogle 3G, Bluetooth, and WiFi with Android Linux or ADB commands

Since I have not found an Android command reference list (with meaning and usage of the command), I have some questions: Can I disable/enable 3G? Can I disable/enable bluetooth? Can I switch from ...
0
votes
1answer
4k views

Error when trying to use adb shell in recovery mode

I have a Chinese phone which I've been unable to install ClockworkMod on. I decided to try booting into recovery mode to manually backup/restore the system partition. However, if I plug my phone into ...
4
votes
2answers
525 views

Why are some files under /proc are universally readable?

Why are some files under /proc are universally readable by anyone using adb? e.g. /proc/<pid>/statm /proc/<pid>/maps /proc/<pid>/smaps We can even cat the content of these files, ...
5
votes
3answers
5k views

Restoring an ADB backup onto a different phone of the same model?

We have several Android 4.0 phones of the same model, from the same manufacturer, purchased at the same time, from the same factory batch. We have created a backup of one of the phones using ADB. Can ...
1
vote
2answers
6k views

Can adb be used to recover SMS messages while in permanent “Safe Mode”?

I have a non-rooted Droid X2 that is in permanent "Safe mode", but I want to recover SMS messages. SMS Backup and Restore will NOT work because safe mode only allows system apps to run. adb shell ...
1
vote
0answers
757 views

Can't connect android emulator to look at local sites and services [closed]

I'm trying to use an Android emulator to use services running on my local machine. I have a site running under IIS which in my host file looks like this: 127.0.0.1 www.local.company.co.uk I ...
2
votes
0answers
432 views

Package cannot be (re-)installed or uninstalled

My device is a non-rooted device. I was trying to install SDMove.apk (sideload) from my ICS tablet. Adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] When I issue uninstall command, it ...
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 ...
0
votes
3answers
515 views

portable Wi-Fi hotspot configuraiton

How it is possible to enable portable Wi-Fi hotspot from ADB shell or by editing some configuration files on Android Jelly Bean? I need to do it interactive for automatic test server
0
votes
1answer
1k 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
0answers
3k views

Rooting failed htc one x : adb server is out of date

Tried to root my mobile HTC One X AT&T Build number 1.73.502.1 710RD ATT US edition referring the following link. Root HTC One X Restarted twice but the phone was not rooted. adb server is ...
2
votes
2answers
2k views

What is the applypatch tool and how does one use it?

I recently stumbled upon the applypatch tool, but I couldn't find any documentation for it online. Here is the usage output (this is after typing adb shell) shell@android:/ $ applypatch --help ...
7
votes
3answers
3k views

Backup using adb on a phone with a dead screen

I have a Galaxy S3, screen is visually and touch impaired. It is USB debug enabled, un-rooted. I'm able to use Droid@Screen to see my screen, which i'm able to unlock. I then run this command: ...
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 ...
1
vote
1answer
148 views

TMobile G2X as dev phone

I'm trying to use my T Mobile locked LG G2X as a dev phone while I wait for my GNex4. I can't get the phone to be found by ADB. I installed the p999 driver from LG's website. This didn't help ...
4
votes
1answer
2k views

Is it possible to set device's Latitude and Longitude using ADB SHELL?

I know how to set locatlon for emulators using device configuration interface from Motodoev Studio for example. But, how I can set locatlon for a device?
5
votes
2answers
10k views

adb “Permission denied” to run a “./configure” file

I need to run a configure file into my android phone so I think the best way to do this is to use the adb shell command. I'm running an Android emulator onto a Windows-7 platform, and there I'm ...
2
votes
0answers
177 views

How to have adb recognizing my Nikon s800c on windows 7?

Has anyone got ADB to work correctly for the Nikon S800C? I've followed the instructions mentioned here, but to no avail. I am using Windows 7, and can see a yellow alert mark in the device ...
6
votes
1answer
569 views

why “ls -al” does not show file size info in /dev/socket directory?

In /dev/socket directory, if runs "ls -al" in adb, there is no file size information. I would like to know why there is no such information, in the condition that in other directories can show file ...
4
votes
2answers
15k views

How can I get ADB to properly recognize an Alcatel One Touch 995 device on Windows/Ubuntu?

The problem I am trying to deploy a custom application to an Alcatel One Touch 995 running Android 2.3.6. I using Eclipse to compile the source code and push it onto the phone. The Android Device ...
3
votes
1answer
2k views

“remount: not found” error

I want to install an application as a system application. To do so, I must remount the system partition RW, to do so I run the command adb shell remount rw in a terminal, but I get the error ...
12
votes
2answers
3k views

What's the difference between 'adb push' and 'adb install'?

Will adb push only copy the file into the target location whereas adb install copies the file into the target location and also sets the proper permission for you?
0
votes
1answer
323 views

Why LG GT540 after boot it disconnects with ADB

Why when my phone LG GT540 is running and seen by ADB after bootup it disconnects (not from PC just from ADB, as PC still can see it it Device Manager) after few seconds after bootup sequence? The ...
4
votes
2answers
2k views

adb restore progress

Using the backup and restore function with adb (as discussed in Full Backup of non-rooted devices) there is no progress available and often it is very hard to follow the adb logcat output as long ...
2
votes
0answers
426 views

Disable Slide to Lock

I have a Cruz T301 which is rooted. The screen calibration is a bit off and I cannot access the home screen. (It is next to impossible to use the slide to unlock.) Basically, it will slide to the ...