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
1k views

How to batch install apks from computer to android without actually touching my android

I want to batch install apks from my desktop directly. Such as I downloaded many apks on desktop and want to install apks without actually touching my android
1
vote
0answers
369 views

How to recover data via adb?

My phone is huawei u8800 and it keeps restarting as soon as opened. Now it is closed and in adb, I tried adb backup -all but it gave the error now unlock your device and confirm the backup ...
0
votes
1answer
132 views

adb blind backup

I need to repair my Android phone (it is Jiayu G4 with Os 4.0.2) since display is not working. Yet touches are being handled. Could anyone with Android devtools installed at their PC instruct me which ...
0
votes
1answer
86 views

Does adb root command survive reboots?

I am little confused by the behavior of my device recently. I tried to push a file into my unrooted device and it did throw "Permission denied on me". i did adb root and then tried to push the file ...
0
votes
1answer
2k views

How to execute a file via adb command line?

I am trying to root my Motorola Xoom. Root checker pro currently tells me that "Executing this file can grant root access!" So I want to try that. the file is located in system/bin and is called su. ...
1
vote
1answer
3k views

Run native executable in Android

When I install FaceNiff on Bluestack and try to run the executable file from adb shell by ./FaceNiff I get the error: /system/bin/sh: ./FaceNiff: not executable: magic 7F45 I have rooted the ...
0
votes
1answer
266 views

How do I connect Nexus 5 on Lenovo Yoga 2 Pro for USB-debugging

When I connect my device to my Linux laptop (debian-Ubuntu) I don't get any output in adb logcat If I connect it to another laptop it works fine in KDE I can open the Directory and copy files, so ...
0
votes
1answer
191 views

How to change system fonts and Sounds

How to change system fonts using adb and also system sounds using adb? I have sucessfully changed system sounds: adb devices adb remount adb shell rm /system/media/audio/ui/Unlock.ogg adb shell rm ...
1
vote
1answer
124 views

Pulling dbdata file with not rooted device

The screen of my Galaxy S is broken, so I can't see anything and the touchscreen doesn't work. After a while, I managed to get everything I needed from the /sdcard folder with adb. Now I have some ...
1
vote
1answer
124 views

HTC EVO 3D not appearing on Mac OSX adb

I am having a funky issue connecting my HTC EVO 3D (Running 4.0.3) to my MacBook Pro (OSX 10.9.1). I have connected this phone using adb and Android Studio for development, using the same cord, same ...
0
votes
1answer
218 views

Rooting and run adbd service automatically

I try to use create root package that run adbd service automatically,so: I download root package for gti9300 from autoroot.chainfire.eu I extract package multiple times to get recovery.img and ...
5
votes
1answer
201 views

How to use adb to back up more than 2GB?

I'm trying to back up my Nexus 7 before installing a new factory image. (There is an issue preventing OTA update from succeeding.) But when I run adb backup -f android-nosystem-backup.ab -apk ...
1
vote
0answers
92 views

List of supported A/V and Image Codecs

Using ADB, is it possible to obtain a list of audio, video and image codecs supported on a given device? Whether or not they physically play is another story. I'm just trying to poke the device and ...
0
votes
0answers
588 views

Unable to Install APK Via ADB Shell

pm install /mnt/sdcard/Documents/ClientFrontEnd.apk command excuted on rooted device. This command is working via terminal. but when it comes to installer application it gives error. $ pm install ...
1
vote
1answer
3k views

Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see. E/wpa_supplicant( 1713): ...
1
vote
2answers
511 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
386 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
290 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
176 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
537 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
527 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
737 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
2answers
269 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
3k 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 ...
1
vote
1answer
24k 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
274 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
3answers
2k 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?
1
vote
2answers
34k 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 ...
1
vote
1answer
2k 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
5k 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
38 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
466 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
557 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
598 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
1k 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
123 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
5k 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
42 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
5k 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
833 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
8k 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
952 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 ...
4
votes
3answers
16k 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
1k 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
812 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
225 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
127 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
1k 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
112 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 ...