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
2answers
407 views

How to disable screen lock during Android development?

I am developing Android app with my daily phone, I want to turn off screen lock only during development. I can done this manually, but that is too troublesome and sometimes I forgot to enable it ...
0
votes
2answers
1k views

Enabling adb on Beaglebone Black

I have successfully loaded TI-Android pre-built image on a BBB which was downloaded from here. Everything works well on the device. I have been trying to enable adb without much luck. Basic HW and SW ...
1
vote
1answer
275 views

Can I use 'adb tcpip' on Gingerbread devices if I root them?

I have tried using the command adb tcpip 5555 to be able to connect wirelessly to my test devices. It's working fine for devices running Android 4.0+, but every 2.x device (like the Galaxy Ace, ...
0
votes
0answers
231 views

How do I authorize my Galaxy Nexus for adb usage

I have a Galaxy Nexus and the adb thingy isn't authorized. I also can't access into bootloader mode because my volume button is spoilt. =/ Is there anyway I can get into bootloader mode?
6
votes
1answer
146 views

Harden adb on Android 2.3

Actually I was never thinking about leaving my adb debugging enable on my cellphone when going outside. Now on cyanogenmod 10 and newer, it asks me to verify the rsa key of the host, which makes ...
2
votes
0answers
395 views

Android ADB connect to device with broken USB and no root

I've read through the thread below and come across 2 solutions for connecting a device with ADB. Android - Run/install/debug applications over WiFi? The first is to use USB, and this isn't an ...
1
vote
1answer
406 views

22MB backup on new nexus 5 - too small?

Trying for the first time to root my device, using a Nexus 5 that I just got yesterday. I'm naturally trying to back things up before doing anything that can wipe memory, but the size of the .ab ...
0
votes
0answers
628 views

adb doesn't detect phone on Ubuntu 12.04

I have a Ubuntu 12.04 PC that sometimes does not detect my Samsung Galaxy Note 2 smartphone. The following error message will pop up when I connect the device. Unable to mount SAMSUNG_Android Unable ...
0
votes
1answer
213 views

Forcing an Android tablet to connect to a wifi from PC

