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
68 views

Is there any adb shell command to focus camera?

I would like to record some movie on my desk but camera doesn't focus so I would like to force my phone to camera focus. Is it possible?
-1
votes
0answers
21 views

Denied permission while copy to sdcard on xperia s

I stack in a situation with my Xperia S, so I do not know what else to do. Here is the brief story what happened. I was getting ready to install the 4.2.2 version on my phone, so I got it successfully ...
2
votes
2answers
43 views

Activate Device Administrator via ADB

Is it possible to activate Device Administrator via ADB command instead of tapping "Setting -> Security -> Device Administrators --> Select App --> Activate" on handheld? If it's possible, how?
0
votes
2answers
18 views

How to find files related to a process

I was using adb shell to have a peek at what's going on a Sony Xperia Z phone. I've noticed a few services (e.g. com.sonymobile.socialengine.plugins, com.google.android.youtube, etc.). I'd like to ...
5
votes
1answer
519 views

Windows doesn't detect Nexus S

I recently switched from Linux to Windows 8 consumer preview. I have installed the latest android SDK including the Google USB driver. I connect my Nexus S to the laptop, the phone goes into USB ...
0
votes
1answer
468 views

How to install Android Composite ADB Interface

Having trouble with this line on this tutorial: "In your Android SDK directory, at \extras\amazon\kindle_fire_usb_driver, run KindleDrivers.exe, and then follow the instructions on the screen." ...
0
votes
2answers
998 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
7 views

Problems with a linsay f-10hd cosmos locked

so I have this tablet linsay f-10hd Specs 10.1 " 0S: 4.04 Google Android CPU: 1.5 Ghz CORTEX A-8 1 GB RAM 4 GB Hard Drive Internal Memory Web CameraBuilt in 3-D acceleration, 3-D Effect 2160 P HD ...
2
votes
1answer
975 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 ...
5
votes
1answer
64 views

no adb devices detected after failed revert to Android

Just a few days ago I tried to revert my Asus Nexus 7 wifi back to Android from Ubuntu Touch Preview and made a mistake somewhere. To sum up, now my device has no OS on it so it will only show the ...
0
votes
0answers
34 views

ADB RSA key popup not showing on Nook Tablet with official CyanogenMod 10.1 Nightlies

I have a B&N Nook Tablet (my only Android device) with CyanogenMod 10.1 official Nightlies installed on it. I am trying to use ADB, I tapped on build number, opened dev options, and enabled USB ...
3
votes
1answer
1k views

Help regarding su shell in adb

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

adb backup disabled on phone

I am attempting to run an adb backup to my computer from my Samsung Galaxy Nexus, version maguro, v4.2.2 (I guess it's worth mentioning I'm running Windows 7 on my computer). I have tried this with ...
1
vote
1answer
57 views

Terminal or ADB command to force-stop applications

What is the terminal or adb command to force-stop an application? Like for freezing we use pm disable application_name.
4
votes
3answers
798 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 ...
3
votes
2answers
2k 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 ...
1
vote
1answer
82 views

Android ADB drivers installation error

I am trying to install the usb adb drivers. I turned the debugging mode on in the settings of my phone, connected to the PC. I click update drivers and manually selected the folder where the drivers ...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k 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. ...
0
votes
1answer
371 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 ...
0
votes
1answer
470 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 : ...
0
votes
0answers
49 views

Windows wont install android USB driver automatically or manually

I've had all sorts of problems getting ADB to run in the past so I generally know how to trouble shoot this but now I can't get windows 7 to recognize or install the USB driver when I plug it in. It ...
0
votes
1answer
138 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 ...
0
votes
1answer
166 views

Failed to find init.goldfish.rc

adb shows that I have init.goldfish.rc present in the emulator device. I guess this file must exist somewhere in PC. However I could not find the file in the PC. Why it is so?
4
votes
2answers
5k views

Obtaining root by modifying default.prop(ro.secure)?

To get a privileged shell you need to modify the following lines to the given values in the default.prop file ro.secure=0 ro.debuggable=1 persist.service.adb.enable=1 I have the extracted the ...
1
vote
0answers
17 views

VNC style connection over ADB?

Could I connect to a device over USB ADB, get a shell and then launch a VNC type graphical connection where I can use that device? I have a android device at a customer remote premises and I want to ...
0
votes
1answer
418 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 ...
0
votes
1answer
329 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 ...
0
votes
2answers
826 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 ...
5
votes
5answers
8k views

ADB constantly disconnects, shows device offline

I'm not 100% sure if this should go here or the main Stack Overflow, but I decided to go with this area in hope I might catch someone with more specific experience with a similar problem. I have a ...
1
vote
1answer
581 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 ...
1
vote
3answers
237 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. ...
0
votes
0answers
233 views

Trouble installing ADB correctly, Kindle will not show up in device manager

Currently using kindle fire HD 7.3.1 7" and would like to be able to add google play but when ever i try to install adb it says that I correctly installed it. I have both ADB turned on in the kindle ...
2
votes
2answers
218 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 ...
3
votes
2answers
627 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
1answer
97 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 ...
0
votes
3answers
252 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
2
votes
1answer
72 views

ADB without USB connection

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 ...
1
vote
2answers
1k 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 ...
4
votes
1answer
792 views

How to Retrieve SD Card Files via fastboot or recovery?

I have a Nexus 4 (LG E960) running rooted stock 4.2.2/JDQ39. The phone fell from a foot high and the screen cracked. The touchscreen no longer works. I have a full Nandroid (TWRP type) backup under ...
1
vote
1answer
40 views

adb restore time

I want to use the adb restore . I use adb restore to restore a backup. But my problem after some delay if i don't click ok, the mechanism restore stops. I want my restore do not stop. And if possible ...
0
votes
2answers
328 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 ...
1
vote
0answers
53 views

How to switch off HDMI

I have an android box with a HDMI port. Im connecting it to a projector. To the same projector Im also connecting a PC via VGA cable. Now I want to give my box a command to switch off the HDMI port, ...
5
votes
2answers
829 views

What options exist when the vendor does not supply an ADB driver for an Android device?

I bought an Android phone and the vendor does not offer any drivers whatsoever. The Android SDK and the drivers that come with it don't seem to work with the device, but the device itself reports as ...
2
votes
1answer
37 views

Disable Backup Service in Android Emulator

I'm trying to replace sms and contacts database on Android emulator with some other (extracted from other phone). I've already succesfully pushed files into emulator (using adb push), but I have to ...
1
vote
2answers
103 views

ADB shows unknown device

I've been developing in several Android devices since now but this one has me totally puzzled. ADB in Windows detects the device just fine, but I cannot make ADB recognize this device in Linux (Ubuntu ...
0
votes
1answer
697 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 ...
0
votes
0answers
73 views

No Permissions Error Regardless of sudo or shell

I have a Huawei comet u8150 That I decided to root seeing as I'm stuck with it for the time being. I rooted it last night, Flashed Clockwork Mod Recovery 5.0.2 and Installed CyanogenMod 7 for the ...

1 2 3 4 5