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

0
votes
1answer
2k views

Is it possible to use adb backup in order to make a clone of a tablet? [duplicate]

Is it possible to use adb backup in order to make a copy of tablet? In fact I want to recover the contents of a tablet using adb backup and then install it on the tablet that have the same type with ...
2
votes
1answer
4k 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 ...
0
votes
1answer
1k views

Can't seem to configure my phone to download to SD card by default

Well, I have a Motorola Razr I and, as expected, my internal storage was pretty limited (only 5 gbs). Of course, I already had a SD card which I inserted into my phone to expand it's memory to 25 gbs ...
1
vote
1answer
400 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 ...
13
votes
2answers
16k views

Is there a minimal installation of ADB?

When it comes to troubleshooting, I often read recommendations like "Use adb logcat to find some more details". Looking for a good way to backup all my apps including their data, Full Backup of ...
0
votes
1answer
156 views

Problem with attaching Archos device on Ubuntu

On my laptop I have Ubuntu 12.04. 1) mounting the tablet $ sudo mkdir /media/tb $ sudo chmod 777 /media/tb $ sudo mount /dev/sdc /media/tb 2) downloading and updating Android SDK $ cd ~ $ wget ...
1
vote
1answer
5k views

How do I patch the Android ADB driver?

Headaches with Android SDK again! I know how to set up the Android SDK. I have done this multiple times over the years. And I had to do some patching of the driver for the ADB every single time! I ...
0
votes
1answer
2k views

The process has stopped unexpectedly - recovery

When I start my tablet Archos 7 Home tablet it shows this message box: Sorry! The process android.process.acore ...
0
votes
2answers
3k views

ADB driver MK808 installed but ADB is not working

I wish to setup ADB for MK808 I used Moborobo and it installed ADB driver. When I connect MK808 I see "ADB Interface - ADB Device" in Device Manager (instead of unknown device MK808B) I added ...
4
votes
2answers
17k views

Control Android with broken screen from PC

My rooted Galaxy Nexus has a broken screen. How can I use my PC (ie, via ADB) to control the phone? androidscreencast would be the ideal solution, but its keyboard/mouse control feature does not work ...
3
votes
1answer
689 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 ...
4
votes
1answer
4k views

Backup using ADB without root or usb debugging

I have a Nexus S (on android 4, not rooted) device who's not able to boot. It opens and get stucks to the X screen. I can only access the recovery mode. I tried to backup data via ADB, but the phone ...
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
1k 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 ...
4
votes
2answers
8k 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
1k 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 : ...
1
vote
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
2k 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 ...
2
votes
1answer
18k 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
701 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
1k 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
573 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
10k 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 ...
2
votes
3answers
13k 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
3k 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 ...
3
votes
3answers
27k 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
367 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
124 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
9k 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 ...
1
vote
2answers
4k 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 ...
0
votes
3answers
12k 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
480 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
405 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
4k 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
5k 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
622 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 ...
1
vote
0answers
284 views

Package cannot be (re-)installed or uninstalled

Was trying to install SDMove.apk (sideload) from my ICS tablet. adb reported: Failure [INSTALL_FAILED_ALREADY_EXISTS] However when I issue uninstall command, it reports Failure as well. When I try ...
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
431 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
2k 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
1k 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 ...
6
votes
3answers
2k 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: ...