A while ago, I had a tablet (Coby Kyros MID9742), that got shelved when the screen quit (half of the area of the touchscreen won't recognize touches, split among 2 sections). I am trying to repurpose ...
0
votes
1answer
2k views

mount: Permission denied (when mounting /system directory on android device)

I have rooted Samsung Galaxy S4 (Int) using CynongenMod OS. I am trying to install and run an executable file which needs its configuration file to be copied to the /system directory. Now, after ...
0
votes
1answer
15k views

ADB does not see connected Samsung S4

I'm on Windows 7 and have developer options including USB Debugging enabled. I have opened Kies and it recognizes the s4. However when I try adb devices, nothing to be found. It works perfectly fine ...
0
votes
0answers
227 views

how to change boot logo without using fastboot

I know how to change the boot logo(logo.bin) from fastboot, but the problem is how can I change the boot logo without using fastboot. I can't go to fastboot mode because I think my device(ME-702) ...
0
votes
0answers
491 views

Take Pictures Via ADB

Hi I need to take pictures via adb but do it secretly in the background or with a quick popup. I need this because im making an app but its API dosent let you take a picture with the camera when the ...
0
votes
4answers
1k views

Use ADB To Lock Phone

I have a security app that needs to be able to activate the default lockscreen but with a passcode. Is it possible to do this with android shell commands?
0
votes
2answers
22k views

Why is my Galaxy S4 still not appearing as a device in Mac OS X

I am trying to solve the problem of having an empty list of devices when running adb devices. Why is it not appearing? I have tried the following to no avail: Installed Kies and ran Tools > Install ...
0
votes
0answers
39 views

Gingerbread device goes missing when adb is restarted

I have several devices I use for development and testing. When I restart my adb process (i.e., adb kill-server; adb start-server) my Gingerbread device isn't listed by adb anymore. I have to ...
1
vote
1answer
1k views

Is there a way to backup contents of internal SD, while preserving the file's modification date?

I'm having problems with my internal flash storage (namely not being able to create folders in root, which prevents some apps from working, plus periodic unmounts), and I have tried unsuccessfully to ...
1
vote
1answer
3k views

Ubuntu 13.10 adb “device not found”

I'm trying to reinstall Android on my first-gen Nexus 7. I'm using adb to do so because the install is so corrupted I can't even use the touch screen. I use Ubuntu 13.10 and I have adb and fastboot ...
1
vote
0answers
35 views

Make device available in ADB (Windows 8)

A while back, I asked this question about the ADB. I now have another laptop running windows 8.1 and the problem is the same. Please look at the previous post for details. Please help
0
votes
1answer
357 views

Cant connect S3 with CM 10.2 to adb [duplicate]

I cant get to use adb with my S3 in Windows 7. I am using CM 10.2, when I run adb devices nothing is shown. I also tired adb kill-server and adb start-server I tried in Ubuntu and worked perfectly. I ...
1
vote
0answers
342 views

Android TOP command CPU usage

I'm running a simple command line audio processing program in a shell on my Nexus 10 (Android 4.4.2), and want it to consume 100% CPU while it runs. The reason being, if I know it used 100% CPU, I can ...
1
vote
1answer
452 views

How can I get the last dialled number and call duration via adb?

I'm creating a computer system for telemarketing. I'm using adb commands to dial numbers Link Is it possible to get last dialled number and call duration via adb? If it is, how?
0
votes
1answer
908 views

ADB is not detecting my phone (Micromax A35) in CENTOS

ADB is not listing my Micromax a35, but it detects Samsung phones. How can I install Micromax a35 drivers in CENTOS?
0
votes
1answer
99 views

Devices on adb are fluctuating

I have Ubuntu running on a Mac Mini with adb 1.0.31. I am trying to attach 3 devices directly and four devices via a powered hub. Every time devices attached start to fluctuate on adb after some time. ...
1
vote
1answer
3k views

Superuser does not show prompt

Firstly I need to say that I know this topic has been discussed many times but none of answers helped and I think this question is somewhat different than the others. I have tried to root my Android ...
1
vote
0answers
40 views

OS X utility to create stock images

Before I spoil my new HTC One. I needed a little help with the following Create a backup of the recovery Create a backup of the system Create a backup of anything that maybe required to bring the ...
0
votes
1answer
3k views

How to remove a system file using adb shell?

I have an android system file in /mnt/extsd/.And I wanted to delete that file. root@android:/mnt/extsd # ls -l d---rwxr-x system media_rw 1980-01-01 00:00 clockworkmod ...
1
vote
1answer
421 views

How to get “Non-Root” access on Emulators ?

I am running adb on emulators and by default, the emulators give root access. When I execute 'adb shell', I get root access to the emulator(virtual device). For some reason, I want to have non-root ...
1
vote
1answer
6k views

HTC One (m7ul) not found by ADB + formatted filesystem = bricked?

So, I'm really hoping that I haven't bricked my phone and that someone can help me figure out how to fix this. I can't remember exactly the steps I took to mess it up so spectacularly, but they ...
0
votes
1answer
622 views

Backup and Restore with Holo ( ADB ) from N4 to another N4 - some questions

I am soon receiving a replacement device for my Nexus 4, that got some problems charging now and then. Some questions regarding Holo Backup: It shall be no problem to restore a "Backup all without ...
2
votes
3answers
6k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
1
vote
2answers
904 views

LG G2 Not showing up in adb command even if i check USB debugging

Can someone help me. I still cant find my device in adb command in my LG G2 phone. I've been searching the net. Cant find the solution. Pls help I am using android 4.2
0
votes
1answer
617 views

Some magic to remount /system

First of all: Phone's model is Alcatel One Touch Idol Mini / 6012X Chipset model is MT6572 The short version: The device is in boot loop and to resolve this I must rename a file. The problem is that ...
0
votes
1answer
114 views

How can we see deamon proceses in Android?

How can we see all the daemon processes with their statuses on our android device? Reason for asking is that recently I came to know that adb (Android Debug Bridge) is a daemon process running on our ...
2
votes
1answer
120 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 ...
0
votes
1answer
803 views

Check if an app is installed on the device

I'm trying to use the package name and determine the apk path of an app to check if my app is installed in the device. pathCmd = './adb shell pm path ' + packageName pathData = ...
0
votes
1answer
91 views

Sending linux commands over serial

I have a question about being able to send Linux commands over a serial connection to an Android device. I have heard of putty and tried to use it, but i am ultimately lost with it. Like if I was in ...
0
votes
0answers
434 views

Samsung Galaxy S III (d2att) unable to boot after pushing build.prop

First of all, I have a Windows computer and a Samsung Galaxy S III (d2att). I pulled the current build.prop file with >adb pull /system/build.prop build.prop Then, I copied the file on my hard ...
0
votes
2answers
3k views

Help get SC-91JB Android tablet back - restore / recovery

My friend brought me his granddaughter's tablet a couple weeks ago and it was stuck at the Android logo screen, just gray "android" text with white highlight moving across repeatedly. I already had ...
0
votes
1answer
868 views

Can not uninstall standard Android keyboard or get it back working

I want to uninstall the standard Android keyboard com.android.inputmethod.latin. I googled and found multiple threads discussing this problem. What I did so far: 1.) Uninstall via intent -> doesn't ...
1
vote
0answers
705 views

