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

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
38k 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
398 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
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?
1
vote
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 ...
1
vote
3answers
23k 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 ...
3
votes
1answer
584 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
607 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, ...
6
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
7k 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
885 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
572 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
588 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 ...
3
votes
3answers
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
153 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
11k 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
185 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
642 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
18k 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
346 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
457 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 ...
1
vote
2answers
10k 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 ...
3
votes
3answers
583 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. ...
4
votes
1answer
3k views

How do I change Android screen orientation via simulating acceleration? [closed]

I have developed an app and I need to test it. I have borrowed some devices from my friends and bought a few. Now problem is that I want to test it in both landscape mode and portrait mode but I don't ...
0
votes
1answer
609 views

No Devices on shell

I try to send an intent using an android-shell. The app starts, "su" works nice, but when I enter something like "adb shell am broadcast -a android.intent.action.SCREEN_ON" I receive an error: ...
3
votes
0answers
815 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 ...
1
vote
1answer
1k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...
0
votes
1answer
4k views

How to create a soft link between root partition and ext3 partition(on SD)

I am trying to create symbolic links of /data/sdext2/app/* on /data/app. This is what I did in adb shell ln -sf /data/sdext2/app/* /data/app/ But it is telling "link failed No such file or directory". ...
3
votes
2answers
6k views

Prestigio Multipad USB debuging

I am having troubles with Prestigio Multipad PMP3370B. I enabled USB debuging in Settings, but when I plug in my device to a computer and start adb devices, it does not recognize it. Does anybody have ...
1
vote
1answer
3k views

Unable to copy files to /sdcard

Due to a configuration error I made combined with an OTA update (Android 4.1.2), I had to re-unlock my bootloader to regain root on my GSM Galaxy Nexus. This process wipes the entire phone, including ...
3
votes
2answers
3k views

How can I put my Nexus 7 back to factory default ?

I have a Nexus 7, that I rooted and upgraded once, but it now seems that something changed it. As it is registered in Google Play, there are way too many applications that I cannot install on it. I ...
3
votes
3answers
10k views

Trigger “mount as disk drive” (aka “USB Mass Storage” mode) from PC

I've got an HTC Incredible that I sync to my Linux box. I'd like the Linux box to automatically detect that the phone is attached (I can do that via adb wait-for-device), and then automatically put ...
11
votes
3answers
8k views

Can I change some Android settings from the command line?

I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command ...
3
votes
2answers
4k views

Can't connect to the device with ADB when it's in recovery mode

I am having some problems with my Samsung Galaxy S2 and I want to start an fschk session on the device. So, I installed Android SDK with platform-tools. I can access to the device when it's normally ...
5
votes
1answer
34k views

How can I mount or unmount the SD Card using ADB?

The sdcard can be umounted by using the umount command. unmount /mtn/sdcard/.android_secure how can it be remounted again . I tried using the mount command mount /mnt/sdcard/.android_secure
1
vote
1answer
3k views

adb push: sync but not copy

adb push seems to push everything into the dest folder regardless of their changed/unchanged states. So it wastes a lot of time. Is it possible to sync rather than copy (i.e. to rsync rather than cp)? ...