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
0answers
7 views

ADB backup is not working

I just tried to make a backup from my Nexus 5 (before installing CM 11) It is unlocked but not rooted. On PC side I'm working with Ubuntu 13.10. When I type adb backup –all -apk -nosystem –f ...
1
vote
1answer
15 views

How can I syncronize android time with machine via ADB

How can I update android time via ADB? I know I can run this comand via windows cmd: adb shell date -s 20140414.130000 But I need to synchronize the time with my windows machine. Is this possible ...
4
votes
1answer
302 views

Manually switch from ART to Dalvik

I wanted to try out the new ART runtime, but didn't realize my custom ROM doesn't support it. So now I am getting recurring Force Closed messages after booting, and can't get through to the settings ...
0
votes
1answer
37 views

How can I manage “desktop” icons

I want to remove all the icons on the desktop, (and also in the bottom bar) and place new ones via ADB. My script already removes all the apps, but icons/shortcuts remanin there! Is there any command ...
1
vote
1answer
77 views

What does the command `adb sideload FILE` do?

I am reading a tutorial on the sideload command at link. It contains the steps of rebooting into recovery mode and using adb sideload [file].zip. My question is that what does sideload actually do ...
0
votes
4answers
104 views

How can I enable USB debugging on my HTC One with Android 4.4?

I have recently updated my HTC One from the stock 4.3 firmware it came with to the stock 4.4 firmware via an OTA update. Since this update occured, I am no longer able to connect to the device with ...
0
votes
1answer
33 views

Uninstall app without deleting data

I am building an app that receives updates from a server. So at the beginning of the app, a download occurs. However, this thing is getting a bit annoying since whenever I want to test a new build, I ...
1
vote
1answer
59 views

adb sideload does not transfer data

Just to clarify, it's my first time trying to unlock and root my phone, so I'm not very knowledgeable in this matter. I basically followed the steps to unlock the bootloader. Everything worked ...
0
votes
0answers
22 views

How to traverse camera from device via adb to my Ubuntu?

What is the best way to traverse web camera? E.g. there is great number of web servers for android with video translations. How to get access to its via adb? Or wi-fi would be a easiest way?
-1
votes
0answers
22 views

How to delete files pushed by adb to phone using the phone? Also why can't I remove with any root file manager?

Any file pushed wherever to phone by adb push can't be deleted with any file manager on my phone even with root access.
0
votes
0answers
36 views

Help with this ADB REVERSE Tethering Script?

I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am ...
1
vote
1answer
24 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 ...
0
votes
0answers
32 views

Is there a way to format sd card I can't see on a android device?

I tried to format my sd card by copying /dev/zero into it (low level format, dd if=/dev/zero ...) and unfortunately it went wrong (Ended up with return code 1) and now I can not connect this card to ...
0
votes
0answers
40 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
149 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
46 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
20 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 ...
1
vote
1answer
161 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 ...
0
votes
0answers
41 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
307 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
67 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
82 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 ...
0
votes
1answer
304 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
37 views

Why the file path the phone tells me ,I couldn't find in 'adb shell'?

I used my new Moto X phone, then I encountered a basic problem. It's running Android 4.4.2. I take a photo, and want to send it to my PC. The Gallery app tells me the photo is at ...
1
vote
0answers
86 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
50 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 ...
0
votes
1answer
47 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
43 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
382 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
50 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
33 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
12 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
100 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. ...
0
votes
1answer
226 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
90 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
31 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
27 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. ...
1
vote
1answer
25 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
49 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
62 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
30 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 ...
0
votes
0answers
75 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
308 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
158 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
372 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
61 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, ...