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

I can reverse tether now by using alias but it stops on adb shell command

I made some aliases to quickly reverse tether. alias t='r && sh && n' alias n='netcfg rndis0 dhcp' alias sh='ad shell' alias r='ad kill-server && ad start-server' alias ...
1
vote
1answer
25 views

Please explain this weird response to adb command

127|root@android:/ # find / -iname "aaengine" find: /proc/19619: No such file or directory I dont know why I got told about some file I never known about when ...
1
vote
1answer
21 views

How to check where an app is sending data over internet on Android?

How to check where an app is sending data and making requests over the internet on Android? Is this possible with ADB or something else? I want to monitor an app for data it is sending over the ...
0
votes
0answers
42 views

adb push command gone very wrong D: cant revert!

adb push kernel.zip /sdcard overwrote the sdcard folder (which is a symlink to /storage/sdcard0 ) with the kernel.zip renamed as sdcard! Then I improved my command to `adb push kernel.zip ...
0
votes
1answer
189 views

Go to recovery mode on device without volume key

Is there a universal way to enter recovery mode on an Android device with only one turn on/off button? I have a tablet (Navon Raptor 7) like this and I can't figure it out. An other problem is that ...
1
vote
1answer
218 views

ADB not recognizing Moto G

I've recently acquired a Motorola Moto G, and I plan to use it for development. I downloaded ADT, updated the SDK tools and the KitKat platform, but Eclipse still doesn't recognise my device. I'm ...
22
votes
6answers
37k views

Is there a way for me to run Adb shell as root without typing in 'su'?

Is there a way for me to run Adb shell as root without typing in su? I want to be able to have root access without going into the shell.
0
votes
1answer
2k 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
50 views

No confirm prompt when trying to use adb backup

I'm trying to do an adb backup of my Galaxy S3 (i747m), but after receiving the "Now unlock your device and confirm the backup operation" order from adb, I never receive the prompt on the device. It ...
2
votes
1answer
407 views

Stuck in Fastboot?! Help please!

I tried to get CM11 on my LG G2 on Bell Canada's network and I really messed it up. I can no longer get into recovery, adb doesn't see my phone, but download mode works (though I have no idea how to ...
0
votes
0answers
70 views

Best Practise for deploying a 'clone' image across 200 android tablets (Samsung GT-P7510)

My objective is to be able to create a master 'image' of an android tablet, and then duplicate that image across about 200 identical tablets to streamline the administration of a university's pool of ...
0
votes
1answer
92 views

Adb can't see my device - PAP5400

When I connect my Prestigio PAP5400 DUO to my PC, ADB cant find it. I think the driver is wrong but I can't find right one. I have tried installing many drivers. PS: I have debugging mode ...
21
votes
3answers
69k views

Where in the file system are applications installed?

I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market). But where in the Android file system on my ...
0
votes
1answer
275 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
2answers
89 views

path for echo binary location

I am unable to find the "echo" binary in the /bin path (supposedly the path for storage of essential binaries) on Galaxy S2 on which I am working on. And yes, the "echo" command is perfectly working ...
0
votes
2answers
1k views

adb-shell : /sbin/sh: command: not found

I've managed to root Google Nexus 7 (2013 Wi-Fi) and now I have CyanogenMod 10.2-20130919-NIGHTY-grouper running on it and Clockworkmod recovery v6.0.1.9 following this guide. Then I downloaded and ...
1
vote
2answers
403 views

Can I update the adb shell's environment variables?

I wanted to update the PATH environment variable permanently in the adb shell. I guessed the shell was mksh for I've found /system/bin/sh pointing to /system/bin/mksh. Then I tried Making a new file ...
0
votes
1answer
342 views

crashes on CM11 and mysterious low space issues

I have several crashes (eg. can't start whatsapp, google play) sometimes clearing cache work. it's seems there is a race on storage the app that gets first cache works others did not. I tried to ...
0
votes
1answer
50 views

LG Optimus P500 system essential apps deleted accidentally

I recently rooted my LG P500 successfully. But after that, in removing some bloatware I deleted some of my system apps. After that my notifications area is visible but my home screen and apps screen ...
1
vote
0answers
90 views

ZTE Nubia Z5 Problem?

I have a Zte Nubia Z5 ("2nd Hand") with a software camera problem (I think is a software problem because the camera works sometimes) The phone has Android 4.1.2. I tried to hard reset the phone but I ...
0
votes
0answers
52 views

No OS and no recovery mode

My OS wasn't working anymore for some reason so I tried to restore it using recovery mode. I had TWRP and after trying a few roms and having it tell me every single time that it failed to install ...
1
vote
0answers
46 views

Access encrypted internal storage without touch

Is there a way to access the encrypted internal storage without using the display? I damaged the display of my nexus 4 (Android 4.4, cm-11-20140104-SNAPSHOT-M2-mako) and need to access the encrypted ...
0
votes
0answers
501 views

Using ADB with usb debugging disabled, and no root

I have an Android Device running Android 2.3.7 . The device is locked due to exceeding pattern attempts. So now Android is prompting me to enter my gmail id and password. The problem is, the WiFi is ...
0
votes
1answer
30 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
53 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
36 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
344 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 ...
0
votes
1answer
111 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. ...
11
votes
5answers
13k views

Broken screen while debug mode was disabled. How can I re-enable adb?

The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it ...
6
votes
1answer
5k views

How I shutdown Android phone with adb command?

How do I halt an android phone using adb command? I can reboot, but I don't know how to halt. I tried shutdown -k wait command, but it did not work.
0
votes
1answer
94 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
0answers
32 views

Get ADB mode on Nexus 4 without touchscreen

I've seen so many conflicting reports on this for various android phones. But Nexus 4 is VERY common so surely there is a definitive answer: If my Nexus 4 has a broken digitizer, is there any way for ...
0
votes
1answer
57 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 ...
0
votes
1answer
50 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 ...
1
vote
1answer
32 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
2answers
160 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
0answers
28 views

How to start init or vold

How can I start vold from ADB shell in recovery or just start init so that vold is started? I desperatly tried just calling /system/bin/vold but afterwards, vold is not in the process list. ...
5
votes
1answer
65 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 ...
0
votes
1answer
129 views

adb shell ls giving strange results

Environment: running adb in command window on Windows XP PC running adbKonnect on Nook Simple Touch (rooted; running Android 2.1) When I type adb shell ls \sys I get a list of the folders there. ...
3
votes
2answers
2k 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 ...
2
votes
1answer
15k 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
1answer
2k views

How to perform a full system dump/backup with a broken screen?

So, yesterday my phone took a serious tumble. It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, ...
1
vote
1answer
63 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, ...
1
vote
0answers
31 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
10 views

Formatting SD Card without internal Android utility [duplicate]

My Android version (v2.3.4) is a custom one, a Beta unofficial version, and lacks of format option in Settings --> Storage. Is there any other way to make a format of it? A command line way would be ...
1
vote
1answer
471 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 ...
2
votes
0answers
152 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 ...
0
votes
0answers
241 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
327 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
0answers
78 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 ...