adb restore not working for shared

I have a Nexus 4 with Android 4.4.1 … I've read that we could root it without wiping the data … well didn't work for me! I wasn't scared, because I made a full backup using: adb backup -apk ...
0
votes
0answers
1k views

Acer Iconia Bricked with reboot loop after root attempt

I attempted to root my Acer Iconia B1-A71 tablet and ended up bricking it because of not installing the partition fix apk (Bad tutorial). The tablet is currently in a reboot loop and I've tried so ...
1
vote
1answer
1k views

Device doesn't mount in Ubuntu 12.04

I have an Android device (ICS) and it is visible and perfectly usable via ADB in Ubuntu 12.04. However Ubuntu can't mount it. I can't find it on /mnt or /media. How is that possible? I know there ...
0
votes
0answers
207 views

Installing ADB Driver (Manually?)

I'm trying to install ADB drivers for my phone on Windows 8. Previously on Windows 7 I used a driver that is not supported on Win8 and also doesn't work. Debugging option is set. Version 4.0.4 Sharp ...
6
votes
5answers
12k views

ADB can discover devices but not fastboot

I've searched on the web about this problem and it's usually solved by installing the appropriate drivers. Problem is I'm on a Mac. When I plug in my device, it can be discovered when I run adb ...
0
votes
0answers
111 views

Writing to /dev/log/main from command line

It is possible to write encoded messages into /dev/log/main and then see them in the adb logcat output. The command should be executable through adb from the host PC. Ideally, it should look like: ...
0
votes
1answer
734 views

Retrieving contacts from Nexus 4 with broken screen

My Nexus 4 is recognized by ./adb devices when connected via USB. Also USB debugging is enabled. Unfortunately the device isn't rooted so pulling the contacts db file doesn't work as I don't have ...
2
votes
1answer
727 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 ...
0
votes
1answer
254 views

Samsung Galaxy Note 1 /sdcard/ folder tree

Hi I am searching for the factory folder tree for Samsung Galaxy Note 1. I want the folder tree, so I can perform adb shell commands to access these directories. In a quest of recovering data. e.g. ...
0
votes
0answers
127 views

Advanced Install Location with ADB

I'm used to setting the default install location using the get-install-location with adb but my new phone technically has two "external" storage devices. So in my storage manager I see: one ...